Przeglądaj źródła

修改时添加审核人审核时间字段

1178232204@qq.com 3 lat temu
rodzic
commit
8804cfa62c
1 zmienionych plików z 7 dodań i 2 usunięć
  1. 7 2
      src/js/qcScore.js

+ 7 - 2
src/js/qcScore.js

@@ -443,9 +443,14 @@ function delScore(id,info,isRecover){
 }
 //修改评分项
 function editScore(info){
+  console.log(info);
   const param={
     "behospitalCode": global_id,
-    "optResultAlgVO": info
+    "optResultAlgVO": {
+      "reviewer":exampleStatus?reviewer:linkman,
+      "exampleDate":exampleStatus?exampleDate:gmtModified,
+      ...info
+    }
 };
   post(api.editScore,param).then(function(res){
     if(res.data.code==='0'){
@@ -473,7 +478,7 @@ function addScore(info){
     "isReject": info.isReject,
     "msg": info.msg || "",
     "score": info.score,
-    "explainInfo": info.explainInfo
+    "explainInfo": info.explainInfo,
   }
   const param={
     "behospitalCode": global_id,