diff --git a/src/router/index.js b/src/router/index.js index 6dced1b..a005d8d 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -100,6 +100,12 @@ export const constantRoutes = [ hidden: true, component: () => import('@/views/map/index') } + // { + // path: '/accident/records', + // name: 'apiAccidentRecords', + // meta: { name: '事故调查' }, + // component: () => import('@/views/accident/records/index.vue') + // } ] const createRouter = () => new Router({ // mode: 'history', // require service support diff --git a/src/views/accident/records/components/addOrEdit.vue b/src/views/accident/records/components/addOrEdit.vue new file mode 100644 index 0000000..9b3f0c1 --- /dev/null +++ b/src/views/accident/records/components/addOrEdit.vue @@ -0,0 +1,384 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 返回 + + 确 定 + + + + + + + diff --git a/src/views/accident/records/components/list.vue b/src/views/accident/records/components/list.vue new file mode 100644 index 0000000..b2e52e8 --- /dev/null +++ b/src/views/accident/records/components/list.vue @@ -0,0 +1,338 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 查询 + 重置 + + + + + + + + 新增 + 全部导出 + 批量删除 + + + + + + + + + + + + + + {{ formatDate(row.incidentDate,'YYYY-MM-DD HH:mm:ss') }} + + + + + + 查看 + 修改 + 删除 + + + + + + + + + + + + + + + diff --git a/src/views/accident/records/index.vue b/src/views/accident/records/index.vue new file mode 100644 index 0000000..33eb176 --- /dev/null +++ b/src/views/accident/records/index.vue @@ -0,0 +1,37 @@ + + + + + + + + + +