修复BUG: 修复软删除bug

pull/82/head
猿小天 2022-12-03 21:13:36 +08:00
parent b42ac3c8e6
commit 009b81a31c
1 changed files with 0 additions and 21 deletions

View File

@ -259,10 +259,6 @@ Vue.prototype.commonEndColumns = function (param = {}) {
create_datetime: {
showForm: (param.create_datetime && param.create_datetime.showForm) !== undefined ? param.create_datetime.showForm : false,
showTable: (param.create_datetime && param.create_datetime.showTable) !== undefined ? param.create_datetime.showTable : true
},
is_deleted: {
showForm: (param.is_deleted && param.is_deleted.showForm) !== undefined ? param.is_deleted.showForm : false,
showTable: (param.is_deleted && param.is_deleted.showTable) !== undefined ? param.is_deleted.showTable : false
}
}
return [
@ -381,23 +377,6 @@ Vue.prototype.commonEndColumns = function (param = {}) {
form: {
disabled: !showData.create_datetime.showForm
}
},
{
title: '是否软删除',
key: 'is_deleted',
width: 160,
search: {
disabled: !showData.is_deleted.showForm
},
show: showData.is_deleted.showTable,
type: 'radio',
dict: {
data: [{ label: '', value: true }, { label: '', value: false }]
},
form: {
disabled: !showData.is_deleted.showForm
}
}
]
}