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 1adffe2d
authored
Jun 23, 2022
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
警情 处理日志 查询条件修改
1 parent
d418131d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
3 deletions
src/views/alarmCenter/alarmLog.vue
src/views/alarmCenter/alarmLog.vue
View file @
1adffe2
...
@@ -25,6 +25,11 @@
...
@@ -25,6 +25,11 @@
<el-date-picker
v-model=
"searchForm.offDate"
type=
"daterange"
class=
"data_picker"
:clearable=
"false"
unlink-panels
range-separator=
"~"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
value-format=
"yyyy-MM-dd"
:picker-options=
"offPickerOptions"
>
<el-date-picker
v-model=
"searchForm.offDate"
type=
"daterange"
class=
"data_picker"
:clearable=
"false"
unlink-panels
range-separator=
"~"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
value-format=
"yyyy-MM-dd"
:picker-options=
"offPickerOptions"
>
</el-date-picker>
</el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
label=
"报警等级:"
>
<el-select
v-model=
"searchForm.alarmLevel"
class=
"small_select"
>
<el-option
v-for=
"(item, index) in alarmLevelList"
:key=
"index"
:label=
"item.name"
:value=
"item.id"
></el-option>
</el-select>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
icon=
"el-icon-search"
type=
"primary"
@
click=
"searchEvent()"
>
搜索
</el-button>
<el-button
icon=
"el-icon-search"
type=
"primary"
@
click=
"searchEvent()"
>
搜索
</el-button>
</el-form-item>
</el-form-item>
...
@@ -69,7 +74,7 @@ export default {
...
@@ -69,7 +74,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
searchForm
:
{
offDate
:
[
""
,
""
]},
searchForm
:
{
offDate
:
[
""
,
""
]
,
alarmLevel
:
""
},
offPickerOptions
:
{
offPickerOptions
:
{
shortcuts
:
alarmLogShortcuts
,
shortcuts
:
alarmLogShortcuts
,
},
},
...
@@ -85,7 +90,15 @@ export default {
...
@@ -85,7 +90,15 @@ export default {
{
label
:
"处理时间"
,
prop
:
"processTime"
},
{
label
:
"处理时间"
,
prop
:
"processTime"
},
],
],
tableParams
:
{},
tableParams
:
{},
GET_ALARM_HANDLE_LOG
GET_ALARM_HANDLE_LOG
,
alarmLevelList
:[
{
name
:
'全部'
,
id
:
''
},
{
name
:
'1级'
,
id
:
'1'
},
{
name
:
'2级'
,
id
:
'2'
},
{
name
:
'3级'
,
id
:
'3'
},
{
name
:
'4级'
,
id
:
'4'
},
// {name:'5级',id:'5'},
]
};
};
},
},
created
()
{
created
()
{
...
@@ -103,7 +116,7 @@ export default {
...
@@ -103,7 +116,7 @@ export default {
// 重置
// 重置
rest
()
{
rest
()
{
// this.defaultDate();
// this.defaultDate();
this
.
searchForm
=
{
offDate
:
[
""
,
""
]}
this
.
searchForm
=
{
offDate
:
[
""
,
""
]
,
alarmLevel
:
""
}
this
.
$refs
.
glsxTable
.
restParams
()
this
.
$refs
.
glsxTable
.
restParams
()
this
.
tableParams
=
this
.
getParams
();
this
.
tableParams
=
this
.
getParams
();
},
},
...
...
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