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