| | |
| | | public readonly: boolean; |
| | | public gbReadonly: boolean; |
| | | public multiple: boolean; |
| | | public searchFrom: string = ''; |
| | | public showTreeBox: boolean; |
| | | public selectedNodes: Array<string>; |
| | | public selectedNode: any; |
| | |
| | | } |
| | | |
| | | async fetchLocalTree() { |
| | | const rsp: any = await getLocalCameraTree({ |
| | | let params:any = { |
| | | searchType: this.searchCamType, |
| | | cameraName: this.searchInput |
| | | }); |
| | | cameraName: this.searchInput, |
| | | //isPlatform: 1 |
| | | }; |
| | | debugger |
| | | if(this.searchFrom == 'cluster'){ |
| | | params.isPlatform = 1 |
| | | } |
| | | const rsp: any = await getLocalCameraTree(params); |
| | | |
| | | if (rsp && rsp.success) { |
| | | this.treeData = rsp.data ? rsp.data : [] |