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 @@ - - + + + + + +