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
8bc5268c
Commit
8bc5268c
authored
Feb 18, 2021
by
任晓松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
展板 需求列表,订单列表
parent
e204a3bb
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
32 additions
and
1 deletions
+32
-1
center-channel/app/base/api/impl/action/opNeed.js
+3
-0
center-channel/app/base/api/impl/opaction/order.js
+3
-0
center-channel/app/base/service/impl/utilsSve/utilsOpNeedSve.js
+11
-0
center-channel/app/base/service/impl/utilsSve/utilsOrderSve.js
+14
-0
center-channel/app/config/businessConfig.js
+1
-1
No files found.
center-channel/app/base/api/impl/action/opNeed.js
View file @
8bc5268c
...
...
@@ -69,6 +69,9 @@ class OpNeed extends APIBase {
case
"getNeedComparison"
:
opResult
=
await
this
.
utilsOpNeedSve
.
getNeedComparison
(
pobj
);
break
;
case
"getNeedComparisonList"
:
opResult
=
await
this
.
utilsOpNeedSve
.
getNeedComparisonList
(
pobj
);
break
;
default
:
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
break
;
...
...
center-channel/app/base/api/impl/opaction/order.js
View file @
8bc5268c
...
...
@@ -44,6 +44,9 @@ class ProductAPI extends WEBBase {
case
"getOrdersComparison"
:
opResult
=
await
this
.
utilsOrderSve
.
getOrdersComparison
(
pobj
);
break
;
case
"getOrdersComparisonList"
:
opResult
=
await
this
.
utilsOrderSve
.
getOrdersComparisonList
(
pobj
);
break
;
case
"getOrderDetails"
:
//获取订单详情信息
opResult
=
await
this
.
utilsOrderSve
.
getOrderDetails
(
pobj
,
pobj
.
actionBody
);
break
;
...
...
center-channel/app/base/service/impl/utilsSve/utilsOpNeedSve.js
View file @
8bc5268c
...
...
@@ -461,6 +461,17 @@ class UtilsOpNeedService extends AppServiceBase {
return
system
.
getResultSuccess
(
reArr
);
}
/**
* 启服通 展板 需求列表
* @param pobj
* @returns {Promise<void>}
*/
async
getNeedComparisonList
(
pobj
){
let
url
=
this
.
centerOrderUrl
+
"action/opNeed/springBoard"
;
let
result
=
await
this
.
restPostUrl
(
pobj
,
url
);
return
result
;
}
urlSplit
(
url
)
{
var
arr
=
url
.
split
(
"?"
)[
1
];
//根据?跟个url
...
...
center-channel/app/base/service/impl/utilsSve/utilsOrderSve.js
View file @
8bc5268c
...
...
@@ -271,6 +271,20 @@ class UtilsOrderService extends AppServiceBase {
return
result
;
}
/**
* 启服通展板 订单列表
* @param pobj
* @returns {Promise<void>}
*/
async
getOrdersComparisonList
(
pobj
){
let
url
=
this
.
centerOrderUrl
+
"action/order/springBoard"
;
let
result
=
await
this
.
restPostUrl
(
pobj
,
url
);
if
(
result
.
status
!=
0
){
return
system
.
getResultFail
(
-
1
);
}
return
result
;
}
async
getOrderDetails
(
pobj
,
actionBody
)
{
var
reqUrl
=
this
.
centerOrderUrl
+
"action/order/springBoard"
;
var
result
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
...
...
center-channel/app/config/businessConfig.js
View file @
8bc5268c
...
...
@@ -17,7 +17,7 @@ module.exports = {
"ncSubmitMaterial"
,
"ncNotification"
,
"ncSubmitSolution"
,
"ncCloseNeed"
,
"ncClosePlan"
,
"rtSubmitMaterial"
,
"rtNotification"
,
"rtSubmitSolution"
,
"rtCloseNeed"
,
"rtClosePlan"
,
"getParamsFor360"
,
"addOrderWeb"
,
"getPayRecords"
,
"getLoginInfo"
,
"putUserMobileByVcode"
,
"putUserPwdByMobile"
,
"icpNotifyNew"
,
"getOrderStatisticsByUappId"
,
"getOrderStatisticsByProduct"
,
"getOrdersComparison"
,
"putUserPwdByMobile"
,
"icpNotifyNew"
,
"getOrderStatisticsByUappId"
,
"getOrderStatisticsByProduct"
,
"getOrdersComparison"
,
"getOrdersComparisonList"
,
//百度工商注册
"regGetInfoByChannelNeedNo"
,
"submitRegNeed"
,
"regFeedbackSubmit"
,
"regOrderStatus"
,
"regOrderClose"
,
"getSolutionByChannelOrderNo"
,
"regSubmitSolution"
,
"regNeedClose"
,
...
...
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