feat: There is no way the, 标准拆分 请确认选择条款是否有子节点,若有,则此次删除将全部删除。
This commit is contained in:
@@ -1509,19 +1509,19 @@ export default {
|
|||||||
if (res.data) {
|
if (res.data) {
|
||||||
this.batchDeleteItem()
|
this.batchDeleteItem()
|
||||||
} else if(this.selectedList === null){
|
} else if(this.selectedList === null){
|
||||||
this.$message.warning('请选择要删除的数据')
|
this.$message.warning('请确认选择条款是否有子节点,若有,则此次删除将全部删除。')
|
||||||
} else {
|
} else {
|
||||||
this.deleteItemsModal = true
|
this.deleteItemsModal = true
|
||||||
}
|
}
|
||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning('请选择要删除的数据')
|
this.$message.warning('请确认选择条款是否有子节点,若有,则此次删除将全部删除。')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
batchDeleteItem () {
|
batchDeleteItem () {
|
||||||
if (this.selectedList != null && this.selectedList.length > 0) {
|
if (this.selectedList != null && this.selectedList.length > 0) {
|
||||||
this.$confirm('确认删除选择数据?', '提示', {
|
this.$confirm('请确认选择条款是否有子节点,若有,则此次删除将全部删除。', '提示', {
|
||||||
confirmButtonText: '确定',
|
confirmButtonText: '确定',
|
||||||
cancelButtonText: '取消',
|
cancelButtonText: '取消',
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
@@ -1556,7 +1556,7 @@ export default {
|
|||||||
})
|
})
|
||||||
}).catch(() => {})
|
}).catch(() => {})
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning('请选择要删除的数据')
|
this.$message.warning('请确认选择条款是否有子节点,若有,则此次删除将全部删除。')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 批量复制 事件
|
// 批量复制 事件
|
||||||
|
|||||||
Reference in New Issue
Block a user