| | |
| | | @size-change="sizeChangeHandle" |
| | | :page-sizes="[10, 20, 50, 100]" |
| | | :page-size="pagination.pageSize" |
| | | :page-count="pagination.size" |
| | | :layout=" |
| | | size |
| | | ? 'total, prev, pager, next' |
| | |
| | | currentPage: |
| | | this.table.currentPage == null ? 1 : this.table.currentPage, |
| | | pageSize: this.table.pageSize == null ? 20 : this.table.pageSize, |
| | | size: this.table.size == null ? 7 : this.table.size, |
| | | total: this.table.total == null ? 0 : this.table.total |
| | | }, // 分页信息 |
| | | inMemoryColWidth: {}, // 记忆中列宽,默认列宽 |
| | |
| | | } |
| | | } |
| | | } |
| | | console.log(this.multipleSelection) |
| | | this.$emit('handleSelectionChange', this.multipleSelection) |
| | | } else { |
| | | this.multipleSelection = val |
| | |
| | | } |
| | | } |
| | | } |
| | | console.log(this.columnList); |
| | | this.tableKey = Math.random() |
| | | // this.$forceUpdate(); |
| | | const currPathColumnOrder = this.currPath + '_column' |
| | |
| | | if (response.code != '0') { |
| | | this.$message.warning(response.msg) |
| | | } else { |
| | | if(response.data!=""&&response.data!=[]&&response.data!=null){ |
| | | this.$message({ |
| | | message: response.data, |
| | | type: 'success' |
| | | }) |
| | | }else{ |
| | | this.$message({ |
| | | message: '上传成功', |
| | | type: 'success' |
| | | }) |
| | | } |
| | | this.importDialogVisible=false |
| | | this.getDataList() |
| | | } |
| | | this.$refs.uploadScan.clearFiles() |