|
@@ -124,7 +124,17 @@ function bindScoreDetail(){
|
|
const index = $(this).attr("data-index")
|
|
const index = $(this).attr("data-index")
|
|
const id = tabList[index].behospitalCode
|
|
const id = tabList[index].behospitalCode
|
|
const age = tabList[index].age
|
|
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)
|
|
|
|
+ }
|
|
|
|
+
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
|