From 076eaa5f2ab33117f7f6cad712ec82f6da985339 Mon Sep 17 00:00:00 2001 From: g7hoo Date: Fri, 2 Sep 2022 14:09:41 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=9F=BA=E6=9C=AC=E5=AE=8C=E6=88=90?= =?UTF-8?q?=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/base-detail-page/index.vue | 2 +- src/components/base-dialog/AttrForm/index.vue | 11 +- .../base-dialog/addOrUpdate/index.vue | 38 +- .../base-table/components/detailComponent.js | 14 +- .../components/operationComponent.js | 22 +- src/components/base-upload/index.vue | 18 +- src/i18n/en.js | 416 +++++++++++++++++- src/i18n/index.js | 13 +- src/i18n/zh-CN.js | 12 +- src/views/main-navbar.vue | 10 +- src/views/modules/monitoring/equipment.vue | 2 +- .../modules/monitoring/equipmentType.vue | 2 +- .../modules/monitoring/reportCategory.vue | 4 +- .../monitoring/workshopSectionDialog.vue | 3 +- src/views/pages/login.vue | 21 +- 15 files changed, 503 insertions(+), 85 deletions(-) diff --git a/src/components/base-detail-page/index.vue b/src/components/base-detail-page/index.vue index 8944aec..c136ba5 100644 --- a/src/components/base-detail-page/index.vue +++ b/src/components/base-detail-page/index.vue @@ -455,7 +455,7 @@ export default { .then(({ data: res }) => { if (res && res.code === 0) { this.$message({ - message: btn.name === 'save' ? '添加成功!' : '更新成功!', + message: btn.name === 'save' ? i18n.t('prompt.success') : '更新成功!', type: 'success', duration: 1500, onClose: () => { diff --git a/src/components/base-dialog/AttrForm/index.vue b/src/components/base-dialog/AttrForm/index.vue index 0ab0631..26be59b 100644 --- a/src/components/base-dialog/AttrForm/index.vue +++ b/src/components/base-dialog/AttrForm/index.vue @@ -1,6 +1,8 @@