|
@@ -241,9 +241,20 @@ function editScore(info){
|
|
|
}
|
|
|
//添加评分项
|
|
|
function addScore(info){
|
|
|
+ const optResultAlgVO = {
|
|
|
+ "casesEntryId": info.casesEntryId,
|
|
|
+ "casesId": info.casesId,
|
|
|
+ "casesScore": info.caseScore,
|
|
|
+ "code": info.code || "",
|
|
|
+ "id": info.id || "",
|
|
|
+ "info":info.info || "",
|
|
|
+ "isReject": info.isReject,
|
|
|
+ "msg": info.msg || "",
|
|
|
+ "score": info.score
|
|
|
+ }
|
|
|
const param={
|
|
|
"behospitalCode": global_id,
|
|
|
- "optResultAlgVO": info
|
|
|
+ "optResultAlgVO": optResultAlgVO
|
|
|
};
|
|
|
post(api.addScore,param).then(function(res){
|
|
|
if(res.data.code==='0'){
|
|
@@ -328,7 +339,7 @@ function showModal(flag,code,i){
|
|
|
return;
|
|
|
}
|
|
|
const msg=$("#delModal #addQcMsg").val();
|
|
|
- const score=$("#delModal #addQcScore").val();
|
|
|
+ const score=Number($("#delModal #addQcScore").val());
|
|
|
if($(".add-box .warning").is(":visible")||!msg.trim()||!score){
|
|
|
return;
|
|
|
}
|