From 643fddd6de2079f4a3e490cb3df207e1ab2e88be Mon Sep 17 00:00:00 2001 From: xy <271556543@qq.com> Date: Mon, 7 Aug 2023 15:45:34 +0800 Subject: [PATCH] 2023-8-7 --- src/router/index.js | 5 + src/views/reception/detail/index.vue | 213 +++++++++++++++++++++++++++ src/views/reception/index.vue | 1 - src/views/reception/list1/index.vue | 21 ++- 4 files changed, 234 insertions(+), 6 deletions(-) create mode 100644 src/views/reception/detail/index.vue diff --git a/src/router/index.js b/src/router/index.js index 83e8e09..20eaeb6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -80,6 +80,11 @@ export const constantRoutes = [ path: 'list1', component: () => import('@/views/reception/list1'), meta: { title: '内部质量保证体系资料汇编'} + }, + { + path: 'detail/:id', + component: () => import('@/views/reception/detail'), + meta: { title: '文件详情' } } ], hidden: true diff --git a/src/views/reception/detail/index.vue b/src/views/reception/detail/index.vue new file mode 100644 index 0000000..7a1bab3 --- /dev/null +++ b/src/views/reception/detail/index.vue @@ -0,0 +1,213 @@ + + + + + diff --git a/src/views/reception/index.vue b/src/views/reception/index.vue index 1f5a7bb..23aaf39 100644 --- a/src/views/reception/index.vue +++ b/src/views/reception/index.vue @@ -36,7 +36,6 @@ export default { methods: {}, computed: {}, mounted() { - console.log(111,this.$route) } } diff --git a/src/views/reception/list1/index.vue b/src/views/reception/list1/index.vue index 2948870..efda741 100644 --- a/src/views/reception/list1/index.vue +++ b/src/views/reception/list1/index.vue @@ -17,7 +17,7 @@ variant="text" style="height: 36px; margin-right: 40px" > -
预览
+
文件预览
@@ -36,12 +36,13 @@
{{ $moment(new Date(i.created_at)).format("YYYY-MM-DD") }}
+
查看
-
预览
+
文件预览