|
@@ -122,7 +122,7 @@ function delScore(id){
|
|
|
post(api.delScore,param).then(function(res){
|
|
|
if(res.data.code==='0'){
|
|
|
$("#delModal").hide();
|
|
|
- updateFlaws();
|
|
|
+ updateFlaws(res.data.data);
|
|
|
$.alerModal({"message":"删除成功",type:"tip",time:'1000'});
|
|
|
}
|
|
|
});
|
|
@@ -136,7 +136,7 @@ function editScore(info){
|
|
|
post(api.editScore,param).then(function(res){
|
|
|
if(res.data.code==='0'){
|
|
|
$("#delModal").hide();
|
|
|
- updateFlaws();
|
|
|
+ updateFlaws(res.data.data);
|
|
|
$.alerModal({"message":"修改成功",type:"tip",time:'1000'});
|
|
|
}
|
|
|
});
|
|
@@ -175,7 +175,9 @@ function showModal(flag,code,i){
|
|
|
}
|
|
|
}
|
|
|
//更新缺陷列表
|
|
|
- function updateFlaws(){
|
|
|
+ function updateFlaws(info){
|
|
|
+ $("#patientInfo .level").text("质控等级:"+info.level);
|
|
|
+ $("#patientInfo .score").text("质控得分:"+info.scoreRes);
|
|
|
const param = {
|
|
|
'behospitalCode':global_id,
|
|
|
'paramStr':[
|