From fc48e1d6c768af96890770020d5c4bd9812014e8 Mon Sep 17 00:00:00 2001 From: MO <448233645@qq.com> Date: Fri, 13 Oct 2023 17:14:03 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/archives/prefile/index.vue | 3 +- src/views/archives/record/index.vue | 65 +++------------------------- 2 files changed, 7 insertions(+), 61 deletions(-) diff --git a/src/views/archives/prefile/index.vue b/src/views/archives/prefile/index.vue index 0db53b44..48062341 100644 --- a/src/views/archives/prefile/index.vue +++ b/src/views/archives/prefile/index.vue @@ -52,6 +52,7 @@ icon="el-icon-plus" size="mini" :disabled="multiple" + v-hasPermi="['archives:prefile:file']" @click="handleFile" >归档 @@ -1048,7 +1049,6 @@ export default { id: undefined, companyId: undefined, company: undefined, - frequency: undefined, fileType: undefined, year: undefined, period: undefined, @@ -1154,6 +1154,7 @@ export default { return; } // 添加的提交 + this.form.fileType = this.fileType; createRecord(this.form).then((response) => { this.fileData = response.data; this.handlePushFile(); diff --git a/src/views/archives/record/index.vue b/src/views/archives/record/index.vue index fc724ad6..a120b2a1 100644 --- a/src/views/archives/record/index.vue +++ b/src/views/archives/record/index.vue @@ -56,7 +56,7 @@ - + 导出 - - 归档 - - - - - - - - + - - @@ -366,15 +334,7 @@ --> - - - + { - this.getList(); - this.$modal.msgSuccess("归档成功"); - }) - .catch(() => {}); - }, /** 删除按钮操作 */ handleDelete(row) { const id = row.id;