yangbq 2 月之前
父节点
当前提交
14089e629f
共有 2 个文件被更改,包括 7 次插入7 次删除
  1. 1 1
      src/views/screen/engineering/issueSubDia.vue
  2. 6 6
      src/views/screen/engineering/monitorLive.vue

+ 1 - 1
src/views/screen/engineering/issueSubDia.vue

@@ -119,7 +119,7 @@ export default {
 },
   methods: {
     loadTemplate() {
-      return fetch("/template.docx")
+      return fetch("/screen/template.docx")
         .then(response => response.arrayBuffer())
         .then(buffer => {
           return buffer;

+ 6 - 6
src/views/screen/engineering/monitorLive.vue

@@ -182,12 +182,12 @@ export default {
     shot() {
       console.log(this.videoObj,'========================aaa');
       console.log("视频播放编号", this.code);
-      // if (!this.videoObj)
-      //   return;
-      // this.videoObj.capture({
-      //    winNum: this.winNum,
-      //    code: this.monitorInfo.cameraCode,
-      //  });
+      if (!this.videoObj)
+         return;
+       this.videoObj.capture({
+          winNum: this.winNum,
+          code: this.monitorInfo.cameraCode,
+        });
       this.imgSrc=this.fileName
       this.issue(this.imgSrc)