Explorar el Código

Merge branch 'messagePass220412' into test

1178232204@qq.com hace 3 años
padre
commit
8432074d39
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. 2 2
      src/html/messageNoti.html
  2. 1 1
      src/js/messageNoti.js

+ 2 - 2
src/html/messageNoti.html

@@ -8,10 +8,10 @@
     <title>病历质控申诉发起</title>
     <script type="text/html" id="editTmpl">
         <div class="mesgBox">
-            <h3>待核查质控任务提醒</h3>
+            <h3>${title}</h3>
             <div class="news">${news.replace("\\r\n", " \n ")}</div>
             <div class="mesgBox-fot">
-                <span>系统:${type == 1?'质控任务':''}</span>
+                <span>类型:${type == 1?'质控任务':''}</span>
                 <span>发送者:${senderName}</span>
                 <span>发送时间:${gmtCreate}</span>
             </div>

+ 1 - 1
src/js/messageNoti.js

@@ -32,6 +32,7 @@ function getTabData(activePage) {
             tabList = res.data.data.records
             const totalPage = res.data.data.pages
             const totalNum = res.data.data.total
+            getNewsCount()
             renderTab(tabList)
             renderPagination(totalPage, Number(activePage), totalNum)
             if (totalPage > 1) {
@@ -105,7 +106,6 @@ function getNewsNoticeInfoById(id, status) {
 
     })
 }
-getNewsCount()
 //获取待审核数量
 function getNewsCount() {
     return post(api.getNewsCount).then(res => {