forked from lin-xin/vue-manage-system
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
linxin
committed
Nov 1, 2019
1 parent
3cfc703
commit c5c018a
Showing
10 changed files
with
432 additions
and
312 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"list": [{ | ||
"id": 1, | ||
"name": "张三", | ||
"money": 123, | ||
"address": "广东省东莞市长安镇", | ||
"state": "成功", | ||
"date": "2019-11-1", | ||
"thumb": "https://lin-xin.gitee.io/images/post/wms.png" | ||
}, | ||
{ | ||
"id": 2, | ||
"name": "李四", | ||
"money": 456, | ||
"address": "广东省广州市白云区", | ||
"state": "成功", | ||
"date": "2019-10-11", | ||
"thumb": "https://lin-xin.gitee.io/images/post/node3.png" | ||
}, | ||
{ | ||
"id": 3, | ||
"name": "王五", | ||
"money": 789, | ||
"address": "湖南省长沙市", | ||
"state": "失败", | ||
"date": "2019-11-11", | ||
"thumb": "https://lin-xin.gitee.io/images/post/parcel.png" | ||
}, | ||
{ | ||
"id": 4, | ||
"name": "赵六", | ||
"money": 1011, | ||
"address": "福建省厦门市鼓浪屿", | ||
"state": "成功", | ||
"date": "2019-10-20", | ||
"thumb": "https://lin-xin.gitee.io/images/post/notice.png" | ||
} | ||
], | ||
"pageTotal": 4 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import request from '../utils/request'; | ||
|
||
export const fetchData = (query) => { | ||
export const fetchData = query => { | ||
return request({ | ||
url: '/ms/table/list', | ||
method: 'post', | ||
data: query | ||
}) | ||
} | ||
url: './table.json', | ||
method: 'get', | ||
params: query | ||
}); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.