1.修改报警历史记录字体

This commit is contained in:
15133876896-BGG25 2023-06-08 17:28:05 +08:00
parent 05f7321cc2
commit ec097a587e

View File

@ -9,11 +9,11 @@
--> -->
<template> <template>
<div> <div>
<el-dialog v-model="is_Show" title="历史报警记录" ref="" destroy-on-close> <el-dialog title="历史报警记录" v-model="is_Show" ref="" destroy-on-close >
<div style="margin-bottom: 20px"> <div style="margin-bottom: 20px">
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="13"> <el-col :span="15">
<span style="margin-right: 10px">日期</span> <span style="margin-right: 10px; font-size: 18px;">日期</span>
<el-date-picker <el-date-picker
v-model="selectTime" v-model="selectTime"
type="datetimerange" type="datetimerange"
@ -22,11 +22,13 @@
format="YYYY/MM/DD HH:mm:ss" format="YYYY/MM/DD HH:mm:ss"
start-placeholder="开始时间" start-placeholder="开始时间"
end-placeholder="结束时间" end-placeholder="结束时间"
size="large"
style="font-size: 18px;"
/> />
</el-col> </el-col>
<el-col :span="7"> <el-col :span="9">
<span style="margin-right: 10px">类型</span> <span style="margin-right: 10px; font-size: 18px;" >类型</span>
<el-select v-model="searchConfig.alarmType" clearable placeholder="请选择报警类型"> <el-select v-model="searchConfig.alarmType" clearable placeholder="请选择报警类型" style="font-size: 18px;" size="large">
<el-option <el-option
v-for="item in alarmTypeOptions" v-for="item in alarmTypeOptions"
:key="item.value" :key="item.value"
@ -35,33 +37,29 @@
/> />
</el-select> </el-select>
</el-col> </el-col>
<el-col :span="2">
<el-button type="primary" plain @click="searchpartData" </el-row>
<el-row :gutter="20">
<el-col :span="18"> </el-col>
<el-col :span="6">
<el-button type="primary" plain @click="searchpartData" size="large"
>搜索</el-button >搜索</el-button
> >
</el-col> <el-button type="primary" plain @click="searchpartReset" size="large"
<el-col :span="2">
<el-button type="primary" plain @click="searchpartReset"
>重置</el-button >重置</el-button
> >
</el-col> </el-col>
</el-row> </el-row>
<!-- <el-row :gutter="20">
<el-col :span="18"> </el-col>
<el-col :span="6">
<el-button type="primary" plain @click="searchpartData"
>搜索</el-button
>
</el-col>
</el-row> -->
</div> </div>
<el-table <el-table
:data="tableData" :data="tableData"
v-loading="dialogLoading" v-loading="dialogLoading"
size="large" size="large"
max-height="600px" max-height="650px"
stripe stripe
style="font-size: 18px;"
> >
<el-table-column <el-table-column
type="index" type="index"
@ -87,6 +85,8 @@
:background="background" :background="background"
layout=" prev, pager, next, jumper,sizes" layout=" prev, pager, next, jumper,sizes"
:total="props.total" :total="props.total"
size="large"
style="font-size: 18px;"
@size-change="handleSizeChange" @size-change="handleSizeChange"
@current-change="handleCurrentChange" @current-change="handleCurrentChange"
/> />
@ -257,8 +257,6 @@ const shortcuts = [
]; ];
// //
function searchpartData() { function searchpartData() {
console.log(searchConfig,'search');
emits("getDialogdatafun", searchConfig); emits("getDialogdatafun", searchConfig);
} }
// //
@ -268,7 +266,6 @@ function searchpartReset(){
//startTimeendTime //startTimeendTime
searchConfig.startTime = null; searchConfig.startTime = null;
searchConfig.endTime = null; searchConfig.endTime = null;
console.log(searchConfig,'reset');
emits("getDialogdatafun", searchConfig); emits("getDialogdatafun", searchConfig);
} }
onMounted(() => {}); onMounted(() => {});
@ -278,4 +275,10 @@ onMounted(() => {});
.pagination-class { .pagination-class {
margin-top: 20px; margin-top: 20px;
} }
:deep(.el-dialog__title){
font-size: 25px ;
}
.el-row {
margin-bottom: 20px;
}
</style> </style>