|
@@ -50,7 +50,13 @@ function getTabData(activePage){
|
|
|
} else{
|
|
|
$('.pagination').html("")
|
|
|
}
|
|
|
- }else{}
|
|
|
+ }else{
|
|
|
+ removeDialog()
|
|
|
+ dialog(res.data.msg)
|
|
|
+ setTimeout(function(){
|
|
|
+ removeDialog()
|
|
|
+ },2000)
|
|
|
+ }
|
|
|
}).catch((e) =>{
|
|
|
|
|
|
})
|
|
@@ -126,6 +132,7 @@ function bindScoreDetail(){
|
|
|
const age = tabList[index].age
|
|
|
const noScore = tabList[index].level == '未评分'
|
|
|
if(noScore){
|
|
|
+ removeDialog()
|
|
|
dialog('请先进行评分!')
|
|
|
setTimeout(function(){
|
|
|
removeDialog()
|
|
@@ -230,6 +237,7 @@ $('.recordScoreBtn').on("click",function(e){
|
|
|
}
|
|
|
}
|
|
|
if(scoreList.length === 0){
|
|
|
+ removeDialog()
|
|
|
dialog('请选择要评分的项!')
|
|
|
setTimeout(function(){
|
|
|
removeDialog()
|