diff --git a/src/views/modules/shequzhili/tuceng/anquan/anquanxuncha/record.vue b/src/views/modules/shequzhili/tuceng/anquan/anquanxuncha/record.vue index a8c81b530..3ec3d877b 100644 --- a/src/views/modules/shequzhili/tuceng/anquan/anquanxuncha/record.vue +++ b/src/views/modules/shequzhili/tuceng/anquan/anquanxuncha/record.vue @@ -184,11 +184,11 @@ export default { optionResult: [ { - label: '合格', + label: '异常', value: '0' }, { - label: '不合格', + label: '正常', value: '1' } ], diff --git a/src/views/modules/shequzhili/tuceng/anquan/shebei/record.vue b/src/views/modules/shequzhili/tuceng/anquan/shebei/record.vue index 0538b2db5..84da350d8 100644 --- a/src/views/modules/shequzhili/tuceng/anquan/shebei/record.vue +++ b/src/views/modules/shequzhili/tuceng/anquan/shebei/record.vue @@ -193,12 +193,12 @@ export default { optionResult: [ { - label: '合格', - value: '1' + label: '异常', + value: '0' }, { - label: '不合格', - value: '0' + label: '正常', + value: '1' } ], optionStaff: [ diff --git a/src/views/modules/shequzhili/tuceng/chengshiguanli/addForm.vue b/src/views/modules/shequzhili/tuceng/chengshiguanli/addForm.vue index dc2d74214..2a7d49fea 100644 --- a/src/views/modules/shequzhili/tuceng/chengshiguanli/addForm.vue +++ b/src/views/modules/shequzhili/tuceng/chengshiguanli/addForm.vue @@ -23,7 +23,7 @@ --> { diff --git a/src/views/modules/shequzhili/tuceng/yingji/changsuo/record.vue b/src/views/modules/shequzhili/tuceng/yingji/changsuo/record.vue index d485ee4a8..f4b611aeb 100644 --- a/src/views/modules/shequzhili/tuceng/yingji/changsuo/record.vue +++ b/src/views/modules/shequzhili/tuceng/yingji/changsuo/record.vue @@ -193,12 +193,12 @@ export default { optionResult: [ { - label: '合格', - value: '1' + label: '异常', + value: '0' }, { - label: '不合格', - value: '0' + label: '正常', + value: '1' } ], optionStaff: [ @@ -383,8 +383,10 @@ export default { }, async del(row) { - const url = `/actual/base/safetyEquipmentInspectRecord/delete/${this.id}`; - const { data, code, msg } = await requestPost(url); + let arr=[row.id] + // const url = `/actual/base/emergencyEquipment/inspect-delete`; + const url = `/actual/base/safetyEquipmentInspectRecord/delete`; + const { data, code, msg } = await requestPost(url,arr); if (code === 0) { this.$message.success('删除成功'); diff --git a/src/views/modules/shequzhili/tuceng/yingji/wuzi/addForm.vue b/src/views/modules/shequzhili/tuceng/yingji/wuzi/addForm.vue index 2623056da..8bd37b13a 100644 --- a/src/views/modules/shequzhili/tuceng/yingji/wuzi/addForm.vue +++ b/src/views/modules/shequzhili/tuceng/yingji/wuzi/addForm.vue @@ -388,7 +388,7 @@ export default { map.setMarker(lonlat[1], lonlat[0]); this.formData.latitude = lonlat[1]; this.formData.longitude = lonlat[0]; - this.formData.address = selPosition.address + selPosition.name; + this.formData.location = selPosition.address + selPosition.name; } } }; diff --git a/src/views/modules/shequzhili/tuceng/yingji/wuzi/record.vue b/src/views/modules/shequzhili/tuceng/yingji/wuzi/record.vue index f8254474e..e715871cd 100644 --- a/src/views/modules/shequzhili/tuceng/yingji/wuzi/record.vue +++ b/src/views/modules/shequzhili/tuceng/yingji/wuzi/record.vue @@ -95,7 +95,7 @@ :data="{ customerId: customerId }" :show-file-list="true" :limit="3" - :file-list="scope.row.imgShowList" + :file-list="scope.row.imgList" :on-success="res => handleImgSuccess(res, scope.row)" :on-remove="res => handleImgRemove(res, scope.row)" list-type="picture" @@ -193,11 +193,11 @@ export default { optionResult: [ { - label: '合格', + label: '异常', value: '0' }, { - label: '不合格', + label: '正常', value: '1' } ], @@ -382,8 +382,9 @@ export default { }, async del(row) { - const url = `/actual/base/emergencyEquipment/inspect-delete/${this.id}`; - const { data, code, msg } = await requestPost(url); + let arr=[row.id] + const url = `/actual/base/emergencyEquipment/inspect-delete`; + const { data, code, msg } = await requestPost(url,arr); if (code === 0) { this.$message.success('删除成功');