-
+
+
{{ item.title }}
@@ -99,13 +110,18 @@
import KlSearch from '~/pages/toolbox/components/search.vue'
import { getRelationRecommend } from '~/api/drawe-detail/index'
import type { ProjectDrawPageRespVO } from '~/api/drawe-detail/types'
+ import { parent } from '~/api/upnew/index'
import emptyImg from '~/assets/images/empty.png'
import dayjs from 'dayjs'
- const pageReq = reactive
({
+ const cascaderProps = { multiple: false, label: 'name', value: 'id', emitPath: false }
+
+ const pageReq = reactive({
pageNum: 1,
pageSize: 10,
title: '',
+ categoryId: undefined,
+ sourceType: 0,
})
// const pageRes = ref({
@@ -177,4 +193,16 @@
// })
// }
// getRelationRecommendList()
+
+ const projectTypeList = ref([])
+ /** 获取分类下拉框 */
+ const getParent = () => {
+ parent({
+ type: 3,
+ parentId: 0,
+ }).then((res) => {
+ projectTypeList.value = res.data
+ })
+ }
+ getParent()