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 64908fa..9558a72 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 @@ -70,7 +70,7 @@ - + - + @@ -340,6 +340,18 @@ export default { ORG_NAME: [ { required: true, message: '通信机构名称不能为空', trigger: 'blur' }, { min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' } + ], + LONGITUDE: [ + { required: true, message: '经度不能为空', trigger: 'blur' } + ], + LATITUDE: [ + { required: true, message: '纬度不能为空', trigger: 'blur' } + ], + RESPONSIBLE_PERSON: [ + { required: true, message: '负责人不能为空', trigger: 'blur' } + ], + RESPONSIBLE_OFFICE_PHONE: [ + { required: true, message: '负责人办公电话不能为空', trigger: 'blur' } ] }, // rules: { diff --git a/src/views/emergen_cyrescue/emergency_information/security_agency/institutional_management/components/list.vue b/src/views/emergen_cyrescue/emergency_information/security_agency/institutional_management/components/list.vue index 040f23a..17d3429 100644 --- a/src/views/emergen_cyrescue/emergency_information/security_agency/institutional_management/components/list.vue +++ b/src/views/emergen_cyrescue/emergency_information/security_agency/institutional_management/components/list.vue @@ -334,6 +334,18 @@ export default { INSTITUTION_NAME: [ { required: true, message: '机构名称不能为空', trigger: 'blur' }, { min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' } + ], + LONGITUDE: [ + { required: true, message: '经度不能为空', trigger: 'blur' } + ], + LATITUDE: [ + { required: true, message: '纬度不能为空', trigger: 'blur' } + ], + PERSON_IN_CHARGE: [ + { required: true, message: '负责人不能为空', trigger: 'blur' } + ], + PIC_OFFICE_PHONE: [ + { required: true, message: '负责人办公电话不能为空', trigger: 'blur' } ] }, form: { 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 d91e765..c8a0127 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 @@ -237,6 +237,18 @@ export default { SKILL_NAME: [ { required: true, message: '机构名称不能为空', trigger: 'blur' }, { min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' } + ], + LONGITUDE: [ + { required: true, message: '经度不能为空', trigger: 'blur' } + ], + LATITUDE: [ + { required: true, message: '纬度不能为空', trigger: 'blur' } + ], + CONTACT_PERSON: [ + { required: true, message: '联系人不能为空', trigger: 'blur' } + ], + CONTACT_OFFICE_PHONE: [ + { required: true, message: '联系人办公电话不能为空', trigger: 'blur' } ] }, // rules: { diff --git a/src/views/emergen_cyrescue/emergency_information/security_agency/transportation_management/components/list.vue b/src/views/emergen_cyrescue/emergency_information/security_agency/transportation_management/components/list.vue index 56b0c04..6c99fb8 100644 --- a/src/views/emergen_cyrescue/emergency_information/security_agency/transportation_management/components/list.vue +++ b/src/views/emergen_cyrescue/emergency_information/security_agency/transportation_management/components/list.vue @@ -315,6 +315,18 @@ export default { ORG_NAME: [ { required: true, message: '运输机构名称不能为空', trigger: 'blur' }, { min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' } + ], + LONGITUDE: [ + { required: true, message: '经度不能为空', trigger: 'blur' } + ], + LATITUDE: [ + { required: true, message: '纬度不能为空', trigger: 'blur' } + ], + RESPONSIBLE_PERSON: [ + { required: true, message: '负责人不能为空', trigger: 'blur' } + ], + RESPONSIBLE_OFFICE_PHONE: [ + { required: true, message: '负责人办公电话不能为空', trigger: 'blur' } ]/*, ORG_TYPE: [ { required: true, message: '运输机构类型不能为空', trigger: 'blur' }, diff --git a/src/views/emergen_cyrescue/emergency_map_icon/components/list.vue b/src/views/emergen_cyrescue/emergency_map_icon/components/list.vue index 834d8bc..5b7402e 100644 --- a/src/views/emergen_cyrescue/emergency_map_icon/components/list.vue +++ b/src/views/emergen_cyrescue/emergency_map_icon/components/list.vue @@ -30,7 +30,7 @@ + style="width: 40px; height: 40px"/> diff --git a/src/views/emergen_cyrescue/emergency_report/incident_report/components/list.vue b/src/views/emergen_cyrescue/emergency_report/incident_report/components/list.vue index 6572ba4..4b19914 100644 --- a/src/views/emergen_cyrescue/emergency_report/incident_report/components/list.vue +++ b/src/views/emergen_cyrescue/emergency_report/incident_report/components/list.vue @@ -521,7 +521,7 @@ export default { CONTACT_PHONE: '', OTHER_INFO: '', UNIT_NAME: '', - REGION: '', + REGION: null, UNIT_ADDRESS: '', INDUSTRY_TYPE: '', ECONOMIC_TYPE: '', @@ -567,7 +567,7 @@ export default { CONTACT_PHONE: '', OTHER_INFO: '', UNIT_NAME: '', - REGION: '', + REGION: null, UNIT_ADDRESS: '', INDUSTRY_TYPE: '', ECONOMIC_TYPE: '', @@ -771,8 +771,8 @@ export default { handleRegionChange(value) { const selectedRegion = this.regionData.find(region => region.DICTIONARIES_ID === value) if (selectedRegion) { - this.form.REGION_NAME = selectedRegion.name - this.reportForm.REGION = selectedRegion.name + // this.form.REGION_NAME = selectedRegion.name + // this.reportForm.REGION = selectedRegion.name } }, getQuery() { diff --git a/src/views/emergen_cyrescue/emergency_team/rescue_team/components/list.vue b/src/views/emergen_cyrescue/emergency_team/rescue_team/components/list.vue index d294e7a..9b32077 100644 --- a/src/views/emergen_cyrescue/emergency_team/rescue_team/components/list.vue +++ b/src/views/emergen_cyrescue/emergency_team/rescue_team/components/list.vue @@ -417,6 +417,19 @@ export default { RESCUE_TEAM_NAME: [ { required: true, message: '救援队名称不能为空', trigger: 'blur' }, { min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' } + ], + + LONGITUDE: [ + { required: true, message: '经度不能为空', trigger: 'blur' } + ], + LATITUDE: [ + { required: true, message: '纬度不能为空', trigger: 'blur' } + ], + RESPONSIBLE_PERSON: [ + { required: true, message: '负责人不能为空', trigger: 'blur' } + ], + RESPONSIBLE_OFFICE_PHONE: [ + { required: true, message: '负责人办公电话不能为空', trigger: 'blur' } ] }, // rules: { diff --git a/src/views/emergen_cyrescue/resource_management/emergency_shelter/components/list.vue b/src/views/emergen_cyrescue/resource_management/emergency_shelter/components/list.vue index f2ed040..d482c50 100644 --- a/src/views/emergen_cyrescue/resource_management/emergency_shelter/components/list.vue +++ b/src/views/emergen_cyrescue/resource_management/emergency_shelter/components/list.vue @@ -83,7 +83,7 @@ - + @@ -92,7 +92,7 @@ - + @@ -213,7 +213,20 @@ export default { rules: { SHELTER_NAME: [ { required: true, message: '场区名称不能为空', trigger: 'blur' }, - { min: 2, max: 30, message: '长度在 2 到 30 个字符', trigger: 'blur' }] + { min: 2, max: 30, message: '长度在 2 到 30 个字符', trigger: 'blur' }], + + LONGITUDE: [ + { required: true, message: '经度不能为空', trigger: 'blur' } + ], + LATITUDE: [ + { required: true, message: '纬度不能为空', trigger: 'blur' } + ], + CONTACT_PERSON: [ + { required: true, message: '联系人不能为空', trigger: 'blur' } + ], + CONTACT_TELE_PHONE: [ + { required: true, message: '联系人固定电话不能为空', trigger: 'blur' } + ] }, form: { diff --git a/src/views/emergen_cyrescue/resource_management/equipment_library/components/equipment.vue b/src/views/emergen_cyrescue/resource_management/equipment_library/components/equipment.vue index bbf4f88..9bf02a0 100644 --- a/src/views/emergen_cyrescue/resource_management/equipment_library/components/equipment.vue +++ b/src/views/emergen_cyrescue/resource_management/equipment_library/components/equipment.vue @@ -81,7 +81,7 @@ - + @@ -90,7 +90,7 @@ - + @@ -205,6 +205,18 @@ export default { EQUIP_NAME: [ { required: true, message: '名称不能为空', trigger: 'blur' }, { min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' } + ], + LONGITUDE: [ + { required: true, message: '经度不能为空', trigger: 'blur' } + ], + LATITUDE: [ + { required: true, message: '纬度不能为空', trigger: 'blur' } + ], + CONTACT_PERSON: [ + { required: true, message: '负责保管人不能为空', trigger: 'blur' } + ], + CONTACT_TELE_PHONE: [ + { required: true, message: '负责保管人固定电话不能为空', trigger: 'blur' } ] }, form: { diff --git a/src/views/emergen_cyrescue/resource_management/equipment_library/components/facilities.vue b/src/views/emergen_cyrescue/resource_management/equipment_library/components/facilities.vue index 509ff45..a3ff817 100644 --- a/src/views/emergen_cyrescue/resource_management/equipment_library/components/facilities.vue +++ b/src/views/emergen_cyrescue/resource_management/equipment_library/components/facilities.vue @@ -79,7 +79,7 @@ - + @@ -88,7 +88,7 @@ - + @@ -202,6 +202,18 @@ export default { FAC_NAME: [ { required: true, message: '名称不能为空', trigger: 'blur' }, { min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' } + ], + LONGITUDE: [ + { required: true, message: '经度不能为空', trigger: 'blur' } + ], + LATITUDE: [ + { required: true, message: '纬度不能为空', trigger: 'blur' } + ], + CONTACT_PERSON: [ + { required: true, message: '联系人不能为空', trigger: 'blur' } + ], + CONTACT_MOBILE_PHONE: [ + { required: true, message: '联系人电话不能为空', trigger: 'blur' } ] }, form: { diff --git a/src/views/emergen_cyrescue/resource_management/equipment_library/components/supplies.vue b/src/views/emergen_cyrescue/resource_management/equipment_library/components/supplies.vue index 5370f36..effa034 100644 --- a/src/views/emergen_cyrescue/resource_management/equipment_library/components/supplies.vue +++ b/src/views/emergen_cyrescue/resource_management/equipment_library/components/supplies.vue @@ -90,7 +90,7 @@ - + @@ -205,6 +205,19 @@ export default { SUPPLIES_NAME: [ { required: true, message: '名称不能为空', trigger: 'blur' }, { min: 2, max: 255, message: '长度在 2 到 255 个字符', trigger: 'blur' } + ], + + LONGITUDE: [ + { required: true, message: '经度不能为空', trigger: 'blur' } + ], + LATITUDE: [ + { required: true, message: '纬度不能为空', trigger: 'blur' } + ], + CONTACT_PERSON: [ + { required: true, message: '负责保管人不能为空', trigger: 'blur' } + ], + CONTACT_OFFICE_PHONE: [ + { required: true, message: '负责保管人固定电话不能为空', trigger: 'blur' } ] }, form: {