|
@@ -406,14 +406,15 @@
|
|
需要在selection 添加 :reserve-selection="true"
|
|
需要在selection 添加 :reserve-selection="true"
|
|
*/
|
|
*/
|
|
getRowKeys(row) {
|
|
getRowKeys(row) {
|
|
- return row.id
|
|
|
|
|
|
+ return row.waitId
|
|
},
|
|
},
|
|
//多选框选中数据
|
|
//多选框选中数据
|
|
handleSelectionChange(selection) {
|
|
handleSelectionChange(selection) {
|
|
this.selectedNum = selection.length;
|
|
this.selectedNum = selection.length;
|
|
- this.ids = selection.map(item => item.id)
|
|
|
|
|
|
+ this.ids = selection.map(item => item.waitId)
|
|
|
|
+ this.exportConfig.ids=this.ids;
|
|
this.multiple = !selection.length
|
|
this.multiple = !selection.length
|
|
- this.exportConfig.ids=this.ids
|
|
|
|
|
|
+
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|