Quellcode durchsuchen

我的消息-列表字段修改

jbb vor 1 Jahr
Ursprung
Commit
402037d272
1 geänderte Dateien mit 34 neuen und 30 gelöschten Zeilen
  1. 34 30
      src/views/system/UserAnnouncementList.vue

+ 34 - 30
src/views/system/UserAnnouncementList.vue

@@ -82,20 +82,22 @@
           title: '标题',
           align:"center",
           dataIndex: 'titile'
-        },{
-          title: '消息类型',
-          align: "center",
-          dataIndex: 'msgCategory',
-          customRender: function (text) {
-            if (text == '1') {
-              return "通知公告";
-            } else if (text == "2") {
-              return "系统消息";
-            } else {
-              return text;
-            }
-          }
-        },{
+        },
+        // {
+        //   title: '消息类型',
+        //   align: "center",
+        //   dataIndex: 'msgCategory',
+        //   customRender: function (text) {
+        //     if (text == '1') {
+        //       return "通知公告";
+        //     } else if (text == "2") {
+        //       return "系统消息";
+        //     } else {
+        //       return text;
+        //     }
+        //   }
+        // },
+        {
           title: '发布人',
           align:"center",
           dataIndex: 'sender'
@@ -103,22 +105,24 @@
           title: '发布时间',
           align:"center",
           dataIndex: 'sendTime'
-        },{
-          title: '优先级',
-          align:"center",
-          dataIndex: 'priority',
-          customRender:function (text) {
-            if(text=='L'){
-              return "低";
-            }else if(text=="M"){
-              return "中";
-            }else if(text=="H"){
-              return "高";
-            } else {
-              return text;
-            }
-          }
-        },{
+        },
+        // {
+        //   title: '优先级',
+        //   align:"center",
+        //   dataIndex: 'priority',
+        //   customRender:function (text) {
+        //     if(text=='L'){
+        //       return "低";
+        //     }else if(text=="M"){
+        //       return "中";
+        //     }else if(text=="H"){
+        //       return "高";
+        //     } else {
+        //       return text;
+        //     }
+        //   }
+        // },
+        {
           title: '阅读状态',
           align:"center",
           dataIndex: 'readFlag',