desc: 注释永久显示
This commit is contained in:
parent
923ded894b
commit
6e60afb4e6
@ -83,18 +83,18 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
title: this.$t('permission.isForever'),
|
||||
prop: 'forever',
|
||||
type: 'tag',
|
||||
columnValue: (row) => { return this.$ConstSelect.translate(row.forever, 'Whether'); },
|
||||
tagType: (row) => {
|
||||
switch (row.forever) {
|
||||
case true: return 'success';
|
||||
case false: return 'danger';
|
||||
}
|
||||
}
|
||||
},
|
||||
// {
|
||||
// title: this.$t('permission.isForever'),
|
||||
// prop: 'forever',
|
||||
// type: 'tag',
|
||||
// columnValue: (row) => { return this.$ConstSelect.translate(row.forever, 'Whether'); },
|
||||
// tagType: (row) => {
|
||||
// switch (row.forever) {
|
||||
// case true: return 'success';
|
||||
// case false: return 'danger';
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
{
|
||||
title: this.$t('permission.permissionTotal'),
|
||||
prop: 'amount'
|
||||
@ -177,9 +177,11 @@ export default {
|
||||
list.forEach(elem => {
|
||||
this.queryForm.queryObject.type.config.data.push({ value: elem.code, label: elem.name });
|
||||
});
|
||||
console.log(list);
|
||||
this.$convertList(list, this.PermissionTypeList, elem => {
|
||||
return true;
|
||||
});
|
||||
console.log(this.PermissionTypeList);
|
||||
});
|
||||
},
|
||||
formatterDate(row, porpInfo) {
|
||||
|
Loading…
Reference in New Issue
Block a user