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
ec726a99
Commit
ec726a99
authored
Mar 05, 2021
by
任晓松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
need
parent
dd6b4e48
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
center-channel/app/base/api/impl/action/opNeed.js
+3
-0
center-channel/app/base/service/impl/utilsSve/utilsOpNeedSve.js
+14
-0
No files found.
center-channel/app/base/api/impl/action/opNeed.js
View file @
ec726a99
...
@@ -60,6 +60,9 @@ class OpNeed extends APIBase {
...
@@ -60,6 +60,9 @@ class OpNeed extends APIBase {
case
"getStatisticsByProduct"
:
case
"getStatisticsByProduct"
:
opResult
=
await
this
.
utilsOpNeedSve
.
getStatisticsByProduct
(
pobj
);
opResult
=
await
this
.
utilsOpNeedSve
.
getStatisticsByProduct
(
pobj
);
break
;
break
;
case
"getNeedProductType"
:
opResult
=
await
this
.
utilsOpNeedSve
.
getNeedProductType
(
pobj
);
break
;
case
"getStatisticsByArea"
:
case
"getStatisticsByArea"
:
opResult
=
await
this
.
utilsOpNeedSve
.
getStatisticsByArea
(
pobj
);
opResult
=
await
this
.
utilsOpNeedSve
.
getStatisticsByArea
(
pobj
);
break
;
break
;
...
...
center-channel/app/base/service/impl/utilsSve/utilsOpNeedSve.js
View file @
ec726a99
...
@@ -407,6 +407,20 @@ class UtilsOpNeedService extends AppServiceBase {
...
@@ -407,6 +407,20 @@ class UtilsOpNeedService extends AppServiceBase {
}
}
/**
/**
* 获取需求 的产品类型
* @param pobj
* @returns {Promise<void>}
*/
async
getNeedProductType
(
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
* @param pobj
* @returns {Promise<void>}
* @returns {Promise<void>}
...
...
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