From 8eefb7555a1fc0d6b97ece5aa5861f826a3196e6 Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Mon, 4 Jul 2022 17:42:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A1=A3=E6=A1=88=E8=A3=85=E7=9B=92/=E5=88=86?= =?UTF-8?q?=E5=8D=B7=E8=A3=85=E7=9B=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 +- .../module/archivesAnjuan/index.vue | 44 +-- .../module/archivesJuannei/index.vue | 22 +- .../module/archivesProject/index.vue | 22 +- .../archivesList/module/packing/index.vue | 257 +++++++++++++++--- 5 files changed, 267 insertions(+), 81 deletions(-) diff --git a/README.md b/README.md index 1872528..ccf2578 100644 --- a/README.md +++ b/README.md @@ -35,9 +35,10 @@ │ │ ├── category # 门类管理 │ │ ├── components # views内页面组件 │ │ │ ├── field # 字段管理组件 +│ │ │ ├── category # 门类管理 │ │ ├── dashboard # 首页面板内容 │ │ ├── features # 错误页面 -│ │ ├── storeManage # 权限管理 +│ │ ├── storeManage # 库房管理 │ │ ├── system # 权限管理 │ │ │ ├── dept # 部门管理 │ │ │ ├── job # 岗位管理 diff --git a/src/views/archivesManage/archivesList/module/archivesAnjuan/index.vue b/src/views/archivesManage/archivesList/module/archivesAnjuan/index.vue index 35fa10d..3b7756e 100644 --- a/src/views/archivesManage/archivesList/module/archivesAnjuan/index.vue +++ b/src/views/archivesManage/archivesList/module/archivesAnjuan/index.vue @@ -43,9 +43,9 @@
- 装盒 + 装盒 - 分卷装盒 + 分卷装盒 借阅 @@ -392,6 +392,7 @@ export default { }, // list getTableList(page) { + this.selections = [] switch (this.anjuanInputSelect) { case 'queryTitle': // 题名 this.query.queryTitle = this.anjuanQuery[this.anjuanInputSelect] @@ -546,24 +547,19 @@ export default { if (!this.recycleMain.isRecycle) { del(params).then(res => { this.crud.delAllLoading = false - this.$notify({ - title: '删除成功', - type: 'success', - duration: 2500 - }) + this.$message.success('删除成功!') this.selections = [] + debugger this.getTableList() + this.crud.refresh() }) } else { FetchCompletelyDelete(params).then(res => { this.crud.delAllLoading = false - this.$notify({ - title: '删除成功', - type: 'success', - duration: 2500 - }) + this.$message.success('删除成功!') this.selections = [] this.getTableList() + this.crud.refresh() }) } }, @@ -603,14 +599,11 @@ export default { 'categoryId': this.categoryId } FetchReduction(params).then(data => { - this.$notify({ - title: '还原成功', - type: 'success', - duration: 2500 - }) + this.$message.success('还原成功!') this.selections = [] this.getTableList() this.restoreVisible = false + this.crud.refresh() }) }, // 绑定 @@ -625,8 +618,22 @@ export default { } }, // 装盒 - handlePacking(data) { + handlePacking(data, type) { + if (this.selectedCategory.isType !== 5) { + if (data[0].children_num === 0) { + this.$message.error('当前选中的档案无相关卷内文件,不可装盒!') + return + } + } + if (data[0].case_no) { + this.$message.error('当前档案已装盒,请勿重复操作!') + return + } this.$refs.packing.packingVisible = true + this.$refs.packing.isPackingOrPartType = type + if (type) { + this.$refs.packing.archivesTable = this.recycleMain.$refs.file.junneiData + } this.getTotalSumAll() }, // 分卷装盒 @@ -639,7 +646,6 @@ export default {