| | |
| | | */ |
| | | |
| | | // 查询字典信息 |
| | | searchDictionary: params => { |
| | | return axios({ |
| | | url: '/engineering/dict/dictList', |
| | | method: 'post', |
| | | searchDictionary: params => |
| | | axios.post('/engineering/dict/dictList',{ |
| | | ...params, |
| | | header: { |
| | | pageNum: params.pageNum, |
| | | pageSize: params.pageSize |
| | | } |
| | | }) |
| | | }, |
| | | }), |
| | | // 查询设备点检列表信息 |
| | | searchSpotCheckList: (params) => |
| | | axios({ |
| | | method: 'post', |
| | | url: '/m/checkDevice/findList', |
| | | axios.post('/m/checkDevice/findList',{ |
| | | ...params, |
| | | header: { |
| | | pageNum: params.pageNum, |
| | |
| | | }), |
| | | // 添加设备点检信息 |
| | | insertSpotCheckInfo: (params) => |
| | | axios.post('m/checkDevice/addCheckDevice', params), |
| | | axios.post('/m/checkDevice/addCheckDevice', params), |
| | | // 修改设备点检信息 |
| | | updateSpotCheckInfo: (params) => |
| | | axios.post('m/checkDevice/addCheckDevice', params), |
| | | axios.post('/m/checkDevice/addCheckDevice', params), |
| | | //删除设备点检信息 |
| | | deleteSpotCheckInfo: (params) => |
| | | axios.post('/m/checkDevice/delete', params), |
| | | // 获取点检详情 |
| | | getSpotCheckDetail: (params) => |
| | | axios.post('m/checkDevice/checkDeviceInfo', params), |
| | | axios.post('/m/checkDevice/checkDeviceInfo', params), |
| | | // 获取全部设备信息 |
| | | getAllDeviceData: () => |
| | | axios.post('/m/checkDevice/deviceList'), |
| | | // 获取设备信息详情 |
| | | getDeviceDetails: (params) => |
| | | axios.get('/engineering/bigDevice/bigDeviceInfo', params ), |
| | | } |