laozt 1 year ago
parent 86788a30b2
commit 5106a37079

@ -196,7 +196,7 @@
ref="formNew" ref="formNew"
:model="formNew" :model="formNew"
:rules="rulesNew" :rules="rulesNew"
label-width="80px" label-width="110px"
> >
<el-form-item label="信用代码" prop="enterpriseId"> <el-form-item label="信用代码" prop="enterpriseId">
<el-input v-model="formNew.enterpriseId" placeholder="请输入内容" /> <el-input v-model="formNew.enterpriseId" placeholder="请输入内容" />
@ -211,6 +211,20 @@
ref="areaCascader" ref="areaCascader"
/> />
</el-form-item> </el-form-item>
<el-form-item label="安全风险等级" prop="riskLevel">
<el-select
v-model="formNew.riskLevel"
placeholder="请输入安全风险等级"
>
<el-option
v-for="item in options"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitFormNew"> </el-button> <el-button type="primary" @click="submitFormNew"> </el-button>
@ -347,6 +361,9 @@ export default {
district: [ district: [
{ required: true, message: "行政区划不能为空", trigger: "blur" }, { required: true, message: "行政区划不能为空", trigger: "blur" },
], ],
riskLevel: [
{ required: true, message: "安全风险等级不能为空", trigger: "blur" },
],
}, },
}; };
}, },

Loading…
Cancel
Save