| | |
| | | <el-button |
| | | v-bind:class=" activeClass==1 ? 'btn-color' : '' " |
| | | size="small" |
| | | type="primary" |
| | | @click="getBZdata(1)" |
| | | >本周 |
| | | </el-button> |
| | | <el-button |
| | | v-bind:class=" activeClass==2 ? 'btn-color' : '' " |
| | | size="small" |
| | | type="primary" |
| | | @click="getBYdata(2)" |
| | | >本月 |
| | | </el-button> |
| | | <el-button |
| | | v-bind:class=" activeClass==3 ? 'btn-color' : '' " |
| | | size="small" |
| | | type="primary" |
| | | @click="getQBdata(3)" |
| | | >全部 |
| | | </el-button> |
| | |
| | | <iframe |
| | | id="mapDiv" |
| | | ref="mapDiv" |
| | | src="http://36.134.81.48:18001/map/index.html" |
| | | src=" http://192.168.0.107:1888/map/index.html?openid=ClientManagement" |
| | | frameborder="0" |
| | | width="100%" |
| | | height="100%" |
| | |
| | | }); |
| | | }, |
| | | searchReset() { |
| | | this.activeClass = -1; |
| | | this.query = {}; |
| | | this.onLoad(this.page); |
| | | }, |
| | |
| | | } |
| | | }, |
| | | handleStart(row) { |
| | | debugger |
| | | this.$router.push({ |
| | | path: `/real/video/${row.channelNumber}/${row.serialNumber}` |
| | | }); |
| | |
| | | }, |
| | | handleMap(row) { |
| | | this.showMap = true; |
| | | debugger |
| | | this.$nextTick(() => { |
| | | this.$refs.mapDiv.onload = () => { |
| | | window.frames[0].locationObj = {x: row.jd, y: row.wd}; |
| | |
| | | } |
| | | |
| | | .el-button.btn-color { |
| | | background: #146ef6; |
| | | border-color: #007aff; |
| | | color: #FFF; |
| | | color: rgb(255, 255, 255); |
| | | background-color: rgb(64, 158, 255); |
| | | border-color: rgb(64, 158, 255); |
| | | } |
| | | |
| | | </style> |