tableDataMock.js 1.79 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
import Mock from 'mockjs';

Mock.mock(`${process.env.VUE_APP_API_BASE_URL}/table`, 'post', () => ({
    data: {
        pageNum: 1,
        pageSize: 10,
        records: [
            {
                regionId: 1403455275008032,
                regionName: '陈浩玮',
                organizationId: 146,
                organizationName: '一级系统:巴基斯坦公司',
                remark: '123',
                editorId: 1,
                editorName: '管理员',
                editTime: '2021-03-16 22:20:25',
            },
            {
                regionId: 1403455136596000,
                regionName: '地点测试',
                organizationId: 212,
                organizationName: '吴国',
                remark: '123',
                editorId: 1,
                editorName: '管理员',
                editTime: '2021-03-16 22:19:19',
            },
            {
                regionId: 1400871246102560,
                regionName: '陈浩玮测试',
                organizationId: 212,
                organizationName: '吴国',
                remark: '321',
                editorId: 1,
                editorName: '管理员',
                editTime: '2021-03-02 16:04:25',
            },
            {
                regionId: 1396338094768160,
                regionName: '文件地区',
                organizationId: 208,
                organizationName: '扩普发展',
                remark: '123213123123213213223123123',
                editorId: 1,
                editorName: '管理员',
                editTime: '2021-03-02 15:37:11',
            },
        ],
        total: 4,
        size: 10,
        current: 1,
        pages: 1,
    },
    code: 'sys.success',
    message: null,
    traceId: '1805b654e82a4f2a8357d2f8922d9b19',
    meta: null,
}));