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
c8e26147
Commit
c8e26147
authored
Oct 13, 2020
by
兰国旗
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
laolan
parent
11977b6a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
center-order/app/base/service/impl/qcutils/aliyunqcSve.js
+10
-5
No files found.
center-order/app/base/service/impl/qcutils/aliyunqcSve.js
View file @
c8e26147
...
@@ -55,8 +55,7 @@ class AliyunQcService {
...
@@ -55,8 +55,7 @@ class AliyunQcService {
604
:
"⼯商部已受理"
,
604
:
"⼯商部已受理"
,
605
:
"⼯商部不予受理"
,
605
:
"⼯商部不予受理"
,
606
:
"⼯商部通过"
,
606
:
"⼯商部通过"
,
607
:
"⼯商部未通过"
,
607
:
"⼯商部未通过"
608
:
"用户驳回"
};
};
//(文网文状态2020-9-26)
//(文网文状态2020-9-26)
this
.
wangwenSolutionStatusReference
=
{
this
.
wangwenSolutionStatusReference
=
{
...
@@ -1035,13 +1034,14 @@ class AliyunQcService {
...
@@ -1035,13 +1034,14 @@ class AliyunQcService {
* (文网文)2020-9-26
* (文网文)2020-9-26
*/
*/
async
serviceSubmitOption
(
pobj
)
{
async
serviceSubmitOption
(
pobj
)
{
console
.
log
(
pobj
)
var
ab
=
pobj
.
actionBody
;
var
ab
=
pobj
.
actionBody
;
var
user
=
pobj
.
userInfo
;
var
user
=
pobj
.
userInfo
;
if
(
!
user
||
!
user
.
id
)
{
if
(
!
user
||
!
user
.
id
)
{
return
system
.
getResultFail
(
-
100
,
"未知用户"
);
return
system
.
getResultFail
(
-
100
,
"未知用户"
);
}
}
if
(
!
ab
.
solution
No
)
{
if
(
!
ab
.
channelNeed
No
)
{
return
system
.
getResultFail
(
-
101
,
"
方案
编号不能为空"
);
return
system
.
getResultFail
(
-
101
,
"
需求
编号不能为空"
);
}
}
if
(
!
ab
.
ApplicationStatus
)
{
if
(
!
ab
.
ApplicationStatus
)
{
return
system
.
getResultFail
(
-
102
,
"通知状态不能为空"
);
return
system
.
getResultFail
(
-
102
,
"通知状态不能为空"
);
...
@@ -1052,7 +1052,7 @@ class AliyunQcService {
...
@@ -1052,7 +1052,7 @@ class AliyunQcService {
//获取方案信息
//获取方案信息
var
needsolutioninfo
=
await
this
.
needsolutionDao
.
model
.
findOne
({
var
needsolutioninfo
=
await
this
.
needsolutionDao
.
model
.
findOne
({
attributes
:
[
"id"
,
"status"
,
"solutionContent"
,
"needNo"
],
attributes
:
[
"id"
,
"status"
,
"solutionContent"
,
"needNo"
],
where
:
{
solutionNo
:
ab
.
solution
No
},
raw
:
true
where
:
{
channelNeedNo
:
ab
.
channelNeed
No
},
raw
:
true
});
});
if
(
!
needsolutioninfo
||
!
needsolutioninfo
.
id
)
{
if
(
!
needsolutioninfo
||
!
needsolutioninfo
.
id
)
{
return
system
.
getResultFail
(
-
400
,
"未知方案"
);
return
system
.
getResultFail
(
-
400
,
"未知方案"
);
...
@@ -1250,6 +1250,11 @@ class AliyunQcService {
...
@@ -1250,6 +1250,11 @@ class AliyunQcService {
if
(
!
solution
.
companyLocation
)
{
if
(
!
solution
.
companyLocation
)
{
return
system
.
getResultFail
(
-
107
,
"区域不能为空"
);
return
system
.
getResultFail
(
-
107
,
"区域不能为空"
);
}
}
if
(
!
solution
.
solutionPrice
)
{
return
system
.
getResultFail
(
-
108
,
"办理价格不能为空"
);
}
else
{
solution
.
solutionPrice
=
solution
.
solutionPrice
/
100
;
}
var
solutionFlowList
=
ab
.
solutionContent
.
solutionFlowList
||
[];
var
solutionFlowList
=
ab
.
solutionContent
.
solutionFlowList
||
[];
solutionFlowList
.
push
({
solutionFlowList
.
push
({
status
:
"SOLUTION_SUBMIT"
,
statusName
:
this
.
wangwenSolutionStatusReference
.
SOLUTION_SUBMIT
,
updated_at
:
new
Date
()
status
:
"SOLUTION_SUBMIT"
,
statusName
:
this
.
wangwenSolutionStatusReference
.
SOLUTION_SUBMIT
,
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