Преглед на файлове

未评分不可进入详情(3876)

zhangxc преди 5 години
родител
ревизия
cc2a4b8326
променени са 1 файла, в които са добавени 11 реда и са изтрити 1 реда
  1. 11 1
      src/js/qcList.js

+ 11 - 1
src/js/qcList.js

@@ -124,7 +124,17 @@ function bindScoreDetail(){
         const index = $(this).attr("data-index")
         const id = tabList[index].behospitalCode
         const age = tabList[index].age
-        scoreDetail(id,age)
+        const noScore = tabList[index].level == '未评分'
+        if(noScore){
+            dialog('请先进行评分!')
+            setTimeout(function(){
+                removeDialog()
+            },2000)
+            return
+        } else{
+            scoreDetail(id,age)
+        }
+       
     })
 }