desc: 注释永久显示

This commit is contained in:
zyy 2019-09-02 09:33:21 +08:00
parent 923ded894b
commit 6e60afb4e6

View File

@ -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) {