lsc před 9 měsíci
rodič
revize
b484bda1a2

+ 1 - 1
dist/index.html

@@ -32,7 +32,7 @@
       width: 100%;
       background: #e6eaf0;
       font-family: '黑体';
-    }</style><link href=./static/css/app.4091725a3d128ed2c96c705d5d65d69b.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.571c38d63f24b1ae9e16.js></script><script type=text/javascript src=./static/js/vendor.bba3ed5aca95350eeef8.js></script><script type=text/javascript src=./static/js/app.618cdc5ef4fa533b9cca.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.3647ac6b3e5e9bf822ca0edc0770d223.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.571c38d63f24b1ae9e16.js></script><script type=text/javascript src=./static/js/vendor.bba3ed5aca95350eeef8.js></script><script type=text/javascript src=./static/js/app.8f4c6a223223b9cb81e1.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
dist/static/css/app.3647ac6b3e5e9bf822ca0edc0770d223.css


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
dist/static/css/app.3647ac6b3e5e9bf822ca0edc0770d223.css.map


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
dist/static/css/app.4091725a3d128ed2c96c705d5d65d69b.css


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
dist/static/css/app.4091725a3d128ed2c96c705d5d65d69b.css.map


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
dist/static/js/app.8f4c6a223223b9cb81e1.js


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
dist/static/js/app.8f4c6a223223b9cb81e1.js.map


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
dist/static/js/manifest.571c38d63f24b1ae9e16.js.map


+ 48 - 18
src/components/pages/aiAddCourse/addCourse.vue

@@ -1267,7 +1267,9 @@
                 </div>
                 <div style="width: 100%; padding: 0px 20px; box-sizing: border-box;display:flex;">
                   <div style="width: calc(100%);height: 100%" class='op_task_box inter_voiceBox'>
-                    <recordV></recordV>
+                    <recordV
+                    :videoText2.sync="recordVideoText"
+                    :audioUrl2.sync="recordAudioUrl"></recordV>
                   </div>
                   <div class="inter_box" v-show="interPan" style="margin: 0 0 0 10px">
                     <aiBoxCourseDetail  
@@ -7718,6 +7720,8 @@ export default {
       taskCancelToken2: [],
       isDisplay: true,
       isDialog: 0,
+      recordVideoText: "",
+      recordAudioUrl: "",
     };
   },
   directives: {
@@ -12335,6 +12339,8 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
             knowFileids: this.knowFileids,
             knowInfoData2: this.knowInfoData2,
             knowFileids2: this.knowFileids2,
+            recordVideoText: this.recordVideoText,
+            recordAudioUrl: this.recordAudioUrl,
           }),
           iresearch: this.isFileSearch ? 1 : 2,
         },
@@ -12612,6 +12618,8 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
             knowFileids: this.knowFileids,
             knowInfoData2: this.knowInfoData2,
             knowFileids2: this.knowFileids2,
+            recordVideoText: this.recordVideoText,
+            recordAudioUrl: this.recordAudioUrl,
           }),
           iresearch: this.isFileSearch ? 1 : 2,
         },
@@ -14763,6 +14771,9 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
                 this.knowFileids = (JSON.parse(res.data[0][0].setting).knowFileids) ? JSON.parse(res.data[0][0].setting).knowFileids : [];
                 this.knowInfoData2 = (JSON.parse(res.data[0][0].setting).knowInfoData2) ? JSON.parse(res.data[0][0].setting).knowInfoData2 : [];
                 this.knowFileids2 = (JSON.parse(res.data[0][0].setting).knowFileids2) ? JSON.parse(res.data[0][0].setting).knowFileids2 : [];
+                this.recordVideoText = (JSON.parse(res.data[0][0].setting).recordVideoText) ? JSON.parse(res.data[0][0].setting).recordVideoText : "";
+                this.recordAudioUrl = (JSON.parse(res.data[0][0].setting).recordAudioUrl) ? JSON.parse(res.data[0][0].setting).recordAudioUrl : "";
+                
                 if(this.targetCourseText2 || (!this.teacherCourseText)){
                   this.courseTextBool = true
                 }
@@ -14918,6 +14929,9 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
                 this.knowFileids = (JSON.parse(res.data[0][0].setting).knowFileids) ? JSON.parse(res.data[0][0].setting).knowFileids : [];
                 this.knowInfoData2 = (JSON.parse(res.data[0][0].setting).knowInfoData2) ? JSON.parse(res.data[0][0].setting).knowInfoData2 : [];
                 this.knowFileids2 = (JSON.parse(res.data[0][0].setting).knowFileids2) ? JSON.parse(res.data[0][0].setting).knowFileids2 : [];
+                this.recordVideoText = (JSON.parse(res.data[0][0].setting).recordVideoText) ? JSON.parse(res.data[0][0].setting).recordVideoText : "";
+                this.recordAudioUrl = (JSON.parse(res.data[0][0].setting).recordAudioUrl) ? JSON.parse(res.data[0][0].setting).recordAudioUrl : "";
+
                 if(this.targetCourseText2 || (!this.teacherCourseText)){
                   this.courseTextBool = true
                 }
@@ -16907,45 +16921,60 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
           console.error(err);
         });
     },
-    allEvaCan(){
+    allEvaCan() {
       if (this.taskLoading.length) {
         let _pan = 1
-        for(var k = 0; k < this.taskLoading.length; k++){
-          if(this.taskLoading[k]){
+        for (var k = 0; k < this.taskLoading.length; k++) {
+          if (this.taskLoading[k]) {
             this.$message({
-              message: `请等待任务${k+1}回答完毕后再继续`,
+              message: `请等待任务${k + 1}回答完毕后再继续`,
               type: "warning"
             });
             _pan = 2
           }
         }
-        if(_pan == 2){
+        if (_pan == 2) {
           return
         }
       }
-      if(this.taskGLoading.length){
+      if (this.taskGLoading.length) {
         let _pan = 1
-        for(var k = 0; k < this.taskGLoading.length; k++){
-          if(this.taskGLoading[k] && (this.taskGLoading[k][0] || this.taskGLoading[k][1] || this.taskGLoading[k][2])){
+        for (var k = 0; k < this.taskGLoading.length; k++) {
+          if (this.taskGLoading[k] && (this.taskGLoading[k][0] || this.taskGLoading[k][1] || this.taskGLoading[k][2])) {
             this.$message({
-              message: `请等待任务${k+1}回答完毕后再继续`,
+              message: `请等待任务${k + 1}回答完毕后再继续`,
               type: "warning"
             });
             _pan = 2
           }
         }
-        if(_pan == 2){
+        if (_pan == 2) {
           return
         }
       }
-      let taskJson = this.unitJson[0].chapterInfo[0].taskJson
-      for(var index = 0; index < taskJson.length; index++){
-        for (var j = 0; j < taskJson[index].toolChoose.length; j++) {
-          if(this.panTaskElist() == 0 && this.pjIndex.indexOf(taskJson[index].toolChoose[j].tool[0]) != -1){
-            this.$refs['evalist'+index+j][0].openAiDialog('elist');
+      this.$confirm("是否一键生成所有工具的评价设置?会占用您一些时间。", "提示", {
+        confirmButtonText: "确定",
+        cancelButtonText: "取消",
+        type: "warning",
+        customClass: 'custom-confirm-box'
+      })
+        .then(() => {
+          
+          let taskJson = this.unitJson[0].chapterInfo[0].taskJson
+          for (var index = 0; index < taskJson.length; index++) {
+            for (var j = 0; j < taskJson[index].toolChoose.length; j++) {
+              if (this.panTaskElist() == 0 && this.pjIndex.indexOf(taskJson[index].toolChoose[j].tool[0]) != -1) {
+                this.$refs['evalist' + index + j][0].openAiDialog('elist');
+              }
+            }
           }
-        }
-      }
+        })
+        .catch(() => {
+
+        });
+      setTimeout(() => {
+        this.setTipsIndex()
+      }, 500)
     },
     setAiJson(pan,string,string2,string3){
       if(pan == 'aiTeacher2'){
@@ -17258,6 +17287,7 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
           this.courseTextB = true
         }
       }
+      this.interSetting = false
     },
     changeLang(){
       window.course_lang = this.languageSetting

+ 4 - 2
src/components/pages/aiAddCourse/aiBoxCourseDetail.vue

@@ -412,7 +412,7 @@ export default {
     languageSetting: {
       type: Number,
       default: 0
-    }
+    },
   },
   data() {
     return {
@@ -1411,7 +1411,9 @@ ${message}`;
 <style scoped>
 .ai_body {
   height: 100%;
-  width: calc(100% - 20px);
+  width: calc(100%);
+  padding: 0 20px 10px;
+  box-sizing: border-box;
   margin: 0 auto;
   display: flex;
   flex-direction: column;

+ 20 - 2
src/components/pages/aiAddCourse/record.vue

@@ -60,13 +60,23 @@
 
 <script>
 export default {
+    props: {
+        videoText2: {
+            type: String,
+            default: ''
+        },
+        audioUrl2: {
+            type: String,
+            default: ''
+        }
+    },
     data() {
         return {
-            videoText: "",
+            videoText: this.videoText2,
             recorderProvider: "microsoft",//shengyang
             uploadFileLoading: false,
             controlsStatus: 0,  //0--点击开始录音  1--录音中   2--录音完毕预览  3--文字输入
-            audioUrl: "",
+            audioUrl: this.audioUrl2,
             languageRadio: 2, //设置选择语言
             recordedForm: {
                 time: "00:00:00", //时间
@@ -85,6 +95,14 @@ export default {
             },
         }
     },
+    watch: {
+        videoText(newValue, oldValue) {
+            this.$emit('update:videoText2', newValue)
+        },
+        audioUrl(newValue, oldValue) {
+            this.$emit('update:audioUrl2', newValue)
+        }
+    },
     methods: {
         updateRecordedTime({ duration }) {
             // 更新currentTime,将秒数转换为时分秒格式

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů