Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
3b87b4f7
Commit
3b87b4f7
authored
Aug 14, 2020
by
linboxuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
diagnosisSve update
parent
357c825e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
center-order/app/base/service/impl/dbneed/diagnosisSve.js
+2
-7
center-order/app/base/service/impl/dbneed/opneedinfoSve.js
+1
-0
No files found.
center-order/app/base/service/impl/dbneed/diagnosisSve.js
View file @
3b87b4f7
...
@@ -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
);
}
}
...
...
center-order/app/base/service/impl/dbneed/opneedinfoSve.js
View file @
3b87b4f7
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment