From 233e802d03b3bb991b2c92afb0307154c9a1d6c0 Mon Sep 17 00:00:00 2001 From: danshihao Date: Thu, 29 Aug 2024 18:05:55 +0800 Subject: [PATCH] =?UTF-8?q?[update=20=E8=A7=A3=E8=AF=BB=E6=B5=81=E7=A8=8B]?= =?UTF-8?q?=20=E6=8E=A5=E5=8F=A3=E6=8A=A5=E9=94=99=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/lang/en-us.js | 1 + src/common/lang/zh-cn.js | 1 + .../StandardInterpretationProcess.vue | 7 +++++++ 3 files changed, 9 insertions(+) diff --git a/src/common/lang/en-us.js b/src/common/lang/en-us.js index e7b3c28..a0c2359 100644 --- a/src/common/lang/en-us.js +++ b/src/common/lang/en-us.js @@ -249,6 +249,7 @@ module.exports = { disableInput: 'Inhibit Input', fileUploadError: 'File Upload Error', importMaxMsg: 'The maximum size for importing files is {size}MB', + pageDataException: 'Page Data Exception', // 标准字段 standardField: { standardEnglishName: 'Regulation English Name', diff --git a/src/common/lang/zh-cn.js b/src/common/lang/zh-cn.js index 10efd28..32b8454 100644 --- a/src/common/lang/zh-cn.js +++ b/src/common/lang/zh-cn.js @@ -249,6 +249,7 @@ module.exports = { disableInput: '禁止输入', fileUploadError: '文件上传错误', importMaxMsg: '导入文件最大{size}MB', + pageDataException: '页面数据异常', // 标准字段 standardField: { standardEnglishName: '标准英文名称', diff --git a/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue b/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue index 8cff866..7560056 100644 --- a/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue +++ b/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue @@ -384,6 +384,8 @@ export default { }) } } + } else { + this.$message.warn(res.message) } }).finally(() => { this.loading = false @@ -642,6 +644,7 @@ export default { } }).catch((err) => { console.log(err) + this.$message.warn(this.$t('pageDataException')) this.loading = false }).finally(() => { setTimeout(() => { @@ -680,6 +683,8 @@ export default { }).catch((err) => { if (err && err.message && tabList.includes(err.message)) { this.switchChange(err.message) + } else { + this.$message.warn(this.$t('pageDataException')) } this.loading = false }).finally(() => { @@ -711,6 +716,8 @@ export default { console.log(err) if (err && err.message && tabList.includes(err.message)) { this.switchChange(err.message) + } else { + this.$message.warn(this.$t('pageDataException')) } this.loading = false }).finally(() => {