Commit 42787042 by wangren

report前端功能完善

parent 5745c00b
...@@ -3,3 +3,11 @@ import Api from "~/service/Api" ...@@ -3,3 +3,11 @@ import Api from "~/service/Api"
export function all(data) { export function all(data) {
return Api.post("/report/task/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
...@@ -48,7 +48,8 @@ ...@@ -48,7 +48,8 @@
<script> <script>
import CellHeaderVue from "./common/CellHeader.vue"; import CellHeaderVue from "./common/CellHeader.vue";
import { all } from "~/service/report"; import { all,my,ins } from "~/service/report";
export default { export default {
name: "TaskStatistics", name: "TaskStatistics",
...@@ -86,6 +87,12 @@ export default { ...@@ -86,6 +87,12 @@ export default {
created() { created() {
all().then(res => { all().then(res => {
console.log(res); console.log(res);
}),
my().then(res =>{
console.log(res);
}),
ins().then(res =>{
console.log(res);
}) })
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment