| | |
| | | async getTableselectFields() { |
| | | const data = await inquiry_selectFields({ name: this.spaceLayer }) |
| | | if (data.code != 200) { |
| | | this.$message.error("列表调用失败") |
| | | this.$message.error("列表调用字段失败") |
| | | } |
| | | if (data.result.length == 0) { |
| | | this.$message("列表调用字段查无数据") |
| | | } |
| | | |
| | | this.filedsOption = []; |
| | | this.optionx = [] |
| | | var valadata = data.result |
| | |
| | | }, |
| | | //初始化查询阈值表 |
| | | async getDomainsLayer() { |
| | | this.$store.state.loading = true; |
| | | const data = await inquiry_selectDomains({ name: this.spaceLayer }) |
| | | if (data.code != 200) { |
| | | this.$message.error("列表调用失败") |
| | | this.$message.error("列表阈值调用失败") |
| | | } |
| | | // if (data.result.length == 0) { |
| | | // this.$message("列表阈值查无数据") |
| | | // } |
| | | this.domainsLayer = data.result |
| | | |
| | | this.setListDataStart() |
| | |
| | | } |
| | | |
| | | const data = await dataQuerySelectByPage(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("列表查无数据") |
| | | } |
| | | |
| | | |
| | | |
| | | var val = data.result; |
| | | val = val.filter((res) => { |
| | | |
| | |
| | | } |
| | | .bottomPage { |
| | | position: absolute; |
| | | bottom: 3%; |
| | | bottom: 10px; |
| | | } |
| | | /deep/.el-form-item { |
| | | margin-bottom: 0px; |