From c7223e21f32a57b869c8c9ccbb94901f77faaa2e Mon Sep 17 00:00:00 2001 From: zhouhy Date: Thu, 18 Jan 2024 16:03:56 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E7=82=B9=E5=B7=A1=E6=A3=80=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/dms/dmsBaseInspectProject/index.vue | 57 +++++++------- .../views/dms/dmsBaseInspectRoute/index.vue | 76 ++++++++++++------- .../dms/dmsBaseInspectStandard/index.vue | 8 -- hw-ui/src/views/dms/dmsPlanInspect/index.vue | 76 +++++++++++-------- .../src/views/dms/dmsRecordInspect/index.vue | 70 ++++++++++------- 5 files changed, 164 insertions(+), 123 deletions(-) diff --git a/hw-ui/src/views/dms/dmsBaseInspectProject/index.vue b/hw-ui/src/views/dms/dmsBaseInspectProject/index.vue index d6323be..2684b83 100644 --- a/hw-ui/src/views/dms/dmsBaseInspectProject/index.vue +++ b/hw-ui/src/views/dms/dmsBaseInspectProject/index.vue @@ -17,6 +17,21 @@ @keyup.enter.native="handleQuery" /> + + + + + @@ -108,11 +123,11 @@ - - - - - + + + @@ -159,15 +174,15 @@ - - - - - - - - - + + + {{dict.label}} + + @@ -200,7 +215,6 @@ export default { dicts:['dms_inspect_type'], data() { return { - inspectType:'', // 遮罩层 loading: true, // 选中数组 @@ -254,16 +268,7 @@ export default { methods: { /** 查询巡检项目信息列表 */ getList() { - if (this.$route.path=='/dms/inspect/dmsBaseInspectProject') - { - this.queryParams.inspectType =1 - this.inspectType = 1 - } - else - { - this.queryParams.inspectType = 2 - this.inspectType= 2 - } + this.loading = true; listDmsBaseInspectProject(this.queryParams).then(response => { this.dmsBaseInspectProjectList = response.rows; @@ -333,14 +338,12 @@ export default { this.$refs["form"].validate(valid => { if (valid) { if (this.form.inspectProjectId != null) { - this.form.inspectType = this.inspectType updateDmsBaseInspectProject(this.form).then(response => { this.$modal.msgSuccess("修改成功"); this.open = false; this.getList(); }); } else { - this.form.inspectType = this.inspectType addDmsBaseInspectProject(this.form).then(response => { this.$modal.msgSuccess("新增成功"); this.open = false; diff --git a/hw-ui/src/views/dms/dmsBaseInspectRoute/index.vue b/hw-ui/src/views/dms/dmsBaseInspectRoute/index.vue index 5992924..c37a62c 100644 --- a/hw-ui/src/views/dms/dmsBaseInspectRoute/index.vue +++ b/hw-ui/src/views/dms/dmsBaseInspectRoute/index.vue @@ -17,6 +17,21 @@ @keyup.enter.native="handleQuery" /> + + + + + @@ -106,12 +121,17 @@ - - - - - - + + + + + + +