Commit a64981db7ba7cf03991f28cb4c00cf9d64347472
1 parent
7a73609b
档案上架及下架
Showing
1 changed file
with
4 additions
and
3 deletions
ruoyi-ui/src/views/archives/box/shelveindex.vue
| @@ -96,15 +96,16 @@ export default { | @@ -96,15 +96,16 @@ export default { | ||
| 96 | arr.forEach(k=>{ | 96 | arr.forEach(k=>{ |
| 97 | this.$refs.tree.setChecked(k,false,false); | 97 | this.$refs.tree.setChecked(k,false,false); |
| 98 | }) | 98 | }) |
| 99 | + this.queryParams.deportNodeId=undefined; | ||
| 99 | }, | 100 | }, |
| 100 | getList() { | 101 | getList() { |
| 101 | this.loading = true; | 102 | this.loading = true; |
| 103 | + if(this.shelveType==2 && this.queryParams.deportNodeId==undefined){ | ||
| 104 | + this.queryParams.deportNodeId='isNotNull' | ||
| 105 | + } | ||
| 102 | if(this.shelveType==1){ | 106 | if(this.shelveType==1){ |
| 103 | this.queryParams.deportNodeId='isNull' | 107 | this.queryParams.deportNodeId='isNull' |
| 104 | } | 108 | } |
| 105 | - else if(this.shelveType==2 && this.queryParams.deportNodeId==undefined){ | ||
| 106 | - this.queryParams.deportNodeId='isNotNull' | ||
| 107 | - } | ||
| 108 | listByIds(this.queryParams,this.ids).then(response => { | 109 | listByIds(this.queryParams,this.ids).then(response => { |
| 109 | this.list = response.rows; | 110 | this.list = response.rows; |
| 110 | this.loading = false; | 111 | this.loading = false; |