预警审核列表修改

Lvtianfang
吕天方 5 months ago
parent 552c448d5c
commit 3407340a06

@ -6,7 +6,7 @@ ENV = 'development'
# 若依管理系统/开发环境
# VUE_APP_BASE_API = '/dev-api'
VUE_APP_BASE_API = 'http://192.168.0.108:9102/api'
VUE_APP_BASE_API = 'http://192.168.0.114:9102/api'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true

@ -25,6 +25,14 @@ export function auditList(id,params){
})
}
// 查询工单详情
export function getMassEvents(id){
return request({
url: '/earlyWarningAudit/massEvents/' + id,
method: 'get',
})
}
// 修改事件标题
export function editTitle(data){
return request({

@ -11,6 +11,14 @@
font-weight: 700;
font-size: 18px;
color: #3D3D3D;
.title-span {
margin-left: 20px;
font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
font-weight: 400;
font-size: 14px;
color: #CCCCCC;
}
}
.tabs {
margin-top: 10px;

@ -159,6 +159,14 @@
position: relative;
cursor: pointer;
span {
margin-left: 20px;
font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
font-weight: 400;
font-size: 14px;
color: #CCCCCC;
}
&::before {
content: "";
width: 26px;
@ -170,6 +178,34 @@
}
}
}
.arithmetic-query {
padding: 20px;
border-bottom: 1px solid #DEE2EE;
.el-form-item {
margin-bottom: 0;
margin-right: 60px;
.el-form-item__label {
font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
font-weight: 400;
font-size: 14px;
color: #3D3D3D;
}
.el-form-item__content {
.el-input {
.el-input__inner {
border-radius: 2px;
height: 32px;
width: 240px;
}
}
.el-date-editor {
width: 480px;
height: 32px;
border-radius: 2px;
}
}
}
}
//
header {
padding: 0 20px;
@ -489,14 +525,27 @@
.operation {
display: flex;
align-items: center;
.el-radio-group {
label {
&:nth-child(1) {
margin-right: 15px;
}
}
.el-radio__label {
padding-left: 1px;
}
// input[aria-hidden="true"] {
// display: none !important;
// }
}
.el-button {
padding: 0;
}
.tagsImg {
width: 20px;
height: 20px;
margin-right: 10px;
}
// .tagsImg {
// width: 20px;
// height: 20px;
// margin-right: 10px;
// }
}
}
}

@ -1,7 +1,7 @@
<template>
<div :class="classObj" class="app-wrapper" :style="{'--current-color': theme}">
<header class="app-header">
<div class="header-title"> <img src="@/assets/images/logo@2x.png" alt=""> <span>数字高新驾驶舱-算法预警服务平台</span></div>
<div class="header-title"> <img src="@/assets/images/logo@2x.png" alt=""> <span>数字高新驾驶舱-算法审核平台</span></div>
<div class="right-box">
<event-prompt></event-prompt>
<div class="right-menu">

@ -1,3 +1,11 @@
/*
* @Descripttion:
* @version:
* @Author: JC9527
* @Date: 2024-03-12 17:24:11
* @LastEditors: JC9527
* @LastEditTime: 2024-09-23 10:01:04
*/
import Vue from 'vue'
import Cookies from 'js-cookie'
@ -65,6 +73,15 @@ Vue.use(plugins)
Vue.use(VueMeta)
DictData.install()
Vue.directive('removeAriaHiddent', {
bind(el, binding) {
let ariaEls = el.querySelectorAll('.el-radio__original');
ariaEls.forEach(element => {
element.removeAttribute('aria-hidden')
});
}
})
/**
* If you don't want to use mock-server
* you want to use MockJs for mock api

@ -89,20 +89,20 @@
</el-table-column>
<el-table-column label="审核结果" v-if="auditStatus == 2" align="center" prop="isReport">
<template slot-scope="scope">
<span class="sign" v-if="scope.row.isReport == 1 || scope.row.isReport == 2 "></span>
<span class="unmark" v-else></span>
<span class="sign">不符合</span>
<span class="unmark">符合</span>
</template>
</el-table-column>
<el-table-column label="操作" align="center" class-name="operation-box">
<el-table-column label="操作" align="center" class-name="operation-box" >
<template slot-scope="scope">
<div class="operation">
<img class="tagsImg" src="@/assets/images/tags.png" alt="" v-if="scope.row.showTags">
<el-button @click="toDetail(scope.row)" type="text" style="margin-right: 5px;" class="sqbtn sqbtn1">
<div class="operation" v-if="audioInfo.msgType == '1'">
<el-radio-group v-model="scope.row.radio" @change.native="changRadio(scope.row)">
<el-radio v-removeAriaHiddent :label="1">符合</el-radio>
<el-radio v-removeAriaHiddent :label="2" value="13212">不符合</el-radio>
</el-radio-group>
<el-button @click="toDetail(scope.row)" type="text" style="margin-left: 20px;" class="sqbtn sqbtn1">
查看详情
</el-button>
<el-button @click="sign(scope.row)" type="text" style="color: #D9001B;" v-if="auditStatus == 1">
非同一事件
</el-button>
</div>
</template>
</el-table-column>
@ -134,11 +134,16 @@
<el-descriptions-item label="修改后标题">{{ audioInfo.titleBefore }}</el-descriptions-item>
</el-descriptions>
</el-dialog>
<urgency-audit title="工单详情" ref="urgencyAudit" :auditStatus="auditStatusTwo"></urgency-audit>
</el-dialog>
</template>
<script>
import { auditList, eventChangeIsReport, editTitle } from "@/api/eventPage"
import urgencyAudit from '@/views/components/urgencyAudit.vue'
export default {
components:{
urgencyAudit
},
data() {
return {
showCK:false,
@ -153,8 +158,9 @@ export default {
size: 10
},
disabled:true,
multipleSelection: [],
multipleSelection: {},
innerVisible:false,
auditStatusTwo: 1,
}
},
props:{
@ -180,7 +186,7 @@ export default {
this.showCK = false;
this.InputLoading = false;
this.loading = false;
this.multipleSelection = [];
this.multipleSelection = {};
this.$emit('closeDialog')
},
getList(id){
@ -192,14 +198,14 @@ export default {
this.multipleSelection.map(itemTwo=>{
if(item.caseSerial = itemTwo) {
// item.showTags = true;
this.$set(item, 'showTags', true);
this.$set(item, 'radio', 2);
}
})
})
} else {
this.tableData.map(item=>{
// item.showTags = true;
this.$set(item, 'showTags', false);
this.$set(item, 'radio', 1);
})
}
this.total = res.data.total;
@ -209,32 +215,60 @@ export default {
})
},
//
toDetail(){},
toDetail(item){
// console.log(item);
this.auditStatusTwo = 2;
this.$refs.urgencyAudit.open(this.audioInfo,item);
},
changRadio(row){
console.log(row,"变化");
},
//
sign(row){
this.tableData.map(item=>{
if(item.caseSerial == row.caseSerial) {
item.showTags = !item.showTags;
// console.log(item.showTags,"item.showTags");
if(item.showTags) {
this.multipleSelection.push(row.caseSerial)
// sign(row){
// this.tableData.map(item=>{
// if(item.caseSerial == row.caseSerial) {
// item.showTags = !item.showTags;
// // console.log(item.showTags,"item.showTags");
// if(item.showTags) {
// //
// if(this.audioInfo.msgType == '2') {
// this.multipleSelection[row.caseSerial] = 2;
// } else {
// // //
// this.multipleSelection[row.caseSerial] = 1;
// }
} else {
this.multipleSelection = this.multipleSelection.filter(itemTwo => itemTwo !== row.caseSerial);
}
}
})
// console.log(this.multipleSelection,"this.multipleSelection");
},
// } else {
// // this.multipleSelection = this.multipleSelection.filter(itemTwo => itemTwo !== row.caseSerial);
// delete this.multipleSelection[row.caseSerial];
// }
// }
// })
// },
// signTwo(row) {
// this.tableData.map(item=>{
// if(item.caseSerial == row.caseSerial) {
// item.showTags = !item.showTags;
// // console.log(item.showTags,"item.showTags");
// if(item.showTags) {
// //
// this.multipleSelection[row.caseSerial] = 3;
// } else {
// // this.multipleSelection = this.multipleSelection.filter(itemTwo => itemTwo !== row.caseSerial);
// delete this.multipleSelection[row.caseSerial];
// }
// }
// })
// },
// /退
reported(id){
// console.log(this.multipleSelection);
// console.log(this.audioInfo.innerEventId);
if(id == 1) {
//
eventChangeIsReport({isReport:1,caseSerial:this.multipleSelection,innerEventId:this.audioInfo.innerEventId}).then(res=>{
eventChangeIsReport({isReport:1,caseSerial:this.multipleSelection,innerEventId:this.audioInfo.innerEventId,msgType:this.audioInfo.msgType}).then(res=>{
// console.log(res);
this.multipleSelection = [];
this.multipleSelection = {};
this.$message({
type: "success",
message: "已上报驾驶舱!",
@ -243,9 +277,9 @@ export default {
})
} else {
// 退
eventChangeIsReport({isReport:2,caseSerial:this.multipleSelection,innerEventId:this.audioInfo.innerEventId}).then(res=>{
eventChangeIsReport({isReport:2,caseSerial:this.multipleSelection,innerEventId:this.audioInfo.innerEventId,msgType:this.audioInfo.msgType}).then(res=>{
// console.log(res);
this.multipleSelection = [];
this.multipleSelection = {};
this.$message({
type: "success",
message: "已退回重训练!",

@ -5,6 +5,7 @@
v-if="showCK"
width="60%"
:show-close="false"
:append-to-body="true"
:close-on-click-modal="false"
:close-on-press-escape="false"
custom-class="travel"
@ -15,7 +16,7 @@
</div>
<div class="audit-generalize">
<el-row>
<el-col :span="14">
<el-col :span="14" v-if="!isTrue">
<div class="work-order-info ">
<div class="work-order-item" v-if="auditStatus == 1">
<div class="work-order-item-left">
@ -134,6 +135,75 @@
</div>
</div>
</el-col>
<el-col :span="14" v-else>
<div class="work-order-info ">
<div class="work-order-items">
<div class="work-order-label">
<div class="work-order-labelBox order-labelBox">工单编号</div>
<span></span>
</div>
<div class="work-order-value">{{ audioInfo.caseSerial }}</div>
</div>
<div class="work-order-items">
<div class="work-order-label">
<div class="work-order-labelBox order-labelBox">事件来源</div>
<span></span>
</div>
<div class="work-order-value">{{ audioInfo.scenceName }}</div>
</div>
<div class="work-order-items">
<div class="work-order-label">
<div class="work-order-labelBox">诉求类型</div>
<span></span>
</div>
<div class="work-order-value">{{ audioInfo.caseType }}</div>
</div>
<div class="work-order-items">
<div class="work-order-label">
<div class="work-order-labelBox">工单标题</div>
<span></span>
</div>
<div class="work-order-value">{{ audioInfo.caseTitle }}</div>
</div>
<div class="work-order-items">
<div class="work-order-label">
<div class="work-order-labelBox">制单时间</div>
<span></span>
</div>
<div class="work-order-value">{{ audioInfo.caseDate }}</div>
</div>
<div class="work-order-items">
<div class="work-order-label">
<div class="work-order-labelBox">诉求内容</div>
<span></span>
</div>
<div class="work-order-value">
{{ audioInfo.caseContent }}
</div>
</div>
<div class="work-order-items">
<div class="work-order-label">
<div class="work-order-labelBox">位置描述</div>
<span></span>
</div>
<div class="work-order-value">{{ audioInfo.caseAddress }}</div>
</div>
<div class="work-order-items">
<div class="work-order-label">
<div class="work-order-labelBox">来电号码</div>
<span></span>
</div>
<div class="work-order-value">{{ audioInfo.creatorTel }}</div>
</div>
<div class="work-order-items">
<div class="work-order-label">
<div class="work-order-labelBox">服务对象姓名</div>
<span></span>
</div>
<div class="work-order-value">{{ audioInfo.creatorName }}</div>
</div>
</div>
</el-col>
<el-col :span="10">
<div id="newmapTwo" v-loading="mapLoading"></div>
</el-col>
@ -164,7 +234,7 @@ import "proj4";
import "proj4leaflet";
import "@/utils/lib/leaflet.ChineseTmsProviders.js";
import "@/utils/lib/leaflet.mapCorrection.min.js";
import { auditList, eventChangeIsReport, editTitle } from "@/api/eventPage"
import { auditList, eventChangeIsReport, editTitle, getMassEvents } from "@/api/eventPage"
export default {
data() {
return {
@ -179,6 +249,7 @@ export default {
},
disabled: true,
innerVisible:false,
isTrue: true,
}
},
props:{
@ -196,11 +267,23 @@ export default {
},
methods:{
//
open(row){
open(row,item){
this.showCK = true;
this.eventInfo = {...row}
this.backupsInfo = {...row}
this.getList(row.innerEventId);
if(item){
this.isTrue = true;
console.log("111");
this.getListTwo(item.caseSerial);
} else if(!item && this.eventInfo.msgType == '3'){
this.isTrue = false;
console.log("222");
this.getList(row.innerEventId);
} else {
this.isTrue = false;
console.log("333");
this.audioInfo = {...row}
}
this.$nextTick(() => {
this.initMap();
});
@ -260,6 +343,37 @@ export default {
this.loading = false;
})
},
getListTwo(id){
this.loading = true;
getMassEvents(id).then(res=>{
this.audioInfo = {...res.data};
if(this.audioInfo.caseLnglat) {
let iconUrl2 = require("@/assets/images/icon2.png");
//
var myIcon2 = L.icon({
iconUrl: iconUrl2,
iconSize: [38, 50], //
iconAnchor: [19, 29], // "tip" 使CSS
popupAnchor: [-3, -76], // popup
});
let lat = this.audioInfo.caseLnglat.split(",")[1];
let lon = this.audioInfo.caseLnglat.split(",")[0];
let marker = L.marker(
L.latLng(lat, lon),
{ icon: myIcon2 }
)
// .addTo(this.mapLayers.mapLayer1)
this.mapLayers.mapLayer1.addLayer(marker);
const bounds = this.mapLayers.mapLayer1.getBounds();
let center = bounds.getCenter();
this.map.setView(center, 12);
}
console.log(res,"res");
this.loading = false;
}).catch(err=>{
this.loading = false;
})
},
titleBlur(){
this.disabled = true;
if(this.backupsInfo.title !== this.eventInfo.title) {

@ -2,7 +2,31 @@
<div class="L-app-container home" id="L-size-main">
<div class="tabsBottom" :style="tabHeader">
<div class="headerText">
<div class="searchP">算法运行监测</div>
<div class="searchP">
算法运行监测
<span>算法运行正常数据获取正常数据推送上一次时间 {{tableData[0].runningTime}}</span>
</div>
</div>
<div class="arithmetic-query">
<el-form :inline="true" :model="formInline" size="small" class="demo-form-inline">
<el-form-item label="运行时间:">
<el-date-picker
v-model="formInline.time"
format="yyyy-MM-dd HH:mm:ss"
value-format="yyyy-MM-dd HH:mm:ss"
type="datetimerange"
start-placeholder="开始时间"
end-placeholder="结束时间"
placeholder="请选择"
>
</el-date-picker>
</el-form-item>
<el-form-item>
<el-button size="mini" @click="resetQuery('queryFrom')"></el-button>
<el-button size="mini" type="primary" @click="handleQuery('queryFrom')"></el-button>
</el-form-item>
</el-form>
</div>
<section class="table-box">
<el-table v-loading="loading" :data="tableData" border>
@ -54,6 +78,9 @@ export default {
tabHeader: {
height: '',
},
formInline: {
time: [],
}
};
},
mounted() {
@ -65,20 +92,24 @@ export default {
window.removeEventListener('resize', this.cancalDebounce);
},
methods: {
handleClick(tab, event){
// if (this.activeName == "type") {
// this.type = true;
// this.grade = false;
// this.source = false;
// } else if (this.activeName == "grade") {
// this.type = false;
// this.grade = true;
// this.source = false;
// } else if (this.activeName == "source") {
// this.type = false;
// this.grade = false;
// this.source = true;
// }
resetQuery(){
this.formInline = {
time:[],
}
this.pages = {
current: 1,
size: 10,
}
this.getList();
},
//
handleQuery(){
if(this.formInline.time.length > 0) {
this.formInline.startTime = this.formInline.time[0]
this.formInline.endTime = this.formInline.time[1]
}
this.pages = {...this.pages,...this.formInline}
this.getList();
},
//
getList(){

@ -61,7 +61,7 @@
</div>
<div id="newmap" v-loading="mapLoading"></div>
<event-audit title="事件审核" ref="eventAudit" :auditStatus="1" @closeDialog="getList"></event-audit>
<urgency-audit title="工单审核" ref="urgencyAudit" :auditStatus="auditStatus" @closeDialog="getList"></urgency-audit>
<urgency-audit title="事件详情" ref="urgencyAudit" :auditStatus="auditStatus" @closeDialog="getList"></urgency-audit>
</div>
</template>
<script>

@ -1,7 +1,10 @@
<!-- 驾驶舱重点人员事件 -->
<template>
<div class="L-ultimately-container">
<header>驾驶舱重点人员事件</header>
<header>
驾驶舱重点人员事件
<span class="title-span">解释重点人员发生投诉的情况规则7天内同一人发生超过7次的只分析五失人员关注人员名单根据人员手机号匹配当天同一个人合并一条如果当天再发生不再推送新事件第二天再发生再推送新事件</span>
</header>
<div class="tabs">
<el-tabs
v-model="activeName"
@ -53,7 +56,11 @@
<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="warnFactor" width="400px" prop="warnFactor" />
<el-table-column label="事件数量" key="msgTypeName" width="200px" prop="msgTypeName" />
<el-table-column label="事件数量" key="nums" width="100px" prop="nums" align="center">
<template slot-scope="scope">
<div style="text-align: center;">{{ scope.row.nums }}</div>
</template>
</el-table-column>
<el-table-column label="操作" class-name="table-operation-anniu" align="center">
<template slot-scope="scope">
<div @click="audit(scope.row)" class="go-audit" v-if="activeName == 'first'">
@ -121,7 +128,6 @@ export default {
}
},
mounted(){
this.pagination.toBeReviewed = 0;
this.getList();
this.cancalDebounce();
window.addEventListener('resize', this.cancalDebounce);
@ -133,12 +139,10 @@ export default {
handleClick(e) {
if (this.activeName == "first") {
this.pagination.isReport = null
this.pagination.toBeReviewed = 0;
this.auditStatus = 1;
this.getList();
} else if (this.activeName == "second") {
this.pagination.isReport = 1
this.pagination.toBeReviewed = null;
this.pagination.startTime = "";
this.pagination.endTime = "";
this.pagination.title = "";
@ -148,7 +152,6 @@ export default {
this.getList();
} else if (this.activeName == "third") {
this.pagination.isReport = 2
this.pagination.toBeReviewed = null;
this.pagination.startTime = "";
this.pagination.endTime = "";
this.pagination.title = "";

@ -1,7 +1,10 @@
<!-- 驾驶舱群体事件 -->
<template>
<div class="L-ultimately-container">
<header>驾驶舱群体事件</header>
<header>
驾驶舱群体事件
<span class="title-span">解释同地点同一件事发生多起规则3天内同地点同一件事发生超过10次的如果超过30天则创建新事件如果当天再发生不再推送新事件第二天再发生再推送新事件</span>
</header>
<div class="tabs">
<el-tabs
v-model="activeName"
@ -53,7 +56,11 @@
<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="warnFactor" width="400px" prop="warnFactor" />
<el-table-column label="事件数量" key="msgTypeName" width="200px" prop="msgTypeName" />
<el-table-column label="事件数量" key="nums" width="100px" prop="nums" align="center">
<template slot-scope="scope">
<div style="text-align: center;">{{ scope.row.nums }}</div>
</template>
</el-table-column>
<el-table-column label="操作" class-name="table-operation-anniu" align="center">
<template slot-scope="scope">
<div @click="audit(scope.row)" class="go-audit" v-if="activeName == 'first'">
@ -121,7 +128,6 @@ export default {
}
},
mounted(){
this.pagination.toBeReviewed = 0;
this.getList();
this.cancalDebounce();
window.addEventListener('resize', this.cancalDebounce);
@ -134,12 +140,10 @@ export default {
handleClick(e) {
if (this.activeName == "first") {
this.pagination.isReport = null;
this.pagination.toBeReviewed = 0;
this.auditStatus = 1;
this.getList();
} else if (this.activeName == "second") {
this.pagination.isReport = 1;
this.pagination.toBeReviewed = null;
this.pagination.startTime = "";
this.pagination.endTime = "";
this.pagination.title = "";
@ -149,7 +153,6 @@ export default {
this.getList();
} else if (this.activeName == "third") {
this.pagination.isReport = 2;
this.pagination.toBeReviewed = null;
this.pagination.startTime = "";
this.pagination.endTime = "";
this.pagination.title = "";

@ -1,7 +1,10 @@
<!-- 驾驶舱紧急事件 -->
<template>
<div class="L-ultimately-container">
<header>驾驶舱紧急事件</header>
<header>
驾驶舱紧急事件
<span class="title-span">解释社会治安类紧急突发事件规则跳楼放火杀人灾害火灾救火打架群架斗殴殴打受伤车祸受伤地震等类型</span>
</header>
<div class="tabs">
<el-tabs
v-model="activeName"
@ -53,7 +56,11 @@
<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="warnFactor" width="400px" prop="warnFactor" />
<el-table-column label="事件数量" key="msgTypeName" width="200px" prop="msgTypeName" />
<el-table-column label="事件数量" key="nums" width="100px" prop="nums" align="center">
<template slot-scope="scope">
<div style="text-align: center;">{{ scope.row.nums }}</div>
</template>
</el-table-column>
<el-table-column label="操作" class-name="table-operation-anniu" align="center">
<template slot-scope="scope">
<div @click="audit(scope.row)" class="go-audit" v-if="activeName == 'first'">
@ -77,7 +84,7 @@
></pagination>
</section>
</div>
<urgency-audit title="工单审核" ref="urgencyAudit" :auditStatus="auditStatus" @closeDialog="getList"></urgency-audit>
<urgency-audit :title="dialogTitle" ref="urgencyAudit" :auditStatus="auditStatus" @closeDialog="getList"></urgency-audit>
</div>
</template>
<script>
@ -118,10 +125,10 @@ export default {
isReport:null,
},
auditStatus: 1,
dialogTitle: "事件审核",
}
},
mounted(){
this.pagination.toBeReviewed = 0;
this.getList();
this.cancalDebounce();
window.addEventListener('resize', this.cancalDebounce);
@ -133,28 +140,28 @@ export default {
handleClick(e) {
if (this.activeName == "first") {
this.pagination.isReport = null
this.pagination.toBeReviewed = 0;
this.auditStatus = 1;
this.dialogTitle = "事件审核"
this.getList();
} else if (this.activeName == "second") {
this.pagination.isReport = 1
this.pagination.toBeReviewed = null;
this.pagination.startTime = "";
this.pagination.endTime = "";
this.pagination.title = "";
this.formInline.title = "";
this.formInline.time = [];
this.auditStatus = 2;
this.dialogTitle = "事件详情"
this.getList();
} else if (this.activeName == "third") {
this.pagination.isReport = 2
this.pagination.toBeReviewed = null;
this.pagination.startTime = "";
this.pagination.endTime = "";
this.pagination.title = "";
this.formInline.title = "";
this.formInline.time = [];
this.auditStatus = 2;
this.dialogTitle = "事件详情"
this.getList();
}
},

@ -1,7 +1,10 @@
<!-- 驾驶舱一人多诉事件 -->
<template>
<div class="L-ultimately-container">
<header>驾驶舱一人多诉事件</header>
<header>
驾驶舱一人多诉事件
<span class="title-span">解释一人多诉的情况关注这个人多次投诉规则15天内同一人发生超过5次的如果超过30天则创建新事件如果当天再发生不再推送新事件第二天再发生再推送新事件</span>
</header>
<div class="tabs">
<el-tabs
v-model="activeName"
@ -53,7 +56,11 @@
<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="warnFactor" width="400px" prop="warnFactor" />
<el-table-column label="事件数量" key="msgTypeName" width="200px" prop="msgTypeName" />
<el-table-column label="事件数量" key="nums" width="100px" prop="nums" align="center">
<template slot-scope="scope">
<div style="text-align: center;">{{ scope.row.nums }}</div>
</template>
</el-table-column>
<el-table-column label="操作" class-name="table-operation-anniu" align="center">
<template slot-scope="scope">
<div @click="audit(scope.row)" class="go-audit" v-if="activeName == 'first'">
@ -121,7 +128,6 @@ export default {
}
},
mounted(){
this.pagination.toBeReviewed = 0;
this.getList();
this.cancalDebounce();
window.addEventListener('resize', this.cancalDebounce);
@ -133,12 +139,10 @@ export default {
handleClick(e) {
if (this.activeName == "first") {
this.pagination.isReport = null
this.pagination.toBeReviewed = 0;
this.auditStatus = 1;
this.getList();
} else if (this.activeName == "second") {
this.pagination.isReport = 1
this.pagination.toBeReviewed = null;
this.pagination.startTime = "";
this.pagination.endTime = "";
this.pagination.title = "";
@ -148,7 +152,6 @@ export default {
this.getList();
} else if (this.activeName == "third") {
this.pagination.isReport = 2
this.pagination.toBeReviewed = null;
this.pagination.startTime = "";
this.pagination.endTime = "";
this.pagination.title = "";

@ -1,7 +1,10 @@
<!-- 驾驶舱同人同述事件 -->
<template>
<div class="L-ultimately-container">
<header>驾驶舱同人同述事件</header>
<header>
驾驶舱同人同述事件
<span class="title-span">解释同人同诉的情况关注这件事情多次投诉未解决规则15天内同一人发生超过5次的如果超过30天则创建新事件如果当天再发生不再推送新事件第二天再发生再推送新事件</span>
</header>
<div class="tabs">
<el-tabs
v-model="activeName"
@ -53,7 +56,11 @@
<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="warnFactor" width="400px" prop="warnFactor" />
<el-table-column label="事件数量" key="msgTypeName" width="200px" prop="msgTypeName" />
<el-table-column label="事件数量" key="nums" width="100px" prop="nums" align="center">
<template slot-scope="scope">
<div style="text-align: center;">{{ scope.row.nums }}</div>
</template>
</el-table-column>
<el-table-column label="操作" class-name="table-operation-anniu" align="center">
<template slot-scope="scope">
<div @click="audit(scope.row)" class="go-audit" v-if="activeName == 'first'">
@ -121,7 +128,6 @@ export default {
}
},
mounted(){
this.pagination.toBeReviewed = 0;
this.getList();
this.cancalDebounce();
window.addEventListener('resize', this.cancalDebounce);
@ -133,12 +139,10 @@ export default {
handleClick(e) {
if (this.activeName == "first") {
this.pagination.isReport = null
this.pagination.toBeReviewed = 0;
this.auditStatus = 1;
this.getList();
} else if (this.activeName == "second") {
this.pagination.isReport = 1
this.pagination.toBeReviewed = null;
this.pagination.startTime = "";
this.pagination.endTime = "";
this.pagination.title = "";
@ -149,7 +153,6 @@ export default {
this.getList();
} else if (this.activeName == "third") {
this.pagination.isReport = 2
this.pagination.toBeReviewed = null;
this.pagination.startTime = "";
this.pagination.endTime = "";
this.pagination.title = "";

@ -1,7 +1,10 @@
<!-- 驾驶舱相似同类事件 -->
<template>
<div class="L-ultimately-container">
<header>驾驶舱相似同类事件</header>
<header>
驾驶舱相似同类事件
<span class="title-span">解释分析出与目标工单的属于同类型的相似事件规则返回相似度排名超过0.92的结果最多返回10条</span>
</header>
<div class="tabs">
<el-tabs
v-model="activeName"
@ -51,7 +54,7 @@
<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="createTime" width="300px" prop="createTime" />
<el-table-column label="关联事件数量" key="count" width="200px" prop="count" />
<el-table-column label="关联事件数量" key="count" width="200px" prop="count" align="center" />
<el-table-column label="操作" class-name="table-operation-anniu" align="center">
<template slot-scope="scope">
<div @click="audit(scope.row)" class="go-audit" v-if="activeName == 'first'">

Loading…
Cancel
Save