diff --git a/src/common/lang/en-us.js b/src/common/lang/en-us.js index 49d69d2..9550350 100644 --- a/src/common/lang/en-us.js +++ b/src/common/lang/en-us.js @@ -227,6 +227,7 @@ module.exports = { unauthorized: 'Unauthorized, please log in again', tableDataDisabledClear: 'The table requires at least one piece of data', autoTakeout: 'Automatic takeout', + goHandle: 'To deal with', // 树右键 treeRight: { addFolder: 'Create New Folder', diff --git a/src/common/lang/zh-cn.js b/src/common/lang/zh-cn.js index be50624..9c80a67 100644 --- a/src/common/lang/zh-cn.js +++ b/src/common/lang/zh-cn.js @@ -244,6 +244,7 @@ module.exports = { unauthorized: '未授权,请重新登录', tableDataDisabledClear: '表格至少需要一条数据', autoTakeout: '自动带出', + goHandle: '去处理', // 标准字段 standardField: { standardEnglishName: '标准英文名称', diff --git a/src/components/tools/ShowAnnouncement.vue b/src/components/tools/ShowAnnouncement.vue index 3af0798..f89a096 100644 --- a/src/components/tools/ShowAnnouncement.vue +++ b/src/components/tools/ShowAnnouncement.vue @@ -8,9 +8,9 @@ @cancel="handleCancel" > -
+
{{ model.titile }}
@@ -9,6 +9,12 @@
+ + +
+ + {{ $t('goHandle') }} +
@@ -43,12 +49,24 @@ export default { }).finally(() => { this.loading = false }) + }, + goHandle () { + if (this.model.openType === 'url') { + this.$router.push({ path: this.model.openPage }) + // 如果是跳转其他页面请求详情(作用是为了标记已读) + // getMsgDetail({ id: this.model.id }) + } else if (this.model.openType === 'page') { + this.$openPageNewSheet({ path: this.model.openPage }) + // 如果是跳转其他页面请求详情(作用是为了标记已读) + // getMsgDetail({ id: record.id }) + } } } }