no message
							parent
							
								
									d2db965e70
								
							
						
					
					
						commit
						705d82ba4f
					
				| 
						 | 
					@ -204,26 +204,8 @@ export default {
 | 
				
			||||||
          this.showcolumn();
 | 
					          this.showcolumn();
 | 
				
			||||||
        }, 200)
 | 
					        }, 200)
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 | 
					 | 
				
			||||||
      //vm.owner.store.commit('insertColumn', columnConfig, newIndex+myindex + 1 , null)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    showcolumn() {
 | 
					    showcolumn() {
 | 
				
			||||||
      /*      const strHidden = sessionStorage.getItem(this.tableKey)
 | 
					 | 
				
			||||||
            this.hiddenColumns = JSON.parse(strHidden);
 | 
					 | 
				
			||||||
            const table = this.crud.props.table
 | 
					 | 
				
			||||||
            this.hiddenColumns.forEach((column, index) => {
 | 
					 | 
				
			||||||
              const vm = table.$children.find(e => e.prop === column.property)
 | 
					 | 
				
			||||||
              const columnConfig = vm.columnConfig
 | 
					 | 
				
			||||||
              if (column.visible) {
 | 
					 | 
				
			||||||
                columnConfig.width = column.width
 | 
					 | 
				
			||||||
                columnConfig.visible = column.visible
 | 
					 | 
				
			||||||
                vm.owner.store.commit('insertColumn', columnConfig, index + 1, null)
 | 
					 | 
				
			||||||
              }
 | 
					 | 
				
			||||||
            })
 | 
					 | 
				
			||||||
            this.updateTableColumns();*/
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      try {
 | 
					      try {
 | 
				
			||||||
        // 从sessionStorage安全地获取并解析hiddenColumns
 | 
					        // 从sessionStorage安全地获取并解析hiddenColumns
 | 
				
			||||||
        const strHidden = sessionStorage.getItem(this.tableKey)
 | 
					        const strHidden = sessionStorage.getItem(this.tableKey)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -108,7 +108,6 @@ export default {
 | 
				
			||||||
    queryPickTask(id) {
 | 
					    queryPickTask(id) {
 | 
				
			||||||
      queryPickTask(id).then(res => {
 | 
					      queryPickTask(id).then(res => {
 | 
				
			||||||
        this.data = res;
 | 
					        this.data = res;
 | 
				
			||||||
 | 
					 | 
				
			||||||
        this.loading = false;
 | 
					        this.loading = false;
 | 
				
			||||||
        this.pickDetailId = id;
 | 
					        this.pickDetailId = id;
 | 
				
			||||||
        return true;
 | 
					        return true;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue