|
|
|
@ -5,10 +5,11 @@
|
|
|
|
|
<div class="select-input">
|
|
|
|
|
<div class="select-span">行政区划:</div>
|
|
|
|
|
<el-cascader
|
|
|
|
|
v-model="form.subdistrict"
|
|
|
|
|
v-model="subdistrict"
|
|
|
|
|
placeholder="请选择"
|
|
|
|
|
:options="xzList"
|
|
|
|
|
:props="props"
|
|
|
|
|
:disabled="isNoneDivision"
|
|
|
|
|
>
|
|
|
|
|
</el-cascader>
|
|
|
|
|
</div>
|
|
|
|
@ -110,6 +111,16 @@
|
|
|
|
|
width="180"
|
|
|
|
|
header-align="center"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<div>
|
|
|
|
|
{{
|
|
|
|
|
filterTable(
|
|
|
|
|
options.major_hazard_level,
|
|
|
|
|
scope.row.majorHazardLevel
|
|
|
|
|
)
|
|
|
|
|
}}
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
prop="indusTypeClass"
|
|
|
|
@ -119,18 +130,26 @@
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<div>
|
|
|
|
|
{{ scope.row.indusTypeClass!='null' ? scope.row.indusTypeClass : "" }}
|
|
|
|
|
{{
|
|
|
|
|
scope.row.indusTypeClass != "null"
|
|
|
|
|
? scope.row.indusTypeClass
|
|
|
|
|
: ""
|
|
|
|
|
}}
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
prop="enterColorChart"
|
|
|
|
|
prop="entprColor"
|
|
|
|
|
label="企业分色"
|
|
|
|
|
header-align="center"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<div>
|
|
|
|
|
{{ scope.row.enterColorChart!='null' ? scope.row.enterColorChart : "" }}
|
|
|
|
|
{{
|
|
|
|
|
scope.row.enterColorChart != "null"
|
|
|
|
|
? scope.row.enterColorChart
|
|
|
|
|
: ""
|
|
|
|
|
}}
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
@ -187,7 +206,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="content">
|
|
|
|
|
<div class="filtrate">
|
|
|
|
|
<el-descriptions :column="2" border v-loading="detailLoad">
|
|
|
|
|
<el-descriptions :column="2" border>
|
|
|
|
|
<el-descriptions-item
|
|
|
|
|
:label="item.label"
|
|
|
|
|
v-for="(item, index) in listDes"
|
|
|
|
@ -206,13 +225,14 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import myPagination from "@/views/components/myPagination/index.vue";
|
|
|
|
|
import { businessList, listDist, xzTree } from "@/api/yingji/keyEnterprise";
|
|
|
|
|
import { mapState } from "vuex";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
components: { myPagination },
|
|
|
|
|
name: "Order",
|
|
|
|
@ -229,8 +249,10 @@ export default {
|
|
|
|
|
uscCode: "",
|
|
|
|
|
},
|
|
|
|
|
props: {
|
|
|
|
|
value: "subdistrict",
|
|
|
|
|
label: "institutionName",
|
|
|
|
|
checkStrictly: true,
|
|
|
|
|
value: "value",
|
|
|
|
|
label: "label",
|
|
|
|
|
children: "children",
|
|
|
|
|
},
|
|
|
|
|
xzqh: "",
|
|
|
|
|
searchBefore: {
|
|
|
|
@ -265,12 +287,31 @@ export default {
|
|
|
|
|
label: "主要负责人固定电话",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "businessScope",
|
|
|
|
|
label: "经营范围",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "contactEmail",
|
|
|
|
|
label: "电子邮箱",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "contactQq",
|
|
|
|
|
label: "联系QQ号码",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "contactTel",
|
|
|
|
|
label: "企业固定电话",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "cseNum",
|
|
|
|
|
label: "注册安全工程师人员数量",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
eng: "doublePreven",
|
|
|
|
|
label: "是否开展双重预防机制",
|
|
|
|
@ -296,14 +337,24 @@ export default {
|
|
|
|
|
label: "企业分色图",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "entprId",
|
|
|
|
|
label: "企业ID",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "entprName",
|
|
|
|
|
label: "企业名称",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "entprPlaneGragh",
|
|
|
|
|
label: "企业平面图",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "floorArea",
|
|
|
|
|
label: "占地面积",
|
|
|
|
|
label: "占地面积(㎡)",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -326,21 +377,78 @@ export default {
|
|
|
|
|
label: "网格编码",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "gridEntprStatus",
|
|
|
|
|
label: "网格对企业的关停和恢复",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "groupCompName",
|
|
|
|
|
label: "集团公司名称",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "indusTypeClass",
|
|
|
|
|
label: "行业类别门类",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "indusTypeLagre",
|
|
|
|
|
label: "行业类别大类",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "indusTypeMiddle",
|
|
|
|
|
label: "行业类别中类",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "indusTypeSmall",
|
|
|
|
|
label: "行业类别小类",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "industryRefer",
|
|
|
|
|
label: "工贸涉及(专项治理类别)",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "infoYear",
|
|
|
|
|
label: "数据年份",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
eng: "isPoint",
|
|
|
|
|
label: "是否重点",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
eng: "latitudeGps",
|
|
|
|
|
label: "纬度(度) 84",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "legalPerson",
|
|
|
|
|
label: "法定代表人",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "localSafetyAdmin",
|
|
|
|
|
label: "属地安监机构",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "longitudeGps",
|
|
|
|
|
label: "经度(度) 84",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "mainProduct",
|
|
|
|
|
label: "主要产品",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "majorHazardInstallations",
|
|
|
|
|
label: "是否存在重大危险源",
|
|
|
|
@ -351,11 +459,116 @@ export default {
|
|
|
|
|
label: "重大危险源等级",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "operatingStatus",
|
|
|
|
|
label: "经营状态",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "parentCompName",
|
|
|
|
|
label: "母公司名称",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "partSafetyNum",
|
|
|
|
|
label: "兼职安全生产管理人员数量",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "regAddr",
|
|
|
|
|
label: "注册地址",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "regCapi",
|
|
|
|
|
label: "注册资金(万元)",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "safetyDepart",
|
|
|
|
|
label: "是否有专门安全机构",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "safetyDepartDuty",
|
|
|
|
|
label: "安全管理机构职责",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "safetyDepartName",
|
|
|
|
|
label: "安全管理机构名称",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "safetyDepartNum",
|
|
|
|
|
label: "安全管理机构成员数量",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "safetyEmail",
|
|
|
|
|
label: "安全负责人电子邮箱",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "safetyManager",
|
|
|
|
|
label: "安全负责人",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "safetyMobtel",
|
|
|
|
|
label: "安全负责人移动电话",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "safetySupervisionLevel",
|
|
|
|
|
label: "安全监管等级",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "safetyTel",
|
|
|
|
|
label: "安全负责人固定电话",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "setupDate",
|
|
|
|
|
label: "成立日期",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "sourceData",
|
|
|
|
|
label: "数据来源",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "specialGovernance",
|
|
|
|
|
label: "专项治理类别",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "speclalOperationNum",
|
|
|
|
|
label: "特种作业人员数量",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "standLevel",
|
|
|
|
|
label: "标准化等级",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "stateOwed",
|
|
|
|
|
label: "是否为国有企业",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "supervisionLarge",
|
|
|
|
|
label: "行业监管大类",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "supervisionSmall",
|
|
|
|
|
label: "行业监管小类",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
eng: "uscCode",
|
|
|
|
|
label: "统一社会信用代码",
|
|
|
|
@ -364,41 +577,91 @@ export default {
|
|
|
|
|
],
|
|
|
|
|
addShow: false,
|
|
|
|
|
details: null,
|
|
|
|
|
detailLoad: true,
|
|
|
|
|
//==
|
|
|
|
|
isNoneDivision: false,
|
|
|
|
|
newQHList: [],
|
|
|
|
|
subdistrict: [],
|
|
|
|
|
isPointOption:[
|
|
|
|
|
{
|
|
|
|
|
dictValue:1,
|
|
|
|
|
dictLabel:'是'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
dictValue:0,
|
|
|
|
|
dictLabel:'否'
|
|
|
|
|
},
|
|
|
|
|
]
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
this.getList();
|
|
|
|
|
this.getDict();
|
|
|
|
|
},
|
|
|
|
|
computed: {
|
|
|
|
|
...mapState({
|
|
|
|
|
//根据存储的dept.parentId判断是哪个等级
|
|
|
|
|
dept: (state) => state.user.dept,
|
|
|
|
|
}),
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
filterTable(a, b) {
|
|
|
|
|
let arr = [];
|
|
|
|
|
if (!b) return;
|
|
|
|
|
if (a == this.options.major_hazard_level) {
|
|
|
|
|
arr = a.filter((value) => {
|
|
|
|
|
return "0" + value.dictValue == b;
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
arr = a.filter((value) => {
|
|
|
|
|
return value.dictValue == b;
|
|
|
|
|
});
|
|
|
|
|
return arr[0].dictLabel;
|
|
|
|
|
},
|
|
|
|
|
shutDownDetail() {
|
|
|
|
|
this.addShow = false;
|
|
|
|
|
},
|
|
|
|
|
look(e) {
|
|
|
|
|
this.addShow = true;
|
|
|
|
|
this.detailLoad = true;
|
|
|
|
|
businessList({ uscCode: e.enterpriseId, ...this.searchBefore }).then(
|
|
|
|
|
(res) => {
|
|
|
|
|
this.details = res.data.list[0];
|
|
|
|
|
this.detailLoad = false;
|
|
|
|
|
for (let key in this.details) {
|
|
|
|
|
this.listDes.forEach((value1, index1) => {
|
|
|
|
|
if (key == value1.eng) {
|
|
|
|
|
this.listDes[index1].value = this.details[key];
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
console.log(e);
|
|
|
|
|
this.details = e;
|
|
|
|
|
for (let key in this.details) {
|
|
|
|
|
this.listDes.forEach((value1, index1) => {
|
|
|
|
|
// if(key == value1.eng ){
|
|
|
|
|
// this.listDes[index1].value =this.filterTable(this.isPointOption, this.details[key]) ;
|
|
|
|
|
// return;
|
|
|
|
|
// }
|
|
|
|
|
if (key == value1.eng) {
|
|
|
|
|
this.listDes[index1].value = this.details[key];
|
|
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
for (let key1 in this.listDes) {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
console.log(this.filterTable(this.isPointOption, this.listDes[30].value) );
|
|
|
|
|
},
|
|
|
|
|
getDict() {
|
|
|
|
|
xzTree().then((res1) => {
|
|
|
|
|
console.log(res1);
|
|
|
|
|
this.xzList = res1.data;
|
|
|
|
|
this.filterComparment(this.xzList);
|
|
|
|
|
console.log(this.xzList);
|
|
|
|
|
if (this.dept.parentId == 0) {
|
|
|
|
|
res1.data.forEach((value, index) => {
|
|
|
|
|
this.xzList.push({
|
|
|
|
|
value: value.county,
|
|
|
|
|
label: value.institutionName,
|
|
|
|
|
children: [],
|
|
|
|
|
});
|
|
|
|
|
if (value.children.length > 0) {
|
|
|
|
|
value.children.forEach((value1, index1) => {
|
|
|
|
|
this.xzList[index].children.push({
|
|
|
|
|
value: value1.subdistrict,
|
|
|
|
|
label: value1.institutionName,
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
listDist({
|
|
|
|
|
list: "economic_categories,category,major_hazard_level,entpr_color",
|
|
|
|
@ -406,26 +669,17 @@ export default {
|
|
|
|
|
this.options = res.data;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
filterComparment(e) {
|
|
|
|
|
e.forEach((value, index) => {
|
|
|
|
|
if (value.children.length >= 1) {
|
|
|
|
|
this.filterComparment(value.children);
|
|
|
|
|
} else {
|
|
|
|
|
delete value.children;
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
searchList() {
|
|
|
|
|
if (this.form.subdistrict) {
|
|
|
|
|
this.form.subdistrict = this.form.subdistrict[1];
|
|
|
|
|
if (this.subdistrict) {
|
|
|
|
|
this.form.subdistrict = this.subdistrict[0];
|
|
|
|
|
}
|
|
|
|
|
this.searchBefore = { ...this.searchBefore, ...this.form };
|
|
|
|
|
this.getList();
|
|
|
|
|
},
|
|
|
|
|
chongzhiList() {
|
|
|
|
|
this.form = {
|
|
|
|
|
subdistrict: [],
|
|
|
|
|
subdistrict: "",
|
|
|
|
|
frimType: "",
|
|
|
|
|
indusTypeClass: "",
|
|
|
|
|
isPoint: "",
|
|
|
|
|