Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
motorCity
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
node_server
motorCity
Commits
76736cca
Commit
76736cca
authored
Aug 10, 2022
by
孙香冬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
aeae7865
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
interfaceService.ts
src/data/interface/interfaceService.ts
+2
-2
No files found.
src/data/interface/interfaceService.ts
View file @
76736cca
import
moment
=
require
(
"moment"
)
import
{
get
}
from
"../../util/request"
;
let
月里程数据
:
any
=
[
{
key
:
"2021.01"
,
count
:
"31km"
,
autoCount
:
"45km"
},
{
key
:
"2021.02"
,
count
:
"42km"
,
autoCount
:
"75km"
},
{
key
:
"2020.02"
,
count
:
"42km"
,
autoCount
:
"75km"
},
{
key
:
"2022.08"
,
count
:
"42km"
,
autoCount
:
"75km"
}
];
//格式 [{key:"日期 格式是 2021.1", count:"测试里程", autoCount:"功能测试里程"}]
// {key:"2021.01", count:"31km", autoCount:"45km"}, {key:"2021.02", count:"42km", autoCount:"75km"}, {key:"2020.02", count:"42km", autoCount:"75km"}, {key:"2022.08", count:"42km", autoCount:"75km"}
let
月里程数据
:
any
=
[];
//格式 [{key:"日期 格式是 2021.1", count:"测试里程", autoCount:"功能测试里程"}]
let
企业日里程数据
=
{};
//格式 {"企业名称":{count:"测试里程", autoCount:"功能测试里程"} }
let
lastMonths
=
""
;
...
...
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