Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
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 43fddfb7
authored
Jan 14, 2026
by
Lin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 盯防类型默认值修改
1 parent
a8f60578
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
9 deletions
src/views/earlyWarningManager/strategyAnalysis/index.vue
src/views/earlyWarningManager/strategyCentre/compoments/selectCustom.vue
src/views/earlyWarningManager/strategyCentre/index.vue
src/views/earlyWarningManager/strategyAnalysis/index.vue
View file @
43fddfb
...
...
@@ -298,12 +298,10 @@ export default {
],
// 盯防类型选项
watchTypeOptions
:
[
{
label
:
'全部'
,
icon
:
'el-icon-warning-outline'
,
iconUrl
:
require
(
'@/assets/strategy/icon-strategy-type01.png'
)
},
{
label
:
'兜底指标'
,
icon
:
'el-icon-warning-outline'
,
iconUrl
:
require
(
'@/assets/strategy/icon-strategy-type01.png'
)
},
{
label
:
'生态系数'
,
icon
:
'el-icon-data-line'
,
iconUrl
:
require
(
'@/assets/strategy/icon-strategy-type02.png'
)
},
{
label
:
'流量'
,
icon
:
'el-icon-odometer'
,
iconUrl
:
require
(
'@/assets/strategy/icon-strategy-type03.png'
)
}
{
label
:
'生态系数'
,
icon
:
'el-icon-data-line'
,
iconUrl
:
require
(
'@/assets/strategy/icon-strategy-type02.png'
)
}
],
currentWatchType
:
'
全部
'
,
// 当前选中的盯防类型
currentWatchType
:
'
兜底指标
'
,
// 当前选中的盯防类型
// 指标类型选项
indicatorTypeOptions
:
[
{
label
:
'全部'
},
...
...
src/views/earlyWarningManager/strategyCentre/compoments/selectCustom.vue
View file @
43fddfb
...
...
@@ -61,7 +61,7 @@ export default {
// 当前选中的值
value
:
{
type
:
String
,
default
:
'
全部
'
default
:
'
盯防类型
'
},
// 标签文本(如"盯防类型"、"指标类型")
label
:
{
...
...
src/views/earlyWarningManager/strategyCentre/index.vue
View file @
43fddfb
...
...
@@ -229,12 +229,10 @@ export default {
},
// 盯防类型选项
watchTypeOptions
:
[
{
label
:
'全部'
,
icon
:
'el-icon-warning-outline'
,
iconUrl
:
require
(
'@/assets/strategy/icon-strategy-type01.png'
)
},
{
label
:
'兜底指标'
,
icon
:
'el-icon-warning-outline'
,
iconUrl
:
require
(
'@/assets/strategy/icon-strategy-type01.png'
)
},
{
label
:
'生态系数'
,
icon
:
'el-icon-data-line'
,
iconUrl
:
require
(
'@/assets/strategy/icon-strategy-type02.png'
)
},
{
label
:
'流量'
,
icon
:
'el-icon-odometer'
,
iconUrl
:
require
(
'@/assets/strategy/icon-strategy-type03.png'
)
}
{
label
:
'生态系数'
,
icon
:
'el-icon-data-line'
,
iconUrl
:
require
(
'@/assets/strategy/icon-strategy-type02.png'
)
}
],
currentWatchType
:
'
全部
'
,
// 当前选中的盯防类型
currentWatchType
:
'
兜底指标
'
,
// 当前选中的盯防类型
// 指标类型选项
indicatorTypeOptions
:
[
{
label
:
'全部'
},
...
...
@@ -377,6 +375,8 @@ export default {
console
.
log
(
'卡片选中状态变化:'
,
item
.
name
,
item
.
checked
,
index
);
const
selectedCount
=
this
.
cardList
.
filter
(
card
=>
card
.
checked
).
length
;
console
.
log
(
'当前选中数量:'
,
selectedCount
);
// 打印已选中的数据
const
selectedData
=
this
.
cardList
.
filter
(
card
=>
card
.
checked
);
},
handleTabChange
(
tab
)
{
this
.
currentTab
=
tab
;
...
...
@@ -426,6 +426,9 @@ export default {
this
.
cardList
.
forEach
(
item
=>
{
item
.
checked
=
shouldSelectAll
;
});
// 打印已选中的数据
const
selectedData
=
this
.
cardList
.
filter
(
card
=>
card
.
checked
);
console
.
log
(
'全选/取消全选 - 已选中的数据:'
,
selectedData
);
},
// 每页条数
handleSizeChange
(
value
)
{
...
...
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