|
@@ -109,7 +109,7 @@
|
|
|
<script setup>
|
|
|
import { onActivated, ref } from 'vue'
|
|
|
import { useAppStore } from '~src/store'
|
|
|
-import { getDictionaryBiz, getErtractInfo } from '~api/other'
|
|
|
+import { getDictionaryBizTree, getErtractInfo } from '~api/other'
|
|
|
import { getArrValue, getObjValue, isNullES } from 'js-fast-way'
|
|
|
import mainApi from '~api/tentative/acquisition/data'
|
|
|
|
|
@@ -184,7 +184,7 @@ const menuData = ref([
|
|
|
])
|
|
|
//获取分类数据
|
|
|
const getTestDataType = async () => {
|
|
|
- const { data } = await getDictionaryBiz({ code: 'test_data_type' })
|
|
|
+ const { data } = await getDictionaryBizTree({ code: 'test_data_type' })
|
|
|
menuData.value = getArrValue(data)
|
|
|
console.log(data)
|
|
|
}
|