| | |
| | | method: 'get' |
| | | }); |
| | | }, |
| | | //安全目标考核 列表 |
| | | gettargetExamineList: (params: object) => { |
| | | return request({ |
| | | url: import.meta.env.VITE_API_URL_OUT + '/targetExamine/page/list', |
| | | method: 'post', |
| | | data: params |
| | | }); |
| | | }, |
| | | // 安全目标考核 查询单条数据 |
| | | gettargetExamineDetail: (params: any) => { |
| | | return request({ |
| | |
| | | getworkApproveList: (params: object) => { |
| | | return request({ |
| | | url: import.meta.env.VITE_API_URL_OUT + '/targetMng/checkAndSubimt/list', |
| | | method: 'post', |
| | | data: params |
| | | }); |
| | | }, |
| | | // 目标检查上报 查看审批流程 |
| | | getworkApproveListCode: (params: object) => { |
| | | return request({ |
| | | url: import.meta.env.VITE_API_URL_OUT + '/targetDutyWorkApprove/page/list', |
| | | method: 'post', |
| | | data: params |
| | | }); |
| | |
| | | url: import.meta.env.VITE_API_URL_OUT + '/minio/file/view?obj=' + fileName, |
| | | method: 'get' |
| | | }); |
| | | }, |
| | | // 应急统计 |
| | | emergencyStat(params: object) { |
| | | return request({ |
| | | url: import.meta.env.VITE_API_URL_OUT + `/emergencyCount/emergencyDrillExecute/count`, |
| | | method: 'post', |
| | | data: params |
| | | }); |
| | | }, |
| | | // 目标分类 分页查询数据 |
| | | gettargetClassList(params: object) { |
| | | return request({ |
| | | url: import.meta.env.VITE_API_URL_OUT + '/targetType/page/list', |
| | | method: 'post', |
| | | data: params |
| | | }); |
| | | }, |
| | | // 目标分类 查询单条数据 |
| | | gettargetClassDetail(params: any) { |
| | | return request({ |
| | | url: import.meta.env.VITE_API_URL_OUT + `/targetType/selectOne/${params}`, |
| | | method: 'get' |
| | | }); |
| | | }, |
| | | // 目标分类 新增或者修改数据 |
| | | gettargetClassAdd(params: object) { |
| | | return request({ |
| | | url: import.meta.env.VITE_API_URL_OUT + '/targetType/addOrUpdate', |
| | | method: 'post', |
| | | data: params |
| | | }); |
| | | }, |
| | | // 目标分类 删除 |
| | | gettargetClassDelete(params: any) { |
| | | return request({ |
| | | url: import.meta.env.VITE_API_URL_OUT + '/targetType/delete', |
| | | method: 'post', |
| | | data: params |
| | | }); |
| | | }, |
| | | // 目标分类 查询所有数据All |
| | | gettargetClassAll(params: any) { |
| | | return request({ |
| | | url: import.meta.env.VITE_API_URL_OUT + '/targetType/page/listAll', |
| | | method: 'post', |
| | | data: params |
| | | }); |
| | | }, |
| | | // 统计 查询应急物资 |
| | | emergencySuppliesCount(params: any) { |
| | | return request({ |
| | | url: import.meta.env.VITE_API_URL_OUT + '/emergencyCount/emergencySupplies/count', |
| | | method: 'post', |
| | | data: params |
| | | }); |
| | | }, |
| | | // 统计 事故快报 |
| | | accidentReportCount(params: any) { |
| | | return request({ |
| | | url: import.meta.env.VITE_API_URL_OUT + '/accidentCount/accidentReport/count', |
| | | method: 'post', |
| | | data: params |
| | | }); |
| | | }, |
| | | // 目标 统计 |
| | | gettargetstatistics(params: any) { |
| | | return request({ |
| | | url: import.meta.env.VITE_API_URL_OUT + `/targetMng/statistics?targetType=${params}`, |
| | | method: 'get' |
| | | // data:params |
| | | }); |
| | | } |
| | | }; |
| | | } |