diff --git a/src/assets/modelSetting/video_type_1.png b/src/assets/modelSetting/video_type_1.png new file mode 100644 index 0000000..beb4101 Binary files /dev/null and b/src/assets/modelSetting/video_type_1.png differ diff --git a/src/assets/modelSetting/video_type_2.png b/src/assets/modelSetting/video_type_2.png new file mode 100644 index 0000000..785c9d1 Binary files /dev/null and b/src/assets/modelSetting/video_type_2.png differ diff --git a/src/assets/modelSetting/video_type_3.png b/src/assets/modelSetting/video_type_3.png new file mode 100644 index 0000000..380ce74 Binary files /dev/null and b/src/assets/modelSetting/video_type_3.png differ diff --git a/src/views/deviceSetting/components/add.vue b/src/views/deviceSetting/components/add.vue index b7089ba..c157fac 100644 --- a/src/views/deviceSetting/components/add.vue +++ b/src/views/deviceSetting/components/add.vue @@ -2,7 +2,7 @@ * @Author: donghao donghao@supervision.ltd * @Date: 2024-08-07 14:47:44 * @LastEditors: donghao donghao@supervision.ltd - * @LastEditTime: 2024-08-09 16:25:09 + * @LastEditTime: 2024-08-12 15:34:22 * @FilePath: \General-AI-Platform-Web-Client\src\views\deviceSetting\components\add.vue * @Description: 新建位置 --> @@ -20,6 +20,8 @@ const formData = ref({ name: "", file: null as File | null }); +const formRef = ref(null); + const dialogVisible = ref(false); const fileList = ref([]); const rules = { @@ -55,7 +57,6 @@ const beforeUpload = (file: File) => { }; const submitForm = () => { - const formRef = form.value; formRef.validate((valid: boolean) => { if (valid) { message("提交成功", { type: "success" }); diff --git a/src/views/deviceSetting/components/deviceAttr.vue b/src/views/deviceSetting/components/deviceAttr.vue index f353365..cba63be 100644 --- a/src/views/deviceSetting/components/deviceAttr.vue +++ b/src/views/deviceSetting/components/deviceAttr.vue @@ -1,75 +1,64 @@ - - - - - + diff --git a/src/views/deviceSetting/components/deviceSelect.vue b/src/views/deviceSetting/components/deviceSelect.vue index a5042ce..8275308 100644 --- a/src/views/deviceSetting/components/deviceSelect.vue +++ b/src/views/deviceSetting/components/deviceSelect.vue @@ -4,12 +4,17 @@