| | |
| | | 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') |
| | | |
| | | } |
| | | }); |
| | | }, |
| | |
| | | <style lang="scss"> |
| | | .s-separate-rules { |
| | | width: 100%; |
| | | |
| | | padding: 13px 0 20px; |
| | | .ai { |
| | | //width: calc(100% + 76px); |
| | | // height: 38px; |
| | |
| | | } |
| | | .bottom { |
| | | width: 100%; |
| | | |
| | | margin-bottom: 15px; |
| | | .bottom-side { |
| | | height: 100%; |
| | | width: 250px; |