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
199b0fcb
Commit
199b0fcb
authored
Nov 06, 2020
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
暂时删除流程校验代码
parent
7691c8c2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
21 deletions
+23
-21
center-order/app/base/service/impl/qcutils/aliyunqcSve.js
+23
-21
No files found.
center-order/app/base/service/impl/qcutils/aliyunqcSve.js
View file @
199b0fcb
...
@@ -539,12 +539,14 @@ class AliyunQcService {
...
@@ -539,12 +539,14 @@ class AliyunQcService {
if
(
!
solutionContent
)
{
if
(
!
solutionContent
)
{
return
system
.
getResultFail
(
-
402
,
"方案交付信息有误"
);
return
system
.
getResultFail
(
-
402
,
"方案交付信息有误"
);
}
}
if
(
solutionContent
.
applicationStatus
&&
solutionContent
.
applicationStatus
>
ab
.
ApplicationStatus
)
{
// if (solutionContent.applicationStatus && solutionContent.applicationStatus > ab.ApplicationStatus) {
return
system
.
getResultFail
(
-
403
,
"操作失败,交付流程未按顺序执行"
);
// return system.getResultFail(-403, "操作失败,交付流程未按顺序执行");
}
// }
if
(
solutionContent
.
ApplicationStatus
&&
solutionContent
.
ApplicationStatus
==
ab
.
ApplicationStatus
)
{
// if (solutionContent.ApplicationStatus && solutionContent.ApplicationStatus == ab.ApplicationStatus) {
return
system
.
getResultFail
(
-
405
,
"操作失败,该流程状态已提交,不能重复提交"
);
// return system.getResultFail(-405, "操作失败,该流程状态已提交,不能重复提交");
}
// }
//获取需求信息
//获取需求信息
// var needinfo = await this.needinfoDao.model.findOne({
// var needinfo = await this.needinfoDao.model.findOne({
// where: { needNo: needsolutioninfo.needNo }, raw: true
// where: { needNo: needsolutioninfo.needNo }, raw: true
...
@@ -570,9 +572,9 @@ class AliyunQcService {
...
@@ -570,9 +572,9 @@ class AliyunQcService {
solutionContent
.
statusName
=
this
.
icpSolutionStatusReference
.
ACCOUNT_REGISTERED
;
solutionContent
.
statusName
=
this
.
icpSolutionStatusReference
.
ACCOUNT_REGISTERED
;
}
}
if
(
ab
.
ApplicationStatus
==
508
)
{
//"服务商完成提交资料到⼯信部
if
(
ab
.
ApplicationStatus
==
508
)
{
//"服务商完成提交资料到⼯信部
if
(
solutionContent
.
status
!=
"ACCOUNT_REGISTERED"
)
{
//
if (solutionContent.status != "ACCOUNT_REGISTERED") {
return
system
.
getResultFail
(
-
508
,
"交付流程错误,请先完成账户注册"
);
//
return system.getResultFail(-508, "交付流程错误,请先完成账户注册");
}
//
}
solutionFlowList
.
push
({
solutionFlowList
.
push
({
file
:
ab
.
OfficialFileURL
||
""
,
file
:
ab
.
OfficialFileURL
||
""
,
status
:
"MATERIAL_SUBMITTED"
,
statusName
:
this
.
icpSolutionStatusReference
.
MATERIAL_SUBMITTED
,
updated_at
:
new
Date
()
status
:
"MATERIAL_SUBMITTED"
,
statusName
:
this
.
icpSolutionStatusReference
.
MATERIAL_SUBMITTED
,
updated_at
:
new
Date
()
...
@@ -581,9 +583,9 @@ class AliyunQcService {
...
@@ -581,9 +583,9 @@ class AliyunQcService {
solutionContent
.
statusName
=
this
.
icpSolutionStatusReference
.
MATERIAL_SUBMITTED
;
solutionContent
.
statusName
=
this
.
icpSolutionStatusReference
.
MATERIAL_SUBMITTED
;
}
}
if
(
ab
.
ApplicationStatus
==
509
)
{
//⼯商部已受理
if
(
ab
.
ApplicationStatus
==
509
)
{
//⼯商部已受理
if
(
solutionContent
.
status
!=
"MATERIAL_SUBMITTED"
)
{
//
if (solutionContent.status != "MATERIAL_SUBMITTED") {
return
system
.
getResultFail
(
-
509
,
"交付流程错误,请先完成资料递交"
);
//
return system.getResultFail(-509, "交付流程错误,请先完成资料递交");
}
//
}
solutionFlowList
.
push
({
solutionFlowList
.
push
({
file
:
ab
.
OfficialFileURL
||
""
,
file
:
ab
.
OfficialFileURL
||
""
,
status
:
"GXB_ACCEPT"
,
statusName
:
this
.
icpSolutionStatusReference
.
GXB_ACCEPT
,
updated_at
:
new
Date
()
status
:
"GXB_ACCEPT"
,
statusName
:
this
.
icpSolutionStatusReference
.
GXB_ACCEPT
,
updated_at
:
new
Date
()
...
@@ -592,9 +594,9 @@ class AliyunQcService {
...
@@ -592,9 +594,9 @@ class AliyunQcService {
solutionContent
.
statusName
=
this
.
icpSolutionStatusReference
.
GXB_ACCEPT
;
solutionContent
.
statusName
=
this
.
icpSolutionStatusReference
.
GXB_ACCEPT
;
}
}
if
(
ab
.
ApplicationStatus
==
510
)
{
//⼯商部不予受理
if
(
ab
.
ApplicationStatus
==
510
)
{
//⼯商部不予受理
if
(
solutionContent
.
status
!=
"MATERIAL_SUBMITTED"
)
{
//
if (solutionContent.status != "MATERIAL_SUBMITTED") {
return
system
.
getResultFail
(
-
510
,
"交付流程错误,请先完成资料递交"
);
//
return system.getResultFail(-510, "交付流程错误,请先完成资料递交");
}
//
}
solutionFlowList
.
push
({
solutionFlowList
.
push
({
file
:
ab
.
OfficialFileURL
||
""
,
file
:
ab
.
OfficialFileURL
||
""
,
status
:
"GXB_REFUSE"
,
statusName
:
this
.
icpSolutionStatusReference
.
GXB_REFUSE
,
updated_at
:
new
Date
()
status
:
"GXB_REFUSE"
,
statusName
:
this
.
icpSolutionStatusReference
.
GXB_REFUSE
,
updated_at
:
new
Date
()
...
@@ -604,9 +606,9 @@ class AliyunQcService {
...
@@ -604,9 +606,9 @@ class AliyunQcService {
solutionContent
.
statusName
=
this
.
icpSolutionStatusReference
.
GXB_REFUSE
;
solutionContent
.
statusName
=
this
.
icpSolutionStatusReference
.
GXB_REFUSE
;
}
}
if
(
ab
.
ApplicationStatus
==
511
)
{
//⼯商部通过
if
(
ab
.
ApplicationStatus
==
511
)
{
//⼯商部通过
if
(
solutionContent
.
status
!=
"GXB_ACCEPT"
)
{
//
if (solutionContent.status != "GXB_ACCEPT") {
return
system
.
getResultFail
(
-
511
,
"交付流程错误,⼯信部已受理后才能执行此操作"
);
//
return system.getResultFail(-511, "交付流程错误,⼯信部已受理后才能执行此操作");
}
//
}
solutionFlowList
.
push
({
solutionFlowList
.
push
({
file
:
ab
.
OfficialFileURL
||
""
,
file
:
ab
.
OfficialFileURL
||
""
,
status
:
"GXB_SUCCESS"
,
statusName
:
this
.
icpSolutionStatusReference
.
GXB_SUCCESS
,
updated_at
:
new
Date
()
status
:
"GXB_SUCCESS"
,
statusName
:
this
.
icpSolutionStatusReference
.
GXB_SUCCESS
,
updated_at
:
new
Date
()
...
@@ -616,9 +618,9 @@ class AliyunQcService {
...
@@ -616,9 +618,9 @@ class AliyunQcService {
solutionContent
.
statusName
=
this
.
icpSolutionStatusReference
.
GXB_SUCCESS
;
solutionContent
.
statusName
=
this
.
icpSolutionStatusReference
.
GXB_SUCCESS
;
}
}
if
(
ab
.
ApplicationStatus
==
512
)
{
//⼯信部未通过
if
(
ab
.
ApplicationStatus
==
512
)
{
//⼯信部未通过
if
(
solutionContent
.
status
!=
"GXB_ACCEPT"
)
{
//
if (solutionContent.status != "GXB_ACCEPT") {
return
system
.
getResultFail
(
-
512
,
"交付流程错误,⼯信部已受理后才能执行此操作"
);
//
return system.getResultFail(-512, "交付流程错误,⼯信部已受理后才能执行此操作");
}
//
}
solutionFlowList
.
push
({
solutionFlowList
.
push
({
file
:
ab
.
OfficialFileURL
||
""
,
file
:
ab
.
OfficialFileURL
||
""
,
status
:
"GXB_FAIL"
,
statusName
:
this
.
icpSolutionStatusReference
.
GXB_FAIL
,
updated_at
:
new
Date
()
status
:
"GXB_FAIL"
,
statusName
:
this
.
icpSolutionStatusReference
.
GXB_FAIL
,
updated_at
:
new
Date
()
...
...
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