Commit 93a582a4 by 庄冰

ic3

parent 9481d46d
......@@ -34,6 +34,9 @@ class IcAPI extends WEBBase {
case "submitProgramme"://提交公司注册方案
opResult = await this.centerorderSve.submitProgramme(pobj);
break;
case "getProgrammeListByUser"://获取方案列表(获取用户所有方案)
opResult = await this.centerorderSve.reqCenterOrderApi(pobj);
break;
case "getProgrammeInfoByNeedNo"://根据需求查看方案列表
opResult = await this.centerorderSve.reqCenterOrderApi(pobj);
break;
......
......@@ -94,7 +94,7 @@ module.exports = function (app) {
"updateNclInfo", "updateContacts",
"updateCustomerInfo", "addOrderAndDelivery",
"updateOrderPayStatus", "getPolicyNeedList", "submitPolicyNeedNotes",
"submitProgramme","getProgrammeInfoByNeedNo","abolishProgramme"
"submitProgramme","getProgrammeInfoByNeedNo","abolishProgramme","getProgrammeListByUser"
];
if (lst.indexOf(req.body.actionType) >= 0) {
var userpin = req.headers["userpin"] || "";
......
......@@ -4,6 +4,7 @@
1. [提交公司注册方案](#submitProgramme)
1. [根据需求产看方案详情](#getProgrammeInfoByNeedNo)
1. [服务商方案作废](#abolishProgramme)
1. [获取方案列表(获取用户所有方案)](#getProgrammeListByUser)
## **<a name="getIcbcOrderDeliveryFlowInfo"> 获取工商订单交付流程信息</a>**
[返回到目录](#menu)
......@@ -173,3 +174,92 @@
}
```
## **<a name="getProgrammeListByUser"> 获取方案列表(获取用户所有方案)</a>**
[返回到目录](#menu)
##### URL
[/web/action/icapi/springBoard]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 请求头中需要增加userpin(用户登录后的凭证)的值
#### 渠道执行的类型 actionType:getProgrammeListByUser
``` javascript
{
"actionType":"getProgrammeListByUser",
"actionBody":{
"pageIndex":"1",
"pageSize":"2",
"needNo":"N202002141324bupnr8L",
"solutionNo":"",
"bizType":"companyreg",
"orderNo":"",
"status":"ytj",
"entName":"公司名称"
}
}
```
#### 返回结果
```javascript
{
"status":0,
"msg":"success",
"data":[
{
"id":124,
"needNo":"N202002141324bupnr8L",
"solutionNo":"NS202003171700rdnznR",
"orderNo":null,
"solutionContent":{
"notes":"方案备注",
"bizType":"companyreg",
"solution":{
"city":"市",
"entName":"公司名称",
"regPark":"注册园区",
"regType":"注册类型",
"industry":"行业",
"province":"省",
"entNature":"公司性质",
"productType":"产品类型",
"taxpayerType":"纳税人类型",
"businessScope":"经营范围",
"organizationType":"组织类型"
}
},
"status":"ytj",
"statusName":"已提交",
"created_at":"2020-03-17T09:00:22.000Z"
},
{
"id":123,
"needNo":"N202002141324bupnr8L",
"solutionNo":"NS202003171659mBUrXa",
"orderNo":null,
"solutionContent":{
"notes":"方案备注",
"bizType":"companyreg",
"solution":{
"city":"市",
"entName":"公司名称",
"regPark":"注册园区",
"regType":"注册类型",
"industry":"行业",
"province":"省",
"entNature":"公司性质",
"productType":"产品类型",
"taxpayerType":"纳税人类型",
"businessScope":"经营范围",
"organizationType":"组织类型"
}
},
"status":"ytj",
"statusName":"已提交",
"created_at":"2020-03-17T08:59:45.000Z"
}
],
"dataCount":16,
"requestId":"40769e74e83f4505a78b24d84fed870b"
}
```
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