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
f434dc49
Commit
f434dc49
authored
Aug 13, 2020
by
linboxuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opneedInfo update
parent
ae9a0607
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
35 additions
and
41 deletions
+35
-41
center-channel/app/base/api/impl/zzzd/zzzd.js
+5
-3
center-channel/app/base/service/impl/utilsSve/utilsDiagnosisSve.js
+9
-20
center-channel/app/config/routes/api.js
+1
-1
center-channel/app/front/entry/public/apidoc/platform/opNeed.md
+19
-17
center-channel/app/front/entry/public/apidoc/platform/zzzd.md
+1
-0
No files found.
center-channel/app/base/api/impl/zzzd/zzzd.js
View file @
f434dc49
...
...
@@ -215,11 +215,13 @@ class Zzzd extends WEBBase {
case
"enterpriseInfo"
:
opResult
=
await
this
.
utilsDiagnosisSve
.
enterpriseInfo
(
pobj
,
pobj
.
actionBody
);
break
;
case
'getNeedListUser'
:
// 需求列表 20 08 12 liang
pobj
.
actionType
=
'getNeedList'
case
'opSubmitNeed'
:
// 下需求 2020 0813 lin
opResult
=
await
this
.
utilsDiagnosisSve
.
opSubmitNeed
(
pobj
,
pobj
.
actionBody
,
req
);
break
case
'opNeedList'
:
// 需求列表 20 08 12 liang。 2020 0813 lin修改
opResult
=
await
this
.
utilsDiagnosisSve
.
opNeedList
(
pobj
,
pobj
.
actionBody
,
req
);
break
case
'get
NeedDetail
'
:
// 需求详情 20 08 12 liang
case
'get
ItemByNeedNo
'
:
// 需求详情 20 08 12 liang
opResult
=
await
this
.
utilsDiagnosisSve
.
getItemByNeedNo
(
pobj
);
break
default
:
...
...
center-channel/app/base/service/impl/utilsSve/utilsDiagnosisSve.js
View file @
f434dc49
...
...
@@ -53,44 +53,33 @@ class UtilsDiagnosisService extends AppServiceBase {
var
enterpriseInfoResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
return
enterpriseInfoResult
;
}
/**
* 2020 0811 lin 需求列表
* @param {*} pobj
* @param {*} actionBody
*/
async
needInfo
(
pobj
,
actionBody
)
{
async
opSubmitNeed
(
pobj
,
actionBody
)
{
var
reqUrl
=
this
.
centerOrderUrl
+
"action/diagnosis/springBoard"
;
var
enterpriseInfoResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
return
enterpriseInfoResult
;
}
/**
* 2020 0811 lin 需求
详情
* 2020 0811 lin 需求
列表
* @param {*} pobj
* @param {*} actionBody
*/
async
needDetail
(
pobj
,
actionBody
)
{
async
opNeedList
(
pobj
,
actionBody
)
{
var
reqUrl
=
this
.
centerOrderUrl
+
"action/diagnosis/springBoard"
;
var
enterpriseInfoResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
return
enterpriseInfoResult
;
}
/**
* @description
* @author liangwk
* @param {*} pobj
* @param {*} actionBody
* @param {*} req
* @returns
* @memberof UtilsDiagnosisService
*/
async
opNeedList
(
pobj
)
{
var
reqUrl
=
this
.
centerOrderUrl
+
"action/diagnosis/springBoard"
;
var
enterpriseInfoResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
return
enterpriseInfoResult
;
}
async
getItemByNeedNo
(
pobj
)
{
* 2020 0811 lin 需求详情
* @param {*} pobj
* @param {*} actionBody
*/
async
getItemByNeedNo
(
pobj
,
actionBody
)
{
var
reqUrl
=
this
.
centerOrderUrl
+
"action/diagnosis/springBoard"
;
var
enterpriseInfoResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
return
enterpriseInfoResult
;
...
...
center-channel/app/config/routes/api.js
View file @
f434dc49
...
...
@@ -244,7 +244,7 @@ module.exports = function (app) {
"getOrderDeliveryFlowInfo"
,
"getOrderDeliveryFlowList"
,
"getOrderLogInfo"
,
"updateContacts"
,
"updateTmOrder"
,
"delOrder"
,
"submitProgramme"
,
"getProgrammeListByUser"
,
"getProgrammeInfoByNeedNo"
,
"abolishProgramme"
,
"getAliPayInfo"
,
"getPaidLogoListByUser"
,
"getCollectibleLogoListByUser"
,
"collectLogo"
,
"getLogoMaterial"
,
"cancelCollectLogo"
,
"icpNotify"
,
"createName"
,
"getNameDetail"
,
"orderConfirm"
,
"orderTotalSum"
,
"collect"
,
"reg"
,
"orderCheck"
,
"getReOrderList"
,
"getOfficalList"
,
"addReviewList"
,
"opSubmitNeed"
,
"opNeedClose"
,
"opNeedList"
,
"opNeedDetailByChannelNo"
,
"orderTotalSum"
,
"collect"
,
"reg"
,
"orderCheck"
,
"getReOrderList"
,
"getOfficalList"
,
"addReviewList"
,
"opSubmitNeed"
,
"opNeedClose"
,
"opNeedList"
,
"
getItemByNeedNo"
,
"
opNeedDetailByChannelNo"
,
"getNeedListUser"
,
"manualEvaluation"
,
"diagnosisInfo"
,
"check"
,
"enterpriseInfo"
,
"diagnosisDetail"
];
...
...
center-channel/app/front/entry/public/apidoc/platform/opNeed.md
View file @
f434dc49
...
...
@@ -34,10 +34,6 @@
```
|参数名 | 字段类型 | 说明 |
| ---- | ---- | ---- |
|needNo | string | 需求号 |
#### 返回结果
```
javascript
{
...
...
@@ -96,6 +92,10 @@
| pageNumber | 否 | string | 页码 |
| pageSize | 否 | string | 页面大小 |
| status | 否 | string | 状态 |
| needNo | 否 | string | 需求号 |
| publishName | 否 | string | 联系人/公司名称 |
| publishMobile | 否 | string | 联系电话 |
| stdate/endate | 否 | string | 起始/截止时间 |
| consultType | 否 | string | 需求类型 |
```
javascript
...
...
@@ -123,12 +123,12 @@
"id"
:
2846
,
"uapp_id"
:
22
,
"channelNeedNo"
:
"N202008111937PK2R1ld"
,
"needNo"
:
"N202008111937PK2R1ld"
,
"needNo"
:
"N202008111937PK2R1ld"
,
// 需求号
"channelUserId"
:
"15010929366"
,
"publishName"
:
""
,
"publishName"
:
""
,
// 联系人 公司名称
"publisherOnlyCode"
:
null
,
"publishContent"
:
"公司注册 - "
,
"publishMobile"
:
"13911391996"
,
"publishMobile"
:
"13911391996"
,
// 联系电话
"followManUserId"
:
null
,
"followManName"
:
null
,
"followManMobile"
:
null
,
...
...
@@ -138,16 +138,16 @@
"productType_id"
:
null
,
"notes"
:
null
,
"disposeNotes"
:
null
,
"statusName"
:
"未推送"
,
"statusName"
:
"未推送"
,
// 需求状态
"status"
:
"wts"
,
"city"
:
"北京市-北京市-大兴区"
,
"province"
:
null
,
"typeCode"
:
"gszc"
,
"typeName"
:
"公司注册"
,
"typeName"
:
"公司注册"
,
// 需求类型
"channelTypeCode"
:
"gszc"
,
"channelTypeName"
:
"公司注册"
,
"created_at"
:
"2020-08-11T11:37:48.000Z"
,
"updated_at"
:
"2020-08-11T11:37:48.000Z"
,
"updated_at"
:
"2020-08-11T11:37:48.000Z"
,
// 更新时间
"deleted_at"
:
null
,
"version"
:
0
},
...
...
@@ -221,27 +221,29 @@
"data"
:
{
"id"
:
2848
,
"uapp_id"
:
22
,
"needNo"
:
"N202008120920C5NEHz9"
,
"needNo"
:
"N202008120920C5NEHz9"
,
// 需求号
"channelNeedNo"
:
"N202008120920C5NEHz9"
,
"channelUserId"
:
"15010929366"
,
"followManUserId"
:
null
,
"followManMobile"
:
null
,
"city"
:
"北京市-北京市-大兴区"
,
"province"
:
null
,
"publishContent"
:
"公司注册 - "
,
"publishName"
:
""
,
"publishMobile"
:
"13911391996"
,
"publishContent"
:
"公司注册 - "
,
// 需求内容
"publishName"
:
""
,
// 联系人/公司名称
"publishMobile"
:
"13911391996"
,
// 联系电话
"notes"
:
null
,
"followContent"
:
null
,
"disposeNotes"
:
null
,
"status"
:
"ygb"
,
"typeCode"
:
"gszc"
,
"typeName"
:
"公司注册"
,
"status"
:
"ygb"
,
// 需求状态
"statusName"
:
"已关闭"
// 需求状态
"typeCode"
:
"gszc"
,
// 需求类型
"typeName"
:
"公司注册"
,
// 需求类型
"channelTypeCode"
:
"gszc"
,
"channelTypeName"
:
"公司注册"
,
"publisherOnlyCode"
:
null
,
"followManName"
:
null
,
"followManOnlyCode"
:
null
"createdAt"
// 创建时间
},
"requestId"
:
"b8c105d8015b4d1eb9fd3c016ca7b21f"
}
...
...
center-channel/app/front/entry/public/apidoc/platform/zzzd.md
View file @
f434dc49
...
...
@@ -214,6 +214,7 @@
"msg"
:
"success"
,
"data"
:
{
"diagnosis_no"
:
"N2020081309473jfNmSn"
,
"diagnosis_result"
:
"诊断结果 tg/wtg/rgshz"
// 于diagnosis_result_name是对应的 你想用哪个用哪个
"diagnosis_result_name"
:
"未通过"
,
// 智能诊断结果 ispass
"diagnosis_result_data"
:
{
// 智能诊断结果 快照 注意这里 人工诊断目前没有推荐商品
"msg"
:
"success"
,
...
...
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