Commit 407f1356 by linboxuan

diagnosisSve update

parent 3b87b4f7
...@@ -101,9 +101,17 @@ class DiagnosisService extends ServiceBase { ...@@ -101,9 +101,17 @@ class DiagnosisService extends ServiceBase {
if(!arr) { if(!arr) {
return []; return [];
} }
return arr.filter((obj) => { // 返回经过处理 为客户选中的数组
var newArr = arr.filter((obj) => {
return obj.isChoice == true; return obj.isChoice == true;
}); });
// 删掉原来数组中选选过的
for(var i = 0;i < arr.length;i++) {
if(arr[i].isChoice == true) {
arr.splice(i,1)
}
}
return newArr;
} }
async diagnosisDetail(pobj) { async diagnosisDetail(pobj) {
if(!pobj.actionBody.diagnosisNo) { if(!pobj.actionBody.diagnosisNo) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment