Commit a94786e4 by 王昆

gsb

parent 3b9605ea
......@@ -14,14 +14,43 @@ class BusinessmenCtl extends CtlBase {
async allPage(pobj, pobj2, req) {
try {
var condition = {
let condition = {
currentPage: pobj.currentPage,
pageSize: pobj.pageSize,
merchantId: pobj.merchantId,
orderId: this.trim(pobj.orderId),
bstatus: pobj.status,
order_id: this.trim(pobj.order_id),
name: this.trim(pobj.name),
bd_id: this.trim(pobj.bd_id),
bd_path: this.trim(pobj.bd_path),
legal_name: this.trim(pobj.legal_name),
legal_mobile: this.trim(pobj.legal_mobile),
legal_idcard: this.trim(pobj.legal_idcard),
credit_code: this.trim(pobj.credit_code)
}
return await this.businessmenSve.allPage(condition);
} catch (error) {
console.log(error);
return system.getResultFail(500, "接口异常:" + error.message);
}
}
async myPage(pobj, pobj2, req) {
try {
let condition = {
currentPage: pobj.currentPage,
pageSize: pobj.pageSize,
order_id: this.trim(pobj.order_id),
name: this.trim(pobj.name),
bd_path: this.trim(req.loginUser.orgpath),
legal_name: this.trim(pobj.legal_name),
legal_mobile: this.trim(pobj.legal_mobile),
legal_idcard: this.trim(pobj.legal_idcard),
credit_code: this.trim(pobj.credit_code)
}
if (!condition.bd_path) {
return system.getResult(null, "");
}
return await this.businessmenSve.allPage(condition);
} catch (error) {
console.log(error);
......
......@@ -12,7 +12,6 @@
1. [交付商验收](#platformAuditDetermine)
1. [客户交付](#deliverCustomer)
1. [订单完成](#orderComplete)
1. [个体户签约](#signing)
## **<a name="processList"> 业务进度字典 </a>**
[返回到目录](#menu)
##### URL
......@@ -636,61 +635,3 @@
}
```
## **<a name="signing"> 个体户签约 </a>**
[返回到目录](#menu)
##### URL
[/web/order/orderCtl/signing]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
``` javascript
{
"credit_code": "1", //同意社会信用代码
"cost_rate": 0.9, //核定成本费用率 小数
"add_value_up_type": "", //增值税累计类型 增值税累计类型 1按月 2按季度
"tax_up_type": "", //个税累计类型 个税累计类型 1按月累计 2按年累计
"service_begin_time": "1", //服务开始时间
"service_end_time": "5", //服务结束时间
"service_rate": 0.9, //服务费比例 小数
"tax_rate": 0.9, //含税价百分比 小数
"sign_notes":"" //签约备注
}
```
#### 返回结果
```javascript
{
"status": 0,
"msg": "success",
"data": null,
"requestid": "efb46fd211be4ca6845acc53684fb61d"
}
```
## **<a name="createAccount"> 建账 </a>**
[返回到目录](#menu)
##### URL
[/web/order/orderCtl/createAccount]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
``` javascript
{
"credit_code": "1", //同意社会信用代码
}
```
#### 返回结果
```javascript
{
"status": 0,
"msg": "success",
"data": null,
"requestid": "efb46fd211be4ca6845acc53684fb61d"
}
```
\ No newline at end of file
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