Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
micro-trialrun
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 39c9ad29
authored
Jul 30, 2026
by
liimin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复(告警中心): 修复汇总告警详情页的搜索和重置逻辑
重命名搜索按钮的点击处理函数,新增搜索方法并重置页码为1,更新重置方法调用时传入页码1
1 parent
67f949f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
src/views/alarmCenter/gatheringAlarmDetail.vue
src/views/alarmCenter/gatheringAlarmDetail.vue
View file @
39c9ad2
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
icon=
"el-icon-search"
type=
"primary"
@
click=
"
get
DetailList()"
>
搜索
</el-button>
<el-button
icon=
"el-icon-search"
type=
"primary"
@
click=
"
search
DetailList()"
>
搜索
</el-button>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
icon=
"el-icon-refresh"
type=
"default"
@
click=
"restDetail()"
>
重置
</el-button>
<el-button
icon=
"el-icon-refresh"
type=
"default"
@
click=
"restDetail()"
>
重置
</el-button>
...
@@ -221,11 +221,17 @@ export default {
...
@@ -221,11 +221,17 @@ export default {
this
.
detailCurrentPage
=
1
;
this
.
detailCurrentPage
=
1
;
},
},
// 搜索(重置到第一页)
searchDetailList
()
{
this
.
detailCurrentPage
=
1
;
this
.
getDetailList
(
1
);
},
// 重置
// 重置
restDetail
()
{
restDetail
()
{
this
.
detailSearchForm
=
{
alarmStatus
:
""
,
alarmType
:
""
};
this
.
detailSearchForm
=
{
alarmStatus
:
""
,
alarmType
:
""
};
this
.
detailCurrentPage
=
1
;
this
.
detailCurrentPage
=
1
;
this
.
getDetailList
();
this
.
getDetailList
(
1
);
},
},
// 获取查询参数
// 获取查询参数
...
...
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