|
|
@ -4,7 +4,7 @@
|
|
|
|
* @Author: JC9527
|
|
|
|
* @Author: JC9527
|
|
|
|
* @Date: 2023-09-04 10:20:06
|
|
|
|
* @Date: 2023-09-04 10:20:06
|
|
|
|
* @LastEditors: JC9527
|
|
|
|
* @LastEditors: JC9527
|
|
|
|
* @LastEditTime: 2023-09-27 13:52:16
|
|
|
|
* @LastEditTime: 2023-09-27 17:06:02
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<div class="container-main" ref="main">
|
|
|
|
<div class="container-main" ref="main">
|
|
|
@ -34,7 +34,7 @@
|
|
|
|
:disabled="isNoneDivision"
|
|
|
|
:disabled="isNoneDivision"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
</el-cascader> -->
|
|
|
|
</el-cascader> -->
|
|
|
|
<executive @quhua="quhua"></executive>
|
|
|
|
<executive @quhua="quhua" @quhuadizhi="quhuadizhi"></executive>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="select-input">
|
|
|
|
<div class="select-input">
|
|
|
|
<el-input
|
|
|
|
<el-input
|
|
|
@ -87,6 +87,7 @@
|
|
|
|
:border="false"
|
|
|
|
:border="false"
|
|
|
|
:row-class-name="tableRowClassName"
|
|
|
|
:row-class-name="tableRowClassName"
|
|
|
|
:cell-style="columnStyle"
|
|
|
|
:cell-style="columnStyle"
|
|
|
|
|
|
|
|
tooltip-effect="light"
|
|
|
|
@selection-change="handleSelectionChange"
|
|
|
|
@selection-change="handleSelectionChange"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-table-column type="selection" width="55"></el-table-column>
|
|
|
|
<el-table-column type="selection" width="55"></el-table-column>
|
|
|
@ -98,6 +99,7 @@
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column
|
|
|
|
prop="enterpriseName"
|
|
|
|
prop="enterpriseName"
|
|
|
|
label="企业名称"
|
|
|
|
label="企业名称"
|
|
|
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
header-align="center"
|
|
|
|
header-align="center"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
@ -131,7 +133,7 @@
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="pagination">
|
|
|
|
<div class="pagination">
|
|
|
|
<my-pagination :total="total" @pagesChange="pagesChange"></my-pagination>
|
|
|
|
<my-pagination :total="total" @pagesChange="pagesChange" ref="mypagination"></my-pagination>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 新增修改 -->
|
|
|
|
<!-- 新增修改 -->
|
|
|
|
<el-dialog
|
|
|
|
<el-dialog
|
|
|
@ -278,7 +280,7 @@
|
|
|
|
details.type
|
|
|
|
details.type
|
|
|
|
}}</el-descriptions-item>
|
|
|
|
}}</el-descriptions-item>
|
|
|
|
<el-descriptions-item label="行政区划">{{
|
|
|
|
<el-descriptions-item label="行政区划">{{
|
|
|
|
details.district
|
|
|
|
componendDistrict(details.district)
|
|
|
|
}}</el-descriptions-item>
|
|
|
|
}}</el-descriptions-item>
|
|
|
|
<el-descriptions-item label="备注">{{
|
|
|
|
<el-descriptions-item label="备注">{{
|
|
|
|
details.remark
|
|
|
|
details.remark
|
|
|
@ -381,6 +383,26 @@ export default {
|
|
|
|
}),
|
|
|
|
}),
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
// 匹配行政区划
|
|
|
|
|
|
|
|
componendDistrict(district){
|
|
|
|
|
|
|
|
let name
|
|
|
|
|
|
|
|
this.options.map((item)=>{
|
|
|
|
|
|
|
|
if(item.value == district) {
|
|
|
|
|
|
|
|
name = item.label
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
item.children.map((itemTwo)=>{
|
|
|
|
|
|
|
|
if(itemTwo.value == district) {
|
|
|
|
|
|
|
|
name = item.label + '-' + itemTwo.label
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
return name
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
// 获取行政区划树
|
|
|
|
|
|
|
|
quhuadizhi(district) {
|
|
|
|
|
|
|
|
this.options = district
|
|
|
|
|
|
|
|
},
|
|
|
|
getTreeList() {
|
|
|
|
getTreeList() {
|
|
|
|
xzTree().then((res1) => {
|
|
|
|
xzTree().then((res1) => {
|
|
|
|
if (this.dept.parentId == 0) {
|
|
|
|
if (this.dept.parentId == 0) {
|
|
|
@ -407,6 +429,11 @@ export default {
|
|
|
|
this.district = e;
|
|
|
|
this.district = e;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
searchList() {
|
|
|
|
searchList() {
|
|
|
|
|
|
|
|
this.searchBefore = {
|
|
|
|
|
|
|
|
pageSize: 10,
|
|
|
|
|
|
|
|
pageNum: 1,
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
this.$refs.mypagination.defaultPages();
|
|
|
|
if (this.district) {
|
|
|
|
if (this.district) {
|
|
|
|
this.queryParms.district = this.district;
|
|
|
|
this.queryParms.district = this.district;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -432,6 +459,7 @@ export default {
|
|
|
|
pageSize: 10,
|
|
|
|
pageSize: 10,
|
|
|
|
pageNum: 1,
|
|
|
|
pageNum: 1,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
this.$refs.mypagination.defaultPages();
|
|
|
|
this.queryParms.year = "";
|
|
|
|
this.queryParms.year = "";
|
|
|
|
// this.district = [];
|
|
|
|
// this.district = [];
|
|
|
|
this.queryParms.uscCode = "";
|
|
|
|
this.queryParms.uscCode = "";
|
|
|
@ -588,6 +616,7 @@ export default {
|
|
|
|
pageSize: 10,
|
|
|
|
pageSize: 10,
|
|
|
|
pageNum: 1,
|
|
|
|
pageNum: 1,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
this.$refs.mypagination.defaultPages();
|
|
|
|
this.getList();
|
|
|
|
this.getList();
|
|
|
|
this.$refs.uploadOver.clearFiles();
|
|
|
|
this.$refs.uploadOver.clearFiles();
|
|
|
|
})
|
|
|
|
})
|
|
|
|