国际化修改
This commit is contained in:
@@ -68,29 +68,6 @@
|
|||||||
import {JeroListMixin} from '@/mixins/JeroListMixin'
|
import {JeroListMixin} from '@/mixins/JeroListMixin'
|
||||||
import PermissionDataRuleModal from './modules/PermissionDataRuleModal'
|
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 {
|
export default {
|
||||||
name: 'PermissionDataRuleList',
|
name: 'PermissionDataRuleList',
|
||||||
mixins: [JeroListMixin],
|
mixins: [JeroListMixin],
|
||||||
@@ -101,7 +78,29 @@
|
|||||||
return {
|
return {
|
||||||
queryParam: {},
|
queryParam: {},
|
||||||
drawerWidth: 650,
|
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: '',
|
permId: '',
|
||||||
visible: false,
|
visible: false,
|
||||||
form: this.$form.createForm(this),
|
form: this.$form.createForm(this),
|
||||||
|
|||||||
Reference in New Issue
Block a user