zhouna 3 anni fa
parent
commit
e035d873da
1 ha cambiato i file con 3 aggiunte e 11 eliminazioni
  1. 3 11
      src/js/index.js

+ 3 - 11
src/js/index.js

@@ -106,17 +106,12 @@ $(function () {
   if (isPlacefile == 0) {
     $(this).find('.qiehuan i').html('切换病案质控')
     $('.subtitle').html('AI运行质控平台')
-    if(onAppeal>0){
-      getAuditNumber()
-    }
-    
+    getAuditNumber()
     getMenu()
   } else if (isPlacefile == 1) {
     $(this).find('.qiehuan i').html('切换运行质控')
     $('.subtitle').html('AI病案质控平台')
-    if(onAppeal>0){
-      getAuditNumber()
-    }
+    getAuditNumber()
     getMenu()
   }
   $(".header .title .qiehuan").click(function () {
@@ -131,9 +126,7 @@ $(function () {
       setCookie("isPlacefile", 1)
     }
     $('#contentIframe').attr('src', $('#contentIframe').attr('src'));
-    if(onAppeal>0){
-      getAuditNumber()
-    }
+    getAuditNumber()
     getMenu();
   })
   $(".header .title .qiehuan").mouseenter(function () {
@@ -347,7 +340,6 @@ function getAuditNumber() {
     analyzeType:isPlacefile
   }).then(res => {
     if (res.data.code == '0') {
-      $.alerModal({ "message": res.data.msg, type: "tip", time: '1000', isFather: true, fatherWrapper: $("#mainBox", parent.document) });
       auditNumber = res.data.data > 99 ? '99+' : res.data.data
     } else {
       const token = localStorage.getItem('accessToken');