Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
corporate-culture-qd
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王立鹏
corporate-culture-qd
Commits
8c944c35
Commit
8c944c35
authored
Apr 03, 2026
by
lijiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【需求 20520】 feat: 仓库人员不展示大转盘
parent
7f4d02be
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
types.ts
src/api/login/types.ts
+1
-0
selfActivity.vue
src/views/userPage/components/selfActivity.vue
+12
-4
No files found.
src/api/login/types.ts
View file @
8c944c35
...
@@ -31,6 +31,7 @@ export interface LoginResponseDto {
...
@@ -31,6 +31,7 @@ export interface LoginResponseDto {
hiddenName
:
string
hiddenName
:
string
signature
:
string
signature
:
string
refreshToken
:
string
refreshToken
:
string
address
:
string
}
}
export
interface
GetWxSignatureResponseDto
{
export
interface
GetWxSignatureResponseDto
{
...
...
src/views/userPage/components/selfActivity.vue
View file @
8c944c35
...
@@ -70,6 +70,12 @@ import { getSelfAuctionRecord, getUserLotteryRecordList, getUserWheelRecordList
...
@@ -70,6 +70,12 @@ import { getSelfAuctionRecord, getUserLotteryRecordList, getUserWheelRecordList
import
{
usePageSearch
}
from
'@/hooks'
import
{
usePageSearch
}
from
'@/hooks'
import
{
ActivityTypeEnum
}
from
'@/constants/enums'
import
{
ActivityTypeEnum
}
from
'@/constants/enums'
import
type
{
UserLotteryRecordItemDto
,
UserWheelRecordItemDto
}
from
'@/api'
import
type
{
UserLotteryRecordItemDto
,
UserWheelRecordItemDto
}
from
'@/api'
import
{
useUserStore
}
from
'@/stores'
import
{
storeToRefs
}
from
'pinia'
const
userStore
=
useUserStore
()
const
{
userInfo
}
=
storeToRefs
(
userStore
)
const
isWareHouse
=
userInfo
.
value
.
address
.
includes
(
'仓库'
)
const
EmptyComp
=
()
=>
(
const
EmptyComp
=
()
=>
(
<
div
class
=
"flex flex-col items-center justify-center h-64"
>
<
div
class
=
"flex flex-col items-center justify-center h-64"
>
...
@@ -182,7 +188,10 @@ const activityTypeListOptions = [
...
@@ -182,7 +188,10 @@ const activityTypeListOptions = [
),
),
refresh
:
()
=>
refresh2
(),
refresh
:
()
=>
refresh2
(),
},
},
{
]
if
(
!
isWareHouse
)
{
activityTypeListOptions
.
push
({
label
:
'大转盘'
,
label
:
'大转盘'
,
value
:
ActivityTypeEnum
.
WHEEL
,
value
:
ActivityTypeEnum
.
WHEEL
,
component
:
()
=>
(
component
:
()
=>
(
...
@@ -231,9 +240,8 @@ const activityTypeListOptions = [
...
@@ -231,9 +240,8 @@ const activityTypeListOptions = [
<
/
>
<
/
>
),
),
refresh
:
()
=>
refresh3
(),
refresh
:
()
=>
refresh3
(),
},
})
]
}
const
tab
=
ref
(
activityTypeListOptions
[
0
]
!
.
value
)
const
tab
=
ref
(
activityTypeListOptions
[
0
]
!
.
value
)
const
toggleTab
=
()
=>
{
const
toggleTab
=
()
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment