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(() => {