From e0335da516b2c448a02a9a9e0e3522951816c448 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Thu, 3 Mar 2022 13:42:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=88=91=E7=9A=84=E6=B6=88?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/common/lang/en-us.js | 7 +- jero-web/src/common/lang/zh-cn.js | 6 + jero-web/src/components/layouts/TabLayout.vue | 5 +- .../src/components/tools/HeaderNotice.vue | 318 ++++++++-------- jero-web/src/views/system/MessageDetails.vue | 79 ++++ .../src/views/system/UserAnnouncementList.vue | 348 +++++++++++------- 6 files changed, 463 insertions(+), 300 deletions(-) create mode 100644 jero-web/src/views/system/MessageDetails.vue diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index 80afea7ab..0575c4429 100644 --- a/jero-web/src/common/lang/en-us.js +++ b/jero-web/src/common/lang/en-us.js @@ -400,5 +400,10 @@ module.exports = { ExhibitionAreaManagement:'Exhibition area management', NewLabelItem:'New label item', NodeQuickLookup:'Node quick lookup', - + AreAllLabelsRead:'Are all labels read', + AllLabelsRead:'All labels read', + SubscriptionNotification:'Subscription notification', + warningInformation:'warning information', + ForwardPush:'Forward push', + PleaseSelectData:'Please select data first', } \ No newline at end of file diff --git a/jero-web/src/common/lang/zh-cn.js b/jero-web/src/common/lang/zh-cn.js index 6e8010dbb..684734461 100644 --- a/jero-web/src/common/lang/zh-cn.js +++ b/jero-web/src/common/lang/zh-cn.js @@ -404,4 +404,10 @@ module.exports = { ExhibitionAreaManagement:'展示区域管理', NewLabelItem:'新增标签项', NodeQuickLookup:'节点快速查找', + AreAllLabelsRead:'是否全部标记已读', + AllLabelsRead:'全部标记已读', + SubscriptionNotification:'订阅通知', + warningInformation:'预警信息', + ForwardPush:'转发推送', + PleaseSelectData:'请先选择数据', } \ No newline at end of file diff --git a/jero-web/src/components/layouts/TabLayout.vue b/jero-web/src/components/layouts/TabLayout.vue index 63313bea9..746280a3f 100644 --- a/jero-web/src/components/layouts/TabLayout.vue +++ b/jero-web/src/components/layouts/TabLayout.vue @@ -66,7 +66,7 @@ { key: '3', icon: 'close', text: '关闭其它' } ], reloadFlag: true, - menuTitle: {}, + menuTitle: {} } }, /* update_begin author:wuxianquan date:20190828 for: 关闭当前tab页,供子页面调用 ->望菜单能配置外链,直接弹出新页面而不是嵌入iframe #428 */ @@ -86,7 +86,8 @@ } }, isTrue() { - if (this.$route.path == '/docManage/library/detail') { + if (this.$route.path == '/docManage/library/detail' || + this.$route.path == '/system/MessageDetails') { return false } else { return true diff --git a/jero-web/src/components/tools/HeaderNotice.vue b/jero-web/src/components/tools/HeaderNotice.vue index 799069f11..fab7d3760 100644 --- a/jero-web/src/components/tools/HeaderNotice.vue +++ b/jero-web/src/components/tools/HeaderNotice.vue @@ -11,64 +11,47 @@ -

{{ record.titile }}

{{ record.createTime }} 发布

-
- 一般消息 - 重要消息 - 紧急消息 -
-
-
- 查看更多 -
-
-
- - - -
-

{{ record.titile }}

-

{{ record.createTime }} 发布

-
-
- 一般消息 - 重要消息 - 紧急消息 -
+ + + + +
查看更多
+ + + + + + + + + + + + + + + + + +
- + @@ -77,90 +60,87 @@ @@ -326,7 +306,7 @@ } \ No newline at end of file diff --git a/jero-web/src/views/system/UserAnnouncementList.vue b/jero-web/src/views/system/UserAnnouncementList.vue index 3b69913d5..f5ecf5bac 100644 --- a/jero-web/src/views/system/UserAnnouncementList.vue +++ b/jero-web/src/views/system/UserAnnouncementList.vue @@ -4,45 +4,75 @@
- - - - - + +
+
+ {{this.$t('MessageContent')}} +
+ + +
- - - - - - - - - 查询 - 重置 - + +
+
+ {{this.$t('MessageType')}} +
+ + {{$t('pleaseSelect')}} + + + {{ msgCategoryQuery[item]}} + + + +
+ + + {{$t('query')}} + {{$t('reset')}} + +
- 全部标注已读 +
+ + {{$t('AllLabelsRead')}} +
+
+ + {{$t('BatchDelete')}} +
- - 查看 + + + {{text}} + + + + + {{msgCategoryQuery[text]}} + @@ -52,141 +82,203 @@ + \ No newline at end of file