| | |
| | | global.DC.ready(initViewer) |
| | | }, |
| | | methods: { |
| | | deactivate () { |
| | | global.viewer.measure.deactivate() |
| | | }, |
| | | |
| | | // 根据地址获取坐标 |
| | | addrToGetCoordinate (addr) { |
| | |
| | | that.$message(e) |
| | | }) |
| | | }, |
| | | |
| | | setLocation () { |
| | | const longreg = /^(\-|\+)?(((\d|[1-9]\d|1[0-7]\d|0{1,3})\.\d{0,15})|(\d|[1-9]\d|1[0-7]\d|0{1,3})|180\.0{0,15}|180)$/ |
| | | const latreg = /^(\-|\+)?([0-8]?\d{1}\.\d{0,15}|90\.0{0,15}|[0-8]?\d{1}|90)$/ |
| | |
| | | this.$message('格式错误!') |
| | | } |
| | | }, |
| | | |
| | | closeSplitScreen () { |
| | | this.screenShow = false |
| | | }, |
| | | |
| | | splitScreen () { |
| | | this.screenShow = true |
| | | }, |
| | |
| | | * @Author: Morpheus |
| | | * @Date: 2022-05-11 15:00:23 |
| | | * @Last Modified by: Morpheus |
| | | * @Last Modified time: 2022-07-01 11:15:49 |
| | | * @Last Modified time: 2022-07-07 17:26:40 |
| | | * 驾驶舱 |
| | | */ |
| | | <template> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <!-- <div class="down-menu"> |
| | | <div class="down-menu"> |
| | | <div class="nc"> |
| | | <span>农场</span> |
| | | <i class="el-icon-caret-bottom"></i> |
| | |
| | | <span>监测设备</span> |
| | | <i class="el-icon-caret-bottom"></i> |
| | | </div> |
| | | </div>--> |
| | | </div> |
| | | |
| | | <div class="city-flow" @click="cityFlowShow"> |
| | | <div class="icon"></div> |
| | | <span>市场流通</span> |
| | | </div> |
| | | |
| | | <!-- |
| | | <div class="layers-box"> |
| | | <div class="sl"> |
| | | <div class="text">标准图</div> |
| | |
| | | <div class="yx on"> |
| | | <div class="text">卫星图</div> |
| | | </div> |
| | | </div>--> |
| | | </div> |
| | | |
| | | <div class="lenged-box"> |
| | | <ul> |
| | |
| | | selctSaletZ () { |
| | | var that = this |
| | | selctSaletZ().then((res) => { |
| | | that.salaNum = res.data.data[0].num.toString().split("") |
| | | that.salaNum = res.data.data[0].num.toString().split('') |
| | | }) |
| | | }, |
| | | getFarmingCount () { |