|
|
@ -2686,6 +2686,7 @@ import {searchBusinessInfo7} from "../../../api/factory/site"; |
|
|
|
|
|
|
|
|
agencyMatter(){ |
|
|
agencyMatter(){ |
|
|
this.agencyMatters = false |
|
|
this.agencyMatters = false |
|
|
|
|
|
this.projectPartCurrentRow = null |
|
|
this.getDataList() |
|
|
this.getDataList() |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
@ -2729,10 +2730,19 @@ import {searchBusinessInfo7} from "../../../api/factory/site"; |
|
|
|
|
|
|
|
|
// 判断是否全部存在数据 |
|
|
// 判断是否全部存在数据 |
|
|
if (this.totalPage > 0) { |
|
|
if (this.totalPage > 0) { |
|
|
|
|
|
console.log(this.projectPartCurrentRow) |
|
|
|
|
|
if (this.projectPartCurrentRow === null || this.projectPartCurrentRow === undefined) { |
|
|
// 设置选中行 |
|
|
// 设置选中行 |
|
|
this.$refs.mainTable.setCurrentRow(this.dataList[0]) |
|
|
this.$refs.mainTable.setCurrentRow(this.dataList[0]) |
|
|
// 加载当前的页签的table |
|
|
// 加载当前的页签的table |
|
|
this.refreshCurrentTabTable() |
|
|
this.refreshCurrentTabTable() |
|
|
|
|
|
} else { |
|
|
|
|
|
let index = this.dataList.findIndex(item => item.projectId === this.projectPartCurrentRow.projectId) |
|
|
|
|
|
// 设置选中行 |
|
|
|
|
|
this.$refs.mainTable.setCurrentRow(this.dataList[index]) |
|
|
|
|
|
// 加载当前的页签的table |
|
|
|
|
|
this.refreshCurrentTabTable() |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
this.$alert(data.msg, '提示', { |
|
|
this.$alert(data.msg, '提示', { |
|
|
|