国际化修改

This commit is contained in:
caoyang
2022-01-17 11:37:35 +08:00
parent d95c9bb7b4
commit fa0e712ccf
@@ -68,29 +68,6 @@
import {JeroListMixin} from '@/mixins/JeroListMixin'
import PermissionDataRuleModal from './modules/PermissionDataRuleModal'
const columns = [
{
title: this.$t('RuleName'),
dataIndex: 'ruleName',
key: 'ruleName'
},
{
title: this.$t('RuleField'),
dataIndex: 'ruleColumn',
key: 'ruleColumn'
},
{
title: this.$t('RuleValue'),
dataIndex: 'ruleValue',
key: 'ruleValue'
},
{
title: this.$t('operation'),
dataIndex: 'action',
scopedSlots: {customRender: 'action'},
align: 'center'
}
]
export default {
name: 'PermissionDataRuleList',
mixins: [JeroListMixin],
@@ -101,7 +78,29 @@
return {
queryParam: {},
drawerWidth: 650,
columns: columns,
columns: [
{
title: this.$t('RuleName'),
dataIndex: 'ruleName',
key: 'ruleName'
},
{
title: this.$t('RuleField'),
dataIndex: 'ruleColumn',
key: 'ruleColumn'
},
{
title: this.$t('RuleValue'),
dataIndex: 'ruleValue',
key: 'ruleValue'
},
{
title: this.$t('operation'),
dataIndex: 'action',
scopedSlots: {customRender: 'action'},
align: 'center'
}
],
permId: '',
visible: false,
form: this.$form.createForm(this),