|
@@ -6,7 +6,7 @@ export const IotStatApi = {
|
|
return await request.get({ url: `/rq/stat/main/day` })
|
|
return await request.get({ url: `/rq/stat/main/day` })
|
|
},
|
|
},
|
|
getOrderSeven: async (params: any) => {
|
|
getOrderSeven: async (params: any) => {
|
|
- return await request.get({ url: `/rq/stat/rh/order` })
|
|
|
|
|
|
+ return await request.get({ url: `/rq/stat/rh/order/`+params })
|
|
},
|
|
},
|
|
getMainWeek: async (params: any) => {
|
|
getMainWeek: async (params: any) => {
|
|
return await request.get({ url: `/rq/stat/main/week` })
|
|
return await request.get({ url: `/rq/stat/main/week` })
|
|
@@ -35,6 +35,9 @@ export const IotStatApi = {
|
|
getInspectStatus: async (params: any) => {
|
|
getInspectStatus: async (params: any) => {
|
|
return await request.get({ url: `/rq/stat/inspect/status`, params })
|
|
return await request.get({ url: `/rq/stat/inspect/status`, params })
|
|
},
|
|
},
|
|
|
|
+ getInspectStatuss: async (params: any, dept:any) => {
|
|
|
|
+ return await request.get({ url: `/rq/stat/inspect/statuss/`+dept, params })
|
|
|
|
+ },
|
|
getInspectTodayStatus: async (params: any) => {
|
|
getInspectTodayStatus: async (params: any) => {
|
|
return await request.get({ url: `/rq/stat/inspect/today/status` })
|
|
return await request.get({ url: `/rq/stat/inspect/today/status` })
|
|
},
|
|
},
|
|
@@ -57,7 +60,7 @@ export const IotStatApi = {
|
|
return await request.get({ url: `/rq/stat/maintenance/total` })
|
|
return await request.get({ url: `/rq/stat/maintenance/total` })
|
|
},
|
|
},
|
|
getMaintenanceStatus: async (params: any) => {
|
|
getMaintenanceStatus: async (params: any) => {
|
|
- return await request.get({ url: `/rq/stat/maintenance/status` })
|
|
|
|
|
|
+ return await request.get({ url: `/rq/stat/maintenance/status/`+params })
|
|
},
|
|
},
|
|
getMaintenanceTodayStatus: async (params: any) => {
|
|
getMaintenanceTodayStatus: async (params: any) => {
|
|
return await request.get({ url: `/rq/stat/maintenance/today/status` })
|
|
return await request.get({ url: `/rq/stat/maintenance/today/status` })
|
|
@@ -71,10 +74,10 @@ export const IotStatApi = {
|
|
|
|
|
|
|
|
|
|
getDeviceCount: async (params: any) => {
|
|
getDeviceCount: async (params: any) => {
|
|
- return await request.get({ url: `/rq/stat/home/device/count` })
|
|
|
|
|
|
+ return await request.get({ url: `/rq/stat/home/device/count/`+params })
|
|
},
|
|
},
|
|
getMaintainCount: async (params: any) => {
|
|
getMaintainCount: async (params: any) => {
|
|
- return await request.get({ url: `/rq/stat/home/maintain/count` })
|
|
|
|
|
|
+ return await request.get({ url: `/rq/stat/home/maintain/count/`+params })
|
|
},
|
|
},
|
|
getMainWorkCount: async (params: any) => {
|
|
getMainWorkCount: async (params: any) => {
|
|
return await request.get({ url: `/rq/stat/home/work/count` })
|
|
return await request.get({ url: `/rq/stat/home/work/count` })
|
|
@@ -83,11 +86,11 @@ export const IotStatApi = {
|
|
return await request.get({ url: `/rq/stat/home/inspect/count` })
|
|
return await request.get({ url: `/rq/stat/home/inspect/count` })
|
|
},
|
|
},
|
|
getDeviceStatusCount: async (params: any) => {
|
|
getDeviceStatusCount: async (params: any) => {
|
|
- return await request.get({ url: `/rq/stat/home/device/status` })
|
|
|
|
|
|
+ return await request.get({ url: `/rq/stat/home/device/status/`+params })
|
|
},
|
|
},
|
|
|
|
|
|
getDeviceTypeCount: async (params: any) => {
|
|
getDeviceTypeCount: async (params: any) => {
|
|
- return await request.get({ url: `/rq/stat/home/device/type` })
|
|
|
|
|
|
+ return await request.get({ url: `/rq/stat/home/device/type/`+params })
|
|
},
|
|
},
|
|
getDeptCount: async (params: any) => {
|
|
getDeptCount: async (params: any) => {
|
|
return await request.get({ url: `/rq/stat/home/dept` })
|
|
return await request.get({ url: `/rq/stat/home/dept` })
|