Commit 3b87b4f7 by linboxuan

diagnosisSve update

parent 357c825e
...@@ -101,11 +101,9 @@ class DiagnosisService extends ServiceBase { ...@@ -101,11 +101,9 @@ class DiagnosisService extends ServiceBase {
if(!arr) { if(!arr) {
return []; return [];
} }
function filterArr(obj) { return arr.filter((obj) => {
return obj.isChoice == true; return obj.isChoice == true;
} });
console.log(arr)
return arr.filter(filterArr);
} }
async diagnosisDetail(pobj) { async diagnosisDetail(pobj) {
if(!pobj.actionBody.diagnosisNo) { if(!pobj.actionBody.diagnosisNo) {
...@@ -115,9 +113,6 @@ class DiagnosisService extends ServiceBase { ...@@ -115,9 +113,6 @@ class DiagnosisService extends ServiceBase {
diagnosisResult.needQualifications_pic = this.checkIsChoice(diagnosisResult.qualifications_pic); diagnosisResult.needQualifications_pic = this.checkIsChoice(diagnosisResult.qualifications_pic);
diagnosisResult.needBrand_pic = this.checkIsChoice(diagnosisResult.brand_pic); diagnosisResult.needBrand_pic = this.checkIsChoice(diagnosisResult.brand_pic);
diagnosisResult.needIndustry_pic = this.checkIsChoice(diagnosisResult.industry_pic); diagnosisResult.needIndustry_pic = this.checkIsChoice(diagnosisResult.industry_pic);
// diagnosisResult.needQualifications_pic = diagnosisResult.qualifications_pic.filter(this.checkIsChoice);
// diagnosisResult.needBrand_pic = diagnosisResult.brand_pic.filter(this.checkIsChoice);
// diagnosisResult.needIndustry_pic = diagnosisResult.industry_pic.filter(this.checkIsChoice);
return system.getResultSuccess(diagnosisResult); return system.getResultSuccess(diagnosisResult);
} }
......
...@@ -36,6 +36,7 @@ class NeedinfoService extends ServiceBase { ...@@ -36,6 +36,7 @@ class NeedinfoService extends ServiceBase {
publishName: actionBody.userName, publishName: actionBody.userName,
publishContent: actionBody.description, publishContent: actionBody.description,
publishMobile: actionBody.mobile, publishMobile: actionBody.mobile,
notes: actionBody.description,// 2020 0814 lin新增 插入备注,格式:公司注册,商标注册。目前用来作为抖音的打包下需求功能。用来展示在个人中心/运营后台需求列表
city: actionBody.area, city: actionBody.area,
typeCode: actionBody.type_code, typeCode: actionBody.type_code,
typeName: actionBody.type_name, typeName: actionBody.type_name,
......
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