qinhouyu 8 meses atrás
pai
commit
01eda23c96

+ 3 - 1
screen-demo/package.json

@@ -46,7 +46,9 @@
     "parserOptions": {
       "parser": "@babel/eslint-parser"
     },
-    "rules": {}
+    "rules": {
+      "no-debugger": "off"
+    }
   },
   "browserslist": [
     "> 1%",

+ 4 - 21
screen-demo/src/views/templateInstance.vue

@@ -196,28 +196,11 @@ export default {
     this.echarts4q()
     // 获取摄像头点位列表信息
     this.$requestSDK(
-      // "/video-demo22/querySiteCodeAndDevices",
-      // "/jilin-devloper/device/queryPresetList",
       "/jilin-devloper/jilin/querySiteCodeAndDevices",
       {},
       {},
       "post"
     ).then((res) => {
-      console.log("res querySiteCodeAndDevices=", res)
-      this.markPoints = [
-        {
-          longitude: 125,
-          latitude:43
-        },
-        {
-          longitude: 125.66,
-          latitude:43
-        },
-        {
-          longitude: 125.77,
-          latitude:43.55
-        }
-      ];
       this.markPoints = res.data;
       // 添加打点
       if (this.map) {
@@ -1573,7 +1556,7 @@ export default {
           let method = "post";
           // 获取摄像头channelCode信息
           this.$requestSDK(
-            "/video-demo22/queryDeviceForWE",
+            "/jilin-devloper/jilin/queryDeviceForWE",
             { deviceCode: event.id.list[0]?.deviceCode },
             header,
             method
@@ -1590,7 +1573,7 @@ export default {
           };
           // 获取摄像头详情信息
           this.$requestSDK(
-            "/video-demo22/queryDevices",
+            "/jilin-devloper/jilin/queryDevices",
             data,
             header,
             method
@@ -1666,7 +1649,7 @@ export default {
           let method = "post";
           // 获取摄像头channelCode信息
           this.$requestSDK(
-            "/video-demo22/queryDeviceForWE",
+            "/jilin-devloper/jilin/queryDeviceForWE",
             { deviceCode: features.feature.values_.value.list[0]?.deviceCode },
             header,
             method
@@ -1683,7 +1666,7 @@ export default {
           };
           // 获取摄像头详情信息
           this.$requestSDK(
-            "/video-demo22/queryDevices",
+            "/jilin-devloper/jilin/queryDevices",
             data,
             header,
             method