修复农事操作重置地块和农事操作类型未重置的问题;修复农场详情多图片不显示的问题
| | |
| | | <div class="l">基地介绍</div> |
| | | <div class="r" style="line-height: 32px;">{{this.farmDetails.introduce}}</div> |
| | | </div> |
| | | <div class="row"> |
| | | <div class="l">环境图片</div> |
| | | <div class="row" v-if="farmPicList.length>0"> |
| | | <div class="l" >环境图片</div> |
| | | <div class="r"> |
| | | <img :src="this.farmDetails.picture" alt /> |
| | | <img v-for="pic in farmPicList" :src="pic" alt /> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | farmNumArray: [], |
| | | plotNumArray: [], |
| | | farmDetails: null, |
| | | farmPicList:[], |
| | | // 农事操作记录显示 |
| | | farmOperPopup: false, |
| | | // 农事操作记录列表 |
| | |
| | | |
| | | showDetailPopup (params) { |
| | | this.farmDetails = params |
| | | console.log(params) |
| | | if (params.picture){ |
| | | this.farmPicList = params.picture.split(",") |
| | | } |
| | | this.farmProfiles = true |
| | | }, |
| | | |
| | |
| | | landId: '', |
| | | } |
| | | this.nsSelectTime = [] |
| | | this.farmOperType = "" |
| | | this.farmPlotId = "" |
| | | params.startTime = '' |
| | | params.endTime = '' |
| | | this.farmOperClick({ type: this.farmOperType, landId: this.farmPlotId,farmId:this.farmValue}) |