This commit is contained in:
Teo
2025-09-10 01:20:22 +08:00
94 changed files with 5317 additions and 950 deletions

View File

@ -0,0 +1,13 @@
import request from '@/utils/request';
import { AxiosPromise } from 'axios';
/**
* 查询企业关键指标
*/
export const keyIndex = () => {
return request({
url: '/enterprise/big/screen/keyIndex',
method: 'get'
});
};

View File

@ -98,3 +98,18 @@ export const cashTotal = () => {
method: 'get'
});
};
//安全天数
export const getSafetyDay = (projectId) => {
return request({
url: '/money/big/screen/safetyDay/' + projectId,
method: 'get'
});
};
//安全天数
export const getWeather = (projectId) => {
return request({
url: '/money/big/screen/weather/' + projectId,
method: 'get'
});
};

View File

@ -0,0 +1,43 @@
import request from '@/utils/request';
import { AxiosPromise } from 'axios';
/**
* 查询项目数据
* @param query
* @returns {*}
*/
export const projectProgress = (query?: any): any => {
return request({
url: '/enterprise/big/screen/projectProgress',
method: 'get',
params: query
});
};
/**
* 产值
* @param query
* @returns {*}
*/
export const outpuProgress = (query?: any): any => {
return request({
url: '/enterprise/big/screen/projectOutputValueComparison',
method: 'get',
params: query
});
};
/**
* 预警
* @param query
* @returns {*}
*/
export const earlyWarning = (query?: any): any => {
return request({
url: '/enterprise/big/screen/riskEarlyWarning',
method: 'get',
params: query
});
};

View File

@ -64,3 +64,27 @@ export const getScreenGeneralize = (projectId: number | string) => {
method: 'get',
});
};
// 获取gps数据
export const getGps = (projectId) => {
return request({
url: '/project/big/screen/getClientList/' + projectId,
method: 'get'
});
};
// 选中列表
export const getSelectList = (params) => {
return request({
url: '/project/big/screen/getList',
method: 'get',
params
});
};
// 设置选中
export const setSelect = (data) => {
return request({
url: '/project/big/screen/setList',
method: 'post',
data
});
};

View File

@ -61,3 +61,22 @@ export const delSupplierInput = (id: string | number | Array<string | number>) =
method: 'delete'
});
};
//导入供商入库
export const leadingIn = (formData: FormData, projectId) => {
return request({
url: '/supplierInput/supplierInput/import?projectId=' + projectId,
method: 'post',
data: formData,
headers: {
'Content-Type': 'multipart/form-data'
}
});
};
//导入供商出库
export const leadingOut = () => {
return request({
url: '/supplierInput/supplierInput/export',
method: 'post'
});
};

View File

@ -31,3 +31,20 @@ export function delOss(ossId: string | number | Array<string | number>) {
export function downLoadOss(ossId: { id?: string | number; idList?: string | number | Array<string | number> }, url: string, fileName: string) {
return download(url, ossId, fileName);
}
//识别身份证
export function recognizeidCard(data: any, type: any) {
return request({
url: '/contractor/constructionUser/idCard?idCardSide=' + type,
method: 'post',
data: data
});
}
//识别银行卡
export function recognizeBankCard(data: any) {
return request({
url: '/contractor/constructionUser/bankCard',
method: 'post',
data: data
});
}