企业名录

zhangtao
laozt 1 year ago
parent 24a952cab1
commit 060b50c05a

@ -2,7 +2,7 @@
# @Author: 张涛
# @Date: 2023-07-18 13:04:50
# @LastEditors: 张涛
# @LastEditTime: 2023-10-12 13:12:38
# @LastEditTime: 2023-10-18 16:40:13
# @FilePath: \suzhouyingjiPC\.env.development
###
# 页面标题
@ -13,8 +13,8 @@ ENV = 'development'
# 苏州应急执法计划管理系统/开发环境
# VUE_APP_BASE_API = 'http://39.101.188.84:9033'
# VUE_APP_BASE_API = 'http://192.168.0.106:9033'
VUE_APP_BASE_API = 'http://180.108.205.123:13002'
VUE_APP_BASE_API = 'http://localhost:13002'
# VUE_APP_BASE_API = 'http://180.108.205.123:13002'
# 统一登录-内网
# VUE_APP_SSO_LOGIN = 'http://2.46.4.197:8090/sso-server/oauth2/sso?aid=17847210&cbu=http%3A%2F%2F180.108.205.123%3A13001%2F&response_type=code'

@ -0,0 +1,23 @@
let dictzh = {
A: "农、林、牧、渔业",
B: "采矿业",
C: "制造业",
D: "电力、热力、燃气及水生产和供应业",
E: "建筑业",
F: "批发和零售业",
G: "交通运输、仓储和邮政业",
H: "住宿和餐饮业",
I: "信息传输、软件和信息技术服务业",
J: "金融业",
K: "房地产业",
L: "租赁和商务服务业",
N: "水利、环境和公共设施管理业",
O: "居民服务、修理和其他服务业",
P: "教育",
Q: "卫生和社会工作",
R: "文化、体育和娱乐业",
S: "公共管理、社会保障和社会组织",
T: "国际组织",
};
export default dictzh;

@ -10,7 +10,7 @@
ref="executive"
></executive>
</div>
<div class="select-input">
<!-- <div class="select-input">
<div class="select-span">企业规模:</div>
<el-select v-model="form.majorHazardLevel" placeholder="请选择">
<el-option
@ -21,10 +21,10 @@
>
</el-option>
</el-select>
</div>
</div> -->
<div class="select-input">
<div class="select-span">行业:</div>
<el-select v-model="form.indusTypeClass" placeholder="请选择">
<div class="select-span">行业监管大:</div>
<el-select v-model="form.supervisionLarge" placeholder="请选择">
<el-option
v-for="item in dict.type.category"
:key="item.value"
@ -40,7 +40,7 @@
<div class="input-input" style="margin-left: 10px">
<div class="select-span">统一社会信用代码:</div>
<el-input
v-model="form.uscCode"
v-model="form.uuitNo"
placeholder="请输入统一社会信用代码"
></el-input>
</div>
@ -66,7 +66,7 @@
:row-class-name="tableRowClassName"
>
<el-table-column
prop="entprName"
prop="enterpriseName"
label="企业名称"
show-overflow-tooltip
header-align="center"
@ -82,42 +82,28 @@
<span>{{ componendDistrict(scope.row.subdistrict) || "/" }}</span>
</template>
</el-table-column>
<el-table-column
prop="majorHazardLevel"
<!-- <el-table-column
prop="enterpristScale"
label="企业规模"
width="180"
header-align="center"
>
<template slot-scope="scope">
<div>
{{
filterTable1(
dict.type.major_hazard_level,
scope.row.majorHazardLevel
)
}}
</div>
</template>
</el-table-column>
</el-table-column> -->
<el-table-column
prop="indusTypeClass"
label="行业"
prop="supervisionLarge"
label="行业监管大类"
width="180"
header-align="center"
>
<template slot-scope="scope">
<div>
{{
scope.row.indusTypeClass != "null"
? filterTable1(dict.type.category, scope.row.indusTypeClass)
: "/"
}}
{{ scope.row.supervisionLarge | supervisionLarge }}
</div>
</template>
</el-table-column>
<el-table-column
prop="uscCode"
prop="uuitNo"
label="统一社会信用代码"
header-align="center"
>
@ -174,11 +160,11 @@
<div class="filtrate">
<el-descriptions :column="2" border>
<el-descriptions-item
:label="item.label"
v-for="(item, index) in listDes"
:key="index"
:label="value"
v-for="(key, value) in elDesLabels"
:key="key"
>
{{ item.value }}
{{ infoData[key] }}
</el-descriptions-item>
</el-descriptions>
</div>
@ -193,12 +179,14 @@ import myPagination from "@/views/components/myPagination/index.vue";
import { businessList, listDist, xzTree } from "@/api/yingji/keyEnterprise";
// import { mapState } from "vuex";
import executive from "./echarts/executive";
import dictzh from "@/utils/dictzh.js";
export default {
components: { myPagination, executive },
name: "Order",
data() {
return {
dictzh: dictzh,
tableData: [],
option: [],
form: {},
@ -213,319 +201,76 @@ export default {
main: {
height: "",
},
listDes: [
{
eng: "bizAddr",
label: "生产经营地址",
value: "",
},
{
eng: "bossEmail",
label: "主要负责人电子邮箱",
value: "",
},
{
eng: "bossMobtel",
label: "主要负责人移动电话",
value: "",
},
{
eng: "bossTel",
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: "",
// value: "",
// },
{
eng: "ecoTypeLarge",
label: "经济类型大类",
value: "",
},
{
eng: "ecoTypeSmall",
label: "经济类型小类",
value: "",
},
{
eng: "employeeNum",
label: "从业人员数量",
value: "",
},
{
eng: "entprcolor",
label: "企业分色",
value: "",
},
// {
// eng: "entprId",
// label: "ID",
// value: "",
// },
{
eng: "entprName",
label: "企业名称",
value: "",
},
// {
// eng: "entprPlaneGragh",
// label: "",
// value: "",
// },
{
eng: "floorArea",
label: "占地面积(㎡)",
value: "",
},
{
eng: "fullEmegNum",
label: "专职应急管理人员数量",
value: "",
},
{
eng: "fullSafety",
label: "是否有专职安全人员",
value: "",
},
{
eng: "fullSafetyNum",
label: "专职安全生产管理人员数量",
value: "",
},
{
eng: "gridCode",
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: "是否存在重大危险源",
value: "",
},
{
eng: "majorHazardLevel",
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: "统一社会信用代码",
value: "",
},
],
elDesLabels: {
企业名称: "enterpriseName",
统一社会信用代码: "uuitNo",
法定代表人: "legalPerson",
法人证件号: "frzjh",
是否规上企业: "aboveDesignated",
企业规模: "aboveDesignatedTwo",
企业类型: "zjEconKind",
生产经营地址: "businessAddress",
行业监管大类: "supervisionLarge",
登记状态: "corpStatus",
行政区划: "county",
办公地址: "enterpriseAddress",
企业规模: "enterpristScale",
固定资产: "fixedAssets",
占地面积: "floorSpace",
上一年经营收入: "lastYearOperatingIncome",
企业上一年投入生产: "lastYeatOnStream",
法人移动电话: "legalPersonCellphone",
法人职务: "legalPersonPost",
法人固定电话: "legalPersonTel",
法人类型: "legalPersonType",
主营业务及产品: "majorProduct",
机构编码: "orgCode",
其他名称: "otherName",
登记时间: "registerTime",
登记机关: "registrationOrg",
注册地址: "rigisterAddress",
注册资金: "rigisterFund",
是否上报风险报告: "riskReport",
安全生产投入占比: "safetyProductionInvestment",
申请人: "sqr",
申请人联系方式: "sqrlxfs",
成立时间: "startTime",
"所在乡镇(街道)": "subdistrict",
有效期起: "termStart",
有效期止: "termEnd",
创建时间: "createTime",
修改时间: "updateTime",
经营范围: "businessScope",
备注: "remark",
// : "htmlText",
// :"updateBy",
// :"updateId",
// :"updater",
// :"userId",
// :"village",
// :"supervisionSmall",
// :"reportHistoryId",
// :"indusTypeClass",
// :"indusTypeLagre",
// :"indusTypeMiddle",
// :"indusTypeSmall",
// :"isDelete",
// :"jhptUpdateTime",
// :"lastPageNumber",
// :"creater",
// :"deptId",
// :"districtCode",
// :"province",
// :"createBy",
// :"createId",
// :"businessScope",
// :"city",
},
addShow: false,
details: null,
//==
subdistrict: [],
infoData: {},
};
},
created() {
@ -543,8 +288,27 @@ export default {
"entpr_color",
"is_point",
],
filters: {
supervisionLarge: function (value) {
// console.log(value.split(","));
let array = value.split(",");
array.map((item, ind) => {
array[ind] = dictzh[item];
});
// console.log(array.join(","));
return array.join(",");
},
},
methods: {
supervisionLarge(value) {
// console.log(value.split(","));
let array = value.split(",");
array.map((item, ind) => {
array[ind] = dictzh[item];
});
// console.log(array.join(","));
return array.join(",");
},
//
componendDistrict(district) {
let name;
@ -586,102 +350,25 @@ export default {
this.addShow = false;
},
look(e) {
//
this.addShow = true;
this.details = e;
for (let key in this.details) {
this.listDes.forEach((value1, index1) => {
if (key == value1.eng) {
this.listDes[index1].value =
this.details[key] == "无"
? "/"
: this.details[key] == "null"
? "/"
: this.details[key];
return;
}
});
}
this.listDes.forEach((value1, index1) => {
//
if (value1.eng == "majorHazardLevel") {
this.listDes[index1].value = this.filterTable1(
this.dict.type.major_hazard_level,
value1.value
);
}
//
if (value1.eng == "ecoTypeLarge") {
this.listDes[index1].value = this.filterTable1(
this.dict.type.economic_categories,
value1.value
);
}
//
if (value1.eng == "ecoTypeSmall") {
this.listDes[index1].value = this.filterTable1(
this.dict.type.economic_subcategory,
value1.value
);
}
//
if (value1.eng == "specialGovernance") {
this.listDes[index1].value = this.filterTable1(
this.dict.type.special_governance,
value1.value
);
}
//
//
if (value1.eng == "operatingStatus") {
this.listDes[index1].value = this.filterTable1(
this.dict.type.enterprise_status,
value1.value
);
}
//
if (value1.eng == "standLevel") {
this.listDes[index1].value = this.filterTable1(
this.dict.type.standardization_level,
value1.value
);
}
//
if (value1.eng == "safetySupervisionLevel") {
this.listDes[index1].value = this.filterTable1(
this.dict.type.safety_level,
value1.value
);
}
//
//
//
//
if (value1.eng == "indusTypeClass") {
this.listDes[index1].value = this.filterTable1(
this.dict.type.category,
value1.value
);
}
//
if (value1.eng == "isPoint") {
this.listDes[index1].value = this.filterTable1(
this.dict.type.is_point,
value1.value
);
}
if (value1.value == null) {
this.listDes[index1].value = "/";
}
if (value1.value == "false") {
this.listDes[index1].value = "否";
}
if (value1.value == "true") {
this.listDes[index1].value = "是";
}
});
e["aboveDesignated"] = e.aboveDesignated == 1 ? "规上" : "规下";
e["riskReport"] = e.riskReport == 1 ? "是" : "否";
e["aboveDesignatedTwo"] =
e.aboveDesignatedTwo == 1
? "大型"
: e.aboveDesignatedTwo == 2
? "中型"
: e.aboveDesignatedTwo == 3
? "小型"
: e.aboveDesignatedTwo == 4
? "微型"
: "";
e["supervisionLarge"] = this.supervisionLarge(e.supervisionLarge);
this.infoData = e;
},
quhua(e) {
this.form.subdistrict = e;
this.form.SUBDISTRICT = e;
},
searchList() {
this.searchBefore = {
@ -694,13 +381,13 @@ export default {
},
chongzhiList() {
this.form = {
subdistrict: "",
SUBDISTRICT: "",
frimType: "",
indusTypeClass: "",
supervisionLarge: "",
// isPoint: "",
majorHazardLevel: "",
entprColor: "",
uscCode: "",
uuitNo: "",
};
this.searchBefore = {
pageSize: 10,
@ -719,8 +406,8 @@ export default {
getList() {
this.load1 = true;
businessList(this.searchBefore).then((res) => {
this.tableData = res.data.list;
this.total = res.data.total;
this.tableData = res.rows;
this.total = res.total;
this.load1 = false;
});
},
@ -731,16 +418,7 @@ export default {
return "";
},
},
// mounted() {
// this.checkListTwo = this.checkList;
// // this.$nextTick(()=>{
// // let dom = document.getElementsByClassName('tables');
// // let height = dom[0].getBoundingClientRect();
// // let windowHeight = window.innerHeight;
// // let relativeHeight = windowHeight - height.top
// // this.main.height = relativeHeight - 50
// // })
// },
mounted() {},
};
</script>
<style lang="scss" scoped>
@ -800,70 +478,6 @@ export default {
// padding: 15px 10px;
.filtrate {
padding-bottom: 10px;
// .select-input {
// // margin-right: 10px;
// margin-top: 20px;
// display: flex;
// align-items: center;
// .select-span {
// font-size: 13px;
// font-family: "Alibaba PuHuiTi";
// font-weight: 400;
// color: #525966;
// // line-height: 40px;
// margin-right: 10px;
// }
// ::v-deep .el-select,
// .el-cascader {
// background-color: transparent;
// width: 180px;
// .el-input__inner {
// height: 33px;
// }
// // border-radius: 2px;
// .el-input
// .el-input__suffix
// .el-input__suffix-inner
// .el-icon-arrow-up::before {
// content: "";
// background: url(../../assets/images/down2.png) center center
// no-repeat;
// background-size: cover;
// position: absolute;
// width: 10px;
// height: 7px;
// top: 50%;
// left: 50%;
// transform: translate(-50%, -50%);
// }
// }
// }
// .select-input {
// width: 45%;
// ::v-deep .el-input {
// .el-input__inner {
// height: 33px;
// }
// }
// }
// .select-btn {
// width: 80px;
// height: 33px;
// background: #2378ec;
// border-radius: 2px;
// display: flex;
// align-items: center;
// justify-content: center;
// font-size: 15px;
// font-family: Alibaba PuHuiTi;
// font-weight: 500;
// color: #ffffff;
// cursor: pointer;
// margin-right: 10px;
// }
// .select-btn1 {
// background: #28b384;
// }
}
}
}
@ -874,10 +488,6 @@ export default {
padding: 0 20px;
background-color: #fff;
.filtrate {
// display: flex;
// align-items: center;
// justify-content: space-between;
// flex-wrap: wrap;
padding-bottom: 10px;
.one-line,
.two-line {
@ -918,7 +528,7 @@ export default {
}
.select-btn {
padding: 12px 20px;
margin: 10px 0 0 0;
margin: 10px 0 0 5px;
height: 33px;
background: #2378ec;
border-radius: 2px;
@ -932,13 +542,8 @@ export default {
cursor: pointer;
}
}
// .two-line {
// display: flex;
// align-items: center;
// justify-content: space-between;
// }
.select-input {
// margin-right: 10px;
margin-top: 10px;
display: flex;
align-items: center;

Loading…
Cancel
Save