更新
This commit is contained in:
parent
93d689853e
commit
4541fcfcd2
@ -279,14 +279,11 @@ import {getCustomerSource, addCustomerSource, delCustomerSource, delCustomerSour
|
|||||||
},
|
},
|
||||||
/** 删除按钮操作 */
|
/** 删除按钮操作 */
|
||||||
handleDelete(row) {
|
handleDelete(row) {
|
||||||
console.log('当前行',row)
|
|
||||||
let dictCodes = []
|
let dictCodes = []
|
||||||
if (row.id) {
|
if (row.id) {
|
||||||
console.log('看看执行')
|
|
||||||
dictCodes.push(row.id)
|
dictCodes.push(row.id)
|
||||||
} else if (this.ids) {
|
} else if (this.ids) {
|
||||||
dictCodes = this.ids
|
dictCodes = this.ids
|
||||||
console.log('看看执行ids')
|
|
||||||
}
|
}
|
||||||
this.$modal.confirm('是否确认删除字典编码为"' + dictCodes + '"的数据项?').then(function() {
|
this.$modal.confirm('是否确认删除字典编码为"' + dictCodes + '"的数据项?').then(function() {
|
||||||
return delCustomerSourceBatch(dictCodes);
|
return delCustomerSourceBatch(dictCodes);
|
||||||
|
Loading…
Reference in New Issue
Block a user