首页跳转农场数据不变,溯源码折线图鼠标移上显示数据
| | |
| | | |
| | | setCenter (item) { |
| | | this.ncListShow = false |
| | | this.farmId = item.id |
| | | // this.farmId = item.id |
| | | this.AllDataUpdate() |
| | | this.$refs.modalForm.setCenter(item.farmName) |
| | | }, |
| | |
| | | }) |
| | | this.$refs.modalForm.addPolygon(brr, item) |
| | | }) |
| | | |
| | | this.farmNumArray = res.data.data |
| | | // this.farmNumArray.unshift({ |
| | | // id:"", |
| | | // farmName:"全农场" |
| | | // }) |
| | | }) |
| | | }, |
| | | |
| | |
| | | } |
| | | params.tenantId = '000000' |
| | | params.farmId = this.farmId |
| | | pagePalnt(1, 10, Object.assign(params)).then((res) => { |
| | | pagePalnt(1, 10000, Object.assign(params)).then((res) => { |
| | | const data = res.data.data |
| | | that.num = data.num |
| | | this.farmPlanList = data.page |
| | |
| | | bottom: "0%", |
| | | containLabel: true, |
| | | }, |
| | | tooltip: { |
| | | trigger: "axis", |
| | | axisPointer: { |
| | | type: "shadow", |
| | | }, |
| | | }, |
| | | xAxis: { |
| | | type: "category", |
| | | boundaryGap: false, |