SanHQin 15 saat önce
ebeveyn
işleme
36bac57291

+ 1 - 1
dist/index.html

@@ -37,7 +37,7 @@
       width: 100%;
       width: 100%;
       background: #e6eaf0;
       background: #e6eaf0;
       font-family: '黑体';
       font-family: '黑体';
-    }</style><link href=./static/css/app.deb7ec5c365856c1af018342efefa5bb.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.23ea04dc469b57e2b4f8.js></script><script type=text/javascript src=./static/js/vendor.2c492f3d5a39df08f4a3.js></script><script type=text/javascript src=./static/js/app.043f4b8f4fd5c66bfb3e.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.37ea02c9f60355e94098ad4fa604cbe7.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.23ea04dc469b57e2b4f8.js></script><script type=text/javascript src=./static/js/vendor.2c492f3d5a39df08f4a3.js></script><script type=text/javascript src=./static/js/app.9c10ebefb84d0e09dbef.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {
     document.documentElement.addEventListener("touchstart", function (event) {

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/static/css/app.37ea02c9f60355e94098ad4fa604cbe7.css


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/static/css/app.37ea02c9f60355e94098ad4fa604cbe7.css.map


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/static/css/workPage.65751a18fac8fee0541397db05166906.css


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/static/css/workPage.65751a18fac8fee0541397db05166906.css.map


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/static/js/app.9c10ebefb84d0e09dbef.js


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/static/js/app.9c10ebefb84d0e09dbef.js.map


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/static/js/manifest.23ea04dc469b57e2b4f8.js.map


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/static/js/workPage-manifest.2ece51fa34be51c8610a.js.map


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/static/js/workPage.0500914b4704ff9f8855.js


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/static/js/workPage.0500914b4704ff9f8855.js.map


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/static/js/workPage.a2469c27757e646a89b8.js


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/static/js/workPage.a2469c27757e646a89b8.js.map


+ 1 - 1
dist/workPage.html

@@ -1,4 +1,4 @@
-<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>工作页面 - CocoFlow</title><link rel=icon href=../static/logo.ico><link href=./static/css/workPage.d63cf956c0885abebe323c34dd4f4fe7.css rel=stylesheet></head><body><noscript><strong>We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script type=text/javascript src=./static/js/workPage-manifest.2ece51fa34be51c8610a.js></script><script type=text/javascript src=./static/js/workPage-vendor.7b6275e4cf468b42a92b.js></script><script type=text/javascript src=./static/js/workPage.a2469c27757e646a89b8.js></script></body></html><script>function stopSafari() {
+<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>工作页面 - CocoFlow</title><link rel=icon href=../static/logo.ico><link href=./static/css/workPage.65751a18fac8fee0541397db05166906.css rel=stylesheet></head><body><noscript><strong>We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script type=text/javascript src=./static/js/workPage-manifest.2ece51fa34be51c8610a.js></script><script type=text/javascript src=./static/js/workPage-vendor.7b6275e4cf468b42a92b.js></script><script type=text/javascript src=./static/js/workPage.0500914b4704ff9f8855.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {
     document.documentElement.addEventListener("touchstart", function (event) {

+ 28 - 19
src/components/pages/workPage/components/questionsAndAnswers.vue

@@ -3,7 +3,8 @@
     <div class="qaa_title">{{ work.answerQ }}</div>
     <div class="qaa_title">{{ work.answerQ }}</div>
     <div class="qaa_img" v-if="work.imageList && work.imageList.length > 0">
     <div class="qaa_img" v-if="work.imageList && work.imageList.length > 0">
       <div v-for="(item, index) in work.imageList" :key="index">
       <div v-for="(item, index) in work.imageList" :key="index">
-        <el-image style="width: auto; height: 100%;cursor: pointer;max-height: 300px;" :src="item.url" alt="" :preview-src-list="[item.url]" fit="cover" />
+        <el-image style="width: auto; height: 100%;cursor: pointer;max-height: 300px;" :src="item.url" alt=""
+          :preview-src-list="[item.url]" fit="cover" />
       </div>
       </div>
     </div>
     </div>
     <div class="qaa_type">{{ lang.ssQAQuestion }}</div>
     <div class="qaa_type">{{ lang.ssQAQuestion }}</div>
@@ -164,8 +165,8 @@ export default {
           console.log(privText)
           console.log(privText)
         };
         };
 
 
-        iframe.contentWindow.sessionStarted = (s,e)=>{
-          console.log("sessionStarted", s,e)
+        iframe.contentWindow.sessionStarted = (s, e) => {
+          console.log("sessionStarted", s, e)
           this.recordObj.status = "1"
           this.recordObj.status = "1"
           this.recordObj.startTime = new Date().getTime();
           this.recordObj.startTime = new Date().getTime();
         }
         }
@@ -173,7 +174,7 @@ export default {
         iframe.contentWindow.ConversationTranscriber();
         iframe.contentWindow.ConversationTranscriber();
 
 
         this.recordObj.status = "1"
         this.recordObj.status = "1"
-          this.recordObj.startTime = new Date().getTime();
+        this.recordObj.startTime = new Date().getTime();
 
 
 
 
       };
       };
@@ -230,23 +231,31 @@ export default {
         }
         }
         console.log("测试测试222")
         console.log("测试测试222")
         // 有权限再判断状态
         // 有权限再判断状态
-        if (this.recordObj.status == '1' && !this.recordObj.loading) {
-          console.log("测试测3333")
-          this.recordObj.loading = true;
-          iframe.contentWindow.window.document
-            .getElementById("scenarioStopButton")
-            .click();
-          iframe.contentWindow.onSessionStopped = (s, e) => {
-            this.recordObj.status = "0"
+        try {
+          if (this.recordObj.status == '1' && !this.recordObj.loading) {
+            console.log("测试测3333")
+            this.recordObj.loading = true;
+            iframe.contentWindow.window.document
+              .getElementById("scenarioStopButton")
+              .click();
+            iframe.contentWindow.onSessionStopped = (s, e) => {
+              try {
+                this.recordObj.status = "0"
+                this.recordObj.loading = false;
+                this.$message.success(this.lang.ssStoppedRec)
+                iframe.contentWindow.onSessionStopped = null;
+                this._cleanupTranscriber(iframe);
+              } catch (error) {
+                alert(JSON.stringify(error))
+              }
+            };
+          } else {
+            this.recordObj.status = "0";
             this.recordObj.loading = false;
             this.recordObj.loading = false;
-            this.$message.success(this.lang.ssStoppedRec)
-            iframe.contentWindow.onSessionStopped = null;
             this._cleanupTranscriber(iframe);
             this._cleanupTranscriber(iframe);
-          };
-        } else {
-          this.recordObj.status = "0";
-          this.recordObj.loading = false;
-          this._cleanupTranscriber(iframe);
+          }
+        } catch (error) {
+          alert(JSON.stringify(error))
         }
         }
       }).catch((e) => {
       }).catch((e) => {
         alert(JSON.stringify(e))
         alert(JSON.stringify(e))

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor