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
db21c641
Commit
db21c641
authored
Aug 14, 2020
by
linboxuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disagnosis update
parent
e8d3c559
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
3 deletions
+23
-3
center-channel/app/base/api/impl/zzzd/zzzd.js
+20
-0
center-channel/app/front/entry/public/apidoc/platform/opNeed.md
+3
-3
No files found.
center-channel/app/base/api/impl/zzzd/zzzd.js
View file @
db21c641
...
@@ -35,6 +35,20 @@ class Zzzd extends WEBBase {
...
@@ -35,6 +35,20 @@ class Zzzd extends WEBBase {
var
result
=
await
this
.
opActionProcess
(
pobj
,
pobj
.
actionType
,
req
);
var
result
=
await
this
.
opActionProcess
(
pobj
,
pobj
.
actionType
,
req
);
return
result
;
return
result
;
}
}
checkFilter
(
arr
)
{
if
(
!
arr
)
{
return
[];
}
return
arr
.
filter
((
obj
)
=>
{
obj
.
picUrl
=
""
;
obj
.
picName
=
obj
.
name
;
delete
obj
.
id
;
delete
obj
.
name
;
return
obj
});
}
async
opActionProcess
(
pobj
,
action_type
,
req
)
{
async
opActionProcess
(
pobj
,
action_type
,
req
)
{
pobj
.
requestId
=
req
.
requestId
;
pobj
.
requestId
=
req
.
requestId
;
var
opResult
=
null
;
var
opResult
=
null
;
...
@@ -123,10 +137,16 @@ class Zzzd extends WEBBase {
...
@@ -123,10 +137,16 @@ class Zzzd extends WEBBase {
opResult
=
await
this
.
restPostUrl
(
pobj
.
actionBody
,
settings
.
zzzdUrl
()
+
this
.
zzzApi
.
recommendationBusiness
);
opResult
=
await
this
.
restPostUrl
(
pobj
.
actionBody
,
settings
.
zzzdUrl
()
+
this
.
zzzApi
.
recommendationBusiness
);
// 调用order创建诊断单方法,并把大数据诊断结果传过去,以及客户选择的行业分类带过去 格式 【一级分类-二级分类,】
// 调用order创建诊断单方法,并把大数据诊断结果传过去,以及客户选择的行业分类带过去 格式 【一级分类-二级分类,】
pobj
.
actionBody
.
checkResult
=
opResult
;
pobj
.
actionBody
.
checkResult
=
opResult
;
pobj
.
actionBody
.
qualificationsPic
=
this
.
checkFilter
(
pobj
.
actionBody
.
data
.
base
);
// 记录智能诊断的资质信息
pobj
.
actionBody
.
brandPic
=
this
.
checkFilter
(
pobj
.
actionBody
.
data
.
brand
);
pobj
.
actionBody
.
industryPic
=
this
.
checkFilter
(
pobj
.
actionBody
.
data
.
industry
);
pobj
.
actionBody
.
diagnosisMode
=
"zn"
;
pobj
.
actionBody
.
diagnosisMode
=
"zn"
;
pobj
.
actionType
=
"manualEvaluation"
pobj
.
actionType
=
"manualEvaluation"
var
reqUrl
=
this
.
centerOrderUrl
+
"action/diagnosis/springBoard"
;
var
reqUrl
=
this
.
centerOrderUrl
+
"action/diagnosis/springBoard"
;
let
res
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
let
res
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
if
(
res
.
status
==
0
)
{
opResult
.
data
.
diagnosis_no
=
res
.
data
.
diagnosis_no
}
console
.
log
(
res
);
console
.
log
(
res
);
}
catch
(
e
)
{
}
catch
(
e
)
{
console
.
log
(
e
);
console
.
log
(
e
);
...
...
center-channel/app/front/entry/public/apidoc/platform/opNeed.md
View file @
db21c641
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
| ---- | ---- | ---- | ---- |
| ---- | ---- | ---- | ---- |
|userName | Y | string | 用户名称 |
|userName | Y | string | 用户名称 |
|area | N | string | 地区名称 |
|area | N | string | 地区名称 |
|description | Y | string | 备注 |
|description | Y | string | 备注
/抖音用做需求类型
|
|mobile | Y | string | 用户电话 |
|mobile | Y | string | 用户电话 |
|type | N | int | 产品类型 |
|type | N | int | 产品类型 |
...
@@ -137,7 +137,7 @@
...
@@ -137,7 +137,7 @@
"productOneType_id"
:
null
,
"productOneType_id"
:
null
,
"productType_id"
:
null
,
"productType_id"
:
null
,
"notes"
:
null
,
"notes"
:
null
,
"disposeNotes"
:
null
,
"disposeNotes"
:
null
,
// 备注/抖音用做需求类型
"statusName"
:
"未推送"
,
// 需求状态
"statusName"
:
"未推送"
,
// 需求状态
"status"
:
"wts"
,
// 需求状态 wts未推送,yts已推送,ygj已跟进,ycd已成单,ygb已关闭 注意这里原型的需求状态不支持,按文档来
"status"
:
"wts"
,
// 需求状态 wts未推送,yts已推送,ygj已跟进,ycd已成单,ygb已关闭 注意这里原型的需求状态不支持,按文档来
"city"
:
"北京市-北京市-大兴区"
,
"city"
:
"北京市-北京市-大兴区"
,
...
@@ -231,7 +231,7 @@
...
@@ -231,7 +231,7 @@
"publishContent"
:
"公司注册 - "
,
// 需求内容
"publishContent"
:
"公司注册 - "
,
// 需求内容
"publishName"
:
""
,
// 联系人/公司名称
"publishName"
:
""
,
// 联系人/公司名称
"publishMobile"
:
"13911391996"
,
// 联系电话
"publishMobile"
:
"13911391996"
,
// 联系电话
"notes"
:
null
,
"notes"
:
null
,
// 备注/抖音用做需求类型
"followContent"
:
null
,
"followContent"
:
null
,
"disposeNotes"
:
null
,
"disposeNotes"
:
null
,
"status"
:
"ygb"
,
// 需求状态 wts未推送,yts已推送,ygj已跟进,ycd已成单,ygb已关闭 注意这里原型的需求状态不支持,按文档来
"status"
:
"ygb"
,
// 需求状态 wts未推送,yts已推送,ygj已跟进,ycd已成单,ygb已关闭 注意这里原型的需求状态不支持,按文档来
...
...
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