事件预警时间修改字段、bugflx

Lvtianfang
吕天方 4 months ago
parent 826457efbb
commit e8f1cbf1f1

@ -363,7 +363,7 @@
.lookTitle {
display: flex;
align-items: center;
margin: 10px 0;
// margin: 10px 0;
.grid-content {
display: flex;
align-items: center;
@ -468,6 +468,10 @@
overflow: hidden; /* 隐藏超出范围的文本 */
text-overflow: ellipsis; /* 省略号 */
}
.value-value {
flex:1;
width: 100%;
}
}
.el-button {
margin-left: 10px;

@ -34,16 +34,17 @@ export default {
if(route.meta.title == '算法运行监测') {
this.isTrue = true;
this.getGetErrorMsg();
//
//
timeOne = setInterval(()=>{
this.getGetErrorMsg();
},3600000)
clearInterval(timeTwo)
} else {
clearInterval(timeTwo)
this.isTrue = false;
timeTwo = this.getLimitOneMsg();
this.getLimitOneMsg();
//
setInterval(()=>{
timeTwo = setInterval(()=>{
this.getLimitOneMsg();
},60000)
clearInterval(timeOne)

@ -18,7 +18,8 @@
<div class="grid-title">概括名称</div>
<div class="grid-value-btn">
<el-tooltip class="item" effect="light" :content="audioInfo.title" placement="top">
<el-input class="grid-value-value" v-loading="InputLoading" @blur="titleBlur" v-model="audioInfo.title" placeholder="概括名称" :disabled="disabled"></el-input>
<!-- @blur="titleBlur" -->
<el-input class="grid-value-value" v-loading="InputLoading" v-model="audioInfo.title" placeholder="概括名称" :disabled="disabled"></el-input>
</el-tooltip>
<el-button size="mini" @click="changeTitle"><img src="@/assets/images/changeTitle.png" alt=""> 修改标题</el-button>
</div>
@ -36,7 +37,7 @@
<el-col :span="8">
<div class="grid-content">
<div class="grid-title">预警时间</div>
<div class="grid-value">{{ audioInfo.firstWarnTime || audioInfo.caseDate }}</div>
<div class="grid-value">{{ audioInfo.firstWarnTimeDate || audioInfo.caseDate }}</div>
</div>
</el-col>
<el-col :span="8">
@ -117,6 +118,7 @@
<el-button type="primary" @click="reported(1)"></el-button>
<!-- <el-button type="info" plain>不上报</el-button> -->
<el-button type="danger" @click="reported(2)">退</el-button>
<el-button type="success" @click="reported(3)"></el-button>
</div>
<el-dialog
width="30%"
@ -124,8 +126,8 @@
:visible.sync="innerVisible"
append-to-body>
<el-descriptions :column="1">
<el-descriptions-item label="修改前标题">{{ audioInfo.title }}</el-descriptions-item>
<el-descriptions-item label="修改后标题">{{ audioInfo.titleBefore }}</el-descriptions-item>
<el-descriptions-item label="前标题">{{ audioInfo.title }}</el-descriptions-item>
<el-descriptions-item label="历史标题">{{ audioInfo.titleBefore }}</el-descriptions-item>
</el-descriptions>
</el-dialog>
<urgency-audit title="工单详情" ref="urgencyAudit" :auditStatus="auditStatusTwo"></urgency-audit>
@ -226,21 +228,56 @@ export default {
},
// /退
reported(id){
this.$confirm(`确定要${id == 1 ? '重新上报驾驶仓' : '退回重训练'}吗?`, "警告", {
this.$confirm(`确定要${id == 1 ? '重新上报驾驶仓' : id == 2 ? '退回重训练' : id == 3 ? '审核通过':''}吗?`, "警告", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
}).then(() => {
eventChangeIsReport({isReport:id,caseSerial:this.multipleSelection,innerEventId:this.audioInfo.innerEventId}).then(res=>{
// console.log(res);
this.multipleSelection = [];
this.$message({
type: "success",
message: id == 1 ? '已上报驾驶舱' : '已退回重训练' + "!",
});
this.$emit('closeDialog')
this.close();
})
if(id !== 3) {
if(this.multipleSelection.length > 0 || this.backupsInfo.title !== this.audioInfo.title) {
if(this.backupsInfo.title !== this.audioInfo.title) {
eventChangeIsReport({isReport:id,caseSerial:this.multipleSelection,innerEventId:this.audioInfo.innerEventId,newTitle:this.audioInfo.title,oldTitle:this.backupsInfo.title}).then(res=>{
// console.log(res);
this.multipleSelection = [];
this.$message({
type: "success",
message: id == 1 ? '已上报驾驶舱' : '已退回重训练' + "!",
});
this.$emit('closeDialog')
this.close();
})
} else {
eventChangeIsReport({isReport:id,caseSerial:this.multipleSelection,innerEventId:this.audioInfo.innerEventId}).then(res=>{
// console.log(res);
this.multipleSelection = [];
this.$message({
type: "success",
message: id == 1 ? '已上报驾驶舱' : '已退回重训练' + "!",
});
this.$emit('closeDialog')
this.close();
})
}
} else {
this.$message.error(`您未做任何操作,请修改后再${id == 1 ? '上报驾驶仓' : id == 2 ? '退回重训练' : ''}`);
}
} else {
if(this.backupsInfo.title !== this.audioInfo.title) {
this.$message.error(`您已修改标题,请上报驾驶舱或退回重训练`);
} else if(this.multipleSelection.length > 0) {
this.$message.error(`您已标记工单为不符合,请上报驾驶舱或退回重训练`);
} else {
eventChangeIsReport({isReport:id,innerEventId:this.audioInfo.innerEventId}).then(res=>{
// console.log(res);
this.$message({
type: "success",
message: "审核完成",
});
this.$emit('closeDialog')
this.close();
})
}
}
})
},
//
@ -255,18 +292,18 @@ export default {
titleBlur(){
this.disabled = true;
if(this.backupsInfo.title !== this.audioInfo.title) {
this.InputLoading = true;
editTitle({title:this.audioInfo.title, innerEventId:this.audioInfo.innerEventId}).then(res=>{
if(res.code == 200) {
this.$message({
type: "success",
message: "标题修改成功!",
});
this.InputLoading = false;
}
}).catch(err=>{
this.InputLoading = false;
})
// this.InputLoading = true;
// editTitle({title:this.audioInfo.title, innerEventId:this.audioInfo.innerEventId}).then(res=>{
// if(res.code == 200) {
// this.$message({
// type: "success",
// message: "!",
// });
// this.InputLoading = false;
// }
// }).catch(err=>{
// this.InputLoading = false;
// })
}
},
//

@ -1,7 +1,7 @@
<template>
<el-dialog
:visible.sync="showCK"
width="80%"
width="85%"
:show-close="false"
:close-on-click-modal="false"
:close-on-press-escape="false"
@ -54,8 +54,8 @@
</el-table-column>
<el-table-column label="审核结果" v-if="auditStatus == 2" align="center" prop="isReport">
<template slot-scope="scope">
<span v-if="scope.row.isReport == 1 || scope.row.isReport == 2 "></span>
<span v-else></span>
<span class="sign" v-if="scope.row.isReport == 1 || scope.row.isReport == 2 "></span>
<span class="unmark" v-else></span>
</template>
</el-table-column>
<el-table-column label="操作" align="center" class-name="operation-box">

@ -25,7 +25,8 @@
<span></span>
</div>
<el-tooltip class="item" effect="light" :content="eventInfo.title" placement="top">
<el-input class="work-order-value-value" @blur="titleBlur" v-model="eventInfo.title" :disabled="disabled"></el-input>
<!-- @blur="titleBlur" -->
<el-input class="work-order-value-value" v-model="eventInfo.title" :disabled="disabled"></el-input>
</el-tooltip>
</div>
<el-button size="mini" @click="disabled = false"><img src="@/assets/images/changeTitle.png" alt=""> 修改标题</el-button>
@ -37,7 +38,7 @@
<span></span>
</div>
<el-tooltip class="item" effect="light" :content="eventInfo.title" placement="top">
<div class="work-order-value work-order-value-value">{{ eventInfo.title }}</div>
<div class="work-order-value work-order-value-value" :class="!eventInfo.titleBefore ? 'value-value':''">{{ eventInfo.title }}</div>
</el-tooltip>
</div>
<el-button size="mini" v-if="eventInfo.titleBefore" @click="innerVisible = true"><img src="@/assets/images/changeTitle.png" alt=""> </el-button>
@ -61,7 +62,7 @@
<div class="work-order-labelBox">预警时间</div>
<span></span>
</div>
<div class="work-order-value">{{ eventInfo.firstWarnTime }}</div>
<div class="work-order-value">{{ eventInfo.firstWarnTimeDate }}</div>
</div>
<div class="work-order-items">
<div class="work-order-label">
@ -215,6 +216,7 @@
<el-button type="primary" @click="reported(1)"></el-button>
<!-- <el-button type="info" plain>不上报</el-button> -->
<el-button type="danger" @click="reported(2)">退</el-button>
<el-button type="success" @click="reported(3)"></el-button>
</div>
<el-dialog
width="30%"
@ -222,8 +224,8 @@
:visible.sync="innerVisible"
append-to-body>
<el-descriptions :column="1">
<el-descriptions-item label="修改前标题">{{ eventInfo.title }}</el-descriptions-item>
<el-descriptions-item label="修改后标题">{{ eventInfo.titleBefore }}</el-descriptions-item>
<el-descriptions-item label="前标题">{{ eventInfo.title }}</el-descriptions-item>
<el-descriptions-item label="历史标题">{{ eventInfo.titleBefore }}</el-descriptions-item>
</el-descriptions>
</el-dialog>
</el-dialog>
@ -376,34 +378,50 @@ export default {
titleBlur(){
this.disabled = true;
if(this.backupsInfo.title !== this.eventInfo.title) {
editTitle({title:this.eventInfo.title, innerEventId:this.eventInfo.innerEventId}).then(res=>{
if(res.code == 200) {
this.$message({
type: "success",
message: "标题修改成功!",
});
}
})
// editTitle({title:this.eventInfo.title, innerEventId:this.eventInfo.innerEventId}).then(res=>{
// if(res.code == 200) {
// this.$message({
// type: "success",
// message: "!",
// });
// }
// })
}
},
// /退
reported(id){
// console.log(this.multipleSelection);
// console.log(this.audioInfo.innerEventId);
this.$confirm(`确定要${id == 1 ? '重新上报驾驶仓' : '退回重训练'}吗?`, "警告", {
this.$confirm(`确定要${id == 1 ? '重新上报驾驶仓' : id == 2 ? '退回重训练' : id == 3 ? '审核通过':''}吗?`, "警告", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
}).then(() => {
eventChangeIsReport({isReport:id,caseSerial:[this.audioInfo.caseSerial],innerEventId:this.eventInfo.innerEventId}).then(res=>{
// console.log(res);
this.$message({
type: "success",
message: id == 1 ? '已上报驾驶舱' : '已退回重训练' + "!",
});
this.$emit('closeDialog')
this.close();
})
if(id !== 3) {
eventChangeIsReport({isReport:id,caseSerial:[this.audioInfo.caseSerial],innerEventId:this.eventInfo.innerEventId,newTitle:this.eventInfo.title,oldTitle:this.backupsInfo.title}).then(res=>{
// console.log(res);
this.$message({
type: "success",
message: id == 1 ? '已上报驾驶舱' : '已退回重训练' + "!",
});
this.$emit('closeDialog')
this.close();
})
} else {
if(this.backupsInfo.title !== this.eventInfo.title) {
this.$message.error(`您已修改标题,请上报驾驶舱或退回重训练`);
} else {
eventChangeIsReport({isReport:id,caseSerial:[this.audioInfo.caseSerial],innerEventId:this.eventInfo.innerEventId}).then(res=>{
// console.log(res);
this.$message({
type: "success",
message: "审核完成",
});
this.$emit('closeDialog')
this.close();
})
}
}
})
},
//

@ -7,13 +7,20 @@
<!-- <el-input v-model="input" placeholder="请输入关键字"></el-input>
<el-button type="primary" size="medium" @click="query"></el-button> -->
<el-input placeholder="请输入关键字" v-model="queryParams.title">
<i
v-if="queryParams.title"
class="el-icon-close el-input__icon"
slot="suffix"
@click="handleIconClick">
</i>
<el-button type="primary" size="medium" @click="query" slot="append" icon="el-icon-search"></el-button>
</el-input>
</div>
<el-radio-group v-model="queryParams.isReport" @change="getList" class="years-select" size="small" fill="#1890FF">
<el-radio-button :label="3">全部</el-radio-button>
<el-radio-button :label="6">全部</el-radio-button>
<el-radio-button :label="4">待审核</el-radio-button>
<el-radio-button :label="5">已审核</el-radio-button>
<el-radio-button :label="3">审核通过</el-radio-button>
</el-radio-group>
<div class="warning-list-list" v-loading="loading">
<div v-if="eventList.length > 0">
@ -30,7 +37,7 @@
</div>
<div class="content-bottom">
<img src="@/assets/images/time.png" alt="">
<span>{{ item.eventTime }}</span>
<span>{{ item.firstWarnTimeDate }}</span>
</div>
</div>
<div class="foot">
@ -120,7 +127,7 @@ export default {
current: 1,
size: 10,
title:"",
isReport: 3,
isReport: 6,
},
total: 0,
eventList:[],
@ -314,7 +321,7 @@ export default {
<div class="labelBox">预警时间</div>
<span></span>
</div>
<div class="infoValue">${item.firstWarnTime}</div>
<div class="infoValue">${item.firstWarnTimeDate}</div>
</div>
<div class="contentInfo">
<div class="infoLabel">
@ -381,6 +388,12 @@ export default {
this.queryParams.size = 10;
this.getList();
},
handleIconClick(){
this.queryParams.title = ''
this.queryParams.current = 1;
this.queryParams.size = 10;
this.getList();
},
//
audit(item){
this.urgencyTitle = "事件审核"

@ -14,6 +14,7 @@
<el-tab-pane label="待审核" name="first" />
<el-tab-pane label="已上报" name="second" />
<el-tab-pane label="重训练" name="third" />
<el-tab-pane label="审核通过" name="four" />
</el-tabs>
</div>
<div class="container-info" id="L-size-main">
@ -25,7 +26,7 @@
<el-form-item label="预警时间:">
<!-- <el-date-picker
class="ignoreElement"
v-model="formInline.firstWarnTime"
v-model="formInline.firstWarnTimeDate"
format="yyyy"
value-format="yyyy"
type="year"
@ -54,7 +55,7 @@
<el-table v-loading="loading" :data="tableData" :height="tabHeader">
<el-table-column type="index" label="序号" width="100px" class-name="table-operation" align="center"/>
<el-table-column label="事件标题" key="title" width="400px" prop="title" />
<el-table-column label="预警时间" key="firstWarnTime" width="300px" prop="firstWarnTime" />
<el-table-column label="预警时间" key="firstWarnTimeDate" width="300px" prop="firstWarnTimeDate" />
<el-table-column label="预警因素" key="warnFactor" width="400px" prop="warnFactor" />
<el-table-column label="事件数量" key="nums" width="100px" prop="nums" align="center">
<template slot-scope="scope">
@ -106,12 +107,12 @@ export default {
tableData: [
{
title:"关于大阳山景区交通拥堵问题",
firstWarnTime:"2024-08-29 09:00:20",
firstWarnTimeDate:"2024-08-29 09:00:20",
warnFactor:"大阳山景区、交通拥堵",
msgTypeName:"8条"
},{
title:"关于大阳山景区交通拥堵问题",
firstWarnTime:"2024-08-29 09:00:20",
firstWarnTimeDate:"2024-08-29 09:00:20",
warnFactor:"大阳山景区、交通拥堵",
msgTypeName:"8条"
},
@ -138,7 +139,12 @@ export default {
methods:{
handleClick(e) {
if (this.activeName == "first") {
this.pagination.isReport = null
this.pagination.isReport = 4;
this.pagination.startTime = "";
this.pagination.endTime = "";
this.pagination.title = "";
this.formInline.title = "";
this.formInline.time = [];
this.auditStatus = 1;
this.getList();
} else if (this.activeName == "second") {
@ -159,6 +165,15 @@ export default {
this.formInline.time = [];
this.auditStatus = 2;
this.getList();
} else if(this.activeName == "four") {
this.pagination.isReport = 3
this.pagination.startTime = "";
this.pagination.endTime = "";
this.pagination.title = "";
this.formInline.title = "";
this.formInline.time = [];
this.auditStatus = 2;
this.getList();
}
},
//

@ -14,6 +14,7 @@
<el-tab-pane label="待审核" name="first" />
<el-tab-pane label="已上报" name="second" />
<el-tab-pane label="重训练" name="third" />
<el-tab-pane label="审核通过" name="four" />
</el-tabs>
</div>
<div class="container-info" id="L-size-main">
@ -25,7 +26,7 @@
<el-form-item label="预警时间:">
<!-- <el-date-picker
class="ignoreElement"
v-model="formInline.firstWarnTime"
v-model="formInline.firstWarnTimeDate"
format="yyyy"
value-format="yyyy"
type="year"
@ -54,7 +55,7 @@
<el-table v-loading="loading" :data="tableData" :height="tabHeader">
<el-table-column type="index" label="序号" width="100px" class-name="table-operation" align="center"/>
<el-table-column label="事件标题" key="title" width="400px" prop="title" />
<el-table-column label="预警时间" key="firstWarnTime" width="300px" prop="firstWarnTime" />
<el-table-column label="预警时间" key="firstWarnTimeDate" width="300px" prop="firstWarnTimeDate" />
<el-table-column label="预警因素" key="warnFactor" width="400px" prop="warnFactor" />
<el-table-column label="事件数量" key="nums" width="100px" prop="nums" align="center">
<template slot-scope="scope">
@ -106,12 +107,12 @@ export default {
tableData: [
{
title:"关于大阳山景区交通拥堵问题",
firstWarnTime:"2024-08-29 09:00:20",
firstWarnTimeDate:"2024-08-29 09:00:20",
warnFactor:"大阳山景区、交通拥堵",
msgTypeName:"8条"
},{
title:"关于大阳山景区交通拥堵问题",
firstWarnTime:"2024-08-29 09:00:20",
firstWarnTimeDate:"2024-08-29 09:00:20",
warnFactor:"大阳山景区、交通拥堵",
msgTypeName:"8条"
},
@ -139,7 +140,12 @@ export default {
// tab
handleClick(e) {
if (this.activeName == "first") {
this.pagination.isReport = null;
this.pagination.isReport = 4;
this.pagination.startTime = "";
this.pagination.endTime = "";
this.pagination.title = "";
this.formInline.title = "";
this.formInline.time = [];
this.auditStatus = 1;
this.getList();
} else if (this.activeName == "second") {
@ -160,6 +166,15 @@ export default {
this.formInline.time = [];
this.auditStatus = 2;
this.getList();
} else if(this.activeName == "four") {
this.pagination.isReport = 3
this.pagination.startTime = "";
this.pagination.endTime = "";
this.pagination.title = "";
this.formInline.title = "";
this.formInline.time = [];
this.auditStatus = 2;
this.getList();
}
},
//

@ -14,6 +14,7 @@
<el-tab-pane label="待审核" name="first" />
<el-tab-pane label="已上报" name="second" />
<el-tab-pane label="重训练" name="third" />
<el-tab-pane label="审核通过" name="four" />
</el-tabs>
</div>
<div class="container-info" id="L-size-main">
@ -25,7 +26,7 @@
<el-form-item label="预警时间:">
<!-- <el-date-picker
class="ignoreElement"
v-model="formInline.firstWarnTime"
v-model="formInline.firstWarnTimeDate"
format="yyyy"
value-format="yyyy"
type="year"
@ -54,7 +55,7 @@
<el-table v-loading="loading" :data="tableData" :height="tabHeader">
<el-table-column type="index" label="序号" width="100px" class-name="table-operation" align="center"/>
<el-table-column label="事件标题" key="title" width="400px" prop="title" />
<el-table-column label="预警时间" key="firstWarnTime" width="300px" prop="firstWarnTime" />
<el-table-column label="预警时间" key="firstWarnTimeDate" width="300px" prop="firstWarnTimeDate" />
<el-table-column label="预警因素" key="warnFactor" width="350px" prop="warnFactor" />
<el-table-column label="审核时间" key="auditTime" v-if="activeName !== 'first'" width="180px" prop="auditTime" align="center">
<template slot-scope="scope">
@ -106,12 +107,12 @@ export default {
tableData: [
{
title:"关于大阳山景区交通拥堵问题",
firstWarnTime:"2024-08-29 09:00:20",
firstWarnTimeDate:"2024-08-29 09:00:20",
warnFactor:"大阳山景区、交通拥堵",
msgTypeName:"8条"
},{
title:"关于大阳山景区交通拥堵问题",
firstWarnTime:"2024-08-29 09:00:20",
firstWarnTimeDate:"2024-08-29 09:00:20",
warnFactor:"大阳山景区、交通拥堵",
msgTypeName:"8条"
},
@ -141,6 +142,11 @@ export default {
handleClick(e) {
if (this.activeName == "first") {
this.pagination.isReport = 4
this.pagination.startTime = "";
this.pagination.endTime = "";
this.pagination.title = "";
this.formInline.title = "";
this.formInline.time = [];
this.auditStatus = 1;
this.auditMapStatus = 1;
this.dialogTitle = "事件审核";
@ -167,6 +173,16 @@ export default {
this.auditMapStatus = 2;
this.dialogTitle = "事件详情"
this.getList();
} else if(this.activeName == "four") {
this.pagination.isReport = 3
this.pagination.startTime = "";
this.pagination.endTime = "";
this.pagination.title = "";
this.formInline.title = "";
this.formInline.time = [];
this.auditStatus = 2;
this.auditMapStatus = 2;
this.getList();
}
},
//

@ -14,6 +14,7 @@
<el-tab-pane label="待审核" name="first" />
<el-tab-pane label="已上报" name="second" />
<el-tab-pane label="重训练" name="third" />
<el-tab-pane label="审核通过" name="four" />
</el-tabs>
</div>
<div class="container-info" id="L-size-main">
@ -25,7 +26,7 @@
<el-form-item label="预警时间:">
<!-- <el-date-picker
class="ignoreElement"
v-model="formInline.firstWarnTime"
v-model="formInline.firstWarnTimeDate"
format="yyyy"
value-format="yyyy"
type="year"
@ -54,7 +55,7 @@
<el-table v-loading="loading" :data="tableData" :height="tabHeader">
<el-table-column type="index" label="序号" width="100px" class-name="table-operation" align="center"/>
<el-table-column label="事件标题" key="title" width="400px" prop="title" />
<el-table-column label="预警时间" key="firstWarnTime" width="300px" prop="firstWarnTime" />
<el-table-column label="预警时间" key="firstWarnTimeDate" width="300px" prop="firstWarnTimeDate" />
<el-table-column label="预警因素" key="warnFactor" width="400px" prop="warnFactor" />
<el-table-column label="事件数量" key="nums" width="100px" prop="nums" align="center">
<template slot-scope="scope">
@ -106,12 +107,12 @@ export default {
tableData: [
{
title:"关于大阳山景区交通拥堵问题",
firstWarnTime:"2024-08-29 09:00:20",
firstWarnTimeDate:"2024-08-29 09:00:20",
warnFactor:"大阳山景区、交通拥堵",
msgTypeName:"8条"
},{
title:"关于大阳山景区交通拥堵问题",
firstWarnTime:"2024-08-29 09:00:20",
firstWarnTimeDate:"2024-08-29 09:00:20",
warnFactor:"大阳山景区、交通拥堵",
msgTypeName:"8条"
},
@ -138,7 +139,12 @@ export default {
methods:{
handleClick(e) {
if (this.activeName == "first") {
this.pagination.isReport = null
this.pagination.isReport = 4;
this.pagination.startTime = "";
this.pagination.endTime = "";
this.pagination.title = "";
this.formInline.title = "";
this.formInline.time = [];
this.auditStatus = 1;
this.getList();
} else if (this.activeName == "second") {
@ -159,6 +165,15 @@ export default {
this.formInline.time = [];
this.auditStatus = 2;
this.getList();
} else if(this.activeName == "four") {
this.pagination.isReport = 3
this.pagination.startTime = "";
this.pagination.endTime = "";
this.pagination.title = "";
this.formInline.title = "";
this.formInline.time = [];
this.auditStatus = 2;
this.getList();
}
},
//

@ -14,6 +14,7 @@
<el-tab-pane label="待审核" name="first" />
<el-tab-pane label="已上报" name="second" />
<el-tab-pane label="重训练" name="third" />
<el-tab-pane label="审核通过" name="four" />
</el-tabs>
</div>
<div class="container-info" id="L-size-main">
@ -25,7 +26,7 @@
<el-form-item label="预警时间:">
<!-- <el-date-picker
class="ignoreElement"
v-model="formInline.firstWarnTime"
v-model="formInline.firstWarnTimeDate"
format="yyyy"
value-format="yyyy"
type="year"
@ -54,7 +55,7 @@
<el-table v-loading="loading" :data="tableData" :height="tabHeader">
<el-table-column type="index" label="序号" width="100px" class-name="table-operation" align="center"/>
<el-table-column label="事件标题" key="title" width="400px" prop="title" />
<el-table-column label="预警时间" key="firstWarnTime" width="300px" prop="firstWarnTime" />
<el-table-column label="预警时间" key="firstWarnTimeDate" width="300px" prop="firstWarnTimeDate" />
<el-table-column label="预警因素" key="warnFactor" width="400px" prop="warnFactor" />
<el-table-column label="事件数量" key="nums" width="100px" prop="nums" align="center">
<template slot-scope="scope">
@ -106,12 +107,12 @@ export default {
tableData: [
{
title:"关于大阳山景区交通拥堵问题",
firstWarnTime:"2024-08-29 09:00:20",
firstWarnTimeDate:"2024-08-29 09:00:20",
warnFactor:"大阳山景区、交通拥堵",
msgTypeName:"8条"
},{
title:"关于大阳山景区交通拥堵问题",
firstWarnTime:"2024-08-29 09:00:20",
firstWarnTimeDate:"2024-08-29 09:00:20",
warnFactor:"大阳山景区、交通拥堵",
msgTypeName:"8条"
},
@ -138,7 +139,12 @@ export default {
methods:{
handleClick(e) {
if (this.activeName == "first") {
this.pagination.isReport = null
this.pagination.isReport = 4;
this.pagination.startTime = "";
this.pagination.endTime = "";
this.pagination.title = "";
this.formInline.title = "";
this.formInline.time = [];
this.auditStatus = 1;
this.getList();
} else if (this.activeName == "second") {
@ -161,6 +167,15 @@ export default {
this.auditStatus = 2;
this.auditStatus = 2;
this.getList();
} else if(this.activeName == "four") {
this.pagination.isReport = 3
this.pagination.startTime = "";
this.pagination.endTime = "";
this.pagination.title = "";
this.formInline.title = "";
this.formInline.time = [];
this.auditStatus = 2;
this.getList();
}
},
//

@ -24,7 +24,7 @@
<el-form-item label="调用时间:">
<!-- <el-date-picker
class="ignoreElement"
v-model="formInline.firstWarnTime"
v-model="formInline.firstWarnTimeDate"
format="yyyy"
value-format="yyyy"
type="year"

Loading…
Cancel
Save