diff --git a/src/views/components/dialog/index.vue b/src/views/components/dialog/index.vue index e0f5241..95752a4 100644 --- a/src/views/components/dialog/index.vue +++ b/src/views/components/dialog/index.vue @@ -116,7 +116,7 @@ ref="multipleTable" tooltip-effect="light" @selection-change="handleSelectionChange" - row-key="uscCode" + row-key="uuitNo" :row-class-name="tableRowClassName" > { - 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++; }