Commit f87c6d77 by Sxy

fix: 百度云工商

parent 01952f14
...@@ -64,6 +64,10 @@ class BaiduHandler { ...@@ -64,6 +64,10 @@ class BaiduHandler {
params.businessType = "food"; params.businessType = "food";
params.businessName = "food" params.businessName = "food"
} }
if (actionBody.type_code == "GSREG") {
params.businessType = "companyCase";
params.businessName = "companyCase"
}
} }
var rtn = await rc.execPost3({ "d": params }, requrl); var rtn = await rc.execPost3({ "d": params }, requrl);
...@@ -286,6 +290,13 @@ class BaiduHandler { ...@@ -286,6 +290,13 @@ class BaiduHandler {
obj.serviceName = data.needsolution.solution.Area; obj.serviceName = data.needsolution.solution.Area;
obj.baseInfo.serviceName = data.needsolution.solution.Area; obj.baseInfo.serviceName = data.needsolution.solution.Area;
} }
if (data.needsolution.solution.area) {//服务地区编码和服务地区
obj.serviceCode = data.needsolution.solution.area;
obj.serviceName = data.needsolution.solution.area;
obj.baseInfo.serviceName = data.needsolution.solution.area;
}
if (data.needsolution.solution.CompanyName) {//公司名称 if (data.needsolution.solution.CompanyName) {//公司名称
obj.baseInfo.companyName = data.needsolution.solution.CompanyName; obj.baseInfo.companyName = data.needsolution.solution.CompanyName;
obj.companyName = data.needsolution.solution.CompanyName; obj.companyName = data.needsolution.solution.CompanyName;
...@@ -305,6 +316,14 @@ class BaiduHandler { ...@@ -305,6 +316,14 @@ class BaiduHandler {
if (data.needsolution.solution.LicenseType) {//⽹⽂类型:⽹络表演 if (data.needsolution.solution.LicenseType) {//⽹⽂类型:⽹络表演
obj.baseInfo.licenseType = data.needsolution.solution.LicenseType; obj.baseInfo.licenseType = data.needsolution.solution.LicenseType;
} }
if (data.needsolution.solution.taxpayerType) {//工商
obj.baseInfo.taxpayerType = data.needsolution.solution.taxpayerType;
}
if (data.needsolution.solution.companyProperties) {//工商
obj.baseInfo.companyProperties = data.needsolution.solution.companyProperties;
}
if (data.needsolution.bizType) { //产品编码 if (data.needsolution.bizType) { //产品编码
if (data.needsolution.bizType == "icpsq") { if (data.needsolution.bizType == "icpsq") {
...@@ -344,16 +363,9 @@ class BaiduHandler { ...@@ -344,16 +363,9 @@ class BaiduHandler {
if (data.needsolution.status == "PAID") {//已支付 if (data.needsolution.status == "PAID") {//已支付
obj.deliverStatus = "received"; obj.deliverStatus = "received";
} }
if (data.needsolution.status == "USER_UPLOADED") {//已上传
obj.deliverStatus = "collecting";
}
if (data.needsolution.status == "USER_PAY_PRODUCE") {//已支付 if (data.needsolution.status == "USER_PAY_PRODUCE") {//已支付
obj.deliverStatus = "received"; obj.deliverStatus = "received";
} }
if (data.needsolution.status == "USER_UPLOAD_PRODUCE") {//已上传
obj.deliverStatus = "collecting";
}
} }
if (data.needsolution.customerRemark) { //状态原因 if (data.needsolution.customerRemark) { //状态原因
obj.statusReason = data.needsolution.customerRemark; obj.statusReason = data.needsolution.customerRemark;
......
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