Commit a64981db7ba7cf03991f28cb4c00cf9d64347472

Authored by yiming
1 parent 7a73609b

档案上架及下架

ruoyi-ui/src/views/archives/box/shelveindex.vue
... ... @@ -96,15 +96,16 @@ export default {
96 96 arr.forEach(k=>{
97 97 this.$refs.tree.setChecked(k,false,false);
98 98 })
  99 + this.queryParams.deportNodeId=undefined;
99 100 },
100 101 getList() {
101 102 this.loading = true;
  103 + if(this.shelveType==2 && this.queryParams.deportNodeId==undefined){
  104 + this.queryParams.deportNodeId='isNotNull'
  105 + }
102 106 if(this.shelveType==1){
103 107 this.queryParams.deportNodeId='isNull'
104 108 }
105   - else if(this.shelveType==2 && this.queryParams.deportNodeId==undefined){
106   - this.queryParams.deportNodeId='isNotNull'
107   - }
108 109 listByIds(this.queryParams,this.ids).then(response => {
109 110 this.list = response.rows;
110 111 this.loading = false;
... ...