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
f1d87f1f
Commit
f1d87f1f
authored
Sep 28, 2020
by
linboxuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
receiveEdiStatusNotify
parent
99467d72
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
23 deletions
+29
-23
center-order/app/base/service/impl/qcutils/aliyunqcSve.js
+29
-23
No files found.
center-order/app/base/service/impl/qcutils/aliyunqcSve.js
View file @
f1d87f1f
...
@@ -17,20 +17,28 @@ class AliyunQcService {
...
@@ -17,20 +17,28 @@ class AliyunQcService {
GXB_ACCEPT
:
"⼯信部已受理"
,
GXB_REFUSE
:
"⼯信部不予受理"
,
GXB_FAIL
:
"⼯信部未通过"
,
GXB_SUCCESS
:
"工信部通过"
GXB_ACCEPT
:
"⼯信部已受理"
,
GXB_REFUSE
:
"⼯信部不予受理"
,
GXB_FAIL
:
"⼯信部未通过"
,
GXB_SUCCESS
:
"工信部通过"
,
CLOSE
:
"方案关闭"
,
CLOSE
:
"方案关闭"
};
};
<<<<<<<
HEAD
this
.
ediSolutionStatusReference
=
{
this
.
ediSolutionStatusReference
=
{
SOLUTION_SUBMIT
:
"服务单通知服务商"
,
SOLUTION_SUBMIT
:
"服务单通知服务商"
,
USER_PAY_PRODUCE
:
"⽤户⽀付"
,
USER_CONFIRM_PRODUCE
:
"⽤户确认资料"
,
USER_PAY_PRODUCE
:
"⽤户⽀付"
,
USER_REFUSE_PRODUCE
:
"资料退回修改"
,
ABC_CLOSE_PRODUCE
:
"⼩⼆后台关闭服务单"
,
USER_UPLOAD_PRODUCE
:
"⽤户补充基本资料"
USER_CONFIRM_PRODUCE
:
"⽤户确认资料"
,
USER_REFUSE_PRODUCE
:
"资料退回修改"
,
ABC_CLOSE_PRODUCE
:
"⼩⼆后台关闭服务单"
,
USER_UPLOAD_PRODUCE
:
"⽤户补充基本资料"
};
this
.
ediProduceStatus
=
{
110
:
"⽤户⽀付"
,
30
:
"待⽤户确认"
,
105
:
"账户已注册"
,
35
:
"待提交审核"
,
109
:
"管局已通过"
,
106
:
"材料已递交⼯信部"
,
10
:
"已⽀付"
,
108
:
"管局不予受理"
,
0
:
"初始状态"
,
50
:
"订单关闭"
,
25
:
"待⽤户提交材料"
,
107
:
"管局已受理"
};
};
this
.
icpApplicationStatusReference
=
{
507
:
"完成账户注册"
,
508
:
"服务商完成提交资料到⼯信部"
,
509
:
"⼯商部已受理"
,
510
:
"⼯商部不予受理"
,
511
:
"⼯商部通过"
,
512
:
"⼯商部未通过"
=======
this
.
icpApplicationStatusReference
=
{
this
.
icpApplicationStatusReference
=
{
507
:
"完成账户注册"
,
507
:
"完成账户注册"
,
508
:
"服务商完成提交资料到⼯信部"
,
508
:
"服务商完成提交资料到⼯信部"
,
...
@@ -59,7 +67,6 @@ class AliyunQcService {
...
@@ -59,7 +67,6 @@ class AliyunQcService {
"CERT_GXB_SUCCESS"
:
"⼯商部通过"
,
"CERT_GXB_SUCCESS"
:
"⼯商部通过"
,
"CERT_GXB_FAIL"
:
"⼯商部未通过"
,
"CERT_GXB_FAIL"
:
"⼯商部未通过"
,
"CERT_GXB_REFUSE"
:
"⼯商部不予受理"
"CERT_GXB_REFUSE"
:
"⼯商部不予受理"
>>>>>>>
5
c38b252841e34fee9b52571328ed3842659da89
};
};
}
}
//根据需求关闭ICP方案(关闭需求后调用)
//根据需求关闭ICP方案(关闭需求后调用)
...
@@ -941,8 +948,7 @@ class AliyunQcService {
...
@@ -941,8 +948,7 @@ class AliyunQcService {
return
system
.
getResultFail
(
-
105
,
"该方案需求状态为"
+
needinfo
.
statusName
+
",不能执行此操作"
);
return
system
.
getResultFail
(
-
105
,
"该方案需求状态为"
+
needinfo
.
statusName
+
",不能执行此操作"
);
}
}
var
solutionContent
=
ns
.
solutionContent
;
var
solutionContent
=
ns
.
solutionContent
;
var
checkStatus
=
{
USER_PAY_PRODUCE
:
"⽤户⽀付"
,
USER_CONFIRM_PRODUCE
:
"⽤户确认资料"
,
var
checkStatus
=
{
ABC_CLOSE_PRODUCE
:
"⼩⼆后台关闭服务单"
};
USER_REFUSE_PRODUCE
:
"资料退回修改"
,
ABC_CLOSE_PRODUCE
:
"⼩⼆后台关闭服务单"
,
USER_UPLOAD_PRODUCE
:
"⽤户补充基本资料"
};
if
(
solutionContent
.
status
&&
checkStatus
[
solutionContent
.
status
]){
if
(
solutionContent
.
status
&&
checkStatus
[
solutionContent
.
status
]){
return
system
.
getResultFail
(
-
111
,
"方案已进入"
+
solutionContent
.
statusName
+
"流程,不能执行此操作"
);
return
system
.
getResultFail
(
-
111
,
"方案已进入"
+
solutionContent
.
statusName
+
"流程,不能执行此操作"
);
}
}
...
@@ -953,7 +959,7 @@ class AliyunQcService {
...
@@ -953,7 +959,7 @@ class AliyunQcService {
status
:
"USER_PAY_PRODUCE"
,
statusName
:
this
.
ediSolutionStatusReference
.
USER_PAY_PRODUCE
,
updated_at
:
new
Date
()
status
:
"USER_PAY_PRODUCE"
,
statusName
:
this
.
ediSolutionStatusReference
.
USER_PAY_PRODUCE
,
updated_at
:
new
Date
()
});
});
solutionContent
.
status
=
"USER_PAY_PRODUCE"
;
solutionContent
.
status
=
"USER_PAY_PRODUCE"
;
solutionContent
.
statusName
=
this
.
icp
SolutionStatusReference
.
USER_PAY_PRODUCE
;
solutionContent
.
statusName
=
this
.
edi
SolutionStatusReference
.
USER_PAY_PRODUCE
;
// 2020 0826 lin修改 n_need_info status为ycd 已成单
// 2020 0826 lin修改 n_need_info status为ycd 已成单
let
needObj
=
{
let
needObj
=
{
id
:
needinfo
.
id
,
status
:
"ycd"
id
:
needinfo
.
id
,
status
:
"ycd"
...
@@ -961,28 +967,28 @@ class AliyunQcService {
...
@@ -961,28 +967,28 @@ class AliyunQcService {
await
this
.
needinfoDao
.
update
(
needObj
);
//关闭需求
await
this
.
needinfoDao
.
update
(
needObj
);
//关闭需求
}
else
if
(
ab
.
operationType
==
"USER_CONFIRM_PRODUCE"
)
{
//⽤户确认资料
}
else
if
(
ab
.
operationType
==
"USER_CONFIRM_PRODUCE"
)
{
//⽤户确认资料
solutionFlowList
.
push
({
solutionFlowList
.
push
({
status
:
"USER_CONFIRM_PRODUCE"
,
statusName
:
this
.
icp
SolutionStatusReference
.
USER_CONFIRM_PRODUCE
,
updated_at
:
new
Date
()
status
:
"USER_CONFIRM_PRODUCE"
,
statusName
:
this
.
edi
SolutionStatusReference
.
USER_CONFIRM_PRODUCE
,
updated_at
:
new
Date
()
});
});
solutionContent
.
status
=
"USER_CONFIRM_PRODUCE"
;
solutionContent
.
status
=
"USER_CONFIRM_PRODUCE"
;
solutionContent
.
statusName
=
this
.
icp
SolutionStatusReference
.
USER_CONFIRM_PRODUCE
;
solutionContent
.
statusName
=
this
.
edi
SolutionStatusReference
.
USER_CONFIRM_PRODUCE
;
}
else
if
(
ab
.
operationType
==
"USER_REFUSE_PRODUCE"
)
{
//资料退回修改
}
else
if
(
ab
.
operationType
==
"USER_REFUSE_PRODUCE"
)
{
//资料退回修改
solutionFlowList
.
push
({
solutionFlowList
.
push
({
status
:
"USER_REFUSE_PRODUCE"
,
statusName
:
this
.
icp
SolutionStatusReference
.
USER_REFUSE_PRODUCE
,
updated_at
:
new
Date
()
status
:
"USER_REFUSE_PRODUCE"
,
statusName
:
this
.
edi
SolutionStatusReference
.
USER_REFUSE_PRODUCE
,
updated_at
:
new
Date
()
});
});
solutionContent
.
status
=
"USER_REFUSE_PRODUCE"
;
solutionContent
.
status
=
"USER_REFUSE_PRODUCE"
;
solutionContent
.
statusName
=
this
.
icp
SolutionStatusReference
.
USER_REFUSE_PRODUCE
;
solutionContent
.
statusName
=
this
.
edi
SolutionStatusReference
.
USER_REFUSE_PRODUCE
;
}
else
if
(
ab
.
operationType
==
"USER_UPLOAD_PRODUCE"
)
{
//⽤户补充基本资料
}
else
if
(
ab
.
operationType
==
"USER_UPLOAD_PRODUCE"
)
{
//⽤户补充基本资料
solutionFlowList
.
push
({
solutionFlowList
.
push
({
status
:
"USER_UPLOAD_PRODUCE"
,
statusName
:
this
.
icp
SolutionStatusReference
.
USER_UPLOAD_PRODUCE
,
updated_at
:
new
Date
()
status
:
"USER_UPLOAD_PRODUCE"
,
statusName
:
this
.
edi
SolutionStatusReference
.
USER_UPLOAD_PRODUCE
,
updated_at
:
new
Date
()
});
});
solutionContent
.
status
=
"USER_UPLOAD_PRODUCE"
;
solutionContent
.
status
=
"USER_UPLOAD_PRODUCE"
;
solutionContent
.
statusName
=
this
.
icp
SolutionStatusReference
.
USER_UPLOAD_PRODUCE
;
solutionContent
.
statusName
=
this
.
edi
SolutionStatusReference
.
USER_UPLOAD_PRODUCE
;
}
else
if
(
ab
.
operationType
==
"ABC_CLOSE_PRODUCE"
)
{
//⽅案已关闭
}
else
if
(
ab
.
operationType
==
"ABC_CLOSE_PRODUCE"
)
{
//⽅案已关闭
solutionFlowList
.
push
({
solutionFlowList
.
push
({
status
:
"ABC_CLOSE_PRODUCE"
,
statusName
:
this
.
icp
SolutionStatusReference
.
ABC_CLOSE_PRODUCE
,
updated_at
:
new
Date
()
status
:
"ABC_CLOSE_PRODUCE"
,
statusName
:
this
.
edi
SolutionStatusReference
.
ABC_CLOSE_PRODUCE
,
updated_at
:
new
Date
()
});
});
solutionContent
.
status
=
"ABC_CLOSE_PRODUCE"
;
solutionContent
.
status
=
"ABC_CLOSE_PRODUCE"
;
solutionContent
.
statusName
=
this
.
icp
SolutionStatusReference
.
ABC_CLOSE_PRODUCE
;
solutionContent
.
statusName
=
this
.
edi
SolutionStatusReference
.
ABC_CLOSE_PRODUCE
;
}
else
{
}
else
{
return
system
.
getResultFail
(
-
110
,
"状态错误"
);
return
system
.
getResultFail
(
-
110
,
"状态错误"
);
}
}
...
...
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