Commit 194410e4 authored by tanjunxin's avatar tanjunxin

fix: 作业分派按钮控制修改

parent 715f3bfb
...@@ -729,7 +729,9 @@ export default { ...@@ -729,7 +729,9 @@ export default {
}, },
methods: { methods: {
handleSelectionChange(selection) { handleSelectionChange(selection) {
console.log(selection); this.ids = selection.map(item => item.taskId);
this.selectedRows = selection;
this.multiple = !selection.length;
if(selection.length !== 1) { if(selection.length !== 1) {
this.single = true; this.single = true;
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment