<a name="menu">目录</a>
1. [业务进度字典](#processList)
1. [订单管理列表](#allOrders)
1. [我的业务订单](#myorders)
1. [业务员查询](#salesmanList)
1. [分配业务员](#deliverAssignSalesman)
1. [工商注册中](#businessRegister)
1. [工商注册完成](#businessRegisterComplete)
1. [刻章办理中](#chapterEngraving)
1. [刻章办理已完成](#chapterEngravedComplete)
1. [银行开户中](#backAccountOpening)
1. [银行已开户](#backAccountOpenComplete)
1. [税务报道中](#taxReporting)
1. [税务报道完成](#taxReportComplete)
1. [核定税种](#taxCategoryDetermine)
1. [交付商提交审核](#submitAudit)
1. [交付商订单交付](#mailed)

## **<a name="processList"> 业务进度字典 </a>**
[返回到目录](#menu)
##### URL
[/web/order/orderCtl/processList]
#### 参数格式  `JSON`
#### HTTP请求方式 `POST`

``` javascript

    {}

```

#### 返回结果
```javascript

    {
        "status": 0,
        "msg": "success",
        "data": [
            {
                "status": "1000",       // 状态码
                "name": "待分配"         // 状态名称
            },
            {
                "status": "1010",
                "name": "待完善"
            },
        ],
        "requestid": "db9a3248c6b7483d93ccea6d66d0affc"
    }

```


## **<a name="allOrders"> 订单管理列表 </a>**
[返回到目录](#menu)
##### URL
[/web/order/orderCtl/allOrders]

#### 参数格式  `JSON`
#### HTTP请求方式 `POST`

``` javascript

    {
        "currentPage": "1",
        "pageSize": "3",
        "id": "",                       // 订单编号
        "status": "1010",               // 业务进度
        "createdBegin": "",             // 创建时间 开始
        "createdEnd": ""                // 创建时间 结束
    }

    按钮展示规则
        
        status == 1030   业务分配
        status == 1130   提交审核
        status == 1160   交付商分配
        所有状态          查看详情


```

#### 返回结果
```javascript
    {
        "status": 0,
        "msg": "操作成功",
        "data": {
            "count": 1,
            "rows": [
                {
                    "id": "1567514119003310",                                     // 订单id
                    "created_at": "2020-01-10 07:14:20",                          // 创建时间
                    "service_items": "10010200,10010300,10010400,10010500",       // 服务项id
                    "service_items_name": "工商注册,刻章办理,银行开户,税务报道"       // 服务项名称
                    "status": 1200,                                               // 订单状态
                    "statusName": "订单完成",                                     // 订单状态名称
                    "deliver_divide": 20,                                         // 价格
                    "operator_id": 0,                                             // 业务员id
                    "operator_name": "赵本山",                                     // 业务员姓名
                    "completed_at": null,                                         // 完成时间
                    "service_remark": "no note",                                  // 服务项详情
                    "deliver_name": "赵本山交付商",                                 // 交付商名称
                    "next_status": [                              // 下一个进度
                        {
                            "next_status": "1010",                // 状态码
                            "next_name": "待完善"                  // 状态名称
                        }
                    ],
                }
            ]
        },
        "bizmsg": "empty",
        "requestid": "2749dcc10733440fbeacc8a49dd9758d"
    }

```


## **<a name="myorders"> 我的业务订单 </a>**
[返回到目录](#menu)
##### URL
[/web/order/orderCtl/myOrders]
#### 参数格式  `JSON`
#### HTTP请求方式 `POST`

``` javascript

    {
        "currentPage": "1",
        "pageSize": "3",
        "id": "",                       // 订单编号
        "status": "1010",               // 业务进度
        "deliver_id": "xx",             // 交付商id
        "createdBegin": "",             // 创建时间 开始
        "createdEnd": ""                // 创建时间 结束
    }

    "1040"  "工商注册中"
    "1050"  "工商注册完成"
    "1060"  "刻章办理中"
    "1070"  "刻章办理完成"
    "1080"  "银行开户中"
    "1090"  "银行开户完成"
    "1100"  "税务报道中"
    "1110"  "税务报道完成"

    按钮展示规则
        status == 1040 || 1050 || 1060 || 1070 || 1080 || 1090 || 1100 || 1110  新建进度
        status == 1120   核定税种
        所有状态          查看详情


```

#### 返回结果
```javascript
    {
        "status": 0,
        "msg": "操作成功",
        "data": {
            "count": 1,
            "rows": [
                {
                    "id": "1567514119003310",                                     // 订单id
                    "created_at": "2020-01-10 07:14:20",                          // 创建时间
                    "service_items": "10010200,10010300,10010400,10010500",       // 服务项id
                    "service_items_name": "工商注册,刻章办理,银行开户,税务报道"       // 服务项名称
                    "status": 1200,                                               // 订单状态
                    "statusName": "订单完成",                                     // 订单状态名称
                    "deliver_divide": 20,                                         // 价格
                    "operator_id": 0,                                             // 业务员id
                    "operator_name": "赵本山",                                     // 业务员姓名
                    "completed_at": null,                                         // 完成时间
                    "service_remark": "no note",                                  // 服务项详情
                    "deliver_name": "赵本山交付商",                                 // 交付商名称
                    "next_status": [                              // 下一个进度
                        {
                            "next_status": "1010",                // 状态码
                            "next_name": "待完善"                  // 状态名称
                        }
                    ],
                }
            ]
        },
        "bizmsg": "empty",
        "requestid": "2749dcc10733440fbeacc8a49dd9758d"
    }


```


## **<a name="salesmanList"> 业务员查询 </a>**
[返回到目录](#menu)
##### URL
[/web/uc/userCtl/salesmanList]
#### 参数格式  `JSON`
#### HTTP请求方式 `POST`

``` javascript
    {}
```

#### 返回结果
```javascript

{
    "status": 0,
    "msg": "success",
    "data": [
        {
            "id": 9,                // id
            "realName": "郭德纲"     // 姓名
        },
    ],
    "requestid": "6c308d46116945968592fbce5f3f4a95"
}


```


## **<a name="salesmanList"> 平台业务员查询 </a>**
[返回到目录](#menu)
##### URL
[/web/uc/userCtl/salesmanList]
#### 参数格式  `JSON`
#### HTTP请求方式 `POST`

``` javascript
    {}
```

#### 返回结果
```javascript

{
    "status": 0,
    "msg": "success",
    "data": [
        {
            "id": 9,                // id
            "realName": "郭德纲"     // 姓名
        },
    ],
    "requestid": "6c308d46116945968592fbce5f3f4a95"
}


```

## **<a name="deliverAssignSalesman"> 分配业务员 </a>**
[返回到目录](#menu)
##### URL
[/web/order/orderCtl/deliverAssignSalesman]
#### 参数格式  `JSON`
#### HTTP请求方式 `POST`

``` javascript
    {
        "id": "1567429064001859",       // 订单id
        "operator_id": "xxx",           // 选择业务员id
        "status": "1040"                // 订单的next_status
    }
```

#### 返回结果
```javascript

{
    "status": 0,
    "msg": "success",
    "data": null,
    "requestid": "6c308d46116945968592fbce5f3f4a95"
}

```


## **<a name="businessRegister"> 工商注册中 </a>**
[返回到目录](#menu)
##### URL
[/web/order/orderCtl/businessRegister]
#### 参数格式  `JSON`
#### HTTP请求方式 `POST`

``` javascript

    {
        "id": "1567429064001859",       // 订单id
        "status": "1050"                // 订单的next_status
    }

```

#### 返回结果
```javascript

{
    "status": 0,
    "msg": "操作成功",
    "data": {
        "id": "1567514207003510",
        "merchant_id": "",
        "busi_type": 1,
        "busi_id": "",
        "product_id": 10010000,
        "price": 0,
        "status": "1050",
        "assign_time": "2020-01-11T07:38:50.000Z",
        "assign_user_id": 18,
        "deliver_id": "1148267157001391",
        "desc": "",
        "bd_id": "17",
        "bd_path": "/我是说/guodegang10",
        "service_items": "10010200,10010500",
        "service_remark": "no note",
        "source_id": 1000,
        "source_no": "songyi3",
        "contact_mobile": "13777777777",
        "created_at": "2020-01-10T06:56:32.000Z",
        "updated_at": "2020-01-11T08:02:58.566Z",
        "deleted_at": null,
        "version": 4
    },
    "bizmsg": "empty",
    "requestid": "2442e84cbe9c4e1091792da7f196ffed"
}
```


## **<a name="businessRegisterComplete"> 工商注册完成 </a>**
[返回到目录](#menu)
##### URL
[/web/order/orderCtl/businessRegisterComplete]
#### 参数格式  `JSON`
#### HTTP请求方式 `POST`

``` javascript

    {
    	"id":"1567514119003310",              //订单ID
    	"status":"1060",                      //订单状态
    	"name":"赵本山大舞",                    //个体工商户名称
    	"credit_code":"456123665965",         //统一社会信用代码
    	"business_place":"象牙山",             //经营场所
    	"business_scope":"桑拿，推油，温泉戏水", //经营范围
    	"reg_date":"2020-1-10",               //注册日期
    	"business_img":"wwww.baidu.com",      //执照图片
    	"business_gov_file":"xxxxxx"          //官方文件
    }

```

#### 返回结果
```javascript
{
    "status": 0,
    "msg": "success",
    "data": null,
    "requestid": "6c308d46116945968592fbce5f3f4a95"
}

```

## **<a name="chapterEngraving"> 刻章办理中 </a>**
[返回到目录](#menu)
##### URL
[/web/order/orderCtl/chapterEngraving]
#### 参数格式  `JSON`
#### HTTP请求方式 `POST`

``` javascript

    {
        "id": "1567514231004112",               // 订单id
        "status": "1070",                       // 订单下个状态
    }

```

#### 返回结果
```javascript
{
    "status": 0,
    "msg": "操作成功",
    "data": {
        "id": "1567514207003510",
        "merchant_id": "",
        "busi_type": 1,
        "busi_id": "147709017000663",
        "product_id": 10010000,
        "price": 0,
        "status": "1070",
        "assign_time": "2020-01-11T07:38:50.000Z",
        "assign_user_id": 18,
        "deliver_id": "1148267157001391",
        "desc": "",
        "bd_id": "17",
        "bd_path": "/我是说/guodegang10",
        "service_items": "10010200,10010300,10010400,10010500",
        "service_remark": "no note",
        "source_id": 1000,
        "source_no": "songyi3",
        "contact_mobile": "13777777777",
        "created_at": "2020-01-10T06:56:32.000Z",
        "updated_at": "2020-01-11T08:09:31.623Z",
        "deleted_at": null,
        "version": 6
    },
    "bizmsg": "empty",
    "requestid": "d49b643a152248d8ad3832fa9b08ad65"
}

```


## **<a name="chapterEngravedComplete"> 刻章办理已完成 </a>**
[返回到目录](#menu)
##### URL
[/web/order/orderCtl/chapterEngravedComplete]
#### 参数格式  `JSON`
#### HTTP请求方式 `POST`

``` javascript

    {
    	"id":"1567514119003310",                // 订单id
    	"status":"1080",                        // 订单下个状态
    	"gongzhang":"公章",
    	"fapiaozhang":"发票章",
    	"caiwuzhang":"财税章",
    	"hetongzhang":"合同",
    	"farenzhang":"发票章",
    	"zhang_gov_file":"官方文件"
    }	

```

#### 返回结果
```javascript

{
    "status": 0,
    "msg": "success",
    "data": null,
    "requestid": "6c308d46116945968592fbce5f3f4a95"
}

```


## **<a name="backAccountOpening"> 银行开户中 </a>**
[返回到目录](#menu)
##### URL
[/web/order/orderCtl/backAccountOpening]
#### 参数格式  `JSON`
#### HTTP请求方式 `POST`

``` javascript

    {
    	"id":"1567514119003310",                // 订单id
    	"status":"1090",                        // 订单下个状态
    }	

```

#### 返回结果
```javascript
{
    "status": 0,
    "msg": "操作成功",
    "data": {
        "id": "1567514207003510",
        "merchant_id": "",
        "busi_type": 1,
        "busi_id": "147709017000663",
        "product_id": 10010000,
        "price": 0,
        "status": "1090",
        "assign_time": "2020-01-11T07:38:50.000Z",
        "assign_user_id": 18,
        "deliver_id": "1148267157001391",
        "desc": "",
        "bd_id": "17",
        "bd_path": "/我是说/guodegang10",
        "service_items": "10010200,10010300,10010400,10010500",
        "service_remark": "no note",
        "source_id": 1000,
        "source_no": "songyi3",
        "contact_mobile": "13777777777",
        "created_at": "2020-01-10T06:56:32.000Z",
        "updated_at": "2020-01-11T08:12:26.542Z",
        "deleted_at": null,
        "version": 7
    },
    "bizmsg": "empty",
    "requestid": "3d63de640512463eb86a9c450295dfb9"
}

```


## **<a name="backAccountOpenComplete"> 银行已开户 </a>**
[返回到目录](#menu)
##### URL
[/web/order/orderCtl/backAccountOpenComplete]
#### 参数格式  `JSON`
#### HTTP请求方式 `POST`

``` javascript

     {
    	"id":"1567514119003310",          //订单ID
    	"status":"1100",                  //订单状态
    	"bank_name":"赵本山账号",           //账户名称
    	"bank_no":"赵本山258258",          //账户号
    	"bank":"象牙山银行",                //开户行
    	"bank_img":"www.baidu.com",       //账户图片
    	"bank_gov_file":"www.baidu.com"   //官方文件
    }		

```

#### 返回结果
```javascript

{
    "status": 0,
    "msg": "success",
    "data": null,
    "requestid": "6c308d46116945968592fbce5f3f4a95"
}

```

## **<a name="taxReporting"> 税务报道中 </a>**
[返回到目录](#menu)
##### URL
[/web/order/orderCtl/taxReporting]
#### 参数格式  `JSON`
#### HTTP请求方式 `POST`

``` javascript

     {
    	"id":"1567514119003310",          //订单ID
    	"status":"1110",                  //订单状态
    }		

```

#### 返回结果
```javascript

{
    "status": 0,
    "msg": "操作成功",
    "data": {
        "id": "1567514207003510",
        "merchant_id": "",
        "busi_type": 1,
        "busi_id": "147709017000663",
        "product_id": 10010000,
        "price": 0,
        "status": "1110",
        "assign_time": "2020-01-11T07:38:50.000Z",
        "assign_user_id": 18,
        "deliver_id": "1148267157001391",
        "desc": "",
        "bd_id": "17",
        "bd_path": "/我是说/guodegang10",
        "service_items": "10010200,10010300,10010400,10010500",
        "service_remark": "no note",
        "source_id": 1000,
        "source_no": "songyi3",
        "contact_mobile": "13777777777",
        "created_at": "2020-01-10T06:56:32.000Z",
        "updated_at": "2020-01-11T08:16:18.064Z",
        "deleted_at": null,
        "version": 8
    },
    "bizmsg": "empty",
    "requestid": "f881a6457c9c48109d686f023accc1b6"
}

```

## **<a name="taxReportComplete"> 税务报道完成 </a>**
[返回到目录](#menu)
##### URL
[/web/order/orderCtl/taxReportComplete]
#### 参数格式  `JSON`
#### HTTP请求方式 `POST`

``` javascript

    {
    	"id":"1567514119003310",         //订单ID
    	"status":"1120",                 //订单状态
    	"tax_reg_day":"2019-4-4",        //税务登记日期
    	"tax_org":"刘老根大舞台",          //税务登记报道
    	"ca_img":"www.baidu.com",        //ca照片
    	"tax_gov_file":"www.baidu.com"   //官方文件
    }			

```

#### 返回结果
```javascript

{
    "status": 0,
    "msg": "success",
    "data": null,
    "requestid": "6c308d46116945968592fbce5f3f4a95"
}

```


## **<a name="taxCategoryDetermine"> 核定税种 </a>**
[返回到目录](#menu)
##### URL
[/web/order/orderCtl/taxCategoryDetermine]
#### 参数格式  `JSON`
#### HTTP请求方式 `POST`

``` javascript

    {
    	"id":"1567514119003310",                        
    	"status":"1130",
    	"common_tax_ladder":"普票个税阶梯",
    	"common_other_ladder":"普票增值税、附加税阶梯",
    	"special_tax_ladder":"专票个税阶梯",
    	"special_other_ladder":"专票增值税、附加税阶梯",
    	"add_value_up_type":"1",                       //增值税累计类型 1按月 2按季度
    	"tax_up_type":"2"                              //个税累计类型 1按月累计 2按年累计
    }				

```

#### 返回结果
```javascript

{
    "status": 0,
    "msg": "success",
    "data": null,
    "requestid": "6c308d46116945968592fbce5f3f4a95"
}

```


## **<a name="submitAudit"> 交付商提交审核 </a>**
[返回到目录](#menu)
##### URL
[/web/order/orderCtl/submitAudit]
#### 参数格式  `JSON`
#### HTTP请求方式 `POST`

``` javascript

    {
    	"id":"1567514119003310",                        
    	"status":"1140"
    }				

```

#### 返回结果
```javascript

{
    "status": 0,
    "msg": "操作成功",
    "data": {
        "id": "1567514207003510",
        "merchant_id": "",
        "busi_type": 1,
        "busi_id": "147709017000663",
        "product_id": 10010000,
        "price": 0,
        "status": "1140",
        "assign_time": "2020-01-11T07:38:50.000Z",
        "assign_user_id": 18,
        "deliver_id": "1148267157001391",
        "desc": "",
        "bd_id": "17",
        "bd_path": "/我是说/guodegang10",
        "service_items": "10010200,10010300,10010400,10010500",
        "service_remark": "no note",
        "source_id": 1000,
        "source_no": "songyi3",
        "contact_mobile": "13777777777",
        "created_at": "2020-01-10T06:56:32.000Z",
        "updated_at": "2020-01-11T08:21:51.262Z",
        "deleted_at": null,
        "version": 9
    },
    "bizmsg": "empty",
    "requestid": "a08b06d058904333bb075846b12d7e9b"
}

```

## **<a name="mailed"> 交付商订单交付 </a>**
[返回到目录](#menu)
##### URL
[/web/order/orderCtl/mailed]
#### 参数格式  `JSON`
#### HTTP请求方式 `POST`

``` javascript

    {
    	"id":"1567514119003310",
    	"status":"1170",
    	"deliver_mail_no":"112211122121121",   //邮寄编号
    	"deliver_mail_img":"www.baidu.com"     //邮寄图片
    }					

```

#### 返回结果
```javascript

{
    "status": 0,
    "msg": "success",
    "data": null,
    "requestid": "6c308d46116945968592fbce5f3f4a95"
}

```