<file_sep>module.exports = {
  "errno": 0,
  "data": {
    "pageMark": "total",
    "showButton": false,
    "request": {
      "api": '/api/audit/total/data',
      "method": 'get',
      "apiParams": ['all']
    },
    "pageGoBackUrl": '',
    "tableList": [
      {
        "title": '用户上传信息',
        "type": 'table',
        "sectionKey": 'baseInfo',
        "needClearData": true,
        "needShowDownLoadButton": false,
        "showTableHeader": false,
        "table": {
          "columns": [
            {
              "title": '项',
              "key": 'label',
              "width": 150
            },
            {
              "title": '值',
              "key": 'value',
              "width": 'auto'
            }
          ]
        }
      },
      {
        "title": '用户案件描述',
        "type": 'table',
        "needShowDownLoadButton": false,
        "needClearData": true,
        "sectionKey": 'caseDes',
        "showTableHeader": false,
        "table": {
          "columns": [
            {
              "title": '项',
              "key": 'label',
              "width": 150
            },
            {
              "title": '值',
              "key": 'value',
              "width": 'auto'
            }
          ]
        }
      },
      {
        "title": '用户更多信息',
        "type": 'table',
        "needShowDownLoadButton": false,
        "needClearData": true,
        "sectionKey": 'moreInfo',
        "showTableHeader": false,
        "table": {
          "columns": [
            {
              "title": '项',
              "key": 'label',
              "width": 150
            },
            {
              "title": '值',
              "key": 'value',
              "width": 'auto'
            }
          ]
        }
      },
      {
        "title": '用户图片信息',
        "type": 'table',
        "needShowDownLoadButton": true,
        "needClearData": true,
        "sectionKey": 'uploadMaterial',
        "showTableHeader": false,
        "table": {
          "columns": [
            {
              "title": '项',
              "key": 'label',
              "width": 150
            },
            {
              "title": '图片列表',
              "slot": 'value',
              "width": 'auto',
              "formFields": [
                {
                  "type": 'List',
                  "model": 'value',
                  'cardWidth': '120px',
                  'cardHeight': '90px'
                }
              ]
            }
          ]
        }
      },
      {
        "title": '材料初审建议',
        "type": 'table',
        "needShowDownLoadButton": false,
        "needClearData": true,
        "sectionKey": 'firstComment',
        "showTableHeader": false,
        "table": {
          "columns": [
            {
              "title": '项',
              "key": 'label',
              "width": 150
            },
            {
              "title": '值',
              "key": 'value',
              "width": 'auto'
            }
          ]
        }
      },
      {
        "title": '材料复审建议',
        "type": 'table',
        "needShowDownLoadButton": false,
        "needClearData": true,
        "sectionKey": 'secondComment',
        "showTableHeader": false,
        "table": {
          "columns": [
            {
              "title": '项',
              "key": 'label',
              "width": 150
            },
            {
              "title": '值',
              "key": 'value',
              "width": 'auto'
            }
          ]
        }
      },
      {
        "title": '线下调查建议',
        "type": 'table',
        "needShowDownLoadButton": false,
        "needClearData": true,
        "sectionKey": 'offlineComment',
        "showTableHeader": false,
        "table": {
          "columns": [
            {
              "title": '项',
              "key": 'label',
              "width": 150
            },
            {
              "title": '值',
              "width": 'auto',
              "key": 'value',
            }
          ]
        }
      },
      {
        "title": '线下调查链接',
        "type": 'table',
        "needShowDownLoadButton": false,
        "needClearData": true,
        "sectionKey": 'offlineCommentLink',
        "showTableHeader": false,
        "table": {
          "columns": [
            {
              "title": '项',
              "key": 'label',
              "width": 150
            },
            {
              "title": '值',
              "width": 'auto',
              "slot": 'value',
              formFields: [
                {
                  type: 'Button',
                  model: 'value',
                  textModel: 'value',
                  subtype: 'text',
                  action: {
                    type: 'url',
                  }
                }
              ]
            }
          ]
        }
      },
      {
        "title": '材料终审建议',
        "type": 'table',
        "needShowDownLoadButton": false,
        "needClearData": true,
        "sectionKey": 'checkConsolusion',
        "showTableHeader": false,
        "table": {
          "columns": [
            {
              "title": '项',
              "key": 'label',
              "width": 150
            },
            {
              "title": '值',
              "key": 'value',
              "width": 'auto'
            }
          ]
        }
      }
    ]
  },
  "msg": "ok"
}
<file_sep>/**
 * @file 路径配置配置
 * @author wangbing11(<EMAIL>)
 */

import Main from "../components/layout/default";

const routersContext = require.context("../page/", true, /router\.js$/);
const routers = routersContext.keys().map(key => {
  return routersContext(key).default;
});

export default [
  {
    path: "/",
    redirect: "/home",
    component: Main,
    children: [...[].concat(...routers)]
  }
  // {
  //     path: '/401',
  //     name: 'error_401',
  //     meta: {
  //         hideInMenu: true
  //     },
  //     component: () => import('@/view/error-strategy/401.vue')
  // },
  // {
  //     path: '/500',
  //     name: 'error_500',
  //     meta: {
  //         hideInMenu: true
  //     },
  //     component: () => import('@/view/error-page/500.vue')
  // },
  // {
  //     path: '*',
  //     name: 'error_404',
  //     meta: {
  //         hideInMenu: true
  //     },
  //     component: () => import('@/view/error-page/404.vue')
  // }
];
