27
0
Fork 0

Compare commits

..

No commits in common. 'd1a8aababc1f9a7bb5e9cfd773910ea58666399f' and 'e5ca4e89309d87ef4eb05a117c28d88fb20633a3' have entirely different histories.

@ -3,7 +3,7 @@ import axios from "axios";
import { onMounted, ref } from "vue";
import dplayer from "@/components/VideoPlayer/MyPlayer.vue";
import OurPlayer from "@/components/VideoPlayer/OurPlayer.vue";
import { ElMessageBox, ElMessage } from "element-plus";
import { ElMessageBox } from "element-plus";
import { getConfig } from "@/config";
import { getToken, formatToken } from "@/utils/auth";
@ -90,10 +90,7 @@ function onSearch() {
}
})
.catch(error => {
ElMessage({
message: "网络暂不通畅",
type: "warning"
})
// console.log("");
console.log(error);
});
}
@ -141,10 +138,7 @@ function getEvents() {
// console.log(eventMap.value);
})
.catch(error => {
ElMessage({
message: "网络暂不通畅",
type: "warning"
})
// console.log("");
console.log(error);
});
@ -230,11 +224,11 @@ onMounted(() => {
<el-table-column prop="record_time" sortable label="记录仪日期时间" />
<el-table-column prop="police_id" label="警号" />
<el-table-column prop="event_type" label="违法行为">
<!-- <template v-slot="scope">-->
<!-- <span>-->
<!-- {{ scope.row.event_type || "未定义事件" }}-->
<!-- </span>-->
<!-- </template>-->
<template v-slot="scope">
<span>
{{ scope.row.event_type || "未定义事件" }}
</span>
</template>
</el-table-column>
<el-table-column prop="is_violation" label="是否违规">

Loading…
Cancel
Save