|
@@ -34,7 +34,7 @@ const queryParams = reactive<QueryParams>({
|
|
|
});
|
|
|
// const queryParams2 = reactify({});
|
|
|
const options = ref([]);
|
|
|
-const treeData = ref([]);
|
|
|
+// const treeData = ref([]);
|
|
|
let data = ref({
|
|
|
'name': '东镇街道长塘居委会大湴村边2',
|
|
|
'invideoIds': true,
|
|
@@ -49,14 +49,30 @@ let data = ref({
|
|
|
'longitude': 110.908867,
|
|
|
'latitude': 22.357185
|
|
|
});
|
|
|
+const treeData = ref([
|
|
|
+ {
|
|
|
+ label: '移动单兵设备',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ label: '茂名市应急管理局',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ label: '应急无人机'
|
|
|
+ },
|
|
|
+ { label: '智能手持终端01' },
|
|
|
+ { label: '智能手持终端02' }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+]);
|
|
|
|
|
|
const getTree = () => {
|
|
|
getDroneTree(queryParams).then((res) => {
|
|
|
treeData.value = res.data;
|
|
|
});
|
|
|
};
|
|
|
-const handleNodeClick = (data) => {
|
|
|
-};
|
|
|
+const handleNodeClick = (data) => {};
|
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|