|
@@ -70,6 +70,102 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
+ <el-row :gutter="20" class="mb8">
|
|
|
+ <el-col :span="10">
|
|
|
+ <el-form-item label="按避难时长设计分类:" prop="duration_type">
|
|
|
+ <el-input v-model="formData.duration_type" placeholder="请输入分类" style="width: 468px !important" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="10">
|
|
|
+ <el-form-item label="按空间类型分类:" prop="space_type">
|
|
|
+ <el-input v-model="formData.space_type" placeholder="请输入空间类型" style="width: 468px !important" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row :gutter="20" class="mb8">
|
|
|
+ <el-col :span="10">
|
|
|
+ <el-form-item label="按总体功能定位分类:" prop="function_type">
|
|
|
+ <el-input v-model="formData.function_type" placeholder="请输入分类" style="width: 468px !important" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="10">
|
|
|
+ <el-form-item label="应急避难场所建设类型:" prop="construct_type">
|
|
|
+ <el-input v-model="formData.construct_type" placeholder="请输入建设类型" style="width: 468px !important" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row :gutter="20" class="mb8">
|
|
|
+ <el-col :span="10">
|
|
|
+ <el-form-item label="认定部门:" prop="identification_department">
|
|
|
+ <el-input v-model="formData.identification_department" placeholder="请输入认定部门" style="width: 468px !important" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="10">
|
|
|
+ <el-form-item label="主管单位:" prop="sponsor">
|
|
|
+ <el-input v-model="formData.sponsor" placeholder="请输入主管单位" style="width: 468px !important" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row :gutter="20" class="mb8">
|
|
|
+ <el-col :span="10">
|
|
|
+ <el-form-item label="建设单位:" prop="construction_unit">
|
|
|
+ <el-input v-model="formData.construction_unit" placeholder="请输入建设单位" style="width: 468px !important" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="10">
|
|
|
+ <el-form-item label="建成时间:" prop="completion_time">
|
|
|
+ <el-input v-model="formData.completion_time" placeholder="请输入建成时间" style="width: 468px !important" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row :gutter="20" class="mb8">
|
|
|
+ <el-col :span="10">
|
|
|
+ <el-form-item label="规划情况:" prop="planning_situation">
|
|
|
+ <el-input v-model="formData.planning_situation" placeholder="请输入规划情况" style="width: 468px !important" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="10">
|
|
|
+ <el-form-item label="建设总投资(万元):" prop="total_investment">
|
|
|
+ <el-input v-model="formData.total_investment" placeholder="请输入建设总投资" style="width: 468px !important" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row :gutter="20" class="mb8">
|
|
|
+ <el-col :span="10">
|
|
|
+ <el-form-item label="建设标准名称:" prop="standard_name">
|
|
|
+ <el-input v-model="formData.standard_name" placeholder="请输入建设标准名称" style="width: 468px !important" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="10">
|
|
|
+ <el-form-item label="日常维护或管理人员数量:" prop="management_number">
|
|
|
+ <el-input v-model="formData.management_number" placeholder="请输入日常维护或管理人员数量" style="width: 468px !important" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row :gutter="20" class="mb8">
|
|
|
+ <el-col :span="10">
|
|
|
+ <el-form-item label="其中:专职维护或管理人员数量:" prop="full_number">
|
|
|
+ <el-input v-model="formData.full_number" placeholder="请输入专职维护或管理人员数量" style="width: 468px !important" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="10">
|
|
|
+ <el-form-item label="产权/运维单位:" prop="property_unit">
|
|
|
+ <el-input v-model="formData.property_unit" placeholder="请输入产权/运维单位" style="width: 468px !important" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row :gutter="20" class="mb8">
|
|
|
+ <el-col :span="10">
|
|
|
+ <el-form-item label="运输投入:" prop="transportation_investment">
|
|
|
+ <el-input v-model="formData.transportation_investment" placeholder="请输入运输投入" style="width: 468px !important" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="10">
|
|
|
+ <el-form-item label="运输投入渠道:" prop="channel">
|
|
|
+ <el-input v-model="formData.channel" placeholder="请输入运输投入渠道" style="width: 468px !important" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
</el-form>
|
|
|
<div class="common-dialog-footer">
|
|
|
<el-button @click="closeDialog">取消</el-button>
|
|
@@ -91,17 +187,33 @@ import { addSheltert } from '@/api/comprehensiveGuarantee/reliefResourceManageme
|
|
|
const emits = defineEmits(['close']);
|
|
|
|
|
|
const formData = ref({
|
|
|
- admin_area: '',
|
|
|
- full_name: '',
|
|
|
- address: '',
|
|
|
- incident_type: '',
|
|
|
- shelter_type: '',
|
|
|
- lnglat: [],
|
|
|
- total_area: '',
|
|
|
- indoor_area: '',
|
|
|
- capacity: '',
|
|
|
- supplies: '',
|
|
|
- facilities: ''
|
|
|
+ admin_area: '', //行政区域
|
|
|
+ full_name: '', //应急避难场所全称
|
|
|
+ address: '', //应急避难场所地址
|
|
|
+ incident_type: '', //按突发事件类型分类
|
|
|
+ shelter_type: '', //避难种类
|
|
|
+ lnglat: [], //经纬度
|
|
|
+ total_area: '', //占地总面积
|
|
|
+ indoor_area: '', //室内面积
|
|
|
+ capacity: '', //容纳人数
|
|
|
+ supplies: '', //物资储备
|
|
|
+ facilities: '', //应急设施
|
|
|
+
|
|
|
+ duration_type: '', //避难时长分类
|
|
|
+ space_type: '', //空间类型分类
|
|
|
+ function_type: '', //功能定位分类
|
|
|
+ construct_type: '', //建设类型
|
|
|
+ sponsor: '', //主管单位
|
|
|
+ construction_unit: '', //建设单位
|
|
|
+ completion_time: '', //建成时间
|
|
|
+ planning_situation: '', //规划情况
|
|
|
+ total_investment: '', //建设总投资
|
|
|
+ standard_name: '', //建设标准名称
|
|
|
+ management_number: '', //日常维护或管理人员数量
|
|
|
+ full_number: '', //专职维护或管理人员数量
|
|
|
+ property_unit: '', //产权/运维单位
|
|
|
+ transportation_investment: '', //运输投入
|
|
|
+ channel: '' //运输投入渠道
|
|
|
});
|
|
|
|
|
|
const rules = ref({
|
|
@@ -114,7 +226,23 @@ const rules = ref({
|
|
|
indoor_area: [{ required: true, message: '应急避难场所室内面积不能为空', trigger: 'blur' }],
|
|
|
capacity: [{ required: true, message: '避难场所容纳人数不能为空', trigger: 'blur' }],
|
|
|
supplies: [{ required: true, message: '物资储备不能为空', trigger: 'blur' }],
|
|
|
- facilities: [{ required: true, message: '应急设施不能为空', trigger: 'blur' }]
|
|
|
+ facilities: [{ required: true, message: '应急设施不能为空', trigger: 'blur' }],
|
|
|
+
|
|
|
+ duration_type: [{ required: true, message: '避难时长分类不能为空', trigger: 'blur' }],
|
|
|
+ space_type: [{ required: true, message: '空间类型分类不能为空', trigger: 'blur' }],
|
|
|
+ function_type: [{ required: true, message: '功能定位分类不能为空', trigger: 'blur' }],
|
|
|
+ construct_type: [{ required: true, message: '建设类型不能为空', trigger: 'blur' }],
|
|
|
+ sponsor: [{ required: true, message: '主管单位不能为空', trigger: 'blur' }],
|
|
|
+ construction_unit: [{ required: true, message: '建设单位不能为空', trigger: 'blur' }],
|
|
|
+ completion_time: [{ required: true, message: '建成时间不能为空', trigger: 'blur' }],
|
|
|
+ planning_situation: [{ required: true, message: '规划情况不能为空', trigger: 'blur' }],
|
|
|
+ total_investment: [{ required: true, message: '建设总投资不能为空', trigger: 'blur' }],
|
|
|
+ standard_name: [{ required: true, message: '建设标准名称不能为空', trigger: 'blur' }],
|
|
|
+ management_number: [{ required: true, message: '日常维护或管理人员数量不能为空', trigger: 'blur' }],
|
|
|
+ full_number: [{ required: true, message: '专职维护或管理人员数量不能为空', trigger: 'blur' }],
|
|
|
+ property_unit: [{ required: true, message: '产权/运维单位不能为空', trigger: 'blur' }],
|
|
|
+ transportation_investment: [{ required: true, message: '运输投入不能为空', trigger: 'blur' }],
|
|
|
+ channel: [{ required: true, message: '运输投入渠道不能为空', trigger: 'blur' }]
|
|
|
});
|
|
|
|
|
|
const form = ref(null); // 定义 form 变量
|