Procházet zdrojové kódy

Merge branch 'beta'

lsc před 1 měsícem
rodič
revize
0b8d1193b8

+ 1 - 1
dist/index.html

@@ -27,7 +27,7 @@
     html,
     body{
       font-family: '黑体';
-    }</style><link href=./static/css/app.f81279d9528c16d57ae08885077e53ee.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.d6d47d008c180699b2a1.js></script><script type=text/javascript src=./static/js/app.fce187ffba426f87b2fd.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.4acd8dd9557aebd12fe19d60ed14b7bc.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.d6d47d008c180699b2a1.js></script><script type=text/javascript src=./static/js/app.908f4f15d270120a77d5.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.4acd8dd9557aebd12fe19d60ed14b7bc.css


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


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


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


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


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


+ 9 - 5
src/components/classRoomHelper/index.vue

@@ -241,6 +241,7 @@
             itemType == 2 ? 'ch_nav_box_middle_item_active' : ''
           ]"
           @click.stop="changeItemType(2)"
+         v-if="tType!=2"
         >
           <img
             v-if="itemType == 2"
@@ -259,6 +260,7 @@
             'ch_nav_box_middle_item',
             itemType == 1 ? 'ch_nav_box_middle_item_active' : ''
           ]"
+         v-if="tType!=2"
           @click.stop="changeItemType(1)"
         >
           <img
@@ -295,6 +297,7 @@
             'ch_nav_box_middle_item',
             itemType == 3 ? 'ch_nav_box_middle_item_active' : ''
           ]"
+         v-if="tType!=2"
           @click.stop="changeItemType(3)"
         >
           <img
@@ -309,7 +312,7 @@
         </div>
       </div>
       <div class="ch_nav_box_bottom">
-        <div @click.stop="commentAndAnnotate()" style="z-index: 9999;">
+        <div @click.stop="commentAndAnnotate()" style="z-index: 9999;" v-if="tType!=2">
           <el-tooltip class="item" effect="dark" content="批注" placement="top">
             <img
               :src="require('../../assets/icon/course/edit2.svg')"
@@ -332,6 +335,7 @@
 				</div> -->
 
         <div
+          v-if="tType!=2"
           @click.stop="startAssistant()"
           :class="[recordType == 1 ? 'ch_nav_box_middle_item_active' : '']"
         >
@@ -371,7 +375,7 @@
           </el-tooltip>
         </div>
 
-        <div @click="openSetting">
+        <div @click="openSetting" v-if="tType!=2">
           <el-tooltip
             class="item"
             effect="dark"
@@ -823,12 +827,12 @@ ${_textData}
     setIframeSrc() {
       const array = [
         { index: 0, src: [{src:'https://beta.knowledge.cocorobo.cn/zh-CN/story-telling/6c5e785f-d1b0-11ef-b730-12e77c4cb76b', name:'赛规者'}] },
-        { index: 1, src: 
+        { index: 1, src:
           [
             {src:'https://beta.knowledge.cocorobo.cn/zh-CN/story-telling/45ab8600-d1b3-11ef-b730-12e77c4cb76b', name:'共情者'},
             {src:'https://beta.knowledge.cocorobo.cn/zh-CN/story-telling/9645d16d-d1b7-11ef-b855-12e77c4cb76b', name:'解析者'},
             {src:'https://beta.knowledge.cocorobo.cn/zh-CN/story-telling/1f8ee1b8-d258-11ef-8b75-12e77c4cb76b', name:'构想者'},
-          ] 
+          ]
         },
         { index: 2, src: [{src:'https://beta.knowledge.cocorobo.cn/zh-CN/story-telling/2bf156bc-d1ae-11ef-b730-12e77c4cb76b', name:'建模者'}] },
         { index: 3, src: [{src:'https://beta.knowledge.cocorobo.cn/zh-CN/story-telling/2bf156bc-d1ae-11ef-b730-12e77c4cb76b', name:'建模者'}] },
@@ -838,7 +842,7 @@ ${_textData}
         { index: 7, src: [
           {src:'https://beta.knowledge.cocorobo.cn/zh-CN/story-telling/cd01ace0-d259-11ef-8b75-12e77c4cb76b', name:'项目书编者'},
           {src:'https://beta.knowledge.cocorobo.cn/zh-CN/story-telling/a2f4c70a-d1b0-11ef-b730-12e77c4cb76b', name:'答辩者'},
-          ] 
+          ]
         },
       ];
       const matched = array.find(el => el.index === this.courseType);

+ 24 - 23
src/components/studyStudent.vue

@@ -240,10 +240,10 @@
         </div>
       </div>
       <!-- :class="{ navLeftCss: !mlDialog }" -->
-      <div class="body_student" :style="{width: mlDialog ? 'calc(100% - '+`${!['2'].includes(tType)?classRoomHelperWidth:'10px'}`+' - 20% - 40px)' : 'calc(100% - '+`${!['2'].includes(tType)?classRoomHelperWidth:'10px'}`+' - 10px)', left: mlDialog  ? 'calc(20% + 35px)' : '10px' }">
-        <div class="new_topFixed" :style="{width: mlDialog ? 'calc(100% - '+`${!['2'].includes(tType)?classRoomHelperWidth:'10px'}`+' - 20% - 40px)' : 'calc(100% - '+`${!['2'].includes(tType)?classRoomHelperWidth:'10px'}`+' - 10px)', left: mlDialog  ? 'calc(20% + 35px)' : '10px' }"></div>
-        <div class="new_top" :style="{width: mlDialog ? 'calc(100% - '+`${!['2'].includes(tType)?classRoomHelperWidth:'10px'}`+' - 20% - 47px)' : 'calc(100% - '+`${!['2'].includes(tType)?classRoomHelperWidth:'10px'}`+' - 18px)', left: mlDialog  ? 'calc(20% + 35px)' : '10px' }">
-          <div class="courseIndex" :style="{width: (orgArray.includes(org) || oidArray.includes(oid)) && !['2'].includes(tType) ? '100%' : 'calc(100% - 745px)'}">
+      <div class="body_student" :style="{width: mlDialog ? 'calc(100% - '+`${(!['2'].includes(tType) || canUseCourseId.includes(id))?classRoomHelperWidth:'10px'}`+' - 20% - 40px)' : 'calc(100% - '+`${(!['2'].includes(tType) || canUseCourseId.includes(id))?classRoomHelperWidth:'10px'}`+' - 10px)', left: mlDialog  ? 'calc(20% + 35px)' : '10px' }">
+        <div class="new_topFixed" :style="{width: mlDialog ? 'calc(100% - '+`${(!['2'].includes(tType) || canUseCourseId.includes(id))?classRoomHelperWidth:'10px'}`+' - 20% - 40px)' : 'calc(100% - '+`${(!['2'].includes(tType) || canUseCourseId.includes(id))?classRoomHelperWidth:'10px'}`+' - 10px)', left: mlDialog  ? 'calc(20% + 35px)' : '10px' }"></div>
+        <div class="new_top" :style="{width: mlDialog ? 'calc(100% - '+`${(!['2'].includes(tType) || canUseCourseId.includes(id))?classRoomHelperWidth:'10px'}`+' - 20% - 47px)' : 'calc(100% - '+`${(!['2'].includes(tType) || canUseCourseId.includes(id))?classRoomHelperWidth:'10px'}`+' - 18px)', left: mlDialog  ? 'calc(20% + 35px)' : '10px' }">
+          <div class="courseIndex" :style="{width: (orgArray.includes(org) || oidArray.includes(oid)) && (!['2'].includes(tType) || canUseCourseId.includes(id)) ? '100%' : 'calc(100% - 745px)'}">
             <div>任务{{ taskCount + 1 }}</div>
             <el-tooltip
               effect="light"
@@ -260,7 +260,7 @@
               </div>
             </el-tooltip>
           </div>
-          <div class="btnAll"  v-show="!orgArray.includes(org) && !oidArray.includes(oid) || ['2'].includes(tType)"><!--v-show="org !== '1973f6c7-1561-11ee-91d8-005056b86db5' || org !== '777559d2-7239-11ee-b98c-005056b86db5'"-->
+          <div class="btnAll"  v-show="!orgArray.includes(org) && !oidArray.includes(oid) || (['2'].includes(tType)  && !canUseCourseId.includes(id))"><!--v-show="org !== '1973f6c7-1561-11ee-91d8-005056b86db5' || org !== '777559d2-7239-11ee-b98c-005056b86db5'"-->
             <div class="btnLeft">
               <el-tooltip effect="light" content="刷新" placement="top">
                 <div class="reBtnIcon" @click="refreshCourse">
@@ -8133,7 +8133,7 @@
         </el-dialog>
       </div>
 			<!-- v-show="org == '1973f6c7-1561-11ee-91d8-005056b86db5' || org == '777559d2-7239-11ee-b98c-005056b86db5' || org == '884c5665-a453-46f3-b7b6-01d575290aa9'" -->
-      <classRoomHelper v-if="!['2'].includes(tType)" @studentFreePreview="studentFreePreview" @OpenJobPreview="OpenJobPreview" :videoStart="videoStart" :IsFollow="IsFollow" :sIsOpen="sIsOpen" :IsLookOpen="IsLookOpen" :splitScreenData="splitScreenData" @splitScreenBehavior="splitScreenBehavior" @startRecording="startRecording" @stopRecording="stopRecording" :fileList="vChapterData[taskCount]" :worksStudent="worksStudent" :courseType="parseInt(courseType)" :taskCount="taskCount" :tcid="tcid" :navList="navList" v-show="orgArray.includes(org) || oidArray.includes(oid)"  ref="classRoomHelperRef" :courseDetail="courseDetail" :tType="tType" @setWidth="setClassRoomHelperWidth" @refresh="refreshCourse" @goStep="nextOrpreSteps" @authority="juriVisible = true" @review="setPz" @backPage="goTo(
+      <classRoomHelper v-if="!['2'].includes(tType) || canUseCourseId.includes(id)" @studentFreePreview="studentFreePreview" @OpenJobPreview="OpenJobPreview" :videoStart="videoStart" :IsFollow="IsFollow" :sIsOpen="sIsOpen" :IsLookOpen="IsLookOpen" :splitScreenData="splitScreenData" @splitScreenBehavior="splitScreenBehavior" @startRecording="startRecording" @stopRecording="stopRecording" :fileList="vChapterData[taskCount]" :worksStudent="worksStudent" :courseType="parseInt(courseType)" :taskCount="taskCount" :tcid="tcid" :navList="navList" v-show="orgArray.includes(org) || oidArray.includes(oid)"  ref="classRoomHelperRef" :courseDetail="courseDetail" :tType="tType" @setWidth="setClassRoomHelperWidth" @refresh="refreshCourse" @goStep="nextOrpreSteps" @authority="juriVisible = true" @review="setPz" @backPage="goTo(
                     '/courseDetail?userid=' +
                       userid +
                       '&oid=' +
@@ -9991,7 +9991,7 @@
       <div style="height: 100%;position: relative;">
         <el-button
           v-if="(splitScreenData.isOpen && (splitScreenData.uid != splitScreenData.myUid))"
-          size="medium" 
+          size="medium"
           type="primary"
           @click="
             () => {
@@ -11999,12 +11999,12 @@
         <div style="margin-bottom: 10px;">接下来你将跟随老师一起开始今天的学习! </div>
         <div>要认真听讲哦~</div>
       </div>
-      
+
 
       <div style="text-align: center;">
         <el-button type="primary" style="width: 95%;" @click="confirmOpen">开始学习</el-button>
       </div>
-   
+
     </el-dialog>
   </div>
 </template>
@@ -12548,7 +12548,8 @@ export default {
 			behavior:null,
     },
       confirmOpenDig:false,
-      confirmOpenDigData:''
+      confirmOpenDigData:'',
+      canUseCourseId: ['bfbe1913-2f87-11ef-bf55-005056b86db5','3a64b199-d2eb-11ef-a2d1-005056b86db5', 'bb0b1995-0207-11ef-b534-005056b86db5', 'f77921c8-d2f1-11ef-a2d1-005056b86db5']
     };
   },
   methods: {
@@ -12860,7 +12861,7 @@ export default {
             let scrollBody = document.querySelector('.body_student').parentElement
             scrollBody.scrollTop = scrollBody.scrollTop - 100
         }, 0);
-       
+
       }
 			let flag = this.courseType == i;
 			let flag2 = this.taskCount == j
@@ -16384,7 +16385,7 @@ export default {
         this.$message.error("已经开启跟随模式,请认真跟堂听讲");
         return;
       }
-      if (this.IsLookOpen && 
+      if (this.IsLookOpen &&
         this.courseDetail.userid != this.userid &&
         this.courseDetail.course_teacher.indexOf(this.userid) ==-1) {
         if (
@@ -16668,7 +16669,7 @@ export default {
               });
               this.fileC[i] = c.filter((el) => {
                 return el.type == 12;
-              });              
+              });
               if (this.tType == 2) {
                 if (this.fileC[i].length) {
                   let yym1 =  this.fileC[i].filter(e=>{
@@ -19859,7 +19860,7 @@ export default {
     },
     openWordCloud(toolindex) {
       this.wordCloudData = '';
-      
+
       let array = [];
       for (var i = 0; i < this.worksStudent[toolindex].length; i++) {
         let works = JSON.parse(this.worksStudent[toolindex][i].works)[0].answer;
@@ -19879,7 +19880,7 @@ export default {
         _result +=e.name+','
       })
       this.wordCloudData = _result;
-      
+
       this.dialogVisibleWordCloud = true;
       this.wordCloudKey += 1;
 
@@ -20392,11 +20393,11 @@ export default {
       this.confirmOpenDig = false
       if (!document.fullscreenElement) {
         this.enterFullScreen();
-      } 
+      }
       if (this.timer2) {
         clearInterval(this.timer2);
         this.timer2 = null;
-      } 
+      }
       this.timer2 = setInterval(()=> {
         this.getSplitScreenData();//获取分屏数据
       }, 1000);
@@ -20427,7 +20428,7 @@ export default {
               await this.updateSplitScreenData(1);
             } else if (!this.splitScreenData.isOpen && data.isOpen) {
               this.confirmOpenDig = true
-              this.confirmOpenDigData = data      
+              this.confirmOpenDigData = data
             } else if (this.splitScreenData.isOpen && !data.isOpen) {
               this.splitScreenData.isOpen = false;
               this.splitScreenData.userId = "";
@@ -20466,7 +20467,7 @@ export default {
                 .then(() => {
                   if (document.fullscreenElement) {
                       this.exitFullScreen();
-                  } 
+                  }
                 })
                 .catch(() => {});
             }
@@ -20485,7 +20486,7 @@ export default {
         if (behavior) {
           if (behavior.code === 99) {
             //初始化
-            this.fullDialogVisible = false;             
+            this.fullDialogVisible = false;
 						if(this.$refs.choseWorksDetailDialogRef.show){
 							this.$refs.choseWorksDetailDialogRef.close();
 						}
@@ -20497,7 +20498,7 @@ export default {
             //开启内容列表弹窗
             this.checkFileFull1(behavior.form.t, behavior.form.f);
             }else{
-              this.fullDialogVisible = false;         
+              this.fullDialogVisible = false;
             }
            if (behavior.code === 1) {
             //关于选择题的作业详细的操作
@@ -20537,7 +20538,7 @@ export default {
 
             // console.log('behavior.form',behavior.form.courseType,behavior.form.taskCount,behavior.form.toolType);
             // console.log('666666',this.courseType,this.taskCount,this.toolindex);
-            
+
             if (behavior.form.courseType != this.courseType ||
                 behavior.form.taskCount != this.taskCount ||
                 behavior.form.toolType != this.toolindex
@@ -20575,7 +20576,7 @@ export default {
             }
             this.setContent2(false)
 
-            
+
           }
         } else {
         }

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