|
@@ -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)
|