Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨炀
/
ztx_wx_gzt
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
5437d8ab
authored
2026-04-28 13:24:57 +0800
by
张猛
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
订单列表
1 parent
134cad71
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
myCenter/order.vue
myCenter/order.vue
View file @
5437d8a
...
...
@@ -239,11 +239,11 @@ const tabs = computed(() => {
}
else
if
(
dt
===
2
)
{
console
.
log
(
'返回3个tab: 单位会员、段位考试、越段考试'
);
return
[
// { name: '单位会员', type: '1'
},
{
name
:
'单位会员'
,
type
:
'1'
},
{
name
:
'段位考试'
,
type
:
'3'
},
{
name
:
'越段考试'
,
type
:
'4'
}
];
}
else
{
}
else
if
(
dt
===
1
)
{
console
.
log
(
'返回默认5个tab, dt值为:'
,
dt
);
return
[
{
name
:
'个人会员'
,
type
:
'0'
},
...
...
@@ -252,6 +252,10 @@ const tabs = computed(() => {
{
name
:
'段位考试'
,
type
:
'3'
},
{
name
:
'越段考试'
,
type
:
'4'
}
];
}
else
{
return
[
{
name
:
'单位会员'
,
type
:
'1'
},
];
}
});
const
currentTab
=
ref
(
'0'
);
...
...
@@ -417,20 +421,20 @@ const confirmDel = async () => {
const
goToDetail
=
(
item
)
=>
{
console
.
log
(
"goToDetail:"
,
item
);
console
.
log
(
"currentTab.value"
,
currentTab
.
value
);
console
.
log
(
"currentTab.value"
,
currentTab
.
value
);
const
form
=
encodeURIComponent
(
JSON
.
stringify
(
item
))
switch
(
currentTab
.
value
)
{
case
'1'
:
uni
.
navigateTo
({
url
:
`/group/groupOrderDetail?form=
${
form
}
`
});
uni
.
navigateTo
({
url
:
`/group/groupOrderDetail?form=
${
form
}
`
});
break
;
case
'2'
:
case
'3'
:
case
'4'
:
uni
.
navigateTo
({
url
:
`/pages/rank/applyDetail?examId=
${
item
.
sourceId
||
item
.
id
}
&type=
${
queryParams
.
type
}
`
});
uni
.
navigateTo
({
url
:
`/pages/rank/applyDetail?examId=
${
item
.
sourceId
||
item
.
id
}
&type=
${
queryParams
.
type
}
`
});
break
;
case
'0'
:
default
:
uni
.
navigateTo
({
url
:
`/personalVip/orderDetail?rangeId=
${
item
.
sourceId
||
item
.
id
}
&type=
${
queryParams
.
type
}
`
});
uni
.
navigateTo
({
url
:
`/personalVip/orderDetail?rangeId=
${
item
.
sourceId
||
item
.
id
}
&type=
${
queryParams
.
type
}
`
});
break
;
}
// uni.navigateTo({url: `/pages/rank/applyDetail?examId=${item.sourceId || item.id}&type=${queryParams.type}`});
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment