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
d21b90dd
Commit
d21b90dd
authored
Sep 28, 2020
by
linboxuan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'center-channel' of
http://gitlab.gongsibao.com/jiangyong/zhichan
into center-channel
parents
1f898bae
e6f48b84
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
6 deletions
+50
-6
center-channel/app/base/api/impl/action/qcapi.js
+8
-3
center-channel/app/base/service/impl/common/qcCenterOrderSve.js
+42
-3
No files found.
center-channel/app/base/api/impl/action/qcapi.js
View file @
d21b90dd
...
...
@@ -23,7 +23,7 @@ class QcAPI extends APIBase {
var
opResult
=
null
;
switch
(
action_type
)
{
case
"getNeedSolutionDetailByUser"
:
//获取方案详情
opResult
=
await
this
.
centerorderSve
.
reqCenterOrderApi
(
pobj
,
"action/qcapi/springBoard"
);
opResult
=
await
this
.
centerorderSve
.
reqCenterOrderApi
(
pobj
,
"action/qcapi/springBoard"
);
break
;
case
"submitIcpProgramme"
:
//icp方案提交
opResult
=
await
this
.
centerorderSve
.
submitIcpProgramme
(
pobj
);
...
...
@@ -41,9 +41,8 @@ class QcAPI extends APIBase {
opResult
=
await
this
.
centerorderSve
.
abolishIcpProgramme
(
pobj
);
break
;
case
"getProgrammeInfoByChannelNeedNo"
:
//获取需求方案列表
opResult
=
await
this
.
centerorderSve
.
reqCenterOrderApi
(
pobj
,
"action/qcapi/springBoard"
);
opResult
=
await
this
.
centerorderSve
.
reqCenterOrderApi
(
pobj
,
"action/qcapi/springBoard"
);
break
;
case
"serviceProviderSubmitMaterial"
:
//交付商提交材料信息
opResult
=
await
this
.
centerorderSve
.
serviceProviderSubmitMaterial
(
pobj
);
break
;
...
...
@@ -53,6 +52,12 @@ class QcAPI extends APIBase {
case
"closeOrderDelivery"
:
//交付商关闭交付单
opResult
=
await
this
.
centerorderSve
.
closeOrderDelivery
(
pobj
);
break
;
case
"serviceSubmitOption"
:
//服务商提交服务操作(文网文)2020-9-26
opResult
=
await
this
.
centerorderSve
.
serviceSubmitOption
(
pobj
);
break
;
case
"submitWangwenSolution"
:
//提交方案(文网文)2020-9-26
opResult
=
await
this
.
centerorderSve
.
submitWangwenSolution
(
pobj
);
break
;
default
:
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
break
;
...
...
center-channel/app/base/service/impl/common/qcCenterOrderSve.js
View file @
d21b90dd
...
...
@@ -77,13 +77,13 @@ class QcCenterOrderService extends AppServiceBase {
requestId
:
pobj
.
requestId
||
""
,
op
:
"service/impl/common/qcCenterOrderSve.js/submitIcpProgramme"
,
content
:
JSON
.
stringify
(
pobj
),
resultInfo
:
JSON
.
stringify
(
needinfo
),
optitle
:
"createSolution推送蜂擎获取的接口信息->aliBusiness2Delivery"
,
resultInfo
:
JSON
.
stringify
(
needinfo
),
optitle
:
"createSolution推送蜂擎获取的接口信息->aliBusiness2Delivery"
,
});
var
reqParams
=
{
actionBody
:
{
intentionBizId
:
needinfo
.
channelNeedNo
,
status
:
"createSolution"
status
:
"createSolution"
},
appInfo
:
pobj
.
appInfo
}
...
...
@@ -219,5 +219,43 @@ class QcCenterOrderService extends AppServiceBase {
}
return
res
;
}
//服务商提交服务操作(文网文)2020-9-26
async
serviceSubmitOption
(
pobj
)
{
console
.
log
(
'sssssssss'
,
pobj
)
var
res
=
await
this
.
reqCenterOrderApi
(
pobj
,
"action/qcapi/springBoard"
);
if
(
res
&&
res
.
status
==
0
&&
res
.
data
)
{
//推送数据至阿里
var
pushObj
=
{
BizId
:
res
.
data
.
solutionNo
,
BizType
:
res
.
data
.
channelTpye
,
OperateType
:
res
.
data
.
ApplicationStatus
};
//推送状态变更
this
.
aliclient
.
reqbyget
({
action
:
"OperateProduceForPartner"
,
reqbody
:
pushObj
,
apiVersion
:
"2019-03-06"
});
return
system
.
getResultSuccess
();
}
return
res
;
}
//提交方案(文网文)2020-9-27
async
submitWangwenSolution
(
pobj
)
{
var
res
=
await
this
.
reqCenterOrderApi
(
pobj
,
"action/qcapi/springBoard"
);
if
(
res
&&
res
.
status
==
0
&&
res
.
data
)
{
//推送数据至阿里
var
pushObj
=
{
CompanyName
:
res
.
data
.
CompanyName
,
licenseType
:
res
.
data
.
licenseType
,
actionType
:
res
.
data
.
actionType
,
companyLocation
:
res
.
data
.
Area
,
channelTypeCode
:
res
.
data
.
channelTypeCode
,
source
:
res
.
data
.
source
};
//推送状态变更
this
.
aliclient
.
reqbyget
({
action
:
"SubmitSolution"
,
reqbody
:
pushObj
,
apiVersion
:
"2019-03-06"
});
return
system
.
getResultSuccess
();
}
return
res
;
}
}
module
.
exports
=
QcCenterOrderService
;
\ No newline at end of file
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