NEZ-2244 fix : 列表删除按钮样式 和 批量删除 confirm 样式统一

This commit is contained in:
likexuan
2022-10-14 15:43:11 +08:00
parent 350c0cae11
commit f2000f1a12
63 changed files with 760 additions and 140 deletions

View File

@@ -27,14 +27,24 @@ export default {
return {
operationWidth: '165', // 操作列宽
orderBy: null,
severityDataWeight: this.$store.getters.severityDataWeight
severityDataWeight: this.$store.getters.severityDataWeight,
singleDelete: []
}
},
methods: {
tableOperation ([command, row, param]) {
switch (command) {
// case 'delete': {
// this.$emit('del', row)
// break
// }
case 'delete': {
this.$emit('del', row)
if (this.singleDelete.length === 0) {
this.singleDelete.push(row)
} else {
this.singleDelete = []
this.singleDelete.push(row)
}
break
}
case 'ack': {