From 3d0ec44a2938e31b8f4eb93cacebf9ba9aa85b5c Mon Sep 17 00:00:00 2001 From: xiaoguangbin Date: Thu, 30 Nov 2023 10:15:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=B6=88=E6=81=AF=E9=A1=B5=E9=9D=A2=20?= =?UTF-8?q?=E4=B8=AD=E6=96=87=E6=94=B9=E4=B8=BA=E8=8B=B1=E6=96=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/UserAnnouncementList.vue | 50 +++++++++++------------ 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/src/views/system/UserAnnouncementList.vue b/src/views/system/UserAnnouncementList.vue index 891880e..646726d 100644 --- a/src/views/system/UserAnnouncementList.vue +++ b/src/views/system/UserAnnouncementList.vue @@ -6,20 +6,20 @@ - - + + - - + + - 查询 - 重置 + Query + Reset @@ -28,7 +28,7 @@
- 全部标注已读 + Marked Read
- 查看 + VIEW @@ -69,60 +69,60 @@ description: '系统通告表管理页面', queryParam: {}, columns: [{ - title: '标题', + title: 'TITLE', align:"center", dataIndex: 'titile' },{ - title: '消息类型', + title: 'MESSAGE TYPE', align: "center", dataIndex: 'msgCategory', customRender: function (text) { if (text == '1') { - return "通知公告"; + return "NOTICE"; } else if (text == "2") { - return "系统消息"; + return "SYSTEM"; } else { return text; } } },{ - title: '发布人', + title: 'SENDER', align:"center", dataIndex: 'sender' },{ - title: '发布时间', + title: 'SEND TIME', align:"center", dataIndex: 'sendTime' },{ - title: '优先级', + title: 'PRIORTIY', align:"center", dataIndex: 'priority', customRender:function (text) { if(text=='L'){ - return "低"; + return "LOW"; }else if(text=="M"){ - return "中"; + return "MIDDLE"; }else if(text=="H"){ - return "高"; + return "HIGH"; } else { return text; } } },{ - title: '阅读状态', + title: 'READING STATE', align:"center", dataIndex: 'readFlag', customRender:function (text) { if(text=='0'){ - return "未读"; + return "UNREAD"; }else if(text=="1"){ - return "已读"; + return "READ"; } else { return text; } } },{ - title: '操作', + title: 'ACTION', dataIndex: 'action', align:"center", scopedSlots: { customRender: 'action' }, @@ -140,7 +140,7 @@ methods: { handleDetail: function(record){ this.$refs.sysAnnouncementModal.detail(record); - this.$refs.sysAnnouncementModal.title="查看"; + this.$refs.sysAnnouncementModal.title="VIEW"; }, showAnnouncement(record){ putAction(this.url.editCementSend,{anntId:record.anntId}).then((res)=>{ @@ -163,8 +163,8 @@ readAll(){ var that = this; that.$confirm({ - title:"确认操作", - content:"是否全部标注已读?", + title:"Config", + content:"Whether all marks are read?", onOk: function(){ putAction(that.url.readAllMsg).then((res)=>{ if(res.success){