diff --git a/src/views/emergen_cyrescue/emergency_information/emergency_knowledge/case_library/components/casebasic.vue b/src/views/emergen_cyrescue/emergency_information/emergency_knowledge/case_library/components/casebasic.vue index 4f91032..73d0ac5 100644 --- a/src/views/emergen_cyrescue/emergency_information/emergency_knowledge/case_library/components/casebasic.vue +++ b/src/views/emergen_cyrescue/emergency_information/emergency_knowledge/case_library/components/casebasic.vue @@ -281,10 +281,11 @@ export default { //* ***************************数据保存********************************** handleEdit(v) { this.dialogFormEdit = true + const newVar = v.LEVEL == null || v.LEVEL === '' ? null : v.LEVEL this.form = { TITLE: v.TITLE, CONTENT: v.CONTENT, - LEVEL: v.LEVEL, + LEVEL: newVar, ID: v.ID } this.dialogType = 'editUser' @@ -315,6 +316,8 @@ export default { }, dataSave() { this.listLoading = true + // 避免修改时mybatis-plus 自动过滤空值 + this.form.LEVEL = this.form.LEVEL == null ? '' : this.form.LEVEL requestFN( '/caseLibrary/save', this.form ).then((data) => { 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 3396779..30a7784 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 @@ -57,46 +57,106 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + - - + + - - - - - - - - - - - - - - + + diff --git a/src/views/emergen_cyrescue/emergency_report/duty_management/shift_registration/components/list.vue b/src/views/emergen_cyrescue/emergency_report/duty_management/shift_registration/components/list.vue index 8bb18d4..a0ad6b0 100644 --- a/src/views/emergen_cyrescue/emergency_report/duty_management/shift_registration/components/list.vue +++ b/src/views/emergen_cyrescue/emergency_report/duty_management/shift_registration/components/list.vue @@ -5,6 +5,7 @@ @@ -418,6 +419,9 @@ export default { label: node.name, children: node.nodes } + }, + rules: { + monthvalue: [{ required: true, message: '请输入月份' }] } } },