Kaynağa Gözat

消息通知优化

wyh 1 yıl önce
ebeveyn
işleme
c378e9b816

+ 26 - 21
src/views/module_tpm/messageNotification/messageNotification.vue

@@ -10,11 +10,11 @@
               <a-input placeholder="请输入标题" v-model="queryParam.titile"></a-input>
             </a-form-item>
           </a-col>
-          <a-col :span="6">
+          <!-- <a-col :span="6">
             <a-form-item label="发布人">
               <a-input placeholder="请输入发布人" v-model="queryParam.sender"></a-input>
             </a-form-item>
-          </a-col>
+          </a-col> -->
 
           <a-col :span="8" >
             <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
@@ -86,29 +86,34 @@
             }
           }
         },{
-          title: '发布人',
+          // title: '发布人',
+          // align:"center",
+          // dataIndex: 'sender',
+          title: '发送给',
           align:"center",
-          dataIndex: 'sender'
+          dataIndex: 'userId_dictText'
         },{
           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',
@@ -128,7 +133,7 @@
           scopedSlots: { customRender: 'action' },
         }],
 		    url: {
-          list: "/sys/sysAnnouncementSend/getMyAnnouncementSend",
+          list: "/sys/sysAnnouncementSend/getAllAnnouncementSend",
           editCementSend:"sys/sysAnnouncementSend/editByAnntIdAndUserId",
           readAllMsg:"sys/sysAnnouncementSend/readAll",
         },