| | |
| | | <script> |
| | | import gb28181 from "@/api/gb28181" |
| | | |
| | | import TreeMenu from "@/components/giantTree/index" |
| | | import TreeMenu from "../components/gbZtree.vue" |
| | | // import TreeMenu from "@/components/giantTree/index" |
| | | import { isPort, isIPv4 } from "@/scripts/validate" |
| | | import bus from "@/plugin/bus" |
| | | export default { |
| | |
| | | methods: { |
| | | handleParentMethod(checkCount){ |
| | | this.checkData = checkCount |
| | | // console.info(checkCount) |
| | | }, |
| | | async getCamerasFromVideosvr() { |
| | | // console.info(this.TreeDataPool) |
| | |
| | | async fetchVideosvrCameras() { |
| | | gb28181.getGb28181Pool().then((rsp) => { |
| | | if (rsp && rsp.status == 200) { |
| | | // console.log("treeData:",rsp.data.items) |
| | | this.treeData = rsp.data.items; |
| | | this.totalNode = rsp.data.total; |
| | | } |
| | | // console.info("treeData:" + rsp.data) |
| | | // console.log("treeData:",this.treeData) |
| | | }) |
| | | }, |
| | | saveChecked() { |