diff --git a/src/common/lang/system/en.js b/src/common/lang/system/en.js index 367e3f3..e1b7e41 100644 --- a/src/common/lang/system/en.js +++ b/src/common/lang/system/en.js @@ -84,7 +84,8 @@ module.exports = { isShelf: 'Shelf Or Not', sort: 'Sort', shelfWarn: 'the link is empty please fill in the link first', - maxLinksReached: '当前上架链接已达上限!' + maxLinksReached: 'The current link listing limit has been reached!', + logo: 'LOGO' }, // 联络人管理 contact: { diff --git a/src/common/lang/system/zh.js b/src/common/lang/system/zh.js index f3c204b..b0017ae 100644 --- a/src/common/lang/system/zh.js +++ b/src/common/lang/system/zh.js @@ -86,7 +86,8 @@ module.exports = { isShelf: '是否上架', sort: '排序', shelfWarn: '链接为空,请先填写链接', - maxLinksReached: '当前上架链接已达上限!' + maxLinksReached: '当前上架链接已达上限!', + logo: 'LOGO' }, // 联络人管理 contact: { diff --git a/src/main.js b/src/main.js index 01bd4a6..0859639 100644 --- a/src/main.js +++ b/src/main.js @@ -50,7 +50,7 @@ import JeroComponents from '@/components/jero/index' import JDictComponenets from '@comp/dict/index.js' -console.log('ant-design-vue version:', version) +import JTable from '@comp/jero/JTable.vue' // Vue.prototype.rules = rules Vue.config.productionTip = false Vue.use(Storage, config.storageOptions) @@ -62,6 +62,7 @@ Vue.use(VueI18n) Vue.use(Viewer) Vue.use(JeroComponents) Vue.use(JDictComponenets) +Vue.component('JTable', JTable) Viewer.setDefaults({ // 需要配置的属性 注意属性并没有引号 title: false, diff --git a/src/views/system/DictItemList.vue b/src/views/system/DictItemList.vue index 792b6bc..6c7dc4f 100644 --- a/src/views/system/DictItemList.vue +++ b/src/views/system/DictItemList.vue @@ -20,15 +20,12 @@ - + - - - + + + {{ $t('normal') }} {{ $t('disable') }} @@ -53,7 +50,6 @@ ref="table" can-drag :class="{'tree-table': attributeType === TagsAttributeTypeEnums.TREE.value}" - :bordered="true" size="middle" rowKey="id" :columns="columns" @@ -99,26 +95,26 @@ export default { { title: this.$t('name'), align: 'center', - ellipsis: true, + width: 120, dataIndex: 'itemText' }, { title: this.$t('englishName'), align: 'center', - ellipsis: true, + width: 120, dataIndex: 'enName' }, { title: this.$t('dict.dataValue'), align: 'center', - width: 150, + width: 100, dataIndex: 'itemValue' }, { title: this.$t('operation'), dataIndex: 'action', align: 'center', - width: 150, + width: 100, scopedSlots: { customRender: 'action' } } ], diff --git a/src/views/system/DictList.vue b/src/views/system/DictList.vue index 08aab7a..ccb4237 100644 --- a/src/views/system/DictList.vue +++ b/src/views/system/DictList.vue @@ -1,7 +1,5 @@