Browse Source

待测样品

ZaiZai 1 năm trước cách đây
mục cha
commit
cbeb33d6ff
1 tập tin đã thay đổi với 1 bổ sung21 xóa
  1. 1 21
      src/views/tentative/acquisition/data.vue

+ 1 - 21
src/views/tentative/acquisition/data.vue

@@ -162,27 +162,7 @@ const betweenTimeUpdate = ({ arr }) => {
 }
 
 //分类数据
-const menuData = ref([
-    {
-        key: '1',
-        name: '压力机',
-        children: [
-            { key: '1-1', name: '水泥xxx1' },
-            { key: '1-2', name: '水泥xxx2' },
-            { key: '1-3', name: '水泥xxx3' },
-        ],
-    },
-    {
-        key: '2',
-        name: '万能机',
-        children: [
-            { key: '2-1', name: '钢筋xxx1' },
-            { key: '2-2', name: '钢筋xxx2' },
-            { key: '2-3', name: '钢筋xxx3' },
-        ],
-    },
-])
-//获取分类数据
+const menuData = ref([])
 const getTestDataType = async () => {
     const { data } = await getDictionaryBizTree({ code: 'test_data_type' })
     menuData.value = getArrValue(data)