diff --git a/back_end/saolei/videomanager/views.py b/back_end/saolei/videomanager/views.py
index 2ada841d..5daa75a7 100644
--- a/back_end/saolei/videomanager/views.py
+++ b/back_end/saolei/videomanager/views.py
@@ -48,6 +48,11 @@ def video_upload(request):
# 如果标识是首次使用的,需要得到管理员的审核
data['review_code'] = 2
+ # 查重
+ collisions = list(VideoModel.objects.filter(timems=data["timems"], bv=data["bv"]).filter(video__cl=data["cl"], video__op=data["op"], video__isl=data["isl"], video__designator=data["designator"]))
+ if collisions:
+ return JsonResponse({"status": 200, "msg": "录像已存在"})
+
# 表中添加数据
e_video = ExpandVideoModel.objects.create(designator=data["designator"],
left=data["left"], right=data["right"],
diff --git a/front_end/src/App.vue b/front_end/src/App.vue
index d1b48100..c6056f8a 100644
--- a/front_end/src/App.vue
+++ b/front_end/src/App.vue
@@ -27,9 +27,6 @@
-
-
-
diff --git a/front_end/src/views/PlayerView.vue b/front_end/src/views/PlayerView.vue
index 4d992737..a6e636ca 100644
--- a/front_end/src/views/PlayerView.vue
+++ b/front_end/src/views/PlayerView.vue
@@ -79,7 +79,9 @@
-
+
+
+
@@ -94,6 +96,7 @@ import useCurrentInstance from "@/utils/common/useCurrentInstance";
// import PreviewDownload from '@/components/PreviewDownload.vue';
import PlayerRecordView from '@/views/PlayerRecordView.vue';
import PlayerVideosView from '@/views/PlayerVideosView.vue';
+import UploadView from './UploadView.vue';
// const AsyncPlayerVideosView = defineAsyncComponent(() => import('@/views/PlayerVideosView.vue'));
@@ -106,6 +109,7 @@ const imageUrl = ref(require('@/assets/person.png'))
const avatar_changed = ref(false);
import { Record, RecordBIE } from "@/utils/common/structInterface";
import { compress, compressAccurately } from 'image-conversion';
+import store from '@/store';
const loading = ref(true)
diff --git a/front_end/src/views/UploadView.vue b/front_end/src/views/UploadView.vue
index 8cdb5ba9..6dabfee4 100644
--- a/front_end/src/views/UploadView.vue
+++ b/front_end/src/views/UploadView.vue
@@ -1,10 +1,7 @@
-
+ :multiple="true" :on-exceed="handleExceed" :on-change="handleChange" :auto-upload="false"
+ :show-file-list="false" style="background-color: white;" accept=".avf,.evf">
@@ -23,13 +20,43 @@
-
-
-
-
-
-
+
+
+
+
+ {{ props.row.filename }}
+ {{
+ props.row.videostat.designator }}
+ {{
+ props.row.extstat[key] }}
+
+
+
+
+
+
+
+
+
+ {{ errmsg[props.row.status] }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+