|
|
|
@ -116,7 +116,7 @@
|
|
|
|
|
ref="multipleTable"
|
|
|
|
|
tooltip-effect="light"
|
|
|
|
|
@selection-change="handleSelectionChange"
|
|
|
|
|
row-key="uscCode"
|
|
|
|
|
row-key="uuitNo"
|
|
|
|
|
:row-class-name="tableRowClassName"
|
|
|
|
|
>
|
|
|
|
|
<el-table-column
|
|
|
|
@ -332,7 +332,7 @@ export default {
|
|
|
|
|
isPoint: "",
|
|
|
|
|
majorHazardLevel: "",
|
|
|
|
|
entprColor: "",
|
|
|
|
|
uscCode: "",
|
|
|
|
|
uuitNo: "",
|
|
|
|
|
},
|
|
|
|
|
form2: {
|
|
|
|
|
plannedYear: "",
|
|
|
|
@ -519,7 +519,7 @@ export default {
|
|
|
|
|
isPoint: "",
|
|
|
|
|
majorHazardLevel: "",
|
|
|
|
|
entprColor: "",
|
|
|
|
|
uscCode: "",
|
|
|
|
|
uuitNo: "",
|
|
|
|
|
};
|
|
|
|
|
this.pages.pageNum = 1;
|
|
|
|
|
this.pages.pageSize = 10;
|
|
|
|
@ -540,7 +540,7 @@ export default {
|
|
|
|
|
checkSelectable(row) {
|
|
|
|
|
row["unselected"] = true;
|
|
|
|
|
this.selectList.map((item) => {
|
|
|
|
|
if (item.enterpriseId == row.uscCode || row["multipleTable"] == true) {
|
|
|
|
|
if (item.enterpriseId == row.uuitNo || row["multipleTable"] == true) {
|
|
|
|
|
row["unselected"] = false;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
@ -553,7 +553,7 @@ export default {
|
|
|
|
|
let data = await this.$api.yingji.bPlanEnterpriseList();
|
|
|
|
|
this.selectList = data.data;
|
|
|
|
|
data.data.map((item) => {
|
|
|
|
|
item["uscCode"] = item.enterpriseId;
|
|
|
|
|
item["uuitNo"] = item.enterpriseId;
|
|
|
|
|
this.$nextTick(() => {
|
|
|
|
|
this.$refs.multipleTable.toggleRowSelection(item, false);
|
|
|
|
|
});
|
|
|
|
@ -637,7 +637,6 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
// 查看/切换页码时的网络请求
|
|
|
|
|
async getTable(pages) {
|
|
|
|
|
console.log(pages, "pages");
|
|
|
|
|
this.loading = true;
|
|
|
|
|
let data = await this.$api.yingji.basicList(pages);
|
|
|
|
|
// console.log(data.data.count, '重点企业总数');
|
|
|
|
@ -648,7 +647,7 @@ export default {
|
|
|
|
|
// : this.unselected == 0
|
|
|
|
|
// ? (this.unCount = 0)
|
|
|
|
|
// : (this.unCount = data.data.count - this.unselected);
|
|
|
|
|
console.log(data);
|
|
|
|
|
// console.log(data);
|
|
|
|
|
this.total = data.total;
|
|
|
|
|
// console.log(this.unselected,'this.unselected')
|
|
|
|
|
if (data.code == 200) {
|
|
|
|
@ -733,8 +732,8 @@ export default {
|
|
|
|
|
let keyCount = 0;
|
|
|
|
|
this.multipleSelection.map((item) => {
|
|
|
|
|
arr.push(item.subdistrict);
|
|
|
|
|
arr2.push(item.uscCode);
|
|
|
|
|
arr3.push(item.entprName);
|
|
|
|
|
arr2.push(item.uuitNo);
|
|
|
|
|
arr3.push(item.enterpriseName);
|
|
|
|
|
if (item.isPoint == "1") {
|
|
|
|
|
keyCount++;
|
|
|
|
|
}
|
|
|
|
|