|
@@ -478,12 +478,9 @@ export default {
|
|
this.$refs.sbInfoSelectModal.base({}, this.ids)
|
|
this.$refs.sbInfoSelectModal.base({}, this.ids)
|
|
},
|
|
},
|
|
handleSbSelectd (keys, rows) {
|
|
handleSbSelectd (keys, rows) {
|
|
- const ids = keys.filter(item => !this.ids.includes(item))
|
|
|
|
- if (ids.length === 0) return
|
|
|
|
- console.log(ids)
|
|
|
|
updatetasks({
|
|
updatetasks({
|
|
id: this.id,
|
|
id: this.id,
|
|
- sbIds: ids,
|
|
|
|
|
|
+ sbIds: keys,
|
|
isAdd: 1
|
|
isAdd: 1
|
|
}).then(res => {
|
|
}).then(res => {
|
|
this.$message.info('操作成功!')
|
|
this.$message.info('操作成功!')
|