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;