diff --git a/public/image/error.png b/public/image/error.png new file mode 100644 index 0000000..52ee3e7 --- /dev/null +++ b/public/image/error.png Binary files differ diff --git a/public/image/error.png b/public/image/error.png new file mode 100644 index 0000000..52ee3e7 --- /dev/null +++ b/public/image/error.png Binary files differ diff --git a/public/image/loaidng2.gif b/public/image/loaidng2.gif new file mode 100644 index 0000000..8188745 --- /dev/null +++ b/public/image/loaidng2.gif Binary files differ diff --git a/public/image/error.png b/public/image/error.png new file mode 100644 index 0000000..52ee3e7 --- /dev/null +++ b/public/image/error.png Binary files differ diff --git a/public/image/loaidng2.gif b/public/image/loaidng2.gif new file mode 100644 index 0000000..8188745 --- /dev/null +++ b/public/image/loaidng2.gif Binary files differ diff --git a/public/image/normal.png b/public/image/normal.png new file mode 100644 index 0000000..dc2545e --- /dev/null +++ b/public/image/normal.png Binary files differ diff --git a/public/image/error.png b/public/image/error.png new file mode 100644 index 0000000..52ee3e7 --- /dev/null +++ b/public/image/error.png Binary files differ diff --git a/public/image/loaidng2.gif b/public/image/loaidng2.gif new file mode 100644 index 0000000..8188745 --- /dev/null +++ b/public/image/loaidng2.gif Binary files differ diff --git a/public/image/normal.png b/public/image/normal.png new file mode 100644 index 0000000..dc2545e --- /dev/null +++ b/public/image/normal.png Binary files differ diff --git a/src/views/page/device/components/addDialog.vue b/src/views/page/device/components/addDialog.vue index 0742783..4b865de 100644 --- a/src/views/page/device/components/addDialog.vue +++ b/src/views/page/device/components/addDialog.vue @@ -91,6 +91,7 @@ }) } } + modelList.value = modelList.value.sort((a: any, b: any) => Number(a.id) - Number(b.id)) nextTick(() => { modelList.value.forEach((element: any) => { multipleTableRef.value!.toggleRowSelection( @@ -143,8 +144,8 @@ sceneList.value = res.data }) getModelAll({}).then((res) => { - modelList.value = res.data.map((item: any) => ({ ...item, custom_threshold: 0.5 })) - modelAllList.value = res.data.map((item: any) => ({ ...item, custom_threshold: 0.5 })) + modelList.value = res.data.map((item: any) => ({ ...item, custom_threshold: 0.5 })).sort((a: any, b: any) => Number(a.id) - Number(b.id)) + modelAllList.value = res.data.map((item: any) => ({ ...item, custom_threshold: 0.5 })).sort((a: any, b: any) => Number(a.id) - Number(b.id)) }) } fetchDict() @@ -289,7 +290,10 @@ - + diff --git a/public/image/error.png b/public/image/error.png new file mode 100644 index 0000000..52ee3e7 --- /dev/null +++ b/public/image/error.png Binary files differ diff --git a/public/image/loaidng2.gif b/public/image/loaidng2.gif new file mode 100644 index 0000000..8188745 --- /dev/null +++ b/public/image/loaidng2.gif Binary files differ diff --git a/public/image/normal.png b/public/image/normal.png new file mode 100644 index 0000000..dc2545e --- /dev/null +++ b/public/image/normal.png Binary files differ diff --git a/src/views/page/device/components/addDialog.vue b/src/views/page/device/components/addDialog.vue index 0742783..4b865de 100644 --- a/src/views/page/device/components/addDialog.vue +++ b/src/views/page/device/components/addDialog.vue @@ -91,6 +91,7 @@ }) } } + modelList.value = modelList.value.sort((a: any, b: any) => Number(a.id) - Number(b.id)) nextTick(() => { modelList.value.forEach((element: any) => { multipleTableRef.value!.toggleRowSelection( @@ -143,8 +144,8 @@ sceneList.value = res.data }) getModelAll({}).then((res) => { - modelList.value = res.data.map((item: any) => ({ ...item, custom_threshold: 0.5 })) - modelAllList.value = res.data.map((item: any) => ({ ...item, custom_threshold: 0.5 })) + modelList.value = res.data.map((item: any) => ({ ...item, custom_threshold: 0.5 })).sort((a: any, b: any) => Number(a.id) - Number(b.id)) + modelAllList.value = res.data.map((item: any) => ({ ...item, custom_threshold: 0.5 })).sort((a: any, b: any) => Number(a.id) - Number(b.id)) }) } fetchDict() @@ -289,7 +290,10 @@ - + diff --git a/src/views/page/video/components/wsPlayer.vue b/src/views/page/video/components/wsPlayer.vue new file mode 100644 index 0000000..b3c93b6 --- /dev/null +++ b/src/views/page/video/components/wsPlayer.vue @@ -0,0 +1,52 @@ + + + + diff --git a/public/image/error.png b/public/image/error.png new file mode 100644 index 0000000..52ee3e7 --- /dev/null +++ b/public/image/error.png Binary files differ diff --git a/public/image/loaidng2.gif b/public/image/loaidng2.gif new file mode 100644 index 0000000..8188745 --- /dev/null +++ b/public/image/loaidng2.gif Binary files differ diff --git a/public/image/normal.png b/public/image/normal.png new file mode 100644 index 0000000..dc2545e --- /dev/null +++ b/public/image/normal.png Binary files differ diff --git a/src/views/page/device/components/addDialog.vue b/src/views/page/device/components/addDialog.vue index 0742783..4b865de 100644 --- a/src/views/page/device/components/addDialog.vue +++ b/src/views/page/device/components/addDialog.vue @@ -91,6 +91,7 @@ }) } } + modelList.value = modelList.value.sort((a: any, b: any) => Number(a.id) - Number(b.id)) nextTick(() => { modelList.value.forEach((element: any) => { multipleTableRef.value!.toggleRowSelection( @@ -143,8 +144,8 @@ sceneList.value = res.data }) getModelAll({}).then((res) => { - modelList.value = res.data.map((item: any) => ({ ...item, custom_threshold: 0.5 })) - modelAllList.value = res.data.map((item: any) => ({ ...item, custom_threshold: 0.5 })) + modelList.value = res.data.map((item: any) => ({ ...item, custom_threshold: 0.5 })).sort((a: any, b: any) => Number(a.id) - Number(b.id)) + modelAllList.value = res.data.map((item: any) => ({ ...item, custom_threshold: 0.5 })).sort((a: any, b: any) => Number(a.id) - Number(b.id)) }) } fetchDict() @@ -289,7 +290,10 @@ - + diff --git a/src/views/page/video/components/wsPlayer.vue b/src/views/page/video/components/wsPlayer.vue new file mode 100644 index 0000000..b3c93b6 --- /dev/null +++ b/src/views/page/video/components/wsPlayer.vue @@ -0,0 +1,52 @@ + + + + diff --git a/src/views/page/video/index.vue b/src/views/page/video/index.vue index 53298f6..9f48ac1 100644 --- a/src/views/page/video/index.vue +++ b/src/views/page/video/index.vue @@ -5,7 +5,7 @@ -->