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
19becc32
Commit
19becc32
authored
Mar 25, 2020
by
王昆
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'xgg-admin' of gitlab.gongsibao.com:jiangyong/zhichan into xgg-admin
parents
990a76da
50b043a3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
xgg-admin/app/base/controller/impl/index/managerCtl.js
+2
-2
xgg-admin/app/base/service/impl/order/orderSve.js
+8
-2
No files found.
xgg-admin/app/base/controller/impl/index/managerCtl.js
View file @
19becc32
...
...
@@ -64,7 +64,7 @@ class ManagerCtl extends CtlBase {
}
// 数据简报
// 数据简报
(本月交易数据)
async
statTransData
(
params
)
{
if
(
!
params
.
current_date
){
let
nowTime
=
new
Date
();
...
...
@@ -96,7 +96,7 @@ class ManagerCtl extends CtlBase {
}
}
//交付商统计
//交付商统计
(本月交付商业务概览)
async
statDeliverData
(
params
)
{
if
(
!
params
.
current_date
){
let
nowTime
=
new
Date
();
...
...
xgg-admin/app/base/service/impl/order/orderSve.js
View file @
19becc32
...
...
@@ -208,7 +208,7 @@ class OrderService extends ServiceBase {
await
this
.
pushapiSve
.
push
(
options
);
}
// 数据简报
// 数据简报
(本月交易数据)
async
statTransData
(
params
)
{
if
(
!
params
.
current_date
)
{
return
system
.
getResult
(
null
,
`参数错误 当前时间不能为空`
);
...
...
@@ -239,7 +239,13 @@ class OrderService extends ServiceBase {
return
system
.
getResult
(
null
,
`参数错误 当前时间不能为空`
);
}
try
{
return
await
this
.
callms
(
"order"
,
"statDeliverData"
,
params
);
let
res
=
await
this
.
callms
(
"order"
,
"statDeliverData"
,
params
);
if
(
res
.
status
==
0
&&
res
.
data
&&
res
.
data
.
length
>
0
){
for
(
let
item
of
res
.
data
){
item
.
serivce_price
=
system
.
f2y
(
item
.
serivce_price
);
}
}
return
res
;
}
catch
(
error
)
{
console
.
log
(
error
);
return
system
.
getResult
(
null
,
`系统错误 错误信息
${
error
}
`
);
...
...
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