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
7fd33c30
Commit
7fd33c30
authored
Jul 28, 2020
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ybh
parent
e94e2080
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
center-order/app/base/db/metadata/apps/platform.js
+1
-1
center-order/app/base/service/impl/qcutils/aliyunqcSve.js
+5
-7
No files found.
center-order/app/base/db/metadata/apps/platform.js
View file @
7fd33c30
...
@@ -73,7 +73,7 @@ module.exports = {
...
@@ -73,7 +73,7 @@ module.exports = {
"push_chance_type"
:
{
"wts"
:
"未推送"
,
"yts"
:
"已推送"
,
"ygj"
:
"已跟进"
,
"ycd"
:
"已成单"
,
"ygb"
:
"已关闭"
},
"push_chance_type"
:
{
"wts"
:
"未推送"
,
"yts"
:
"已推送"
,
"ygj"
:
"已跟进"
,
"ycd"
:
"已成单"
,
"ygb"
:
"已关闭"
},
"policy_type"
:
{
'fzbt'
:
'租金减免'
,
'jrdk'
:
'金融贷款'
,
'zdfc'
:
'行政措施'
,
'ssjm'
:
'税收优惠'
,
'rlzy'
:
'人力资源'
},
"policy_type"
:
{
'fzbt'
:
'租金减免'
,
'jrdk'
:
'金融贷款'
,
'zdfc'
:
'行政措施'
,
'ssjm'
:
'税收优惠'
,
'rlzy'
:
'人力资源'
},
"customer_intention"
:
{
"dgj"
:
"待跟进"
,
"yyx"
:
"有意向"
,
"wyx"
:
"无意向"
},
"customer_intention"
:
{
"dgj"
:
"待跟进"
,
"yyx"
:
"有意向"
,
"wyx"
:
"无意向"
},
"solution_status"
:
{
"dqr"
:
"待确认"
,
"ywc"
:
"已完成"
,
"yzf"
:
"已作废"
},
"solution_status"
:
{
"dqr"
:
"待确认"
,
"ybh"
:
"用户驳回"
,
"ywc"
:
"已完成"
,
"yzf"
:
"已作废"
},
},
},
}
}
...
...
center-order/app/base/service/impl/qcutils/aliyunqcSve.js
View file @
7fd33c30
...
@@ -415,7 +415,6 @@ class AliyunQcService{
...
@@ -415,7 +415,6 @@ class AliyunQcService{
status
:
"GXB_SUCCESS"
,
statusName
:
this
.
icpSolutionStatusReference
.
GXB_SUCCESS
,
updated_at
:
new
Date
()
status
:
"GXB_SUCCESS"
,
statusName
:
this
.
icpSolutionStatusReference
.
GXB_SUCCESS
,
updated_at
:
new
Date
()
});
});
needsolutioninfo
.
status
=
"ywc"
;
needsolutioninfo
.
status
=
"ywc"
;
needsolutioninfo
.
status
=
"ywc"
;
solutionContent
.
status
=
"GXB_SUCCESS"
;
solutionContent
.
status
=
"GXB_SUCCESS"
;
solutionContent
.
statusName
=
this
.
icpSolutionStatusReference
.
GXB_SUCCESS
;
solutionContent
.
statusName
=
this
.
icpSolutionStatusReference
.
GXB_SUCCESS
;
}
}
...
@@ -466,7 +465,7 @@ class AliyunQcService{
...
@@ -466,7 +465,7 @@ class AliyunQcService{
if
(
needinfo
.
status
==
"ycd"
||
needinfo
.
status
==
"ygb"
)
{
if
(
needinfo
.
status
==
"ycd"
||
needinfo
.
status
==
"ygb"
)
{
return
system
.
getResultFail
(
-
105
,
"该方案需求状态为"
+
needinfo
.
statusName
+
",不能执行此操作"
);
return
system
.
getResultFail
(
-
105
,
"该方案需求状态为"
+
needinfo
.
statusName
+
",不能执行此操作"
);
}
}
if
(
ns
.
status
!=
"dqr"
&&
ns
.
status
!=
"yzf"
)
{
if
(
ns
.
status
!=
"dqr"
&&
ns
.
status
!=
"yzf"
&&
ns
.
status
!=
"ybh"
)
{
return
system
.
getResultFail
(
-
103
,
"方案状态错误,不能作废已完成方案"
);
return
system
.
getResultFail
(
-
103
,
"方案状态错误,不能作废已完成方案"
);
}
}
var
solutionContent
=
ns
.
solutionContent
;
var
solutionContent
=
ns
.
solutionContent
;
...
@@ -531,9 +530,6 @@ class AliyunQcService{
...
@@ -531,9 +530,6 @@ class AliyunQcService{
if
(
ab
.
status
==
"11"
)
{
//⽅案已关闭
if
(
ab
.
status
==
"11"
)
{
//⽅案已关闭
updateObj
[
"status"
]
=
"yzf"
;
updateObj
[
"status"
]
=
"yzf"
;
}
}
// else if(ab.status == "2" || ab.status == "4"){ //2, "⽤户已上传" 4, "⽤户已确认"
// updateObj["status"]="dqr";
// }
await
this
.
needsolutionDao
.
update
(
updateObj
);
//方案状态修改
await
this
.
needsolutionDao
.
update
(
updateObj
);
//方案状态修改
ns
=
await
this
.
needsolutionDao
.
model
.
findOne
({
ns
=
await
this
.
needsolutionDao
.
model
.
findOne
({
where
:
{
channelSolutionNo
:
ab
.
BizId
},
raw
:
true
where
:
{
channelSolutionNo
:
ab
.
BizId
},
raw
:
true
...
@@ -576,9 +572,11 @@ class AliyunQcService{
...
@@ -576,9 +572,11 @@ class AliyunQcService{
var
solutionContent
=
ns
.
solutionContent
;
var
solutionContent
=
ns
.
solutionContent
;
solutionContent
.
customerRemark
=
ab
.
description
;
solutionContent
.
customerRemark
=
ab
.
description
;
solutionContent
.
needStatus
=
ab
.
intentionStatus
;
solutionContent
.
needStatus
=
ab
.
intentionStatus
;
if
(
ab
.
intentionStatus
==
1
||
ab
.
intentionStatus
==
2
||
ab
.
intentionStatus
==
3
)
{
if
(
ab
.
intentionStatus
==
1
){
updateObj
[
"status"
]
=
"ybh"
;
}
else
if
(
ab
.
intentionStatus
==
2
)
{
updateObj
[
"status"
]
=
"dqr"
;
updateObj
[
"status"
]
=
"dqr"
;
}
else
if
(
ab
.
intentionStatus
==
4
)
{
}
else
if
(
ab
.
intentionStatus
==
4
||
ab
.
intentionStatus
==
3
)
{
updateObj
[
"status"
]
=
"ywc"
;
updateObj
[
"status"
]
=
"ywc"
;
}
else
if
(
ab
.
intentionStatus
==
5
)
{
}
else
if
(
ab
.
intentionStatus
==
5
)
{
updateObj
[
"status"
]
=
"yzf"
;
updateObj
[
"status"
]
=
"yzf"
;
...
...
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