|
|
@ -75,7 +75,7 @@
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="input-input" style="margin-left: 10px;">
|
|
|
|
<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"
|
|
|
@ -129,7 +129,7 @@
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
{{
|
|
|
|
{{
|
|
|
|
filterTable(
|
|
|
|
filterTable1(
|
|
|
|
dict.type.major_hazard_level,
|
|
|
|
dict.type.major_hazard_level,
|
|
|
|
scope.row.majorHazardLevel
|
|
|
|
scope.row.majorHazardLevel
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -147,8 +147,8 @@
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
{{
|
|
|
|
{{
|
|
|
|
scope.row.indusTypeClass != "null"
|
|
|
|
scope.row.indusTypeClass != "null"
|
|
|
|
? filterTable(dict.type.category, scope.row.indusTypeClass)
|
|
|
|
? filterTable1(dict.type.category, scope.row.indusTypeClass)
|
|
|
|
: ""
|
|
|
|
: "/"
|
|
|
|
}}
|
|
|
|
}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
@ -616,9 +616,22 @@ export default {
|
|
|
|
quhuadizhi(district) {
|
|
|
|
quhuadizhi(district) {
|
|
|
|
this.option = district;
|
|
|
|
this.option = district;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
filterTable(a, b) {
|
|
|
|
filterTable1(datas, value) {
|
|
|
|
if (!b) return;
|
|
|
|
if (!value) {
|
|
|
|
return this.selectDictLabel(a, b);
|
|
|
|
return "/";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
var actions = [];
|
|
|
|
|
|
|
|
datas.forEach((value1, index1) => {
|
|
|
|
|
|
|
|
actions.push(value1.raw);
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
let newarr = actions.filter((value2) => {
|
|
|
|
|
|
|
|
return value2.dictValue == value;
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
if (newarr.length > 0) {
|
|
|
|
|
|
|
|
return newarr[0].dictLabel;
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
return "/";
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
shutDownDetail() {
|
|
|
|
shutDownDetail() {
|
|
|
|
this.addShow = false;
|
|
|
|
this.addShow = false;
|
|
|
@ -638,28 +651,28 @@ export default {
|
|
|
|
this.listDes.forEach((value1, index1) => {
|
|
|
|
this.listDes.forEach((value1, index1) => {
|
|
|
|
//重大危险源等级
|
|
|
|
//重大危险源等级
|
|
|
|
if (value1.eng == "majorHazardLevel") {
|
|
|
|
if (value1.eng == "majorHazardLevel") {
|
|
|
|
this.listDes[index1].value = this.filterTable(
|
|
|
|
this.listDes[index1].value = this.filterTable1(
|
|
|
|
this.dict.type.major_hazard_level,
|
|
|
|
this.dict.type.major_hazard_level,
|
|
|
|
value1.value
|
|
|
|
value1.value
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//经济类型大类
|
|
|
|
//经济类型大类
|
|
|
|
if (value1.eng == "ecoTypeLarge") {
|
|
|
|
if (value1.eng == "ecoTypeLarge") {
|
|
|
|
this.listDes[index1].value = this.filterTable(
|
|
|
|
this.listDes[index1].value = this.filterTable1(
|
|
|
|
this.dict.type.economic_categories,
|
|
|
|
this.dict.type.economic_categories,
|
|
|
|
value1.value
|
|
|
|
value1.value
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//经济类型小类
|
|
|
|
//经济类型小类
|
|
|
|
if (value1.eng == "ecoTypeSmall") {
|
|
|
|
if (value1.eng == "ecoTypeSmall") {
|
|
|
|
this.listDes[index1].value = this.filterTable(
|
|
|
|
this.listDes[index1].value = this.filterTable1(
|
|
|
|
this.dict.type.economic_subcategory,
|
|
|
|
this.dict.type.economic_subcategory,
|
|
|
|
value1.value
|
|
|
|
value1.value
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//专项治理类别
|
|
|
|
//专项治理类别
|
|
|
|
if (value1.eng == "specialGovernance") {
|
|
|
|
if (value1.eng == "specialGovernance") {
|
|
|
|
this.listDes[index1].value = this.filterTable(
|
|
|
|
this.listDes[index1].value = this.filterTable1(
|
|
|
|
this.dict.type.special_governance,
|
|
|
|
this.dict.type.special_governance,
|
|
|
|
value1.value
|
|
|
|
value1.value
|
|
|
|
);
|
|
|
|
);
|
|
|
@ -667,21 +680,21 @@ export default {
|
|
|
|
//隶属关系
|
|
|
|
//隶属关系
|
|
|
|
//企业经营状态
|
|
|
|
//企业经营状态
|
|
|
|
if (value1.eng == "operatingStatus") {
|
|
|
|
if (value1.eng == "operatingStatus") {
|
|
|
|
this.listDes[index1].value = this.filterTable(
|
|
|
|
this.listDes[index1].value = this.filterTable1(
|
|
|
|
this.dict.type.enterprise_status,
|
|
|
|
this.dict.type.enterprise_status,
|
|
|
|
value1.value
|
|
|
|
value1.value
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//标准化等级
|
|
|
|
//标准化等级
|
|
|
|
if (value1.eng == "standLevel") {
|
|
|
|
if (value1.eng == "standLevel") {
|
|
|
|
this.listDes[index1].value = this.filterTable(
|
|
|
|
this.listDes[index1].value = this.filterTable1(
|
|
|
|
this.dict.type.standardization_level,
|
|
|
|
this.dict.type.standardization_level,
|
|
|
|
value1.value
|
|
|
|
value1.value
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//安全监管等级
|
|
|
|
//安全监管等级
|
|
|
|
if (value1.eng == "safetySupervisionLevel") {
|
|
|
|
if (value1.eng == "safetySupervisionLevel") {
|
|
|
|
this.listDes[index1].value = this.filterTable(
|
|
|
|
this.listDes[index1].value = this.filterTable1(
|
|
|
|
this.dict.type.safety_level,
|
|
|
|
this.dict.type.safety_level,
|
|
|
|
value1.value
|
|
|
|
value1.value
|
|
|
|
);
|
|
|
|
);
|
|
|
@ -691,21 +704,21 @@ export default {
|
|
|
|
// 检查方式
|
|
|
|
// 检查方式
|
|
|
|
// 企业分色
|
|
|
|
// 企业分色
|
|
|
|
if (value1.eng == "entprColor") {
|
|
|
|
if (value1.eng == "entprColor") {
|
|
|
|
this.listDes[index1].value = this.filterTable(
|
|
|
|
this.listDes[index1].value = this.filterTable1(
|
|
|
|
this.dict.type.entpr_color,
|
|
|
|
this.dict.type.entpr_color,
|
|
|
|
value1.value
|
|
|
|
value1.value
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// 行业类型
|
|
|
|
// 行业类型
|
|
|
|
if (value1.eng == "indusTypeClass") {
|
|
|
|
if (value1.eng == "indusTypeClass") {
|
|
|
|
this.listDes[index1].value = this.filterTable(
|
|
|
|
this.listDes[index1].value = this.filterTable1(
|
|
|
|
this.dict.type.category,
|
|
|
|
this.dict.type.category,
|
|
|
|
value1.value
|
|
|
|
value1.value
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//是否重点
|
|
|
|
//是否重点
|
|
|
|
if (value1.eng == "isPoint") {
|
|
|
|
if (value1.eng == "isPoint") {
|
|
|
|
this.listDes[index1].value = this.filterTable(
|
|
|
|
this.listDes[index1].value = this.filterTable1(
|
|
|
|
this.dict.type.is_point,
|
|
|
|
this.dict.type.is_point,
|
|
|
|
value1.value
|
|
|
|
value1.value
|
|
|
|
);
|
|
|
|
);
|
|
|
|