|
@@ -109,6 +109,8 @@
|
|
|
</template>
|
|
|
<script lang="tsx" setup>
|
|
|
import dict from '@/api/system/dict'
|
|
|
+import formcategory from '@/api/system/formcategory'
|
|
|
+
|
|
|
import { computed, nextTick, ref, watch } from 'vue'
|
|
|
import { ElMessage, ElTree, ElMessageBox } from 'element-plus'
|
|
|
import { useTablePage } from '@/hooks/useTablePage'
|
|
@@ -198,7 +200,7 @@ const treeData = ref([])
|
|
|
// 获取左侧菜单数据
|
|
|
const getGroup = async () => {
|
|
|
showGroupLoading.value = true
|
|
|
- let data = await dict.dictListParentApi()
|
|
|
+ let data = await formcategory.formCategoryListAllApi()
|
|
|
formOptions.value.forms[0].options = data.map(item => {
|
|
|
return { value: item.id, label: item.name }
|
|
|
})
|