Browse Source

档案综合管理3

master
xuhuajiao 2 years ago
parent
commit
56646530a5
  1. 7
      src/views/archivesManage/archivesList/index.vue

7
src/views/archivesManage/archivesList/index.vue

@ -289,14 +289,14 @@ export default {
if ((selectData && selectData.length > 1) || (selectData && selectData.length === 0)) { if ((selectData && selectData.length > 1) || (selectData && selectData.length === 0)) {
this.isProject = true this.isProject = true
this.isAnjuan = true this.isAnjuan = true
this.$refs.anjuan.selections = []
this.$refs.file.selections = []
this.projectSelection = {} this.projectSelection = {}
this.$nextTick(() => { this.$nextTick(() => {
if (this.$refs.anjuan) { if (this.$refs.anjuan) {
this.$refs.anjuan.selections = []
this.$refs.anjuan.$refs.table.clearSelection() this.$refs.anjuan.$refs.table.clearSelection()
this.clearAnjuan() this.clearAnjuan()
if (this.$refs.file) { if (this.$refs.file) {
this.$refs.file.selections = []
this.$refs.file.$refs.table.clearSelection() this.$refs.file.$refs.table.clearSelection()
this.clearFile() this.clearFile()
} }
@ -340,10 +340,11 @@ export default {
} }
if ((selectData && selectData.length > 1) || (selectData && selectData.length === 0)) { if ((selectData && selectData.length > 1) || (selectData && selectData.length === 0)) {
this.isAnjuan = true this.isAnjuan = true
this.$refs.file.selections = []
this.anjuanSelection = {} this.anjuanSelection = {}
this.$nextTick(() => { this.$nextTick(() => {
if (this.$refs.file) { if (this.$refs.file) {
this.$refs.file.selections = []
this.$refs.file.$refs.table.clearSelection() this.$refs.file.$refs.table.clearSelection()
this.clearFile() this.clearFile()
} }

Loading…
Cancel
Save