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
c2d97310
Commit
c2d97310
authored
May 18, 2021
by
兰国旗
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
虚拟机提交代码Windows获取(百度套餐)
parent
b832c8f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
315 additions
and
65 deletions
+315
-65
center-order/app/base/service/impl/qcutils/regCenterOrderSve.js
+315
-65
No files found.
center-order/app/base/service/impl/qcutils/regCenterOrderSve.js
View file @
c2d97310
...
@@ -17,7 +17,8 @@ class RegCenterOrderService{
...
@@ -17,7 +17,8 @@ class RegCenterOrderService{
'ENGRAVING'
:
'刻章环节'
,
'ENGRAVING'
:
'刻章环节'
,
'SUCCESS'
:
'已完成'
,
'SUCCESS'
:
'已完成'
,
'PAID'
:
'已支付'
,
'PAID'
:
'已支付'
,
"CLOSE"
:
"已关闭"
"CLOSE"
:
"已关闭"
,
'ACTIVE'
:
'服务中'
};
};
//工商注册状态
//工商注册状态
...
@@ -26,7 +27,8 @@ class RegCenterOrderService{
...
@@ -26,7 +27,8 @@ class RegCenterOrderService{
'COLLECTING'
:
702
,
//材料收集环节
'COLLECTING'
:
702
,
//材料收集环节
'AUDITING'
:
703
,
//工商审核环节
'AUDITING'
:
703
,
//工商审核环节
'ENGRAVING'
:
704
,
//刻章环节
'ENGRAVING'
:
704
,
//刻章环节
'SUCCESS'
:
705
//已完成
'SUCCESS'
:
705
,
//已完成
'ACTIVE'
:
706
//服务中
}
}
}
}
...
@@ -289,7 +291,7 @@ class RegCenterOrderService{
...
@@ -289,7 +291,7 @@ class RegCenterOrderService{
}
}
var
solutionContent
=
ns
.
solutionContent
;
var
solutionContent
=
ns
.
solutionContent
;
var
checkStatus
=
{
var
checkStatus
=
{
COLLECTING
:
"材料收集环节"
,
AUDITING
:
"工商审核环节"
,
COLLECTING
:
"材料收集环节"
,
AUDITING
:
"工商审核环节"
,
ACTIVE
:
"服务中"
,
ENGRAVING
:
"刻章环节"
,
SUCCESS
:
"已完成"
,
CLOSE
:
"方案关闭"
ENGRAVING
:
"刻章环节"
,
SUCCESS
:
"已完成"
,
CLOSE
:
"方案关闭"
};
};
if
(
solutionContent
.
status
&&
checkStatus
[
solutionContent
.
status
])
{
if
(
solutionContent
.
status
&&
checkStatus
[
solutionContent
.
status
])
{
...
@@ -337,7 +339,7 @@ class RegCenterOrderService{
...
@@ -337,7 +339,7 @@ class RegCenterOrderService{
});
});
solutionContent
.
status
=
"CLOSE"
;
solutionContent
.
status
=
"CLOSE"
;
solutionContent
.
statusName
=
this
.
regSolutionStatus
.
CLOSE
;
solutionContent
.
statusName
=
this
.
regSolutionStatus
.
CLOSE
;
}
else
{
}
else
{
return
system
.
getResultFail
(
-
110
,
"状态错误-5"
);
return
system
.
getResultFail
(
-
110
,
"状态错误-5"
);
}
}
solutionContent
.
solutionFlowList
=
solutionFlowList
;
solutionContent
.
solutionFlowList
=
solutionFlowList
;
...
@@ -1108,75 +1110,323 @@ class RegCenterOrderService{
...
@@ -1108,75 +1110,323 @@ class RegCenterOrderService{
var
uappId
=
orderInfo
.
uapp_id
;
var
uappId
=
orderInfo
.
uapp_id
;
var
channelOrderNo
=
orderInfo
.
channelOrderNo
var
channelOrderNo
=
orderInfo
.
channelOrderNo
}
}
if
(
ab
.
ApplicationStatus
==
702
)
{
//材料收集环节
//2021-5-18区分套餐与非套餐改版之前非套餐的原有数据 start
if
(
needsolutioninfo
.
solutionContent
.
status
!=
"PAID"
)
{
return
system
.
getResultFail
(
-
702
,
"交付流程错误,请先完成支付"
);
}
deliveryContent
[
'ApplicationStatus'
]
=
702
;
solutionFlowList
.
push
({
file
:
ab
.
OfficialFileURL
||
""
,
status
:
"COLLECTING"
,
statusName
:
this
.
regSolutionStatus
.
COLLECTING
,
updated_at
:
new
Date
()
});
deliveryContent
.
status
=
"COLLECTING"
;
deliveryContent
.
statusName
=
this
.
regSolutionStatus
.
COLLECTING
;
}
// if (ab.ApplicationStatus == 702) {//材料收集环节
if
(
ab
.
ApplicationStatus
==
703
)
{
//工商审核环节
// if (needsolutioninfo.solutionContent.status != "PAID") {
var
afterStatusList
=
[
//用户支付后的流程状态
// return system.getResultFail(-702, "交付流程错误,请先完成支付");
"COLLECTING"
,
"AUDITING"
,
"ENGRAVING"
,
"SUCCESS"
// }
];
// deliveryContent['ApplicationStatus'] = 702;
if
(
!
deliveryContent
.
status
||
afterStatusList
.
indexOf
(
deliveryContent
.
status
)
<
0
){
// solutionFlowList.push({
return
system
.
getResultFail
(
-
703
,
"交付流程错误,请先完成材料收集"
);
// file: ab.OfficialFileURL || "",
// status: "COLLECTING", statusName: this.regSolutionStatus.COLLECTING, updated_at: new Date()
// });
// deliveryContent.status = "COLLECTING";
// deliveryContent.statusName = this.regSolutionStatus.COLLECTING;
// }
// if (ab.ApplicationStatus == 703) {//工商审核环节
// var afterStatusList = [//用户支付后的流程状态
// "COLLECTING", "AUDITING", "ENGRAVING" ,"SUCCESS"
// ];
// if (!deliveryContent.status || afterStatusList.indexOf(deliveryContent.status) < 0){
// return system.getResultFail(-703, "交付流程错误,请先完成材料收集");
// }
// if (deliveryContent.status == "SUCCESS") {
// return system.getResultFail(-706, "该方案已完成,不可更改");
// }
// deliveryContent['ApplicationStatus'] = 703;
// solutionFlowList.push({
// file: ab.OfficialFileURL || "",
// status: "AUDITING", statusName: this.regSolutionStatus.AUDITING, updated_at: new Date()
// });
// deliveryContent.status = "AUDITING";
// deliveryContent.statusName = this.regSolutionStatus.AUDITING;
// console.log('deliveryContent-----sss---',deliveryContent)
// console.log('deliveryContent-----ss+++',typeof(deliveryContent))
// deliveryContent['deliveryContent'] = deliveryContents
// }
// if (ab.ApplicationStatus == 704) {//刻章环节
// var afterStatusList = [//用户支付后的流程状态
// "COLLECTING", "AUDITING", "ENGRAVING" ,"SUCCESS"
// ];
// if (!deliveryContent.status || afterStatusList.indexOf(deliveryContent.status) < 0){
// return system.getResultFail(-704, "交付流程错误,请先工商审核");
// }
// if (deliveryContent.status == "SUCCESS") {
// return system.getResultFail(-707, "该方案已完成,不可更改");
// }
// deliveryContent['ApplicationStatus'] = 704;
// solutionFlowList.push({
// file: ab.OfficialFileURL || "",
// status: "ENGRAVING", statusName: this.regSolutionStatus.ENGRAVING, updated_at: new Date()
// });
// deliveryContent.status = "ENGRAVING";
// deliveryContent.statusName = this.regSolutionStatus.ENGRAVING;
// }
// if (ab.ApplicationStatus == 705) {//已完成
// if (deliveryContent.status != "ENGRAVING") {
// return system.getResultFail(-705, "交付流程错误,请先刻章");
// }
// if (deliveryContent.status == "SUCCESS") {
// return system.getResultFail(-708, "该方案已完成,不可更改");
// }
// deliveryContent['ApplicationStatus'] = 705;
// solutionFlowList.push({
// file: ab.OfficialFileURL || "",
// status: "SUCCESS", statusName: this.regSolutionStatus.SUCCESS, updated_at: new Date()
// });
// deliveryContent.status = "SUCCESS";
// needsolutioninfo.status = "ywc";
// deliveryContent.statusName = this.regSolutionStatus.SUCCESS;
// }
//2021-5-18区分套餐与非套餐改版之前非套餐的原有数据 end
//2021-5-18 新增百度公司注册与公司注册套餐区分 start
if
(
ab
.
consultType
&&
ab
.
consultType
==
"GSREG"
){
//公司注册
if
(
ab
.
ApplicationStatus
==
702
)
{
//材料收集环节
if
(
needsolutioninfo
.
solutionContent
.
status
!=
"PAID"
)
{
return
system
.
getResultFail
(
-
702
,
"交付流程错误,请先完成支付"
);
}
deliveryContent
[
'ApplicationStatus'
]
=
702
;
solutionFlowList
.
push
({
file
:
ab
.
OfficialFileURL
||
""
,
status
:
"COLLECTING"
,
statusName
:
this
.
regSolutionStatus
.
COLLECTING
,
updated_at
:
new
Date
()
});
deliveryContent
.
status
=
"COLLECTING"
;
deliveryContent
.
statusName
=
this
.
regSolutionStatus
.
COLLECTING
;
}
}
if
(
deliveryContent
.
status
==
"SUCCESS"
)
{
if
(
ab
.
ApplicationStatus
==
703
)
{
//工商审核环节
return
system
.
getResultFail
(
-
706
,
"该方案已完成,不可更改"
);
var
afterStatusList
=
[
//用户支付后的流程状态
"COLLECTING"
,
"AUDITING"
,
"ENGRAVING"
,
"SUCCESS"
];
if
(
!
deliveryContent
.
status
||
afterStatusList
.
indexOf
(
deliveryContent
.
status
)
<
0
){
return
system
.
getResultFail
(
-
703
,
"交付流程错误,请先完成材料收集"
);
}
if
(
deliveryContent
.
status
==
"SUCCESS"
)
{
return
system
.
getResultFail
(
-
706
,
"该方案已完成,不可更改"
);
}
deliveryContent
[
'ApplicationStatus'
]
=
703
;
solutionFlowList
.
push
({
file
:
ab
.
OfficialFileURL
||
""
,
status
:
"AUDITING"
,
statusName
:
this
.
regSolutionStatus
.
AUDITING
,
updated_at
:
new
Date
()
});
deliveryContent
.
status
=
"AUDITING"
;
deliveryContent
.
statusName
=
this
.
regSolutionStatus
.
AUDITING
;
console
.
log
(
'deliveryContent-----sss---'
,
deliveryContent
)
console
.
log
(
'deliveryContent-----ss+++'
,
typeof
(
deliveryContent
))
deliveryContent
[
'deliveryContent'
]
=
deliveryContents
}
}
deliveryContent
[
'ApplicationStatus'
]
=
703
;
if
(
ab
.
ApplicationStatus
==
704
)
{
//刻章环节
solutionFlowList
.
push
({
var
afterStatusList
=
[
//用户支付后的流程状态
file
:
ab
.
OfficialFileURL
||
""
,
"COLLECTING"
,
"AUDITING"
,
"ENGRAVING"
,
"SUCCESS"
status
:
"AUDITING"
,
statusName
:
this
.
regSolutionStatus
.
AUDITING
,
updated_at
:
new
Date
()
];
});
if
(
!
deliveryContent
.
status
||
afterStatusList
.
indexOf
(
deliveryContent
.
status
)
<
0
){
deliveryContent
.
status
=
"AUDITING"
;
return
system
.
getResultFail
(
-
704
,
"交付流程错误,请先工商审核"
)
;
deliveryContent
.
statusName
=
this
.
regSolutionStatus
.
AUDITING
;
}
console
.
log
(
'deliveryContent-----sss---'
,
deliveryContent
)
if
(
deliveryContent
.
status
==
"SUCCESS"
)
{
console
.
log
(
'deliveryContent-----ss+++'
,
typeof
(
deliveryContent
))
return
system
.
getResultFail
(
-
707
,
"该方案已完成,不可更改"
);
deliveryContent
[
'deliveryContent'
]
=
deliveryContents
}
}
deliveryContent
[
'ApplicationStatus'
]
=
704
;
if
(
ab
.
ApplicationStatus
==
704
)
{
//刻章环节
solutionFlowList
.
push
({
var
afterStatusList
=
[
//用户支付后的流程状态
file
:
ab
.
OfficialFileURL
||
""
,
"COLLECTING"
,
"AUDITING"
,
"ENGRAVING"
,
"SUCCESS"
status
:
"ENGRAVING"
,
statusName
:
this
.
regSolutionStatus
.
ENGRAVING
,
updated_at
:
new
Date
()
]
;
})
;
if
(
!
deliveryContent
.
status
||
afterStatusList
.
indexOf
(
deliveryContent
.
status
)
<
0
){
deliveryContent
.
status
=
"ENGRAVING"
;
return
system
.
getResultFail
(
-
704
,
"交付流程错误,请先工商审核"
)
;
deliveryContent
.
statusName
=
this
.
regSolutionStatus
.
ENGRAVING
;
}
}
if
(
deliveryContent
.
status
==
"SUCCESS"
)
{
if
(
ab
.
ApplicationStatus
==
705
)
{
//已完成
return
system
.
getResultFail
(
-
706
,
"该方案已完成,不可更改"
);
if
(
deliveryContent
.
status
!=
"ENGRAVING"
)
{
return
system
.
getResultFail
(
-
705
,
"交付流程错误,请先刻章"
);
}
if
(
deliveryContent
.
status
==
"SUCCESS"
)
{
return
system
.
getResultFail
(
-
708
,
"该方案已完成,不可更改"
);
}
deliveryContent
[
'ApplicationStatus'
]
=
705
;
solutionFlowList
.
push
({
file
:
ab
.
OfficialFileURL
||
""
,
status
:
"SUCCESS"
,
statusName
:
this
.
regSolutionStatus
.
SUCCESS
,
updated_at
:
new
Date
()
});
deliveryContent
.
status
=
"SUCCESS"
;
needsolutioninfo
.
status
=
"ywc"
;
deliveryContent
.
statusName
=
this
.
regSolutionStatus
.
SUCCESS
;
}
}
deliveryContent
[
'ApplicationStatus'
]
=
704
;
}
else
{
//公司注册套餐
solutionFlowList
.
push
({
if
(
ab
.
productType
&&
ab
.
productType
==
"GSZZ"
){
//工商执照
file
:
ab
.
OfficialFileURL
||
""
,
if
(
ab
.
ApplicationStatus
==
702
)
{
//材料收集环节
status
:
"ENGRAVING"
,
statusName
:
this
.
regSolutionStatus
.
ENGRAVING
,
updated_at
:
new
Date
()
if
(
needsolutioninfo
.
solutionContent
.
status
!=
"PAID"
)
{
});
return
system
.
getResultFail
(
-
702
,
"交付流程错误,请先完成支付"
);
deliveryContent
.
status
=
"ENGRAVING"
;
}
deliveryContent
.
statusName
=
this
.
regSolutionStatus
.
ENGRAVING
;
deliveryContent
[
'ApplicationStatus'
]
=
702
;
}
solutionFlowList
.
push
({
if
(
ab
.
ApplicationStatus
==
705
)
{
//已完成
file
:
ab
.
OfficialFileURL
||
""
,
if
(
deliveryContent
.
status
!=
"ENGRAVING"
)
{
status
:
"COLLECTING"
,
statusName
:
this
.
regSolutionStatus
.
COLLECTING
,
updated_at
:
new
Date
()
return
system
.
getResultFail
(
-
705
,
"交付流程错误,请先刻章"
);
});
deliveryContent
.
status
=
"COLLECTING"
;
deliveryContent
.
statusName
=
this
.
regSolutionStatus
.
COLLECTING
;
}
if
(
ab
.
ApplicationStatus
==
703
)
{
//工商审核环节
var
afterStatusList
=
[
//用户支付后的流程状态
"COLLECTING"
,
"AUDITING"
,
"ENGRAVING"
,
"SUCCESS"
];
if
(
!
deliveryContent
.
status
||
afterStatusList
.
indexOf
(
deliveryContent
.
status
)
<
0
){
return
system
.
getResultFail
(
-
703
,
"交付流程错误,请先完成材料收集"
);
}
if
(
deliveryContent
.
status
==
"SUCCESS"
)
{
return
system
.
getResultFail
(
-
706
,
"该方案已完成,不可更改"
);
}
deliveryContent
[
'ApplicationStatus'
]
=
703
;
solutionFlowList
.
push
({
file
:
ab
.
OfficialFileURL
||
""
,
status
:
"AUDITING"
,
statusName
:
this
.
regSolutionStatus
.
AUDITING
,
updated_at
:
new
Date
()
});
deliveryContent
.
status
=
"AUDITING"
;
deliveryContent
.
statusName
=
this
.
regSolutionStatus
.
AUDITING
;
console
.
log
(
'deliveryContent-----sss---'
,
deliveryContent
)
console
.
log
(
'deliveryContent-----ss+++'
,
typeof
(
deliveryContent
))
deliveryContent
[
'deliveryContent'
]
=
deliveryContents
}
if
(
ab
.
ApplicationStatus
==
704
)
{
//刻章环节
var
afterStatusList
=
[
//用户支付后的流程状态
"COLLECTING"
,
"AUDITING"
,
"ENGRAVING"
,
"SUCCESS"
];
if
(
!
deliveryContent
.
status
||
afterStatusList
.
indexOf
(
deliveryContent
.
status
)
<
0
){
return
system
.
getResultFail
(
-
704
,
"交付流程错误,请先工商审核"
);
}
if
(
deliveryContent
.
status
==
"SUCCESS"
)
{
return
system
.
getResultFail
(
-
707
,
"该方案已完成,不可更改"
);
}
deliveryContent
[
'ApplicationStatus'
]
=
704
;
solutionFlowList
.
push
({
file
:
ab
.
OfficialFileURL
||
""
,
status
:
"ENGRAVING"
,
statusName
:
this
.
regSolutionStatus
.
ENGRAVING
,
updated_at
:
new
Date
()
});
deliveryContent
.
status
=
"ENGRAVING"
;
deliveryContent
.
statusName
=
this
.
regSolutionStatus
.
ENGRAVING
;
}
if
(
ab
.
ApplicationStatus
==
705
)
{
//已完成
if
(
deliveryContent
.
status
!=
"ENGRAVING"
)
{
return
system
.
getResultFail
(
-
705
,
"交付流程错误,请先刻章"
);
}
if
(
deliveryContent
.
status
==
"SUCCESS"
)
{
return
system
.
getResultFail
(
-
708
,
"该方案已完成,不可更改"
);
}
deliveryContent
[
'ApplicationStatus'
]
=
705
;
solutionFlowList
.
push
({
file
:
ab
.
OfficialFileURL
||
""
,
status
:
"SUCCESS"
,
statusName
:
this
.
regSolutionStatus
.
SUCCESS
,
updated_at
:
new
Date
()
});
deliveryContent
.
status
=
"SUCCESS"
;
needsolutioninfo
.
status
=
"ywc"
;
deliveryContent
.
statusName
=
this
.
regSolutionStatus
.
SUCCESS
;
}
}
}
if
(
deliveryContent
.
status
==
"SUCCESS"
)
{
if
(
ab
.
productType
&&
(
ab
.
productType
==
"YHKH"
||
ab
.
productType
==
"SWBD"
)){
//YHKH:银行开户; SWBD:税务报道;只有已接单和已完成状态
return
system
.
getResultFail
(
-
706
,
"该方案已完成,不可更改"
);
if
(
ab
.
ApplicationStatus
==
705
)
{
//已完成
deliveryContent
[
'ApplicationStatus'
]
=
705
;
solutionFlowList
.
push
({
file
:
ab
.
OfficialFileURL
||
""
,
status
:
"SUCCESS"
,
statusName
:
this
.
regSolutionStatus
.
SUCCESS
,
updated_at
:
new
Date
()
});
deliveryContent
.
status
=
"SUCCESS"
;
needsolutioninfo
.
status
=
"ywc"
;
deliveryContent
.
statusName
=
this
.
regSolutionStatus
.
SUCCESS
;
}
}
if
(
ab
.
productType
&&
ab
.
productType
==
"DZFW"
){
//地址服务
if
(
ab
.
ApplicationStatus
==
702
)
{
//材料收集环节
if
(
needsolutioninfo
.
solutionContent
.
status
!=
"PAID"
)
{
return
system
.
getResultFail
(
-
702
,
"交付流程错误,请先完成支付"
);
}
deliveryContent
[
'ApplicationStatus'
]
=
702
;
solutionFlowList
.
push
({
file
:
ab
.
OfficialFileURL
||
""
,
status
:
"COLLECTING"
,
statusName
:
this
.
regSolutionStatus
.
COLLECTING
,
updated_at
:
new
Date
()
});
deliveryContent
.
status
=
"COLLECTING"
;
deliveryContent
.
statusName
=
this
.
regSolutionStatus
.
COLLECTING
;
}
if
(
ab
.
ApplicationStatus
==
703
)
{
//工商审核环节
var
afterStatusList
=
[
//用户支付后的流程状态
"COLLECTING"
,
"AUDITING"
,
"ENGRAVING"
,
"SUCCESS"
];
if
(
!
deliveryContent
.
status
||
afterStatusList
.
indexOf
(
deliveryContent
.
status
)
<
0
){
return
system
.
getResultFail
(
-
703
,
"交付流程错误,请先完成材料收集"
);
}
if
(
deliveryContent
.
status
==
"SUCCESS"
)
{
return
system
.
getResultFail
(
-
706
,
"该方案已完成,不可更改"
);
}
deliveryContent
[
'ApplicationStatus'
]
=
703
;
solutionFlowList
.
push
({
file
:
ab
.
OfficialFileURL
||
""
,
status
:
"AUDITING"
,
statusName
:
this
.
regSolutionStatus
.
AUDITING
,
updated_at
:
new
Date
()
});
deliveryContent
.
status
=
"AUDITING"
;
deliveryContent
.
statusName
=
this
.
regSolutionStatus
.
AUDITING
;
console
.
log
(
'deliveryContent-----sss---'
,
deliveryContent
)
console
.
log
(
'deliveryContent-----ss+++'
,
typeof
(
deliveryContent
))
deliveryContent
[
'deliveryContent'
]
=
deliveryContents
}
if
(
ab
.
ApplicationStatus
==
706
)
{
//服务中
var
afterStatusList
=
[
//用户支付后的流程状态
"COLLECTING"
,
"AUDITING"
,
"SUCCESS"
];
if
(
!
deliveryContent
.
status
||
afterStatusList
.
indexOf
(
deliveryContent
.
status
)
<
0
){
return
system
.
getResultFail
(
-
704
,
"交付流程错误,请先工商审核"
);
}
if
(
deliveryContent
.
status
==
"SUCCESS"
)
{
return
system
.
getResultFail
(
-
707
,
"该方案已完成,不可更改"
);
}
deliveryContent
[
'ApplicationStatus'
]
=
706
;
solutionFlowList
.
push
({
file
:
ab
.
OfficialFileURL
||
""
,
status
:
"ACTIVE"
,
statusName
:
this
.
regSolutionStatus
.
ACTIVE
,
updated_at
:
new
Date
()
});
deliveryContent
.
status
=
"ACTIVE"
;
deliveryContent
.
statusName
=
this
.
regSolutionStatus
.
ACTIVE
;
}
if
(
ab
.
ApplicationStatus
==
705
)
{
//已完成
if
(
deliveryContent
.
status
!=
"ACTIVE"
)
{
return
system
.
getResultFail
(
-
705
,
"交付流程错误,请先变更状态为服务中"
);
}
if
(
deliveryContent
.
status
==
"SUCCESS"
)
{
return
system
.
getResultFail
(
-
708
,
"该方案已完成,不可更改"
);
}
deliveryContent
[
'ApplicationStatus'
]
=
705
;
solutionFlowList
.
push
({
file
:
ab
.
OfficialFileURL
||
""
,
status
:
"SUCCESS"
,
statusName
:
this
.
regSolutionStatus
.
SUCCESS
,
updated_at
:
new
Date
()
});
deliveryContent
.
status
=
"SUCCESS"
;
needsolutioninfo
.
status
=
"ywc"
;
deliveryContent
.
statusName
=
this
.
regSolutionStatus
.
SUCCESS
;
}
}
if
(
ab
.
productType
&&
ab
.
productType
==
"DLJZ"
){
//代理记账:有已接单,服务中,已完成状态
if
(
ab
.
ApplicationStatus
==
706
)
{
//服务中
if
(
deliveryContent
.
status
==
"SUCCESS"
)
{
return
system
.
getResultFail
(
-
707
,
"该方案已完成,不可更改"
);
}
deliveryContent
[
'ApplicationStatus'
]
=
706
;
solutionFlowList
.
push
({
file
:
ab
.
OfficialFileURL
||
""
,
status
:
"ACTIVE"
,
statusName
:
this
.
regSolutionStatus
.
ACTIVE
,
updated_at
:
new
Date
()
});
deliveryContent
.
status
=
"ACTIVE"
;
deliveryContent
.
statusName
=
this
.
regSolutionStatus
.
ACTIVE
;
}
if
(
ab
.
ApplicationStatus
==
705
)
{
//已完成
deliveryContent
[
'ApplicationStatus'
]
=
705
;
solutionFlowList
.
push
({
file
:
ab
.
OfficialFileURL
||
""
,
status
:
"SUCCESS"
,
statusName
:
this
.
regSolutionStatus
.
SUCCESS
,
updated_at
:
new
Date
()
});
deliveryContent
.
status
=
"SUCCESS"
;
needsolutioninfo
.
status
=
"ywc"
;
deliveryContent
.
statusName
=
this
.
regSolutionStatus
.
SUCCESS
;
}
}
}
deliveryContent
[
'ApplicationStatus'
]
=
705
;
solutionFlowList
.
push
({
file
:
ab
.
OfficialFileURL
||
""
,
status
:
"SUCCESS"
,
statusName
:
this
.
regSolutionStatus
.
SUCCESS
,
updated_at
:
new
Date
()
});
deliveryContent
.
status
=
"SUCCESS"
;
needsolutioninfo
.
status
=
"ywc"
;
deliveryContent
.
statusName
=
this
.
regSolutionStatus
.
SUCCESS
;
}
}
//2021-5-18 新增百度公司注册与公司注册套餐区分 end
deliveryContent
.
solutionFlowList
=
solutionFlowList
;
deliveryContent
.
solutionFlowList
=
solutionFlowList
;
var
applicationStatusList
=
deliveryContent
.
applicationStatusList
||
[];
var
applicationStatusList
=
deliveryContent
.
applicationStatusList
||
[];
...
...
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