From 454888d0ab89466e3c55cda16d1c425b5ad2278c Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Tue, 23 Aug 2022 13:43:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A1=A3=E6=A1=88=E7=AE=A1=E7=90=86-=E5=8D=B7?= =?UTF-8?q?=E5=86=85=E6=96=B0=E5=A2=9Ebug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/archivesManage/archivesList/index.vue | 3 +++ src/views/archivesManage/archivesList/mixins/archives.js | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/views/archivesManage/archivesList/index.vue b/src/views/archivesManage/archivesList/index.vue index 092c525..e2880eb 100644 --- a/src/views/archivesManage/archivesList/index.vue +++ b/src/views/archivesManage/archivesList/index.vue @@ -395,6 +395,9 @@ export default { }, // 获取档案list handleTableList() { + // 门类菜单切换时案卷/卷内'新增'btn不可操作 + this.isProject = true + this.isAnjuan = true if (this.selectedCategory.isType === 2) { this.$nextTick(() => { if (this.$refs.anjuan) { diff --git a/src/views/archivesManage/archivesList/mixins/archives.js b/src/views/archivesManage/archivesList/mixins/archives.js index eb7bb54..f586ae1 100644 --- a/src/views/archivesManage/archivesList/mixins/archives.js +++ b/src/views/archivesManage/archivesList/mixins/archives.js @@ -232,10 +232,10 @@ export const archivesCrud = { this.formPreviewData = data.showFiled this.$nextTick(() => { if (type === 'edit') { - this.$refs.previewForm.isType = 'arcives' this.$refs.previewForm.addOrUpdateForm = data.echo - this.$refs.previewForm.FetchNoFormatField(this.categoryId) } + this.$refs.previewForm.isType = 'arcives' + this.$refs.previewForm.FetchNoFormatField(this.categoryId) }) }) },