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