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 4e47ace5
authored
Jun 14, 2022
by
张杰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复离线报表时间控件
1 parent
02ea3ef9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
src/views/alarmCenter/offline.vue
src/views/alarmCenter/offline.vue
View file @
4e47ace
...
...
@@ -12,7 +12,7 @@
<el-form-item
label=
"离线时间:"
>
<!--
<el-date-picker
v-model=
"searchForm.offDate"
type=
"datetimerange"
class=
"datatime_picker"
unlink-panels
range-separator=
"~"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
value-format=
"yyyy-MM-dd HH:mm:ss"
:picker-options=
"offPickerOptions"
@
change=
"onChangeDate"
>
</el-date-picker>
-->
<el-date-picker
v-model=
"searchForm.offlineStartTime"
class=
"sort_picker"
type=
"datetime"
unlink-panels
placeholder=
"选择日期时间"
value-format=
"yyyy-MM-dd HH:mm:ss"
:picker-options=
"offPickerOptions"
>
<el-date-picker
v-model=
"searchForm.offlineStartTime"
class=
"sort_picker"
type=
"datetime"
unlink-panels
placeholder=
"选择日期时间"
value-format=
"yyyy-MM-dd HH:mm:ss"
:picker-options=
"offPickerOptions"
@
change=
"onChangeDate"
>
</el-date-picker>
<span>
~
</span>
<el-date-picker
v-model=
"searchForm.offlineEndTime"
class=
"sort_picker"
type=
"datetime"
placeholder=
"选择日期时间"
value-format=
"yyyy-MM-dd HH:mm:ss"
disabled
>
...
...
@@ -273,11 +273,19 @@ export default {
},
onChangeDate
(
e
)
{
console
.
log
(
e
);
let
max
=
moment
().
format
(
"YYYY-MM-DD HH:mm:ss"
);
this
.
$set
(
this
.
searchForm
,
"offlineEndTime"
,
max
);
},
},
};
</
script
>
<
style
lang=
"scss"
scoped
>
@import
"@/styles/hadoop.scss"
;
</
style
>
\ No newline at end of file
</
style
>
<
style
lang=
"scss"
>
.el-picker-panel
{
.el-button--text.el-picker-panel__link-btn
{
display
:
none
;
}
}
</
style
>
\ No newline at end of file
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