Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
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
zhouqian
vue-gjjs
Commits
42787042
Commit
42787042
authored
Apr 19, 2022
by
wangren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
report前端功能完善
parent
5745c00b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletions
+17
-1
index.js
src/service/report/index.js
+9
-0
TaskStatistics.vue
src/views/Home/cells/TaskStatistics.vue
+8
-1
No files found.
src/service/report/index.js
View file @
42787042
...
...
@@ -2,4 +2,12 @@ import Api from "~/service/Api"
export
function
all
(
data
)
{
return
Api
.
post
(
"/report/task/all"
,
data
)
}
export
function
my
(
data
)
{
return
Api
.
post
(
"/report/task/my"
,
data
)
}
export
function
ins
(
data
)
{
return
Api
.
post
(
"/report/task/ins"
,
data
)
}
\ No newline at end of file
src/views/Home/cells/TaskStatistics.vue
View file @
42787042
...
...
@@ -48,7 +48,8 @@
<
script
>
import
CellHeaderVue
from
"./common/CellHeader.vue"
;
import
{
all
}
from
"~/service/report"
;
import
{
all
,
my
,
ins
}
from
"~/service/report"
;
export
default
{
name
:
"TaskStatistics"
,
...
...
@@ -86,6 +87,12 @@ export default {
created
()
{
all
().
then
(
res
=>
{
console
.
log
(
res
);
}),
my
().
then
(
res
=>
{
console
.
log
(
res
);
}),
ins
().
then
(
res
=>
{
console
.
log
(
res
);
})
}
};
...
...
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