This commit is contained in:
zmj 2024-07-09 16:57:53 +08:00
parent 4562a1abf1
commit ff8e3e5b71

View File

@ -122,7 +122,8 @@ const queryParams = reactive({
business_nature: route.query.business_nature ?? '',
industry_nature: '',
fund_sources: '',
const_area: ''
const_area: '',
type_value: route.query.type_value ?? '',
})
//
@ -161,9 +162,9 @@ const handleEdit = async (data: any) => {
}
const link = (data: any) => {
const business_nature_id = route.query.business_nature ?? 1
const business_nature_id = route.query.type_value ?? 1
switch (business_nature_id) {
case '1':
case 'supervision':
router.push({
path: '/supervision/supervision_basic/supervision_project',
query: {
@ -172,7 +173,7 @@ const link = (data: any) => {
}
})
break
case '2':
case 'management':
router.push({
path: '/management/manage_basic/manage_project',
query: {
@ -181,7 +182,7 @@ const link = (data: any) => {
}
})
break
case '3':
case 'consult':
router.push({
path: '/consult/consult_basic/consult_project',
query: {
@ -190,7 +191,7 @@ const link = (data: any) => {
}
})
break
case '4':
case 'cost_project':
router.push({
path: '/cost_consultation/cost_consultation_project/cost_project',
query: {