diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index ac911d0c..eddf376d 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -876,10 +876,10 @@ export default { io: 'Disk', network: 'Network', loadDetail: "Load Factor", - resourceUsage: "Resource utilization rate", + resourceUsage: "Usage Rate", read: 'Read', write: 'Write', - readWriteCount: 'Number of reads and writes', + readWriteCount: 'Read/Write Count', count: 'Substandard', readWriteTime: 'Read/Write Delay', up: 'Uplink', @@ -1243,7 +1243,7 @@ export default { userTop:'User profile', sex:'User Gender', email:'E-mail', - fromClass:'DEPARTMENT', + fromClass:'Department', userWork:'User position', userWorkPlease: 'Please select user post', userTip:'User Description', @@ -1390,7 +1390,6 @@ export default { open:'Exhibition', close:'Fold', addClass:'Add new sub-department', - showSort:'Show Sort', admin:'Principal', phone:'Contact Number', email:'Mail', diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index 9a319e4a..6c5c8fb6 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -1390,7 +1390,6 @@ export default { open:'展', close:'折', addClass:'新增子部门', - showSort:'显示排序', admin:'负责人', phone:'联系电话', email:'邮箱', diff --git a/src/views/logManage/mml/index.vue b/src/views/logManage/mml/index.vue index 0600c9fa..7c74057c 100644 --- a/src/views/logManage/mml/index.vue +++ b/src/views/logManage/mml/index.vue @@ -66,49 +66,49 @@ let tableColumns: ColumnsType = [ { title: t('common.rowId'), dataIndex: 'id', - align: 'center', - width: 2, + align: 'left', + width: 100, }, { title: t('views.logManage.mml.account'), dataIndex: 'user', - align: 'center', - width: 3, + align: 'left', + width: 100, }, { title: t('views.logManage.mml.ip'), dataIndex: 'ip', - align: 'center', - width: 3, + align: 'left', + width: 100, }, { title: t('views.logManage.mml.type'), dataIndex: 'neType', - align: 'center', - width: 3, + align: 'left', + width: 100, }, { title: t('views.logManage.mml.neId'), dataIndex: 'neId', - align: 'center', - width: 3, + align: 'left', + width: 100, + }, + { + title: t('views.logManage.mml.logTime'), + dataIndex: 'logTime', + align: 'left', + width: 150, + customRender(opt) { + if (!opt.value) return ''; + return parseDateToStr(opt.value); + }, }, { title: t('views.logManage.mml.MML'), dataIndex: 'mml', key: 'mml', align: 'left', - width: 5, - }, - { - title: t('views.logManage.mml.logTime'), - dataIndex: 'logTime', - align: 'center', - customRender(opt) { - if (!opt.value) return ''; - return parseDateToStr(opt.value); - }, - width: 3, + width: 200, }, ]; @@ -149,7 +149,7 @@ function fnTableSize({ key }: MenuInfo) { function fnGetList(pageNum?: number) { if (tableState.loading) return; tableState.loading = true; - if(pageNum){ + if (pageNum) { queryParams.pageNum = pageNum; } if (!queryRangePicker.value) { @@ -183,7 +183,10 @@ onMounted(() => { - + { - + { :data-source="tableState.data" :size="tableState.size" :pagination="tablePagination" - :scroll="{ x: 1000, y: 400 }" + :scroll="{ x: tableColumns.length * 100 }" >