hmm 6 miesięcy temu
rodzic
commit
52eeee53eb
1 zmienionych plików z 32 dodań i 7 usunięć
  1. 32 7
      src/views/emergencyCommandMap/LeftSection/Drone.vue

+ 32 - 7
src/views/emergencyCommandMap/LeftSection/Drone.vue

@@ -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,
@@ -57,12 +57,37 @@ const getTree = () => {
 };
 const handleNodeClick = (data) => {
 };
-const getCheckedClass = () => {
-};
-const handleChecked = () => {
-};
-const handleChecked2 = (item) => {
-};
+const treeData = [
+  {
+    label: '无人机设备',
+    children: [
+      {
+        label: '茂名市应急管理局',
+        children: [
+          {
+            label: '应急无人机'
+          }
+        ]
+      },
+      {
+        label: '电白区应急管理局',
+        children: [
+          {
+            label: '应急无人机'
+          }
+        ]
+      },
+      {
+        label: '茂南区应急管理局',
+        children: [
+          {
+            label: '应急无人机'
+          }
+        ]
+      }
+    ]
+  }
+];
 </script>
 
 <style scoped lang="scss">