2
0

2 Коммиты 3e555c477a ... 43be1932fd

Автор SHA1 Сообщение Дата
  sgw 43be1932fd Merge remote-tracking branch 'origin/master' 1 год назад
  sgw 95a77061f9 [ADD] change currentScreen layout 1 год назад
3 измененных файлов с 21 добавлено и 28 удалено
  1. 7 17
      package.json
  2. 2 0
      src/components/hk/hkCamara.vue
  3. 12 11
      src/views/taskScreen.vue

+ 7 - 17
package.json

@@ -9,17 +9,11 @@
   },
   "dependencies": {
     "@jiaminghi/data-view": "^2.10.0",
-
-
-
-    "moment": "^2.29.4",
-    "mux.js": "^6.3.0",
-    "v-scale-screen": "^1.0.2",
-
     "axios": "^0.18.0",
     "bpmn-js-token-simulation": "^0.10.0",
     "core-js": "^3.6.4",
     "echarts": "^4.2.1",
+    "echarts-gl": "^1.1.0",
     "element-ui": "^2.13.0",
     "flv": "^0.0.1",
     "flv.js": "^1.6.2",
@@ -31,11 +25,14 @@
     "layui-layer": "^1.0.9",
     "lodash": "^4.17.5",
     "min-dash": "^3.5.2",
+    "moment": "^2.29.4",
+    "mux.js": "^6.3.0",
     "pdfjs-dist": "^2.5.207",
     "register-service-worker": "^1.6.2",
     "socket.io": "^4.6.1",
     "sortablejs": "^1.7.0",
     "v-charts": "^1.19.0",
+    "v-scale-screen": "^1.0.2",
     "video.js": "^8.0.4",
     "videojs-contrib-hls": "^5.15.0",
     "vue": "^2.6.11",
@@ -48,15 +45,6 @@
     "xml-js": "^1.6.11"
   },
   "devDependencies": {
-
-    "@vue/eslint-config-prettier": "^6.0.0",
-
-    "eslint-plugin-prettier": "^3.3.1",
-
-
-    "prettier": "^2.2.1",
-
-
     "@vue/cli-plugin-babel": "~4.2.0",
     "@vue/cli-plugin-eslint": "~4.2.0",
     "@vue/cli-plugin-pwa": "~4.2.0",
@@ -64,6 +52,7 @@
     "@vue/cli-plugin-unit-jest": "~4.2.0",
     "@vue/cli-plugin-vuex": "~4.2.0",
     "@vue/cli-service": "~4.2.0",
+    "@vue/eslint-config-prettier": "^6.0.0",
     "@vue/eslint-config-standard": "^5.1.0",
     "@vue/test-utils": "1.0.0-beta.31",
     "babel-eslint": "^10.0.3",
@@ -73,16 +62,17 @@
     "eslint": "^6.7.2",
     "eslint-plugin-import": "^2.20.1",
     "eslint-plugin-node": "^11.0.0",
+    "eslint-plugin-prettier": "^3.3.1",
     "eslint-plugin-promise": "^4.2.1",
     "eslint-plugin-standard": "^4.0.0",
     "eslint-plugin-vue": "^6.1.2",
     "less": "^4.1.3",
     "less-loader": "^7.3.0",
     "lint-staged": "^9.5.0",
+    "prettier": "^2.2.1",
     "sass": "^1.58.3",
     "sass-loader": "^7.3.1",
     "vue-template-compiler": "^2.6.11"
-
   },
   "eslintConfig": {
     "root": true,

+ 2 - 0
src/components/hk/hkCamara.vue

@@ -160,6 +160,8 @@ export default {
           this.getLoginParams().then((res) => {
             console.log("🚀 解析完 >> ", res);
             this.login(res);
+          }).then(() => {
+            this.$emit("init", true);
           });
         })
         window.addEventListener("resize", that.handleResize);

+ 12 - 11
src/views/taskScreen.vue

@@ -193,18 +193,19 @@
                       :src="require('../assets/img/rightIcon.svg')"
                       fit="contain"
                     ></el-image>
-                    训练态势监控
+<!--                    训练态势监控-->
+                    指令监控
                   </div>
-                  <el-image
-                    @click="showFull('allVideo')"
-                    style="width: 20px; height: 20px; margin-right: 6px; margin-top: -10px"
-                    :src="require('../assets/img/iconMore.svg')"
-                    fit="contain"
-                    class="moreBtn_style"
-                  ></el-image>
+<!--                  <el-image-->
+<!--                    @click="showFull('allVideo')"-->
+<!--                    style="width: 20px; height: 20px; margin-right: 6px; margin-top: -10px"-->
+<!--                    :src="require('../assets/img/iconMore.svg')"-->
+<!--                    fit="contain"-->
+<!--                    class="moreBtn_style"-->
+<!--                  ></el-image>-->
                 </div>
-                <div class="video_title">{{ camaraName[0] }}</div>
-                <hk-camara  v-if="HKCamaraShow" :companyVideoData="camaraData" @init="HKCardInit" ref="hkCard"/>
+<!--                <div class="video_title">{{ camaraName[0] }}</div>-->
+<!--                <hk-camara  v-if="HKCamaraShow" :companyVideoData="camaraData" @init="HKCardInit" ref="hkCard"/>-->
               </div>
               <div class="commandMonitoring_task">
                 <div class="map_more_box">
@@ -868,7 +869,7 @@ export default {
       }
 
       setTimeout(() => {
-        this.HKCamaraShow = true;
+        this.HKCardShow = true
       }, 800);
 
        let params1 = {