Hwf 10 miesięcy temu
rodzic
commit
5340963e29
1 zmienionych plików z 1 dodań i 65 usunięć
  1. 1 65
      src/views/index.vue

+ 1 - 65
src/views/index.vue

@@ -1,73 +1,9 @@
 <template>
   <div class="app-container home">
-    <h2 @click="show = true">智慧应急工作台</h2>
-    <ContactSelect v-model="show" :treeData="treeData" :default-check-data="selectData" @confirm="handleData" />
+    <h2>智慧应急工作台</h2>
   </div>
 </template>
 
-<script setup name="Index" lang="ts">
-import ContactSelect from '@/components/ContactSelect/index.vue';
-const goTarget = (url: string) => {
-  window.open(url, '__blank');
-};
-let show = ref(true);
-const treeData = reactive([
-  {
-    id: 1,
-    label: '茂南区',
-    deptType: true,
-    children: [
-      {
-        id: 2,
-        userId: 1,
-        label: '李里丽'
-      },
-      {
-        id: 3,
-        userId: 2,
-        label: '何里'
-      },
-      {
-        id: 4,
-        userId: 3,
-        label: '张力'
-      }
-    ]
-  },
-  {
-    id: 5,
-    label: '电白区',
-    deptType: true,
-    children: [
-      {
-        id: 6,
-        userId: 4,
-        label: '王五'
-      },
-      {
-        id: 7,
-        userId: 5,
-        label: '冯可'
-      },
-      {
-        id: 8,
-        userId: 6,
-        label: '刘森'
-      },
-      {
-        id: 9,
-        userId: 3,
-        label: '张力'
-      }
-    ]
-  }
-]);
-const selectData = ref([]);
-const handleData = (data) => {
-  selectData.value = data;
-};
-</script>
-
 <style scoped lang="scss">
 .home {
   blockquote {