|
@@ -16,6 +16,15 @@ let modeId = getUrlArgObject("modeId") || ''
|
|
|
}
|
|
|
setListHei()*/
|
|
|
|
|
|
+function errorShow(){
|
|
|
+ const str = `
|
|
|
+ <div class="empty">
|
|
|
+ <img class="emptyImg" src="${emptyImg}" />
|
|
|
+ <div class="emptyTxt">抱歉,缺陷找不到了</div>
|
|
|
+ </div>
|
|
|
+ `;
|
|
|
+ $('.flawList').html(str);
|
|
|
+}
|
|
|
|
|
|
function getFLawList(){
|
|
|
post(api.analyzeRun,{behospitalCode:behospitalCode,hospitalId:hospitalId}).then(function(res){
|
|
@@ -23,7 +32,7 @@ function getFLawList(){
|
|
|
const data = res.data.data;
|
|
|
renderFlawList(data)
|
|
|
}else{
|
|
|
-
|
|
|
+ errorShow();
|
|
|
}
|
|
|
|
|
|
}).catch(e =>{
|
|
@@ -71,7 +80,7 @@ function renderFlawList(data){
|
|
|
$("#score").text(scoreRes);
|
|
|
$("#num").text(num);
|
|
|
$("#flawMark").text(numScore);
|
|
|
- //$(".sum-box").show();
|
|
|
+ $(".sum-box").show();
|
|
|
|
|
|
$('.flawList').html(str);
|
|
|
replaceSrc();
|