diff --git a/rtsp-vue/src/views/index.vue b/rtsp-vue/src/views/index.vue
index 7d80de6..8ed27be 100644
--- a/rtsp-vue/src/views/index.vue
+++ b/rtsp-vue/src/views/index.vue
@@ -9,9 +9,16 @@
-
+
+
+
-
+
+
![]()
+
+
{{ item.ip }}
@@ -19,6 +26,12 @@
+
+
+
+
+
+
-
-
+
@@ -80,7 +79,7 @@
-
+
@@ -144,14 +143,12 @@
- 启用
- 停用
+ {{ dict.label }}
- 启用
- 停用
+ {{ dict.label }}
@@ -175,7 +172,7 @@ import { listDevice } from "@/api/video/device";
import router from '@/router'
const { proxy } = getCurrentInstance();
-const { sys_normal_disable } = proxy.useDict('sys_normal_disable');
+const { sys_normal_disable, task_status } = proxy.useDict('sys_normal_disable', 'task_status');
const inspectionList = ref([]);
const deviceList = ref([]);
@@ -332,6 +329,7 @@ function handleDelete(row) {
/** 启动任务 */
function handleStart(row) {
proxy.$modal.confirm('是否确认启动任务"' + row.taskName + '"?').then(function() {
+ console.log(row.taskId);
return startTask(row.taskId);
}).then(() => {
getList();