From 956f7aef6c5e3f6cd3c9a6ad287613234610e8cb Mon Sep 17 00:00:00 2001 From: MO <448233645@qq.com> Date: Thu, 26 Oct 2023 16:56:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=A1=A3=E6=A1=88=E9=80=89?= =?UTF-8?q?=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/FileSelect/single.vue | 162 ++++++++++++++++++++++++ src/views/archives/turnOver/index.vue | 95 ++++++++------ src/views/fileAuth/authRecord/index.vue | 9 +- 3 files changed, 226 insertions(+), 40 deletions(-) create mode 100644 src/components/FileSelect/single.vue diff --git a/src/components/FileSelect/single.vue b/src/components/FileSelect/single.vue new file mode 100644 index 00000000..fa7c52db --- /dev/null +++ b/src/components/FileSelect/single.vue @@ -0,0 +1,162 @@ + + + diff --git a/src/views/archives/turnOver/index.vue b/src/views/archives/turnOver/index.vue index 0bb8da67..503f3094 100644 --- a/src/views/archives/turnOver/index.vue +++ b/src/views/archives/turnOver/index.vue @@ -185,6 +185,47 @@ append-to-body > + + + + + + + + + + + + + + + + @@ -253,45 +294,19 @@ - - - - - - - - - - - + + @@ -313,18 +328,12 @@ - + - + @@ -357,10 +366,11 @@ import { getOrganizationPage } from "@/api/setting/organization"; import { listUser } from "@/api/system/user"; import { createCodeRule } from "@/api/archives/record"; import { getSiteTree } from "@/api/setting/organization"; +import FileSelect from "@/components/FileSelect/single.vue"; export default { name: "TurnOver", - components: {}, + components: { FileSelect }, data() { return { propName: { @@ -642,6 +652,13 @@ export default { }) .catch(() => {}); }, + //选择档案 + handleFileSelect() { + this.$refs.FileSelect.showFlag = true; + }, + onFileSelected(obj) { + console.log(obj); + }, }, }; diff --git a/src/views/fileAuth/authRecord/index.vue b/src/views/fileAuth/authRecord/index.vue index a0b4560f..d73adb2f 100644 --- a/src/views/fileAuth/authRecord/index.vue +++ b/src/views/fileAuth/authRecord/index.vue @@ -47,7 +47,14 @@ - + + +