Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
罗鑫霖
/
vion-tools
Go to a project
Project
Repository
Issues
0
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 8642dc4a
authored
Nov 25, 2025
by
郜建宇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
chore: 全天分析重跑select添加全选和清空功能
1 parent
11d5e477
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
1 deletions
src/views/dayAnalysisRerun/dayAnalysisRerun.vue
src/views/dayAnalysisRerun/dayAnalysisRerun.vue
View file @
8642dc4
...
...
@@ -6,6 +6,14 @@
</a-form-item>
<a-form-item
label=
"广场:"
>
<a-select
v-model:value=
"queryForm.plaza_id"
style=
"width: 280px"
mode=
"multiple"
:maxTagCount=
"1"
:options=
"plazaList"
optionFilterProp=
"label"
show-search
>
<template
#
dropdownRender=
"
{ menuNode: menu }">
<v-nodes
:vnodes=
"menu"
/>
<a-divider
style=
"margin: 4px 0"
/>
<div
@
mousedown=
"e => e.preventDefault()"
>
<a-button
@
click=
"selectPlazaAll()"
type=
"link"
>
全选
</a-button>
<a-button
@
click=
"clearPlazaAll()"
type=
"link"
>
清空
</a-button>
</div>
</
template
>
</a-select>
</a-form-item>
<a-form-item
label=
"开始日期:"
>
...
...
@@ -95,6 +103,17 @@
)
}
// 广场全选清空
const
selectPlazaAll
=
function
()
{
queryForm
.
plaza_id
=
[]
for
(
const
one
in
plazaList
.
value
){
queryForm
.
plaza_id
.
push
(
plazaList
.
value
[
one
].
value
)
}
}
const
clearPlazaAll
=
function
()
{
queryForm
.
plaza_id
=
[]
}
// 新需求:数据重跑
const
msgLogList
=
ref
([])
const
confirmSearch
=
function
()
{
...
...
@@ -139,6 +158,8 @@
onAccountChange
,
confirmSearch
,
msgLogList
,
selectPlazaAll
,
clearPlazaAll
,
}
}
}
...
...
@@ -168,4 +189,4 @@
margin-bottom
:
10px
;
}
}
</
style
>
\ No newline at end of file
</
style
>
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