|
|
|
@ -6,7 +6,7 @@
|
|
|
|
|
:close-on-click-modal="false"
|
|
|
|
|
append-to-body
|
|
|
|
|
custom-class="dialog-boxed"
|
|
|
|
|
width="70%"
|
|
|
|
|
width="80%"
|
|
|
|
|
>
|
|
|
|
|
<div class="dialog-slot">
|
|
|
|
|
<div class="closeClick">
|
|
|
|
@ -29,7 +29,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div v-if="!nextStep">
|
|
|
|
|
<div class="filtrate">
|
|
|
|
|
<!-- <div class="select-input">
|
|
|
|
|
<div class="select-input">
|
|
|
|
|
<div class="select-span">行政区划:</div>
|
|
|
|
|
|
|
|
|
|
<el-cascader
|
|
|
|
@ -40,7 +40,7 @@
|
|
|
|
|
@change="handleChange">
|
|
|
|
|
</el-cascader>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="select-input">
|
|
|
|
|
<!-- <div class="select-input">
|
|
|
|
|
<div class="select-span">企业类型:</div>
|
|
|
|
|
<el-select v-model="form.frimType" placeholder="请选择">
|
|
|
|
|
<el-option
|
|
|
|
@ -52,7 +52,7 @@
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div> -->
|
|
|
|
|
<!-- <div class="select-input">
|
|
|
|
|
<div class="select-input">
|
|
|
|
|
<div class="select-span">经济类型:</div>
|
|
|
|
|
<el-select v-model="form.economicsType" placeholder="请选择">
|
|
|
|
|
<el-option
|
|
|
|
@ -63,8 +63,8 @@
|
|
|
|
|
>
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div> -->
|
|
|
|
|
<!-- <div class="select-input">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="select-input">
|
|
|
|
|
<div class="select-span">行业类型:</div>
|
|
|
|
|
<el-select v-model="form.industryType" placeholder="请选择">
|
|
|
|
|
<el-option
|
|
|
|
@ -75,13 +75,20 @@
|
|
|
|
|
>
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div> -->
|
|
|
|
|
<div class="select-input">
|
|
|
|
|
</div>
|
|
|
|
|
<!-- <div class="select-input">
|
|
|
|
|
<div class="select-span">行业类型:</div>
|
|
|
|
|
<el-radio-group v-model="form.isPoint">
|
|
|
|
|
<el-radio label="1">是</el-radio>
|
|
|
|
|
<el-radio label="0">否</el-radio>
|
|
|
|
|
</el-radio-group>
|
|
|
|
|
</div> -->
|
|
|
|
|
<div class="select-input">
|
|
|
|
|
<div class="select-span">是否重点:</div>
|
|
|
|
|
<el-select v-model="form.majorHazardLevel" placeholder="请选择">
|
|
|
|
|
<el-option label="是" value="1"></el-option>
|
|
|
|
|
<el-option label="否" value="0"></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="select-input">
|
|
|
|
|
<div class="select-span">重大危险源等级:</div>
|
|
|
|
@ -107,7 +114,7 @@
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="bottom">
|
|
|
|
|
<!-- <div class="bottom"> -->
|
|
|
|
|
<div class="input-input">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="form.uscCode"
|
|
|
|
@ -118,7 +125,7 @@
|
|
|
|
|
<div class="select-btn" @click="filtrate">搜索</div>
|
|
|
|
|
<div class="select-btn select-btn1">导入</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- </div> -->
|
|
|
|
|
</div>
|
|
|
|
|
<div class="tables" v-loading="loading">
|
|
|
|
|
<el-table
|
|
|
|
@ -368,6 +375,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
loading:false,
|
|
|
|
|
isamend:false,
|
|
|
|
|
amendId:'',
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
@ -381,6 +389,7 @@ export default {
|
|
|
|
|
if(item == 'newlyIncreased') {
|
|
|
|
|
this.getTable(this.pages);
|
|
|
|
|
} else {
|
|
|
|
|
this.amendId = item.id
|
|
|
|
|
this.isamend = true;
|
|
|
|
|
this.getList(item);
|
|
|
|
|
this.getTable(this.pages);
|
|
|
|
@ -478,6 +487,7 @@ export default {
|
|
|
|
|
let obj = {...this.form2,district,enterpriseId,createTime,keyCount,planNumb}
|
|
|
|
|
let data
|
|
|
|
|
if(this.isamend) {
|
|
|
|
|
obj = {...obj,id:this.amendId}
|
|
|
|
|
data = await this.$api.yingji.bPlanManage('put',obj)
|
|
|
|
|
if(data.code == 200){
|
|
|
|
|
this.$message({
|
|
|
|
@ -522,7 +532,11 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
async mounted(){
|
|
|
|
|
let data = await this.$api.yingji.tree();
|
|
|
|
|
let data = await this.$api.yingji.tree(); // 行政区划
|
|
|
|
|
let listOne = await this.$api.yingji.dictdata({list:'economic_categories'}); // 经济类型
|
|
|
|
|
let listTwo = await this.$api.yingji.dictdata({list:'category'}); // 行业类型
|
|
|
|
|
let listThree = await this.$api.yingji.dictdata({list:'major_hazard_level'}); // 重大危险源等级
|
|
|
|
|
let listFour = await this.$api.yingji.dictdata({list:'entpr_color'}); // 企业分色
|
|
|
|
|
this.commentData(data.data)
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
@ -686,14 +700,12 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.bottom {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
width: 100%;
|
|
|
|
|
.btns {
|
|
|
|
|
display: flex;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
// .bottom {
|
|
|
|
|
// display: flex;
|
|
|
|
|
// justify-content: space-between;
|
|
|
|
|
// width: 100%;
|
|
|
|
|
//
|
|
|
|
|
// }
|
|
|
|
|
.input-input {
|
|
|
|
|
margin: 20px 40px 0 0;
|
|
|
|
|
width: 250px;
|
|
|
|
@ -703,6 +715,9 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.btns {
|
|
|
|
|
display: flex;
|
|
|
|
|
}
|
|
|
|
|
.select-btn {
|
|
|
|
|
margin: 20px 0 0 0;
|
|
|
|
|
width: 80px;
|
|
|
|
@ -720,7 +735,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
.select-btn1 {
|
|
|
|
|
background: #28b384;
|
|
|
|
|
margin-left: 40px;
|
|
|
|
|
margin-left: 20px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.tables {
|
|
|
|
|