diff --git a/src/components/ChooseInitiate/index.vue b/src/components/ChooseInitiate/index.vue index cb855df..b460e0b 100644 --- a/src/components/ChooseInitiate/index.vue +++ b/src/components/ChooseInitiate/index.vue @@ -202,10 +202,13 @@ export default { watch: { 'showChooseList': function (newVal, oldVal) { if (newVal) { + console.log('newVal: ', newVal) this.$nextTick(res => { if (this.oldSelectedList.length > 0) { - this.oldSelectedList.forEach((row) => { - this.$refs.popupMultipleTable.toggleRowSelection(row, true) + this.oldSelectedList.map(i => { + this.popupData.tableList.map(j => { + if (j.id === i.id) this.$refs.popupMultipleTable.toggleRowSelection(j, true) + }) }) } }) diff --git a/src/views/kpi/assessment/performance/components/table.vue b/src/views/kpi/assessment/performance/components/table.vue index 5211078..52bd3fe 100644 --- a/src/views/kpi/assessment/performance/components/table.vue +++ b/src/views/kpi/assessment/performance/components/table.vue @@ -57,6 +57,24 @@ +