| | |
| | | this.isCleanInfo = true |
| | | } |
| | | } |
| | | this.$emit("queryParam",this.queryParam) |
| | | }, |
| | | deep: true |
| | | }, |
| | |
| | | arr.push(this.paramArr[i]) |
| | | } |
| | | } |
| | | |
| | | return this.doCallback(this.ajaxFun, arr, selectedId) |
| | | }, |
| | | doCallback(fn, args, selectedId) { |
| | |
| | | .apply(this, args) |
| | | .then((response) => { |
| | | var _this = this |
| | | _this.tableData = response.data.data.records |
| | | var resultData = response.data.data.records |
| | | if(resultData == undefined){ |
| | | _this.tableData = response.data.data |
| | | }else{ |
| | | _this.tableData = response.data.data.records |
| | | } |
| | | _this.pagination.total = response.data.data.total |
| | | // 置空选中 |
| | | this.$refs.lmesTable.setCurrentRow() |
| | |
| | | this.clickTable(selectObj) |
| | | } |
| | | } |
| | | this.$emit('change',resultData); |
| | | }) |
| | | .catch((error) => { |
| | | this.dataListLoading = false |
| | |
| | | } |
| | | } |
| | | } |
| | | console.log(this.columnList); |
| | | this.tableKey = Math.random() |
| | | // this.$forceUpdate(); |
| | | const currPathColumnOrder = this.currPath + '_column' |