From 6305e03faea7d889cd577d58844dc44a22b6524b Mon Sep 17 00:00:00 2001 From: liujun Date: Mon, 9 Sep 2024 13:56:16 +0800 Subject: [PATCH] =?UTF-8?q?663=20=E6=8E=92=E5=BA=8F=E4=B8=8D=E6=AD=A3?= =?UTF-8?q?=E7=A1=AE=E3=80=91=20659=20=E6=B2=A1=E6=9C=89=E9=87=8D=E7=BD=AE?= =?UTF-8?q?=20659=20=E6=B2=A1=E6=9C=89=E9=87=8D=E7=BD=AE=20657=20=E9=87=8D?= =?UTF-8?q?=E7=BD=AE=E6=8C=89=E9=92=AE=E4=B8=8D=E5=A5=BD=E4=BD=BF=20565=20?= =?UTF-8?q?=E5=AE=A1=E6=A0=B8=E5=BC=B9=E7=AA=97=E6=8E=92=E7=89=88=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E4=B8=80=E4=B8=8B=20506=20=E6=B7=BB=E5=8A=A0=E4=B8=93?= =?UTF-8?q?=E5=AE=B6=E7=BB=84=E6=88=90=E5=91=98=E9=A1=B5=E9=9D=A2=20?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E6=8E=89=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../duty_log/components/list.vue | 4 +- .../components/addressbook.vue | 6 +- .../emergency_personnel/components/list.vue | 75 +++++++++++-------- .../assurance_management/components/list.vue | 7 +- .../technical_management/components/list.vue | 2 + .../company_plan-check/components/list.vue | 21 ++++-- .../duty_log/components/list.vue | 2 +- .../duty_log/components/selectZhiBanUser.vue | 10 ++- .../components/selectZhiBanUser.vue | 10 ++- .../incident_report/components/detail.vue | 17 +++-- .../incident_report/components/list.vue | 2 +- .../expert_group/components/expertlist.vue | 19 +++-- .../expert_group/components/list.vue | 15 +++- .../rescue_expert/components/list.vue | 2 + .../rescue_team/components/peopleList.vue | 1 + .../emergency/drill/org/components/list.vue | 9 ++- .../drill/orgmember/components/list.vue | 9 ++- 17 files changed, 143 insertions(+), 68 deletions(-) diff --git a/src/views/emergen_cyrescue/duty_management/duty_log/components/list.vue b/src/views/emergen_cyrescue/duty_management/duty_log/components/list.vue index dcd7800..4ca5040 100644 --- a/src/views/emergen_cyrescue/duty_management/duty_log/components/list.vue +++ b/src/views/emergen_cyrescue/duty_management/duty_log/components/list.vue @@ -27,7 +27,7 @@ @@ -35,7 +35,7 @@
diff --git a/src/views/emergen_cyrescue/emergency_information/emergency_address_book/components/addressbook.vue b/src/views/emergen_cyrescue/emergency_information/emergency_address_book/components/addressbook.vue index e5b0e7e..f01dda2 100644 --- a/src/views/emergen_cyrescue/emergency_information/emergency_address_book/components/addressbook.vue +++ b/src/views/emergen_cyrescue/emergency_information/emergency_address_book/components/addressbook.vue @@ -227,8 +227,10 @@ export default { this.dialogFormEdit = false this.varList = [] this.listQuery.page = 1 + this.$message.success('保存成功') this.getList() }).catch((e) => { + this.$message.error('保存失败') this.listLoading = false }) }, @@ -246,11 +248,13 @@ export default { id: id } ).then((data) => { - if (data.result == 'success') { + if (data.result === 'success') { this.listLoading = false + this.$message.success('删除成功') this.getList() } }).catch((e) => { + this.$message.error(e) this.listLoading = false }) }).catch(() => { diff --git a/src/views/emergen_cyrescue/emergency_information/emergency_management_agency/emergency_personnel/components/list.vue b/src/views/emergen_cyrescue/emergency_information/emergency_management_agency/emergency_personnel/components/list.vue index f7879f2..3396779 100644 --- a/src/views/emergen_cyrescue/emergency_information/emergency_management_agency/emergency_personnel/components/list.vue +++ b/src/views/emergen_cyrescue/emergency_information/emergency_management_agency/emergency_personnel/components/list.vue @@ -3,7 +3,7 @@
- + 搜索 @@ -11,24 +11,37 @@
- - - - + + + + - - - - + + + + @@ -39,51 +52,51 @@ 删除 - + - + - - + + - + - + - + - + - + @@ -116,14 +129,14 @@ - + - - + + @@ -131,24 +144,24 @@ - + - + - + - + @@ -372,7 +385,8 @@ export default { }).catch((e) => { this.listLoading = false }) - }).catch(() => { }) + }).catch(() => { + }) }, makeAll() { const _selectData = this.$refs.multipleTable.selection @@ -398,7 +412,8 @@ export default { }).catch((e) => { this.listLoading = false }) - }).catch(() => { }) + }).catch(() => { + }) }, getQuery() { this.$refs.multipleTable.clearSelection() @@ -407,9 +422,7 @@ export default { getList() { this.listLoading = true requestFN('/major/personnel/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page, - { - name: this.KEYWORDS_NAME - } + { name: this.KEYWORDS_NAME } ).then((data) => { this.listLoading = false this.varList = data.varList diff --git a/src/views/emergen_cyrescue/emergency_information/security_agency/assurance_management/components/list.vue b/src/views/emergen_cyrescue/emergency_information/security_agency/assurance_management/components/list.vue index ba217c4..b64c950 100644 --- a/src/views/emergen_cyrescue/emergency_information/security_agency/assurance_management/components/list.vue +++ b/src/views/emergen_cyrescue/emergency_information/security_agency/assurance_management/components/list.vue @@ -344,7 +344,12 @@ export default { { required: true, message: '负责人不能为空', trigger: 'blur' } ], RESPONSIBLE_OFFICE_PHONE: [ - { required: true, message: '负责人办公电话不能为空', trigger: 'blur' } + { required: true, message: '负责人办公电话不能为空', trigger: 'blur' }, + { min: 11, max: 11, message: '请输入11位手机号码', trigger: 'blur' }, + { + pattern: /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/, + message: '请输入正确的手机号码' + } ] }, // rules: { diff --git a/src/views/emergen_cyrescue/emergency_information/security_agency/technical_management/components/list.vue b/src/views/emergen_cyrescue/emergency_information/security_agency/technical_management/components/list.vue index 249f729..57c52f6 100644 --- a/src/views/emergen_cyrescue/emergency_information/security_agency/technical_management/components/list.vue +++ b/src/views/emergen_cyrescue/emergency_information/security_agency/technical_management/components/list.vue @@ -535,7 +535,9 @@ export default { this.varList = [] this.listQuery.page = 1 this.getList() + this.$message.success('保存成功') }).catch((e) => { + this.$message.error(e) this.listISLOADing = false }) }, diff --git a/src/views/emergen_cyrescue/emergency_plan/company_plan-check/components/list.vue b/src/views/emergen_cyrescue/emergency_plan/company_plan-check/components/list.vue index 85e5c90..d1aa895 100644 --- a/src/views/emergen_cyrescue/emergency_plan/company_plan-check/components/list.vue +++ b/src/views/emergen_cyrescue/emergency_plan/company_plan-check/components/list.vue @@ -38,14 +38,19 @@ - - + + + + + +