修复冗余页面问题

This commit is contained in:
ywyonui 2025-08-07 16:24:59 +08:00
parent e602f4c9bc
commit 247c1b313d
3 changed files with 4 additions and 16 deletions

View File

@ -286,13 +286,6 @@
"enablePullDownRefresh": false
}
},
{
"path": "pages/base/jc/detail",
"style": {
"navigationBarTitleText": "检查详情",
"enablePullDownRefresh": false
}
},
{
"path": "pages/base/jc/bm",
"style": {
@ -300,13 +293,6 @@
"enablePullDownRefresh": false
}
},
{
"path": "pages/base/jc/bm-detail",
"style": {
"navigationBarTitleText": "报名详情",
"enablePullDownRefresh": false
}
},
{
"path": "pages/base/jc/record",
"style": {

View File

@ -72,7 +72,8 @@ const getJcBzList = async () => {
xsId: props.xsId
});
if (res.resultCode === 1) {
jcBzList.value = res.result || [];
// jcBzList
jcBzList.value = res.result?.jcBzList || [];
//
initSelectedStatus();
}

View File

@ -412,6 +412,7 @@ export const useUserStore = defineStore({
const data = res.result;
const type = data.type;
// 根据返回的数据类型进行页面跳转
switch (type) {
case 1: // 未选择(返回可选标准列表)- 跳转到报名页面
uni.reLaunch({
@ -429,7 +430,7 @@ export const useUserStore = defineStore({
});
return;
default:
// 默认跳转到报名页面
// 默认跳转到告知书页面
uni.reLaunch({
url: "/pages/base/gzs/jc",
});