修改区划

lijinlong^2
杜函宇 1 year ago
parent cbeda51696
commit 20aa8b210c

@ -71,11 +71,11 @@ export default {
}, },
getData(e) { getData(e) {
if (e.length == 1) { if (e.length == 1) {
this.$emit("quhua", e[0].slice(0, 8)); this.$emit("quhua", e[0].slice(1, 8));
} else if (e.length == 2 && e[0] == e[1]) { } else if (e.length == 2 && e[0] == e[1]) {
this.$emit("quhua", e[0].slice(0, 8)); this.$emit("quhua", e[0].slice(1, 8));
} else { } else {
this.$emit("quhua", e[1].slice(0, 11)); this.$emit("quhua", e[1].slice(1, 11));
} }
}, },
}, },

@ -35,7 +35,7 @@
</el-option> </el-option>
</el-select> </el-select>
</div> </div>
<div class="select-input"> <!-- <div class="select-input">
<div class="select-span">是否重点:</div> <div class="select-span">是否重点:</div>
<el-select v-model="form.isPoint" placeholder="请选择"> <el-select v-model="form.isPoint" placeholder="请选择">
<el-option <el-option
@ -46,15 +46,12 @@
> >
</el-option> </el-option>
</el-select> </el-select>
</div> </div> -->
</div>
<div class="two-line">
<div class="two-line-left">
<div class="select-input"> <div class="select-input">
<div class="select-span">重大危险源等级:</div> <div class="select-span">企业分色:</div>
<el-select v-model="form.majorHazardLevel" placeholder="请选择"> <el-select v-model="form.entprColor" placeholder="请选择">
<el-option <el-option
v-for="item in dict.type.major_hazard_level" v-for="item in dict.type.entpr_color"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
@ -62,11 +59,14 @@
</el-option> </el-option>
</el-select> </el-select>
</div> </div>
</div>
<div class="two-line">
<div class="two-line-left">
<div class="select-input"> <div class="select-input">
<div class="select-span">企业分色:</div> <div class="select-span">重大危险源等级:</div>
<el-select v-model="form.entprColor" placeholder="请选择"> <el-select v-model="form.majorHazardLevel" placeholder="请选择">
<el-option <el-option
v-for="item in dict.type.entpr_color" v-for="item in dict.type.major_hazard_level"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
@ -74,7 +74,8 @@
</el-option> </el-option>
</el-select> </el-select>
</div> </div>
<div class="input-input">
<div class="input-input" style="margin-left: 10px;">
<div class="select-span">统一社会信用代码:</div> <div class="select-span">统一社会信用代码:</div>
<el-input <el-input
v-model="form.uscCode" v-model="form.uscCode"
@ -737,7 +738,7 @@ export default {
subdistrict: "", subdistrict: "",
frimType: "", frimType: "",
indusTypeClass: "", indusTypeClass: "",
isPoint: "", // isPoint: "",
majorHazardLevel: "", majorHazardLevel: "",
entprColor: "", entprColor: "",
uscCode: "", uscCode: "",
@ -927,7 +928,7 @@ export default {
.two-line-left { .two-line-left {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; // justify-content: space-between;
padding-right: 50px; padding-right: 50px;
width: 88%; width: 88%;
.input-input { .input-input {

Loading…
Cancel
Save