fix: page name error

dingtalk
xjs 2026-01-13 15:53:14 +08:00
parent 94d7d1a7ae
commit 60cb378f21
3 changed files with 28 additions and 28 deletions

View File

@ -14,30 +14,30 @@ export const useRouterDetail = (item: { reportsId: string; type: number }) => {
let url = ''
if (item.type === 0) {
url = `/pages-evaluation-sub/evaluate/academicReport/interestReport?id=${item.reportsId}&type=${item.type}`
url = `/pages-evaluation-sub/evaluate/academicReport/InterestReport?id=${item.reportsId}&type=${item.type}`
} else if (item.type === 1) {
url = `/pages-evaluation-sub/evaluate/academicReport/characterReport?id=${item.reportsId}&type=${item.type}`
url = `/pages-evaluation-sub/evaluate/academicReport/CharacterReport?id=${item.reportsId}&type=${item.type}`
} else if (item.type === 2) {
url = `/pages-evaluation-sub/evaluate/academicReport/capabilityReport?id=${item.reportsId}&type=${item.type}`
url = `/pages-evaluation-sub/evaluate/academicReport/CapabilityReport?id=${item.reportsId}&type=${item.type}`
} else if (item.type === -1) {
url = `/pages-evaluation-sub/evaluate/academicReport/opinionAboutReport?id=${item.reportsId}&type=${item.type}`
url = `/pages-evaluation-sub/evaluate/academicReport/OpinionAboutReport?id=${item.reportsId}&type=${item.type}`
} else if (item.type === 6) {
url = `/pages-evaluation-sub/evaluate/psychologicalReport/sasReport?id=${item.reportsId}&type=${item.type}`
url = `/pages-evaluation-sub/evaluate/psychologicalReport/SasReport?id=${item.reportsId}&type=${item.type}`
} else if (item.type === 7) {
url = `/pages-evaluation-sub/evaluate/psychologicalReport/sdsReport?id=${item.reportsId}&type=${item.type}`
url = `/pages-evaluation-sub/evaluate/psychologicalReport/SdsReport?id=${item.reportsId}&type=${item.type}`
} else if (item.type === 9) {
// url = `/pages-evaluation-sub/evaluate/psychologicalReport/mhtReport?id=${item.reportsId}&type=${item.type}`
// url = `/pages-evaluation-sub/evaluate/psychologicalReport/MhtReport?id=${item.reportsId}&type=${item.type}`
uni.showToast({
title: '开发中....',
icon: 'none',
})
return
} else if (item.type === 4) {
url = `/pages-evaluation-sub/evaluate/studyReport/learnStudyReport?id=${item.reportsId}&type=${item.type}`
url = `/pages-evaluation-sub/evaluate/studyReport/LearnStudyReport?id=${item.reportsId}&type=${item.type}`
} else if (item.type === 5) {
url = `/pages-evaluation-sub/evaluate/studyReport/learnSkillReport?id=${item.reportsId}&type=${item.type}`
url = `/pages-evaluation-sub/evaluate/studyReport/LearnSkillReport?id=${item.reportsId}&type=${item.type}`
} else if (item.type === 3) {
url = `/pages-evaluation-sub/evaluate/studyReport/anxietyReport?id=${item.reportsId}&type=${item.type}`
url = `/pages-evaluation-sub/evaluate/studyReport/AnxietyReport?id=${item.reportsId}&type=${item.type}`
} else {
uni.showToast({
title: '开发中....',

View File

@ -444,7 +444,7 @@
}
},
{
"path": "evaluate/academicReport/opinionAboutReport",
"path": "evaluate/academicReport/OpinionAboutReport",
"type": "page",
"style": {
"navigationStyle": "custom",
@ -453,7 +453,7 @@
}
},
{
"path": "evaluate/psychologicalReport/mhtReport",
"path": "evaluate/psychologicalReport/MhtReport",
"type": "page",
"style": {
"navigationStyle": "custom",
@ -462,7 +462,7 @@
}
},
{
"path": "evaluate/psychologicalReport/sasReport",
"path": "evaluate/psychologicalReport/SasReport",
"type": "page",
"style": {
"navigationStyle": "custom",
@ -471,7 +471,16 @@
}
},
{
"path": "evaluate/psychologicalReport/sdsReport",
"path": "evaluate/psychologicalReport/SdsReport",
"type": "page",
"style": {
"navigationStyle": "custom",
"transparentTitle": "always",
"navigationBarTitleText": ""
}
},
{
"path": "evaluate/studyReport/AnxietyReport",
"type": "page",
"style": {
"navigationStyle": "custom",
@ -496,15 +505,6 @@
"transparentTitle": "always",
"navigationBarTitleText": ""
}
},
{
"path": "evaluate/studyReport/anxietyReport",
"type": "page",
"style": {
"navigationStyle": "custom",
"transparentTitle": "always",
"navigationBarTitleText": ""
}
}
]
},

View File

@ -50,13 +50,13 @@ interface NavigateToOptions {
"/pages-evaluation-sub/evaluate/academicReport/CapabilityReport" |
"/pages-evaluation-sub/evaluate/academicReport/CharacterReport" |
"/pages-evaluation-sub/evaluate/academicReport/InterestReport" |
"/pages-evaluation-sub/evaluate/academicReport/opinionAboutReport" |
"/pages-evaluation-sub/evaluate/psychologicalReport/mhtReport" |
"/pages-evaluation-sub/evaluate/psychologicalReport/sasReport" |
"/pages-evaluation-sub/evaluate/psychologicalReport/sdsReport" |
"/pages-evaluation-sub/evaluate/academicReport/OpinionAboutReport" |
"/pages-evaluation-sub/evaluate/psychologicalReport/MhtReport" |
"/pages-evaluation-sub/evaluate/psychologicalReport/SasReport" |
"/pages-evaluation-sub/evaluate/psychologicalReport/SdsReport" |
"/pages-evaluation-sub/evaluate/studyReport/AnxietyReport" |
"/pages-evaluation-sub/evaluate/studyReport/LearnSkillReport" |
"/pages-evaluation-sub/evaluate/studyReport/LearnStudyReport" |
"/pages-evaluation-sub/evaluate/studyReport/anxietyReport" |
"/aiService-sub/index/index";
}
interface RedirectToOptions extends NavigateToOptions {}