|
|
@ -39,7 +39,7 @@
|
|
|
|
clearable
|
|
|
|
clearable
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="安全风险等级" prop="riskLevel">
|
|
|
|
<el-form-item label="安全风险等级" prop="riskLevel">
|
|
|
|
<el-select
|
|
|
|
<el-select
|
|
|
|
v-model="queryParams.riskLevel"
|
|
|
|
v-model="queryParams.riskLevel"
|
|
|
|
placeholder="请输入安全风险等级"
|
|
|
|
placeholder="请输入安全风险等级"
|
|
|
@ -180,7 +180,14 @@ import firmDialog from "@/views/components/firmDialog/index.vue";
|
|
|
|
import dictzh from "@/utils/dictzh.js";
|
|
|
|
import dictzh from "@/utils/dictzh.js";
|
|
|
|
// 行政区域
|
|
|
|
// 行政区域
|
|
|
|
import executive from "../../yingji/echarts/executive.vue";
|
|
|
|
import executive from "../../yingji/echarts/executive.vue";
|
|
|
|
import { listNew, listGetNew ,getNew, delNew, addNew, updateNew } from "@/api/yingji/new";
|
|
|
|
import {
|
|
|
|
|
|
|
|
listNew,
|
|
|
|
|
|
|
|
listGetNew,
|
|
|
|
|
|
|
|
getNew,
|
|
|
|
|
|
|
|
delNew,
|
|
|
|
|
|
|
|
addNew,
|
|
|
|
|
|
|
|
updateNew,
|
|
|
|
|
|
|
|
} from "@/api/yingji/new";
|
|
|
|
import {
|
|
|
|
import {
|
|
|
|
listEnterprise,
|
|
|
|
listEnterprise,
|
|
|
|
getEnterprise,
|
|
|
|
getEnterprise,
|
|
|
@ -196,7 +203,7 @@ export default {
|
|
|
|
"is_point",
|
|
|
|
"is_point",
|
|
|
|
"entpr_color",
|
|
|
|
"entpr_color",
|
|
|
|
"major_hazard_level",
|
|
|
|
"major_hazard_level",
|
|
|
|
"dict_risk_level",
|
|
|
|
"dict_risk_level",
|
|
|
|
"dict_stand_level",
|
|
|
|
"dict_stand_level",
|
|
|
|
],
|
|
|
|
],
|
|
|
|
components: { firmDialog, executive },
|
|
|
|
components: { firmDialog, executive },
|
|
|
@ -235,7 +242,7 @@ export default {
|
|
|
|
updateId: null,
|
|
|
|
updateId: null,
|
|
|
|
userId: null,
|
|
|
|
userId: null,
|
|
|
|
deptId: null,
|
|
|
|
deptId: null,
|
|
|
|
isPoint: 1,
|
|
|
|
isPoint: 1,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 表单参数
|
|
|
|
// 表单参数
|
|
|
|
form: {},
|
|
|
|
form: {},
|
|
|
@ -271,15 +278,18 @@ export default {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
|
let userInfo = JSON.parse(sessionStorage.getItem("USER_INFO"));
|
|
|
|
this.refreshList()
|
|
|
|
if (userInfo.lawLevel == "县级" || userInfo.lawLevel == "镇级") {
|
|
|
|
|
|
|
|
this.queryParams.district = userInfo.permissionCode;
|
|
|
|
|
|
|
|
this.queryPlanEnterpriseParams.district = userInfo.permissionCode;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
|
|
this.getPlanEnterpriseList();
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
refreshList() {
|
|
|
|
|
|
|
|
let userInfo = JSON.parse(sessionStorage.getItem("USER_INFO"));
|
|
|
|
|
|
|
|
if (userInfo.lawLevel == "县级" || userInfo.lawLevel == "镇级") {
|
|
|
|
|
|
|
|
this.queryParams.district = userInfo.permissionCode;
|
|
|
|
|
|
|
|
this.queryPlanEnterpriseParams.district = userInfo.permissionCode;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
|
|
this.getPlanEnterpriseList();
|
|
|
|
|
|
|
|
},
|
|
|
|
/** 查询计划企业列表 */
|
|
|
|
/** 查询计划企业列表 */
|
|
|
|
getPlanEnterpriseList() {
|
|
|
|
getPlanEnterpriseList() {
|
|
|
|
listEnterprise(this.queryPlanEnterpriseParams).then((response) => {
|
|
|
|
listEnterprise(this.queryPlanEnterpriseParams).then((response) => {
|
|
|
|