| | |
| | | public baseImageLoading: boolean |
| | | |
| | | public activeNode: string |
| | | public clusterId: string |
| | | public devId: string |
| | | |
| | | |
| | | constructor() { |
| | |
| | | this.gb28181CameraBaseImage = "" |
| | | this.baseImageLoading = false |
| | | this.activeNode = '' |
| | | this.clusterId = '' |
| | | this.devId = '' |
| | | |
| | | |
| | | } |
| | |
| | | } |
| | | |
| | | async refreshGB28181() { |
| | | await refreshGB28181Tree() |
| | | await refreshGB28181Tree({}) |
| | | // this.fetchGbTree() |
| | | } |
| | | |
| | |
| | | if (update) { |
| | | fn = refreshGB28181Tree |
| | | } |
| | | const rsp: any = await fn() |
| | | const rsp: any = await fn({ |
| | | clusterId:this.clusterId, |
| | | devId:this.devId, |
| | | }) |
| | | |
| | | if (rsp && rsp.success) { |
| | | this.selectedNode = {} |
| | |
| | | this.cameraNameForBaseImage = node.name |
| | | |
| | | try { |
| | | const rsp: any = await getCameraBaseImage({ id: node.id }) |
| | | const rsp: any = await getCameraBaseImage({ |
| | | id: node.id, |
| | | clusterId: this.clusterId, |
| | | devId: this.devId, |
| | | }) |
| | | |
| | | if (rsp && rsp.data) { |
| | | this.gb28181CameraBaseImage = rsp.data |