diff --git a/src/views/modules/shequzhili/tuceng/anquan/anquanxuncha/index.vue b/src/views/modules/shequzhili/tuceng/anquan/anquanxuncha/index.vue index bdeaa2a2f..d0252b1ab 100644 --- a/src/views/modules/shequzhili/tuceng/anquan/anquanxuncha/index.vue +++ b/src/views/modules/shequzhili/tuceng/anquan/anquanxuncha/index.vue @@ -80,9 +80,9 @@ - + - + @@ -158,6 +158,7 @@ export default { placeTypeList: [], //场所类型 tableData: [], resultArray: [{ value: '0', label: '合格' }, { value: '1', label: '不合格' }], + placeCategoryArray: [{ value: '0', label: '九小场所' }, { value: '1', label: '企事业单位' }], pageNo: 1, pageSize: window.localStorage.getItem('pageSize') || 20, @@ -209,12 +210,13 @@ export default { this.$message.error(msg); } }, + //场所类型 async loadplaceType() { - const url = '/gov/org/coverage/dict-select-list/enterprise_patrol'; + const url = '/sys/dict/data/dictlist'; + let params = { - // agencyId: this.agencyId, - // purpose: 'query' + dictType: 'ic_enterprise_place_type' }; const { data, code, msg } = await requestPost(url, params); if (code === 0) { @@ -223,6 +225,7 @@ export default { this.$message.error(msg); } }, + async handleExport() { // 导出 const url = '/actual/base/enterprise/export'; diff --git a/src/views/modules/shequzhili/tuceng/anquan/shebei/addForm.vue b/src/views/modules/shequzhili/tuceng/anquan/shebei/addForm.vue index e83eed2f2..caca0c05d 100644 --- a/src/views/modules/shequzhili/tuceng/anquan/shebei/addForm.vue +++ b/src/views/modules/shequzhili/tuceng/anquan/shebei/addForm.vue @@ -130,7 +130,7 @@ export default { gridList: [], //所属网格list--场所区域 placeTypeList: [], //场所类型 resultArray: [{ value: '0', label: '合格' }, { value: '1', label: '不合格' }], - equipmentCategoryCodeArray: [{ value: '0', label: '九小场所' }, { value: '1', label: '企事业单位' }], + equipmentCategoryCodeArray: [], list: {}, formData: { equipmentName: '', @@ -170,10 +170,12 @@ export default { this.user = this.$store.state.user; this.agencyId = this.user.agencyId; this.startLoading(); + this.loadCategory(); // this.loadGrid(); // this.loadplaceType(); if (this.pageType != 'add') { this.getDetail(); + } else { this.initMap(); } @@ -182,6 +184,20 @@ export default { }, methods: { + async loadCategory() { + const url = '/sys/dict/data/dictlist'; + + let params = { + dictType: 'safety_equipment_category' + }; + + const { data, code, msg } = await requestPost(url, params); + if (code === 0) { + this.equipmentCategoryCodeArray = data; + } else { + this.$message.error(msg); + } + }, async loadGrid() { const url = '/gov/org/customergrid/gridoption'; let params = { diff --git a/src/views/modules/shequzhili/tuceng/anquan/shebei/index.vue b/src/views/modules/shequzhili/tuceng/anquan/shebei/index.vue index 1acff51b7..005fcdb95 100644 --- a/src/views/modules/shequzhili/tuceng/anquan/shebei/index.vue +++ b/src/views/modules/shequzhili/tuceng/anquan/shebei/index.vue @@ -135,7 +135,7 @@ export default { placeTypeList: [], //场所类型 tableData: [], resultArray: [{ value: '0', label: '合格' }, { value: '1', label: '不合格' }], - equipmentCategoryCodeArray: [{ value: '0', label: '九小场所' }, { value: '1', label: '企事业单位' }], + equipmentCategoryCodeArray: [], pageNo: 1, pageSize: window.localStorage.getItem('pageSize') || 20, total: 1, @@ -159,6 +159,7 @@ export default { this.agencyId = this.user.agencyId; this.loadGrid(); this.loadplaceType(); + this.loadCategory(); this.getTableData(); }, methods: { @@ -200,7 +201,21 @@ export default { this.$message.error(msg); } }, + //设备类型 + async loadCategory() { + const url = '/sys/dict/data/dictlist'; + let params = { + dictType: 'safety_equipment_category' + }; + + const { data, code, msg } = await requestPost(url, params); + if (code === 0) { + this.equipmentCategoryCodeArray = data; + } else { + this.$message.error(msg); + } + }, async handleImport() { // 导入 }, @@ -238,8 +253,8 @@ export default { }); }, handleAdd(row, type) { - if (row.equipmentId) { - this.detailId = row.equipmentId; + if (row.id) { + this.detailId = row.id; } this.pageType = type; if (type == 'view') { @@ -271,7 +286,7 @@ export default { type: 'warning' }) .then(() => { - this.del(rowData.equipmentId); + this.del(rowData.id); }) .catch(err => {}); }, diff --git a/src/views/modules/shequzhili/tuceng/anquan/yinhuan/addForm.vue b/src/views/modules/shequzhili/tuceng/anquan/yinhuan/addForm.vue index a95f9d24d..47316b863 100644 --- a/src/views/modules/shequzhili/tuceng/anquan/yinhuan/addForm.vue +++ b/src/views/modules/shequzhili/tuceng/anquan/yinhuan/addForm.vue @@ -6,13 +6,13 @@ - + - + @@ -28,9 +28,8 @@ clearable placeholder="请输入" > - - - + + - + {{ formData.reportTime }} {{ formData.dangerPlaceName }} - {{ formData.gridName }} + {{ formData.gridName }} {{ formData.dangerContent }} - {{ formData.handleStateName }} + {{ formData.handleStateName }} {{ formData.reportPerson }} {{ formData.mobile }} @@ -182,7 +181,7 @@ export default { agencyId: '', gridList: [], //所属网格list--场所区域 placeTypeList: [], //场所类型 - resultArray: [{ value: '0', label: '合格' }, { value: '1', label: '不合格' }], + handleStateArray: [{ value: '0', label: '待处理' }, { value: '1', label: '处理完成' }], equipmentCategoryCodeArray: [{ value: '0', label: '九小场所' }, { value: '1', label: '企事业单位' }], list: {}, formData: { diff --git a/src/views/modules/shequzhili/tuceng/anquan/yinhuan/index.vue b/src/views/modules/shequzhili/tuceng/anquan/yinhuan/index.vue index beb5d091e..3560c4fc7 100644 --- a/src/views/modules/shequzhili/tuceng/anquan/yinhuan/index.vue +++ b/src/views/modules/shequzhili/tuceng/anquan/yinhuan/index.vue @@ -19,18 +19,17 @@ - + - + - @@ -70,19 +69,14 @@ - - - - - - - - - 合格 - 不合格 - -- - - + + + + + + + + 查看 @@ -233,8 +227,8 @@ export default { }); }, handleAdd(row, type) { - if (row.equipmentId) { - this.detailId = row.idid; + if (row.id) { + this.detailId = row.id; } this.pageType = type; if (type == 'view') { diff --git a/src/views/modules/shequzhili/tuceng/anquan/yinhuan/record.vue b/src/views/modules/shequzhili/tuceng/anquan/yinhuan/record.vue index c0a24b3fd..da986bbfd 100644 --- a/src/views/modules/shequzhili/tuceng/anquan/yinhuan/record.vue +++ b/src/views/modules/shequzhili/tuceng/anquan/yinhuan/record.vue @@ -22,7 +22,7 @@ {{ scope.row.handleTime }} - + diff --git a/src/views/modules/shequzhili/tuceng/chengshiguanli/addForm.vue b/src/views/modules/shequzhili/tuceng/chengshiguanli/addForm.vue new file mode 100644 index 000000000..db9514853 --- /dev/null +++ b/src/views/modules/shequzhili/tuceng/chengshiguanli/addForm.vue @@ -0,0 +1,416 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ formData.equipmentName }} + {{ formData.equipmentNum }} + {{ formData.equipmentCategoryName }} + {{ formData.principalName }} + {{ formData.contactNum }} + + + + {{ formData.location }} + + + + + + + + 关闭 + 重置 + 确 定 + + + + + + + + diff --git a/src/views/modules/shequzhili/tuceng/chengshiguanli/index.vue b/src/views/modules/shequzhili/tuceng/chengshiguanli/index.vue index 02409e35d..5cbee9000 100644 --- a/src/views/modules/shequzhili/tuceng/chengshiguanli/index.vue +++ b/src/views/modules/shequzhili/tuceng/chengshiguanli/index.vue @@ -1,8 +1,448 @@ + + + + + + + + + + + + + + + + + + + + + 查询 + 重置 + + + + + + + + 新增 + 下载导入模板 + + 导入模板 + + + 导出 + + + + + + + + + + + + + + 合格 + 不合格 + -- + + + + + 查看 + 编辑 + 删除 + + + + + + + + + + + + + - \ No newline at end of file + diff --git a/src/views/modules/shequzhili/tuceng/gonggong/addForm.vue b/src/views/modules/shequzhili/tuceng/gonggong/addForm.vue new file mode 100644 index 000000000..eb9e93ee6 --- /dev/null +++ b/src/views/modules/shequzhili/tuceng/gonggong/addForm.vue @@ -0,0 +1,416 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ formData.equipmentName }} + {{ formData.equipmentNum }} + {{ formData.equipmentCategoryName }} + {{ formData.principalName }} + {{ formData.contactNum }} + + + + {{ formData.location }} + + + + + + + + 关闭 + 重置 + 确 定 + + + + + + + + diff --git a/src/views/modules/shequzhili/tuceng/gonggong/index.vue b/src/views/modules/shequzhili/tuceng/gonggong/index.vue index 02409e35d..3f91146db 100644 --- a/src/views/modules/shequzhili/tuceng/gonggong/index.vue +++ b/src/views/modules/shequzhili/tuceng/gonggong/index.vue @@ -1,8 +1,448 @@ + + + + + + + + + + + + + + + + + + + + + 查询 + 重置 + + + + + + + + 新增 + 下载导入模板 + + 导入模板 + + + 导出 + + + + + + + + + + + + + + 合格 + 不合格 + -- + + + + + 查看 + 编辑 + 删除 + + + + + + + + + + + + + - \ No newline at end of file + diff --git a/src/views/modules/shequzhili/tuceng/gonggong/record.vue b/src/views/modules/shequzhili/tuceng/gonggong/record.vue new file mode 100644 index 000000000..a0bb8938a --- /dev/null +++ b/src/views/modules/shequzhili/tuceng/gonggong/record.vue @@ -0,0 +1,428 @@ + + + 检查记录 + + + 新增 + + + + + + + + + {{ scope.row.inspectTime }} + + + + + + + + + {{ scope.row.inspectStaffName }} + + + + + + + {{ scope.row.inspectStaffMobile }} + + + + + + + + + {{ scope.row.inspectResult == 1 ? '正常' : '异常' }} + + + + + + + + + + + 最多三张图片 + + + + + + + + + + + + + {{ scope.row.nextInspectTime }} + + + + + + + 保存 + 取消 + + + + 修改 + + + 删除 + + + + + + + + + + + + + diff --git a/src/views/modules/shequzhili/tuceng/gonggongfuwu/addForm.vue b/src/views/modules/shequzhili/tuceng/gonggongfuwu/addForm.vue new file mode 100644 index 000000000..7f9bec0ba --- /dev/null +++ b/src/views/modules/shequzhili/tuceng/gonggongfuwu/addForm.vue @@ -0,0 +1,417 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ formData.equipmentName }} + {{ formData.equipmentNum }} + {{ formData.equipmentCategoryName }} + {{ formData.principalName }} + {{ formData.contactNum }} + + + + {{ formData.location }} + + + + + + + + 关闭 + 重置 + 确 定 + + + + + + + + diff --git a/src/views/modules/shequzhili/tuceng/gonggongfuwu/index.vue b/src/views/modules/shequzhili/tuceng/gonggongfuwu/index.vue new file mode 100644 index 000000000..4bedef63c --- /dev/null +++ b/src/views/modules/shequzhili/tuceng/gonggongfuwu/index.vue @@ -0,0 +1,451 @@ + + + + + + + + + + + + + + + + + + + + + + 查询 + 重置 + + + + + + + + 新增 + 下载导入模板 + + 导入模板 + + + 导出 + + + + + + + + + + + + + + + 合格 + 不合格 + -- + + + + + 查看 + 编辑 + 删除 + + + + + + + + + + + + + + + + + + diff --git a/src/views/modules/shequzhili/tuceng/yingji/changsuo/addForm.vue b/src/views/modules/shequzhili/tuceng/yingji/changsuo/addForm.vue new file mode 100644 index 000000000..bc907ac15 --- /dev/null +++ b/src/views/modules/shequzhili/tuceng/yingji/changsuo/addForm.vue @@ -0,0 +1,412 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ formData.equipmentName }} + {{ formData.equipmentCategoryName }} + {{ formData.principalName }} + {{ formData.contactNum }} + + + + {{ formData.location }} + + + + + + + + 关闭 + 重置 + 确 定 + + + + + + + + diff --git a/src/views/modules/shequzhili/tuceng/yingji/changsuo/index.vue b/src/views/modules/shequzhili/tuceng/yingji/changsuo/index.vue index 02409e35d..e4a3d078b 100644 --- a/src/views/modules/shequzhili/tuceng/yingji/changsuo/index.vue +++ b/src/views/modules/shequzhili/tuceng/yingji/changsuo/index.vue @@ -1,8 +1,440 @@ + + + + + + + + + + + + + + + + + + + + + 查询 + 重置 + + + + + + + + 新增 + 下载导入模板 + + 导入模板 + + + 导出 + + + + + + + + + + + + + 查看 + 编辑 + 删除 + + + + + + + + + + + + + - \ No newline at end of file + diff --git a/src/views/modules/shequzhili/tuceng/yingji/changsuo/record.vue b/src/views/modules/shequzhili/tuceng/yingji/changsuo/record.vue new file mode 100644 index 000000000..f05336d12 --- /dev/null +++ b/src/views/modules/shequzhili/tuceng/yingji/changsuo/record.vue @@ -0,0 +1,428 @@ + + + 检查记录 + + + 新增 + + + + + + + + + {{ scope.row.inspectTime }} + + + + + + + + + {{ scope.row.inspectStaffName }} + + + + + + + {{ scope.row.inspectStaffMobile }} + + + + + + + + + {{ scope.row.inspectResult == 1 ? '正常' : '异常' }} + + + + + + + + + + + 最多三张图片 + + + + + + + + + + + + + {{ scope.row.nextInspectTime }} + + + + + + + 保存 + 取消 + + + + 修改 + + + 删除 + + + + + + + + + + + + + diff --git a/src/views/modules/shequzhili/tuceng/yingji/wuzi/addForm.vue b/src/views/modules/shequzhili/tuceng/yingji/wuzi/addForm.vue new file mode 100644 index 000000000..eb9e93ee6 --- /dev/null +++ b/src/views/modules/shequzhili/tuceng/yingji/wuzi/addForm.vue @@ -0,0 +1,416 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ formData.equipmentName }} + {{ formData.equipmentNum }} + {{ formData.equipmentCategoryName }} + {{ formData.principalName }} + {{ formData.contactNum }} + + + + {{ formData.location }} + + + + + + + + 关闭 + 重置 + 确 定 + + + + + + + + diff --git a/src/views/modules/shequzhili/tuceng/yingji/wuzi/index.vue b/src/views/modules/shequzhili/tuceng/yingji/wuzi/index.vue index 02409e35d..48d3f2965 100644 --- a/src/views/modules/shequzhili/tuceng/yingji/wuzi/index.vue +++ b/src/views/modules/shequzhili/tuceng/yingji/wuzi/index.vue @@ -1,8 +1,453 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + 查询 + 重置 + + + + + + + + 新增 + 下载导入模板 + + 导入模板 + + + 导出 + + + + + + + + + + + + + + 合格 + 不合格 + -- + + + + + 查看 + 编辑 + 删除 + + + + + + + + + + + + + - \ No newline at end of file + diff --git a/src/views/modules/shequzhili/tuceng/yingji/wuzi/record.vue b/src/views/modules/shequzhili/tuceng/yingji/wuzi/record.vue new file mode 100644 index 000000000..a0bb8938a --- /dev/null +++ b/src/views/modules/shequzhili/tuceng/yingji/wuzi/record.vue @@ -0,0 +1,428 @@ + + + 检查记录 + + + 新增 + + + + + + + + + {{ scope.row.inspectTime }} + + + + + + + + + {{ scope.row.inspectStaffName }} + + + + + + + {{ scope.row.inspectStaffMobile }} + + + + + + + + + {{ scope.row.inspectResult == 1 ? '正常' : '异常' }} + + + + + + + + + + + 最多三张图片 + + + + + + + + + + + + + {{ scope.row.nextInspectTime }} + + + + + + + 保存 + 取消 + + + + 修改 + + + 删除 + + + + + + + + + + + + + diff --git a/src/views/modules/shequzhili/tuceng/yingji/zizuzhi/addForm.vue b/src/views/modules/shequzhili/tuceng/yingji/zizuzhi/addForm.vue new file mode 100644 index 000000000..e83eed2f2 --- /dev/null +++ b/src/views/modules/shequzhili/tuceng/yingji/zizuzhi/addForm.vue @@ -0,0 +1,413 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ formData.equipmentName }} + {{ formData.equipmentCategoryName }} + {{ formData.principalName }} + {{ formData.contactNum }} + + + + {{ formData.location }} + + + + + + + + 关闭 + 重置 + 确 定 + + + + + + + + diff --git a/src/views/modules/shequzhili/tuceng/yingji/zizuzhi/index.vue b/src/views/modules/shequzhili/tuceng/yingji/zizuzhi/index.vue index 02409e35d..1acff51b7 100644 --- a/src/views/modules/shequzhili/tuceng/yingji/zizuzhi/index.vue +++ b/src/views/modules/shequzhili/tuceng/yingji/zizuzhi/index.vue @@ -1,8 +1,449 @@ + + + + + + + + + + + + + + + + + + + + + + + 查询 + 重置 + + + + + + + + 新增 + 下载导入模板 + + 导入模板 + + + 导出 + + + + + + + + + + + + + 合格 + 不合格 + -- + + + + + 查看 + 编辑 + 删除 + + + + + + + + + + + + + - \ No newline at end of file + diff --git a/src/views/modules/shequzhili/tuceng/yingji/zizuzhi/record.vue b/src/views/modules/shequzhili/tuceng/yingji/zizuzhi/record.vue new file mode 100644 index 000000000..f05336d12 --- /dev/null +++ b/src/views/modules/shequzhili/tuceng/yingji/zizuzhi/record.vue @@ -0,0 +1,428 @@ + + + 检查记录 + + + 新增 + + + + + + + + + {{ scope.row.inspectTime }} + + + + + + + + + {{ scope.row.inspectStaffName }} + + + + + + + {{ scope.row.inspectStaffMobile }} + + + + + + + + + {{ scope.row.inspectResult == 1 ? '正常' : '异常' }} + + + + + + + + + + + 最多三张图片 + + + + + + + + + + + + + {{ scope.row.nextInspectTime }} + + + + + + + 保存 + 取消 + + + + 修改 + + + 删除 + + + + + + + + + + + + +