| | |
| | | this.getTableDateHidder() |
| | | }, |
| | | async getTableDateHidder() { |
| | | this.$store.state.loading = true; |
| | | const data = await inquiry_selectFields({ name: this.listdata.name }) |
| | | if (data.code != 200) { |
| | | this.$message.error("列表调用失败") |
| | | } |
| | | if (data.result.length == 0) { |
| | | this.$message("列表字段查无数据") |
| | | } |
| | | const data1 = await inquiry_selectDomains({ name: this.listdata.name }) |
| | | if (data1.code != 200) { |
| | | this.$message.error("列表调用失败") |
| | | } |
| | | // if (data.result.length == 0) { |
| | | // this.$message("列表阈值查无数据") |
| | | // } |
| | | this.optionx = [] |
| | | this.attributeData = [] |
| | | var valadata = data.result |
| | |
| | | if (data.code != 200) { |
| | | this.$message.error("列表调用失败") |
| | | } |
| | | |
| | | // if (data.result.length == 0) { |
| | | // return this.$message.error("列表查无数据") |
| | | // } |
| | | var val1 = decr(data.result) |
| | | if (val1) { |
| | | if (this.imagePoint != null) { |
| | |
| | | this.tableData = [] |
| | | |
| | | const data = await dataQuery_selectByPage(this.listdata) |
| | | this.$store.state.loading = false; |
| | | if (data.code != 200) { |
| | | this.$message.error("列表调用失败") |
| | | return this.$message.error("列表调用失败") |
| | | } |
| | | if (data.result.length == 0) { |
| | | |
| | | return this.$message.error("列表查无数据") |
| | | } |
| | | |
| | | |
| | | var val_Data = data.result |
| | | for (var i in val_Data) { |