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 {