Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d21cb865
authored
Mar 24, 2026
by
chenwq1
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 穿透
1 parent
5d477458
Pipeline
#86
for
d21cb865
failed
in 0 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
13 deletions
apps/web/venus-usedcar-quality/src/components.d.ts
apps/web/venus-usedcar-quality/src/views/home/index.vue
apps/web/venus-usedcar-quality/src/components.d.ts
View file @
d21cb86
...
@@ -19,31 +19,20 @@ declare module 'vue' {
...
@@ -19,31 +19,20 @@ declare module 'vue' {
SelectDropdown
:
typeof
import
(
'./components/CustomizeForm/selectDropdown.vue'
)[
'default'
]
SelectDropdown
:
typeof
import
(
'./components/CustomizeForm/selectDropdown.vue'
)[
'default'
]
VanActionSheet
:
typeof
import
(
'vant/es'
)[
'ActionSheet'
]
VanActionSheet
:
typeof
import
(
'vant/es'
)[
'ActionSheet'
]
VanButton
:
typeof
import
(
'vant/es'
)[
'Button'
]
VanButton
:
typeof
import
(
'vant/es'
)[
'Button'
]
VanCell
:
typeof
import
(
'vant/es'
)[
'Cell'
]
VanCellGroup
:
typeof
import
(
'vant/es'
)[
'CellGroup'
]
VanCheckbox
:
typeof
import
(
'vant/es'
)[
'Checkbox'
]
VanCheckbox
:
typeof
import
(
'vant/es'
)[
'Checkbox'
]
VanEmpty
:
typeof
import
(
'vant/es'
)[
'Empty'
]
VanEmpty
:
typeof
import
(
'vant/es'
)[
'Empty'
]
VanField
:
typeof
import
(
'vant/es'
)[
'Field'
]
VanField
:
typeof
import
(
'vant/es'
)[
'Field'
]
VanGrid
:
typeof
import
(
'vant/es'
)[
'Grid'
]
VanGridItem
:
typeof
import
(
'vant/es'
)[
'GridItem'
]
VanIcon
:
typeof
import
(
'vant/es'
)[
'Icon'
]
VanIcon
:
typeof
import
(
'vant/es'
)[
'Icon'
]
VanImage
:
typeof
import
(
'vant/es'
)[
'Image'
]
VanImage
:
typeof
import
(
'vant/es'
)[
'Image'
]
VanImagePreview
:
typeof
import
(
'vant/es'
)[
'ImagePreview'
]
VanList
:
typeof
import
(
'vant/es'
)[
'List'
]
VanList
:
typeof
import
(
'vant/es'
)[
'List'
]
VanLoading
:
typeof
import
(
'vant/es'
)[
'Loading'
]
VanLoading
:
typeof
import
(
'vant/es'
)[
'Loading'
]
VanNavBar
:
typeof
import
(
'vant/es'
)[
'NavBar'
]
VanProgress
:
typeof
import
(
'vant/es'
)[
'Progress'
]
VanProgress
:
typeof
import
(
'vant/es'
)[
'Progress'
]
VanPullRefresh
:
typeof
import
(
'vant/es'
)[
'PullRefresh'
]
VanPullRefresh
:
typeof
import
(
'vant/es'
)[
'PullRefresh'
]
VanSearch
:
typeof
import
(
'vant/es'
)[
'Search'
]
VanSearch
:
typeof
import
(
'vant/es'
)[
'Search'
]
VanSkeleton
:
typeof
import
(
'vant/es'
)[
'Skeleton'
]
VanSkeleton
:
typeof
import
(
'vant/es'
)[
'Skeleton'
]
VanSlider
:
typeof
import
(
'vant/es'
)[
'Slider'
]
VanSlider
:
typeof
import
(
'vant/es'
)[
'Slider'
]
VanSticky
:
typeof
import
(
'vant/es'
)[
'Sticky'
]
VanSwipe
:
typeof
import
(
'vant/es'
)[
'Swipe'
]
VanSwipeItem
:
typeof
import
(
'vant/es'
)[
'SwipeItem'
]
VanTab
:
typeof
import
(
'vant/es'
)[
'Tab'
]
VanTabbar
:
typeof
import
(
'vant/es'
)[
'Tabbar'
]
VanTabbar
:
typeof
import
(
'vant/es'
)[
'Tabbar'
]
VanTabbarItem
:
typeof
import
(
'vant/es'
)[
'TabbarItem'
]
VanTabbarItem
:
typeof
import
(
'vant/es'
)[
'TabbarItem'
]
VanTabs
:
typeof
import
(
'vant/es'
)[
'Tabs'
]
VanTag
:
typeof
import
(
'vant/es'
)[
'Tag'
]
VanTag
:
typeof
import
(
'vant/es'
)[
'Tag'
]
WorkOrderStatusTags
:
typeof
import
(
'./components/WorkOrderStatusTags.vue'
)[
'default'
]
WorkOrderStatusTags
:
typeof
import
(
'./components/WorkOrderStatusTags.vue'
)[
'default'
]
}
}
...
...
apps/web/venus-usedcar-quality/src/views/home/index.vue
View file @
d21cb86
...
@@ -250,6 +250,9 @@ function getCardActions(item: WorkOrderItem): CardAction[] {
...
@@ -250,6 +250,9 @@ function getCardActions(item: WorkOrderItem): CardAction[] {
return
[];
return
[];
}
}
/** 底部操作区统一拦冒泡,避免点到按钮与卡片间隙时仍触发整张卡的 viewWorkOrder */
function
stopCardFooterBubbling
()
{}
watch
([
keyword
,
activeStatus
],
()
=>
{
watch
([
keyword
,
activeStatus
],
()
=>
{
void
onRefresh
();
void
onRefresh
();
});
});
...
@@ -330,12 +333,13 @@ void onRefresh();
...
@@ -330,12 +333,13 @@ void onRefresh();
<div
class=
"card-bottom"
>
<div
class=
"card-bottom"
>
派单于
{{
item
.
dispatchTime
}}
派单于
{{
item
.
dispatchTime
}}
</div>
</div>
<div
class=
"card-actions"
>
<div
class=
"card-actions"
@
click
.
stop=
"stopCardFooterBubbling"
>
<van-button
v-for=
"act in getCardActions(item)"
<van-button
v-for=
"act in getCardActions(item)"
:key=
"act.key"
:key=
"act.key"
class=
"wo-btn"
class=
"wo-btn"
:class=
"act.variant === 'primary' ? 'wo-btn--primary' : 'wo-btn--secondary'"
:class=
"act.variant === 'primary' ? 'wo-btn--primary' : 'wo-btn--secondary'"
@
click=
"act.onClick"
>
@
click
.
stop
=
"act.onClick"
>
{{
act
.
label
}}
{{
act
.
label
}}
</van-button>
</van-button>
</div>
</div>
...
...
Write
Preview
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