大屏以及质量管理
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import request from '@/utils/request';
|
||||
import request from '@/utils/request-go';
|
||||
import { AxiosPromise } from 'axios';
|
||||
import {
|
||||
QualityVO,
|
||||
@ -12,15 +12,29 @@ import {
|
||||
weatherVO,
|
||||
safetyDayVO
|
||||
} from './type';
|
||||
/**
|
||||
* 查询大屏质量列表
|
||||
* @param query
|
||||
* @returns {*}
|
||||
*/
|
||||
|
||||
export const getQualityList = (query?: any): AxiosPromise<QualityVO> => {
|
||||
return request({
|
||||
url: '/zm/api/v1/system/busInspectionTicket/gisQualityManagementList',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 查询大屏质量信息
|
||||
* @param query
|
||||
* @returns {*}
|
||||
*/
|
||||
|
||||
export const getQualityList = (query?: Query): AxiosPromise<QualityVO> => {
|
||||
export const getQualityMsg = (query?: any): AxiosPromise<QualityVO> => {
|
||||
return request({
|
||||
url: '/quality/qualityInspection/gis',
|
||||
url: '/zm/api/v1/system/busInspectionTicket/gisQualityManagement',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
@ -32,14 +46,27 @@ export const getQualityList = (query?: Query): AxiosPromise<QualityVO> => {
|
||||
* @returns {*}
|
||||
*/
|
||||
|
||||
export const getprojectNewsList = (query?: Query): AxiosPromise<projectNewsVO[]> => {
|
||||
export const getprojectNewsList = (query?: any): AxiosPromise<projectNewsVO[]> => {
|
||||
return request({
|
||||
url: '/project/projectNews/list/gis',
|
||||
url: '/zm/api/v1/system/sysProjectIntroduce/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 查询进度管理列表
|
||||
* @param query
|
||||
* @returns {*}
|
||||
*/
|
||||
export const getProgressList = (): AxiosPromise<any> => {
|
||||
return request({
|
||||
url: '/zm/api/v1/system/workStatus/getParentProgress',
|
||||
method: 'get',
|
||||
params: { fangzhenId: 22034 }
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 获取项目新闻详细信息
|
||||
* @param query
|
||||
@ -48,8 +75,9 @@ export const getprojectNewsList = (query?: Query): AxiosPromise<projectNewsVO[]>
|
||||
|
||||
export const getprojectNewsDetailList = (id: number): AxiosPromise<projectNewsDetailVO> => {
|
||||
return request({
|
||||
url: '/project/projectNews/' + id,
|
||||
method: 'get'
|
||||
url: '/zm/api/v1/system/sysProjectIntroduce/get',
|
||||
method: 'get',
|
||||
params: { id }
|
||||
});
|
||||
};
|
||||
|
||||
@ -59,9 +87,23 @@ export const getprojectNewsDetailList = (id: number): AxiosPromise<projectNewsDe
|
||||
* @returns {*}
|
||||
*/
|
||||
|
||||
export const getsafetyInspectionList = (query?: Query): AxiosPromise<safetyInspectionVO> => {
|
||||
export const getsafetyInspectionMsg = (query?: Query): AxiosPromise<safetyInspectionVO> => {
|
||||
return request({
|
||||
url: '/safety/safetyInspection/gis',
|
||||
url: '/zm/api/v1/system/busHseManagement/gisSafetyManagement',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 查询大屏安全列表
|
||||
* @param query
|
||||
* @returns {*}
|
||||
*/
|
||||
|
||||
export const getsafetyInspectionList = (query?: any): AxiosPromise<safetyInspectionVO> => {
|
||||
return request({
|
||||
url: '/zm/api/v1/system/busHseManagement/gisSafetyManagementList',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
@ -75,7 +117,7 @@ export const getsafetyInspectionList = (query?: Query): AxiosPromise<safetyInspe
|
||||
|
||||
export const getConstructionUserList = (query?: Query): AxiosPromise<ConstructionUserVO> => {
|
||||
return request({
|
||||
url: '/project/constructionUser/gis',
|
||||
url: '/zm/api/wxApplet/wxApplet/busConstructionUser/attendanceCount',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
@ -89,7 +131,7 @@ export const getConstructionUserList = (query?: Query): AxiosPromise<Constructio
|
||||
|
||||
export const getMachineryrList = (query?: Query): AxiosPromise<MachineryrVO[]> => {
|
||||
return request({
|
||||
url: '/machinery/machinery/list/gis',
|
||||
url: '/zm/api/v1/system/busMachinery/mechanicalCondition',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
@ -103,7 +145,7 @@ export const getMachineryrList = (query?: Query): AxiosPromise<MachineryrVO[]> =
|
||||
|
||||
export const getMaterialsList = (query?: Query): AxiosPromise<MaterialsVO[]> => {
|
||||
return request({
|
||||
url: '/materials/materials/list/gis',
|
||||
url: '/zm/api/v1/system/busEquipmentMaterialsInventory/excelindex',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
@ -115,10 +157,11 @@ export const getMaterialsList = (query?: Query): AxiosPromise<MaterialsVO[]> =>
|
||||
* @returns {*}
|
||||
*/
|
||||
|
||||
export const getweatherList = (id?: string): AxiosPromise<weatherVO[]> => {
|
||||
export const getweatherList = (): AxiosPromise<weatherVO[]> => {
|
||||
return request({
|
||||
url: '/project/project/weather/' + id,
|
||||
method: 'get'
|
||||
url: '/zm/api/wxApplet/wxApplet/busConstructionUser/weather',
|
||||
method: 'get',
|
||||
params: { location: '106.54,23.47' }
|
||||
});
|
||||
};
|
||||
|
||||
@ -134,3 +177,16 @@ export const getSafetyDay = (id?: string): AxiosPromise<safetyDayVO> => {
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 查询项目Ai检测
|
||||
* @param query
|
||||
* @returns {*}
|
||||
*/
|
||||
export const getAISafetyInspectionList = (query?: any): AxiosPromise<any> => {
|
||||
return request({
|
||||
url: '/zm/api/v1/system/busTour/tourSearchAllList',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
};
|
||||
|
Reference in New Issue
Block a user