update 批量删除修改

This commit is contained in:
赵霄
2023-09-13 13:32:23 +08:00
parent dc9a8efcab
commit 495dfe5863
3 changed files with 1 additions and 10 deletions
-1
View File
@@ -269,7 +269,6 @@ export default {
...midArr, ...midArr,
...endArr ...endArr
] ]
console.log(this.resultColumns)
return this.resultColumns return this.resultColumns
}, },
// 初始化表格拖拽 // 初始化表格拖拽
-1
View File
@@ -180,7 +180,6 @@ export default {
return null return null
} }
if (icon && icon.split('-')[0] === 'icon') { if (icon && icon.split('-')[0] === 'icon') {
console.log(icon.split('-')[0])
return ( return (
<i class={'iconfont ' + icon + ' icon-style'}/> <i class={'iconfont ' + icon + ' icon-style'}/>
) )
+1 -8
View File
@@ -133,7 +133,6 @@ export const ConfigurableTableMixin = {
customRender: item.dbFieldName customRender: item.dbFieldName
} }
} }
console.log(item)
tempColumns.push(item) tempColumns.push(item)
}) })
if (this.showAction && this.operateColumn) { if (this.showAction && this.operateColumn) {
@@ -145,7 +144,6 @@ export const ConfigurableTableMixin = {
operateColumn.width = width || 100 operateColumn.width = width || 100
tempColumns.push(operateColumn) tempColumns.push(operateColumn)
} }
console.log(tempColumns)
return tempColumns return tempColumns
}, },
/** /**
@@ -291,7 +289,6 @@ export const ConfigurableTableMixin = {
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) { if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
param.selections = this.selectedRowKeys.join(',') param.selections = this.selectedRowKeys.join(',')
} }
console.log('导出参数', param)
// 加一个大的提示 // 加一个大的提示
const modalLoading = this.$info({ const modalLoading = this.$info({
title: this.$t('tips'), title: this.$t('tips'),
@@ -338,7 +335,6 @@ export const ConfigurableTableMixin = {
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) { if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
param.selections = this.selectedRowKeys.join(',') param.selections = this.selectedRowKeys.join(',')
} }
console.log('导出参数', param)
// 加一个大的提示 // 加一个大的提示
const modalLoading = this.$info({ const modalLoading = this.$info({
title: this.$t('tips'), title: this.$t('tips'),
@@ -377,10 +373,7 @@ export const ConfigurableTableMixin = {
if (this.selectedRowKeys.length <= 0) { if (this.selectedRowKeys.length <= 0) {
this.$message.warning(this.$t('selectARecord')) this.$message.warning(this.$t('selectARecord'))
} else { } else {
let ids = '' let ids = this.selectedRowKeys.join(',')
for (let a = 0; a < this.selectedRowKeys.length; a++) {
ids += this.selectedRowKeys[a] + ','
}
const that = this const that = this
this.$confirm({ this.$confirm({
title: this.$t('confirmBatchDeletion'), title: this.$t('confirmBatchDeletion'),