| | |
| | | :showRealPoll="cameraType === 'camera'" |
| | | :ShowLocalVedio="cameraType === 'dataStack'" |
| | | v-if="showSysInfo" |
| | | style="margin-left: 10px;margin-top:-10px" |
| | | style="margin-top:-10px" |
| | | /> |
| | | </div> |
| | | </div> |
| | |
| | | }; |
| | | }, |
| | | mounted() { |
| | | this.mockAsync() |
| | | this.mockAsync(); |
| | | this.PollData.statistics(); |
| | | }, |
| | | |
| | | methods: { |
| | |
| | | saveSceneRule(groupRule) { |
| | | const payload = { ...groupRule } |
| | | payload.cameraIds = [this.Camera.cameraId]; |
| | | let _this = this; |
| | | saveCameraScene(payload).then(rsp => { |
| | | if (rsp && rsp.success) { |
| | | this.Camera.update(); |
| | |
| | | type: "success", |
| | | message: "策略保存成功!" |
| | | }); |
| | | //刷新左侧树 |
| | | debugger |
| | | _this.$root.$children[0].$children[0].querySearchAsync('camera') |
| | | |
| | | } |
| | | }); |
| | | }, |
| | |
| | | .swiper-box { |
| | | height: 100%; |
| | | float: left; |
| | | width: 48%; |
| | | width: 46%; |
| | | margin-top: -10px; |
| | | position: relative; |
| | | } |
| | | .swiper-container { |
| | | position: initial; |
| | | min-width: 472px; |
| | | width: 80%; |
| | | width: 86%; |
| | | |
| | | // height: 124px; |
| | | } |
| | |
| | | } |
| | | .top-right { |
| | | float: right; |
| | | width: 52%; |
| | | width: 54%; |
| | | height: 144px; |
| | | .card-box{ |
| | | width: 54%!important; |
| | | } |
| | | .eCharts-box{ |
| | | width: 45%; |
| | | canvas{ |
| | | width: 98%!important; |
| | | } |
| | | } |
| | | } |
| | | .task-css { |
| | | text-align: left; |