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
feb9a28e
Commit
feb9a28e
authored
Oct 18, 2020
by
兰国旗
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wangwen-test
parent
dd6028fb
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
4 deletions
+21
-4
center-order/app/base/api/impl/action/qcapi.js
+21
-4
center-order/app/base/service/impl/qcutils/aliyunqcSve.js
+0
-0
No files found.
center-order/app/base/api/impl/action/qcapi.js
View file @
feb9a28e
...
@@ -28,6 +28,7 @@ class QcAPI extends APIBase {
...
@@ -28,6 +28,7 @@ class QcAPI extends APIBase {
return
result
;
return
result
;
}
}
async
opActionProcess
(
pobj
,
action_type
,
req
)
{
async
opActionProcess
(
pobj
,
action_type
,
req
)
{
console
.
log
(
"pobj"
,
pobj
)
var
opResult
=
null
;
var
opResult
=
null
;
switch
(
action_type
)
{
switch
(
action_type
)
{
case
"receiveProgrammeNo"
:
//接收方案编号(方案推送至阿里后,接收保存方案信息)
case
"receiveProgrammeNo"
:
//接收方案编号(方案推送至阿里后,接收保存方案信息)
...
@@ -79,18 +80,34 @@ class QcAPI extends APIBase {
...
@@ -79,18 +80,34 @@ class QcAPI extends APIBase {
case
"receiveIcpConfirmUrl"
:
//前端关闭ICP需求及方案
case
"receiveIcpConfirmUrl"
:
//前端关闭ICP需求及方案
opResult
=
await
this
.
aliyunqcSve
.
receiveIcpConfirmUrl
(
pobj
);
opResult
=
await
this
.
aliyunqcSve
.
receiveIcpConfirmUrl
(
pobj
);
break
;
break
;
case
"serviceSubmitOption"
:
//服务商提交服务操作(文网文)2020-9-26
//-----------文网文-----------
case
"serviceSubmitOption"
:
//服务商提交服务操作
opResult
=
await
this
.
aliyunqcSve
.
serviceSubmitOption
(
pobj
);
opResult
=
await
this
.
aliyunqcSve
.
serviceSubmitOption
(
pobj
);
break
;
break
;
case
"submitWangwenSolution"
:
//提交方案
(文网文)2020-9-27
case
"submitWangwenSolution"
:
//提交方案
opResult
=
await
this
.
aliyunqcSve
.
submitWangwenSolution
(
pobj
);
opResult
=
await
this
.
aliyunqcSve
.
submitWangwenSolution
(
pobj
);
break
;
break
;
case
"closeNeed"
:
//关闭需求
(文网文)2020-9-28
case
"closeNeed"
:
//关闭需求
opResult
=
await
this
.
aliyunqcSve
.
closeNeed
(
pobj
);
opResult
=
await
this
.
aliyunqcSve
.
closeNeed
(
pobj
);
break
;
break
;
case
"recordLog"
:
//提交沟通记录
(文网文)2020-9-28
case
"recordLog"
:
//提交沟通记录
opResult
=
await
this
.
aliyunqcSve
.
recordLog
(
pobj
);
opResult
=
await
this
.
aliyunqcSve
.
recordLog
(
pobj
);
break
;
break
;
//-----------食品-----------
case
"foodServiceSubmitOption"
:
//服务商提交服务操作
opResult
=
await
this
.
aliyunqcSve
.
foodServiceSubmitOption
(
pobj
);
break
;
case
"submitFoodSolution"
:
//提交方案
opResult
=
await
this
.
aliyunqcSve
.
submitFoodSolution
(
pobj
);
break
;
case
"foodCloseNeed"
:
//关闭需求
opResult
=
await
this
.
aliyunqcSve
.
foodCloseNeed
(
pobj
);
break
;
case
"foodRecordLog"
:
//提交沟通记录
opResult
=
await
this
.
aliyunqcSve
.
foodRecordLog
(
pobj
);
break
;
default
:
default
:
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
break
;
break
;
...
...
center-order/app/base/service/impl/qcutils/aliyunqcSve.js
View file @
feb9a28e
This diff is collapsed.
Click to expand it.
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