企业名录

main
laozt 2 years ago
parent 24a952cab1
commit 060b50c05a

@ -2,7 +2,7 @@
# @Author: 张涛 # @Author: 张涛
# @Date: 2023-07-18 13:04:50 # @Date: 2023-07-18 13:04:50
# @LastEditors: 张涛 # @LastEditors: 张涛
# @LastEditTime: 2023-10-12 13:12:38 # @LastEditTime: 2023-10-18 16:40:13
# @FilePath: \suzhouyingjiPC\.env.development # @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://39.101.188.84:9033'
# VUE_APP_BASE_API = 'http://192.168.0.106:9033' VUE_APP_BASE_API = 'http://localhost:13002'
VUE_APP_BASE_API = 'http://180.108.205.123: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' # 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" ref="executive"
></executive> ></executive>
</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.majorHazardLevel" placeholder="请选择"> <el-select v-model="form.majorHazardLevel" placeholder="请选择">
<el-option <el-option
@ -21,10 +21,10 @@
> >
</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.indusTypeClass" placeholder="请选择"> <el-select v-model="form.supervisionLarge" placeholder="请选择">
<el-option <el-option
v-for="item in dict.type.category" v-for="item in dict.type.category"
:key="item.value" :key="item.value"
@ -40,7 +40,7 @@
<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.uuitNo"
placeholder="请输入统一社会信用代码" placeholder="请输入统一社会信用代码"
></el-input> ></el-input>
</div> </div>
@ -66,7 +66,7 @@
:row-class-name="tableRowClassName" :row-class-name="tableRowClassName"
> >
<el-table-column <el-table-column
prop="entprName" prop="enterpriseName"
label="企业名称" label="企业名称"
show-overflow-tooltip show-overflow-tooltip
header-align="center" header-align="center"
@ -82,42 +82,28 @@
<span>{{ componendDistrict(scope.row.subdistrict) || "/" }}</span> <span>{{ componendDistrict(scope.row.subdistrict) || "/" }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <!-- <el-table-column
prop="majorHazardLevel" prop="enterpristScale"
label="企业规模" label="企业规模"
width="180" width="180"
header-align="center" header-align="center"
> >
<template slot-scope="scope"> </el-table-column> -->
<div>
{{
filterTable1(
dict.type.major_hazard_level,
scope.row.majorHazardLevel
)
}}
</div>
</template>
</el-table-column>
<el-table-column <el-table-column
prop="indusTypeClass" prop="supervisionLarge"
label="行业" label="行业监管大类"
width="180" width="180"
header-align="center" header-align="center"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<div> <div>
{{ {{ scope.row.supervisionLarge | supervisionLarge }}
scope.row.indusTypeClass != "null"
? filterTable1(dict.type.category, scope.row.indusTypeClass)
: "/"
}}
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="uscCode" prop="uuitNo"
label="统一社会信用代码" label="统一社会信用代码"
header-align="center" header-align="center"
> >
@ -174,11 +160,11 @@
<div class="filtrate"> <div class="filtrate">
<el-descriptions :column="2" border> <el-descriptions :column="2" border>
<el-descriptions-item <el-descriptions-item
:label="item.label" :label="value"
v-for="(item, index) in listDes" v-for="(key, value) in elDesLabels"
:key="index" :key="key"
> >
{{ item.value }} {{ infoData[key] }}
</el-descriptions-item> </el-descriptions-item>
</el-descriptions> </el-descriptions>
</div> </div>
@ -193,12 +179,14 @@ import myPagination from "@/views/components/myPagination/index.vue";
import { businessList, listDist, xzTree } from "@/api/yingji/keyEnterprise"; import { businessList, listDist, xzTree } from "@/api/yingji/keyEnterprise";
// import { mapState } from "vuex"; // import { mapState } from "vuex";
import executive from "./echarts/executive"; import executive from "./echarts/executive";
import dictzh from "@/utils/dictzh.js";
export default { export default {
components: { myPagination, executive }, components: { myPagination, executive },
name: "Order", name: "Order",
data() { data() {
return { return {
dictzh: dictzh,
tableData: [], tableData: [],
option: [], option: [],
form: {}, form: {},
@ -213,319 +201,76 @@ export default {
main: { main: {
height: "", height: "",
}, },
listDes: [ elDesLabels: {
{ 企业名称: "enterpriseName",
eng: "bizAddr", 统一社会信用代码: "uuitNo",
label: "生产经营地址", 法定代表人: "legalPerson",
value: "", 法人证件号: "frzjh",
}, 是否规上企业: "aboveDesignated",
{ 企业规模: "aboveDesignatedTwo",
eng: "bossEmail", 企业类型: "zjEconKind",
label: "主要负责人电子邮箱", 生产经营地址: "businessAddress",
value: "", 行业监管大类: "supervisionLarge",
}, 登记状态: "corpStatus",
{ 行政区划: "county",
eng: "bossMobtel", 办公地址: "enterpriseAddress",
label: "主要负责人移动电话", 企业规模: "enterpristScale",
value: "", 固定资产: "fixedAssets",
}, 占地面积: "floorSpace",
{ 上一年经营收入: "lastYearOperatingIncome",
eng: "bossTel", 企业上一年投入生产: "lastYeatOnStream",
label: "主要负责人固定电话", 法人移动电话: "legalPersonCellphone",
value: "", 法人职务: "legalPersonPost",
}, 法人固定电话: "legalPersonTel",
{ 法人类型: "legalPersonType",
eng: "businessScope", 主营业务及产品: "majorProduct",
label: "经营范围", 机构编码: "orgCode",
value: "", 其他名称: "otherName",
}, 登记时间: "registerTime",
{ 登记机关: "registrationOrg",
eng: "contactEmail", 注册地址: "rigisterAddress",
label: "电子邮箱", 注册资金: "rigisterFund",
value: "", 是否上报风险报告: "riskReport",
}, 安全生产投入占比: "safetyProductionInvestment",
{ 申请人: "sqr",
eng: "contactQq", 申请人联系方式: "sqrlxfs",
label: "联系QQ号码", 成立时间: "startTime",
value: "", "所在乡镇(街道)": "subdistrict",
}, 有效期起: "termStart",
{ 有效期止: "termEnd",
eng: "contactTel", 创建时间: "createTime",
label: "企业固定电话", 修改时间: "updateTime",
value: "", 经营范围: "businessScope",
}, 备注: "remark",
{ // : "htmlText",
eng: "cseNum", // :"updateBy",
label: "注册安全工程师人员数量", // :"updateId",
value: "", // :"updater",
}, // :"userId",
// { // :"village",
// eng: "doublePreven", // :"supervisionSmall",
// label: "", // :"reportHistoryId",
// value: "", // :"indusTypeClass",
// }, // :"indusTypeLagre",
{ // :"indusTypeMiddle",
eng: "ecoTypeLarge", // :"indusTypeSmall",
label: "经济类型大类", // :"isDelete",
value: "", // :"jhptUpdateTime",
}, // :"lastPageNumber",
{ // :"creater",
eng: "ecoTypeSmall", // :"deptId",
label: "经济类型小类", // :"districtCode",
value: "", // :"province",
}, // :"createBy",
{ // :"createId",
eng: "employeeNum", // :"businessScope",
label: "从业人员数量", // :"city",
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: "",
},
],
addShow: false, addShow: false,
details: null, details: null,
//== //==
subdistrict: [], subdistrict: [],
infoData: {},
}; };
}, },
created() { created() {
@ -543,8 +288,27 @@ export default {
"entpr_color", "entpr_color",
"is_point", "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: { 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) { componendDistrict(district) {
let name; let name;
@ -586,102 +350,25 @@ export default {
this.addShow = false; this.addShow = false;
}, },
look(e) { look(e) {
//
this.addShow = true; this.addShow = true;
this.details = e; e["aboveDesignated"] = e.aboveDesignated == 1 ? "规上" : "规下";
for (let key in this.details) { e["riskReport"] = e.riskReport == 1 ? "是" : "否";
this.listDes.forEach((value1, index1) => { e["aboveDesignatedTwo"] =
if (key == value1.eng) { e.aboveDesignatedTwo == 1
this.listDes[index1].value = ? "大型"
this.details[key] == "无" : e.aboveDesignatedTwo == 2
? "/" ? "中型"
: this.details[key] == "null" : e.aboveDesignatedTwo == 3
? "/" ? "小型"
: this.details[key]; : e.aboveDesignatedTwo == 4
return; ? "微型"
} : "";
}); e["supervisionLarge"] = this.supervisionLarge(e.supervisionLarge);
} this.infoData = e;
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 = "是";
}
});
}, },
quhua(e) { quhua(e) {
this.form.subdistrict = e; this.form.SUBDISTRICT = e;
}, },
searchList() { searchList() {
this.searchBefore = { this.searchBefore = {
@ -694,13 +381,13 @@ export default {
}, },
chongzhiList() { chongzhiList() {
this.form = { this.form = {
subdistrict: "", SUBDISTRICT: "",
frimType: "", frimType: "",
indusTypeClass: "", supervisionLarge: "",
// isPoint: "", // isPoint: "",
majorHazardLevel: "", majorHazardLevel: "",
entprColor: "", entprColor: "",
uscCode: "", uuitNo: "",
}; };
this.searchBefore = { this.searchBefore = {
pageSize: 10, pageSize: 10,
@ -719,8 +406,8 @@ export default {
getList() { getList() {
this.load1 = true; this.load1 = true;
businessList(this.searchBefore).then((res) => { businessList(this.searchBefore).then((res) => {
this.tableData = res.data.list; this.tableData = res.rows;
this.total = res.data.total; this.total = res.total;
this.load1 = false; this.load1 = false;
}); });
}, },
@ -731,16 +418,7 @@ export default {
return ""; return "";
}, },
}, },
// mounted() { 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
// // })
// },
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@ -800,70 +478,6 @@ export default {
// padding: 15px 10px; // padding: 15px 10px;
.filtrate { .filtrate {
padding-bottom: 10px; 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; padding: 0 20px;
background-color: #fff; background-color: #fff;
.filtrate { .filtrate {
// display: flex;
// align-items: center;
// justify-content: space-between;
// flex-wrap: wrap;
padding-bottom: 10px; padding-bottom: 10px;
.one-line, .one-line,
.two-line { .two-line {
@ -918,7 +528,7 @@ export default {
} }
.select-btn { .select-btn {
padding: 12px 20px; padding: 12px 20px;
margin: 10px 0 0 0; margin: 10px 0 0 5px;
height: 33px; height: 33px;
background: #2378ec; background: #2378ec;
border-radius: 2px; border-radius: 2px;
@ -932,13 +542,8 @@ export default {
cursor: pointer; cursor: pointer;
} }
} }
// .two-line {
// display: flex;
// align-items: center;
// justify-content: space-between;
// }
.select-input { .select-input {
// margin-right: 10px;
margin-top: 10px; margin-top: 10px;
display: flex; display: flex;
align-items: center; align-items: center;

Loading…
Cancel
Save