diff --git a/src/lang/i18n/en/module/dashboard.js b/src/lang/i18n/en/module/dashboard.js new file mode 100644 index 0000000..2029cf6 --- /dev/null +++ b/src/lang/i18n/en/module/dashboard.js @@ -0,0 +1,16 @@ +/* + * @Author: gtz + * @Date: 2022-03-15 16:42:34 + * @LastEditors: gtz + * @LastEditTime: 2022-03-15 16:58:26 + * @Description: file content + * @FilePath: \mt-ck-wms-ui\src\lang\i18n\en\module\dashboard.js + */ + +export default { + first: 'First Row', + second: 'Second Row', + title: 'WMS Inventory Information', + pageHeader: 'No.', + pageFooter: ' Page' +} diff --git a/src/lang/i18n/en/module/index.js b/src/lang/i18n/en/module/index.js index c0d70e8..4be86f7 100644 --- a/src/lang/i18n/en/module/index.js +++ b/src/lang/i18n/en/module/index.js @@ -2,7 +2,7 @@ * @Author: gtz * @Date: 2021-03-04 16:12:46 * @LastEditors: gtz - * @LastEditTime: 2021-04-22 19:49:39 + * @LastEditTime: 2022-03-15 16:44:11 * @Description: file content */ @@ -17,6 +17,7 @@ import quality from './quality' import factory from './factory' import formManage from './formManage' import report from './report' +import dashboard from './dashboard' export default { basicData, @@ -29,5 +30,6 @@ export default { quality, factory, formManage, - report + report, + dashboard } diff --git a/src/lang/i18n/zh/module/dashboard.js b/src/lang/i18n/zh/module/dashboard.js new file mode 100644 index 0000000..6b4bdb9 --- /dev/null +++ b/src/lang/i18n/zh/module/dashboard.js @@ -0,0 +1,16 @@ +/* + * @Author: gtz + * @Date: 2022-03-15 16:42:34 + * @LastEditors: gtz + * @LastEditTime: 2022-03-15 16:58:30 + * @Description: file content + * @FilePath: \mt-ck-wms-ui\src\lang\i18n\zh\module\dashboard.js + */ + +export default { + first: '第一排', + second: '第二排', + title: 'WMS库存信息', + pageHeader: '第', + pageFooter: '页' +} diff --git a/src/lang/i18n/zh/module/index.js b/src/lang/i18n/zh/module/index.js index 7fb206d..3ed9beb 100644 --- a/src/lang/i18n/zh/module/index.js +++ b/src/lang/i18n/zh/module/index.js @@ -2,7 +2,7 @@ * @Author: gtz * @Date: 2021-03-04 16:12:46 * @LastEditors: gtz - * @LastEditTime: 2021-04-22 19:49:47 + * @LastEditTime: 2022-03-15 16:44:05 * @Description: file content */ @@ -17,6 +17,7 @@ import quality from './quality' import factory from './factory' import formManage from './formManage' import report from './report' +import dashboard from './dashboard' export default { basicData, @@ -29,5 +30,6 @@ export default { quality, factory, formManage, - report + report, + dashboard } diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index f7f4cf3..5def9bf 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -2,7 +2,7 @@ * @Author: gtz * @Date: 2022-03-03 09:16:10 * @LastEditors: gtz - * @LastEditTime: 2022-03-14 16:03:15 + * @LastEditTime: 2022-03-15 16:47:57 * @Description: file content * @FilePath: \mt-ck-wms-ui\src\views\dashboard\index.vue --> @@ -11,7 +11,7 @@
-
WMS库存信息
+
{{ $t('module.dashboard.title') }}
@@ -24,7 +24,7 @@
@@ -41,7 +41,7 @@ @@ -68,7 +68,7 @@ diff --git a/src/views/dashboard/testdata.js b/src/views/dashboard/testdata.js index 3d0c6a4..c13c53b 100644 --- a/src/views/dashboard/testdata.js +++ b/src/views/dashboard/testdata.js @@ -2,7 +2,7 @@ * @Author: gtz * @Date: 2022-03-03 15:47:47 * @LastEditors: gtz - * @LastEditTime: 2022-03-14 16:00:03 + * @LastEditTime: 2022-03-15 16:46:04 * @Description: file content * @FilePath: \mt-ck-wms-ui\src\views\dashboard\testdata.js */ @@ -2604,5 +2604,5 @@ export default { }, current: 1, totalPage: 1, - rowIndex: ['一', '二'] + rowIndex: ['module.dashboard.first', 'module.dashboard.second'] }