修复冗余页面问题
This commit is contained in:
parent
e602f4c9bc
commit
247c1b313d
@ -286,13 +286,6 @@
|
|||||||
"enablePullDownRefresh": false
|
"enablePullDownRefresh": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"path": "pages/base/jc/detail",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "检查详情",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"path": "pages/base/jc/bm",
|
"path": "pages/base/jc/bm",
|
||||||
"style": {
|
"style": {
|
||||||
@ -300,13 +293,6 @@
|
|||||||
"enablePullDownRefresh": false
|
"enablePullDownRefresh": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"path": "pages/base/jc/bm-detail",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "报名详情",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"path": "pages/base/jc/record",
|
"path": "pages/base/jc/record",
|
||||||
"style": {
|
"style": {
|
||||||
|
|||||||
@ -72,7 +72,8 @@ const getJcBzList = async () => {
|
|||||||
xsId: props.xsId
|
xsId: props.xsId
|
||||||
});
|
});
|
||||||
if (res.resultCode === 1) {
|
if (res.resultCode === 1) {
|
||||||
jcBzList.value = res.result || [];
|
// 根据新的接口结构,就餐标准列表在 jcBzList 字段中
|
||||||
|
jcBzList.value = res.result?.jcBzList || [];
|
||||||
// 初始化选中状态
|
// 初始化选中状态
|
||||||
initSelectedStatus();
|
initSelectedStatus();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -412,6 +412,7 @@ export const useUserStore = defineStore({
|
|||||||
const data = res.result;
|
const data = res.result;
|
||||||
const type = data.type;
|
const type = data.type;
|
||||||
|
|
||||||
|
// 根据返回的数据类型进行页面跳转
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case 1: // 未选择(返回可选标准列表)- 跳转到报名页面
|
case 1: // 未选择(返回可选标准列表)- 跳转到报名页面
|
||||||
uni.reLaunch({
|
uni.reLaunch({
|
||||||
@ -429,7 +430,7 @@ export const useUserStore = defineStore({
|
|||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
default:
|
default:
|
||||||
// 默认跳转到报名页面
|
// 默认跳转到告知书页面
|
||||||
uni.reLaunch({
|
uni.reLaunch({
|
||||||
url: "/pages/base/gzs/jc",
|
url: "/pages/base/gzs/jc",
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user