Ver código fonte

单兵设备

hmm 4 meses atrás
pai
commit
587bd39c81

+ 20 - 1
src/views/emergencyCommandMap/LeftSection/IndividualEquipment.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,
@@ -49,6 +49,25 @@ let data = ref({
   'longitude': 110.908867,
   'latitude': 22.357185
 });
+const treeData = ref([
+  {
+    label: '移动单兵设备',
+    children: [
+      { label: '智能手持终端01' },
+      { label: '智能手持终端02' },
+      { label: '智能手持终端03' }
+    ]
+  },
+  {
+    label: '茂名市应急管理局',
+    children: [
+      { label: '智能手持终端01' },
+      { label: '智能手持终端02' },
+      { label: '智能手持终端03' },
+      { label: '高清布控球' }
+    ]
+  }
+]);
 
 const getTree = () => {
   getDroneTree(queryParams).then((res) => {