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
5a8070e1
Commit
5a8070e1
authored
Aug 12, 2020
by
王栋源
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wdy
parent
66c7e3aa
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
61 additions
and
1 deletions
+61
-1
center-channel/app/base/api/impl/opreceive/need.js
+3
-0
center-channel/app/base/service/impl/common/centerorderSve.js
+21
-0
center-channel/app/front/entry/public/apidoc/platform/icpOrder.md
+35
-0
center-channel/app/front/entry/public/apidoc/platform/opNeed.md
+2
-1
No files found.
center-channel/app/base/api/impl/opreceive/need.js
View file @
5a8070e1
...
@@ -73,6 +73,9 @@ class Need extends APIBase {
...
@@ -73,6 +73,9 @@ class Need extends APIBase {
case
"queryExpertApplyCommunicationLogs"
:
//icp接收方案反馈信息
case
"queryExpertApplyCommunicationLogs"
:
//icp接收方案反馈信息
opResult
=
await
this
.
utilsNeedSve
.
queryExpertApplyCommunicationLogs
(
pobj
);
opResult
=
await
this
.
utilsNeedSve
.
queryExpertApplyCommunicationLogs
(
pobj
);
break
;
break
;
case
"getaliicpProduce"
:
//方案询价
opResult
=
await
this
.
centerorderSve
.
getaliicpProduce
(
pobj
);
break
;
default
:
default
:
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
break
;
break
;
...
...
center-channel/app/base/service/impl/common/centerorderSve.js
View file @
5a8070e1
...
@@ -214,6 +214,27 @@ class CenterorderService extends AppServiceBase {
...
@@ -214,6 +214,27 @@ class CenterorderService extends AppServiceBase {
// return system.getResultSuccess(data);
// return system.getResultSuccess(data);
}
}
async
getaliicpProduce
(
pobj
){
var
sobj
=
{
actionType
:
"getaliicpProduce"
,
// actionBody: { typeCode: itemResult.data.channelTypeCode, province: itemResult.data.province },
actionBody
:
{
typeCode
:
pobj
.
actionBody
.
channelTypeCode
,
province
:
pobj
.
actionBody
.
province
},
appInfo
:
pobj
.
appInfo
,
actionProcess
:
pobj
.
actionProcess
}
var
url
=
settings
.
centerAppUrl
()
+
"action/opProduct/springBoard"
;
var
rtn
=
await
this
.
execClient
.
execPost
(
sobj
,
url
);
if
(
!
rtn
||
!
rtn
.
stdout
)
{
return
system
.
getResultFail
(
-
5010
,
"产品查询失败"
);
}
var
data
=
JSON
.
parse
(
rtn
.
stdout
);
if
(
data
.
status
!=
0
)
{
return
system
.
getResultFail
(
-
5010
,
"产品查询失败"
);
}
return
system
.
getResultSuccess
(
data
.
data
);
}
async
icppaysuccess
(
pobj
)
{
async
icppaysuccess
(
pobj
)
{
var
sobj
=
{
var
sobj
=
{
actionType
:
"getaliicpProduce"
,
actionType
:
"getaliicpProduce"
,
...
...
center-channel/app/front/entry/public/apidoc/platform/icpOrder.md
View file @
5a8070e1
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
1.
[
交付商提交材料信息
](
#serviceProviderSubmitMaterial
)
1.
[
交付商提交材料信息
](
#serviceProviderSubmitMaterial
)
1.
[
交付商通知状态变更
](
#serviceProviderNotification
)
1.
[
交付商通知状态变更
](
#serviceProviderNotification
)
1.
[
交付商关闭交付单
](
#closeOrderDelivery
)
1.
[
交付商关闭交付单
](
#closeOrderDelivery
)
1.
[
方案询价
](
#getaliicpProduce
)
## **<a name="submitIcpProgramme"> icp方案提交</a>**
## **<a name="submitIcpProgramme"> icp方案提交</a>**
[
返回到目录
](
#menu
)
[
返回到目录
](
#menu
)
...
@@ -722,3 +723,37 @@ status:
...
@@ -722,3 +723,37 @@ status:
"requestId"
:
"40769e74e83f4505a78b24d84fed870b"
"requestId"
:
"40769e74e83f4505a78b24d84fed870b"
}
}
```
```
## **<a name="getaliicpProduce"> 方案询价</a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/opreceive/need/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:getaliicpProduce
```
javascript
{
"actionType"
:
"getaliicpProduce"
,
"actionBody"
:{
"channelTypeCode"
:
"5"
,
"province"
:
"北京"
}
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
{
"typeCode"
:
"5"
,
"province"
:
"北京"
,
"payCode"
:
"bjicpsq-1"
,
"channelItemCode"
:
"5"
,
"price"
:
1
},
"requestId"
:
"5d4b3beb820541c4a4533b3363fba34b"
}
```
center-channel/app/front/entry/public/apidoc/platform/opNeed.md
View file @
5a8070e1
...
@@ -189,7 +189,7 @@
...
@@ -189,7 +189,7 @@
}
}
```
```
## **<a name="
opNeedList
"> 需求详情</a>**
## **<a name="
getItemByNeedNo
"> 需求详情</a>**
[
返回到目录
](
#menu
)
[
返回到目录
](
#menu
)
##### URL
##### URL
[
/web/action/opNeed/springBoard
]
[
/web/action/opNeed/springBoard
]
...
@@ -211,6 +211,7 @@
...
@@ -211,6 +211,7 @@
```
```
#### 返回结果
#### 返回结果
```
javascript
```
javascript
// 返回字段需要根据原型来做,目前只返回基础数据
// 返回字段需要根据原型来做,目前只返回基础数据
...
...
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