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
3f9c415b
Commit
3f9c415b
authored
Jan 11, 2021
by
任晓松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
需求、订单对比
parent
f6c0281c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
36 additions
and
2 deletions
+36
-2
center-channel/app/base/api/impl/action/opNeed.js
+3
-0
center-channel/app/base/api/impl/opaction/order.js
+4
-1
center-channel/app/base/service/impl/utilsSve/utilsOpNeedSve.js
+14
-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 @
3f9c415b
...
...
@@ -66,6 +66,9 @@ class OpNeed extends APIBase {
case
"getNeedFunnelStatistics"
:
opResult
=
await
this
.
utilsOpNeedSve
.
getNeedFunnelStatistics
(
pobj
);
break
;
case
"getNeedComparison"
:
opResult
=
await
this
.
utilsOpNeedSve
.
getNeedComparison
(
pobj
);
break
;
default
:
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
break
;
...
...
center-channel/app/base/api/impl/opaction/order.js
View file @
3f9c415b
...
...
@@ -39,7 +39,10 @@ class ProductAPI extends WEBBase {
opResult
=
await
this
.
utilsOrderSve
.
getOrdersStatisticsByUappId
(
pobj
);
break
;
case
"getOrderStatisticsByProduct"
:
opResult
=
await
this
.
utilsOrderSve
.
getOrdersStatisticsByProduct
(
pobj
);
opResult
=
await
this
.
utilsOrderSve
.
getOrdersComparison
(
pobj
);
break
;
case
"getOrdersComparison"
:
opResult
=
await
this
.
utilsOrderSve
.
getOrdersComparison
(
pobj
);
break
;
case
"getOrderDetails"
:
//获取订单详情信息
opResult
=
await
this
.
utilsOrderSve
.
getOrderDetails
(
pobj
,
pobj
.
actionBody
);
...
...
center-channel/app/base/service/impl/utilsSve/utilsOpNeedSve.js
View file @
3f9c415b
...
...
@@ -406,6 +406,20 @@ class UtilsOpNeedService extends AppServiceBase {
}
/**
* 需求量对比
* @param pobj
* @returns {Promise<void>}
*/
async
getNeedComparison
(
pobj
){
let
url
=
this
.
centerOrderUrl
+
"action/opNeed/springBoard"
;
let
result
=
await
this
.
restPostUrl
(
pobj
,
url
);
if
(
result
.
status
!=
0
){
return
system
.
getResultFail
(
-
1
);
}
return
result
;
}
/**
* 需求统计(地区维度)
* @param pobj
* @returns {Promise<void>}
...
...
center-channel/app/base/service/impl/utilsSve/utilsOrderSve.js
View file @
3f9c415b
...
...
@@ -256,6 +256,20 @@ class UtilsOrderService extends AppServiceBase {
return
system
.
getResultSuccess
(
reArr
);
}
/**
* 订单数量对比
* @param pobj
* @returns {Promise<void>}
*/
async
getOrdersComparison
(
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 @
3f9c415b
...
...
@@ -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"
,
"putUserPwdByMobile"
,
"icpNotifyNew"
,
"getOrderStatisticsByUappId"
,
"getOrderStatisticsByProduct"
,
"getOrdersComparison"
,
//百度工商注册
"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