| | |
| | | limit: this.pageSize, |
| | | }, |
| | | }).then((response) => { |
| | | console.log(response) |
| | | this.tyResList = response.data.data; //总数据 |
| | | let data1 = response.data; |
| | | |
| | | let option = []; |
| | | if (data1.code == 1) { |
| | | // if (data1.code == 1) { |
| | | this.btResList = data1.list; //接口表头数据 |
| | | this.total = data1.count; |
| | | var data = []; //列字段数据 |
| | |
| | | } |
| | | option.cols = [col]; |
| | | this.dataList = option; |
| | | if (data1.code == 0) { |
| | | data1.data = [] |
| | | } |
| | | option.data = data1.data; |
| | | var result = data1.data; |
| | | option.data = result; |
| | |
| | | break; |
| | | } |
| | | this.DisPlay_HideColumn(this.HModName, sessionStorage["HUserName"], option, this.dataList); |
| | | } |
| | | // } |
| | | }).catch((error) => { |
| | | console.log(error) |
| | | this.$modal.msgError("接口请求失败!"); |
| | | }); |
| | | }, |