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
874aa8a7
Commit
874aa8a7
authored
Feb 19, 2021
by
Sxy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 统计详情列表
parent
d6cb7bf6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
63 additions
and
0 deletions
+63
-0
center-manage/app/base/controller/impl/qifutong/statisticsCtl.js
+9
-0
center-manage/app/base/service/impl/qifutong/statisticsSve.js
+15
-0
center-manage/app/base/utils/qifutong/baseClient.js
+39
-0
No files found.
center-manage/app/base/controller/impl/qifutong/statisticsCtl.js
View file @
874aa8a7
...
...
@@ -101,6 +101,15 @@ class StatisticsCtl extends CtlBase {
}
}
async
getStatisticsList
(
pobj
,
qobj
,
req
)
{
try
{
const
rs
=
await
this
.
service
.
getStatisticsList
(
pobj
);
return
system
.
getResult
(
rs
);
}
catch
(
err
)
{
return
system
.
getResult
(
null
,
err
.
message
)
}
}
}
...
...
center-manage/app/base/service/impl/qifutong/statisticsSve.js
View file @
874aa8a7
...
...
@@ -193,5 +193,19 @@ class StatisticsService {
}
};
}
async
getStatisticsList
(
pobj
)
{
const
data
=
await
ToQiFuTong
.
getStatisticsList
({
start
:
pobj
.
start
,
end
:
pobj
.
end
,
uapp_id
:
pobj
.
uapp_id
,
type_code
:
pobj
.
type_code
,
pageIndex
:
pobj
.
pageNum
||
1
,
pageSize
:
pobj
.
pageSize
||
10
,
listType
:
pobj
.
listType
,
fuzzy_code
:
pobj
.
fuzzy_code
});
return
data
;
}
}
module
.
exports
=
StatisticsService
;
\ No newline at end of file
center-manage/app/base/utils/qifutong/baseClient.js
View file @
874aa8a7
...
...
@@ -155,6 +155,45 @@ class BaseClient {
return
data
;
}
async
getStatisticsList
(
pobj
)
{
let
url
;
let
query
;
switch
(
pobj
.
listType
)
{
case
"business"
:
delete
pobj
.
listType
;
url
=
'/web/action/opNeed/springBoard'
query
=
{
"actionType"
:
"getNeedComparisonList"
,
"actionBody"
:
{
...
pobj
,
tag
:
"need"
}
}
break
case
"businessToOrder"
:
delete
pobj
.
listType
;
url
=
'/web/action/opNeed/springBoard'
query
=
{
"actionType"
:
"getNeedComparisonList"
,
"actionBody"
:
{
...
pobj
,
tag
:
"needToOrder"
}
}
break
case
"order"
:
delete
pobj
.
listType
;
url
=
'/web/opaction/order/springBoard'
query
=
{
"actionType"
:
"getOrdersComparisonList"
,
"actionBody"
:
pobj
}
break
}
const
data
=
await
this
.
pushQiFuTong
(
url
,
query
);
return
data
;
}
// 获取一段时间内的所有日期
...
...
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