lsc 8 月之前
父節點
當前提交
86eabac553

+ 1 - 1
dist/index.html

@@ -32,7 +32,7 @@
       width: 100%;
       background: #e6eaf0;
       font-family: '黑体';
-    }</style><link href=./static/css/app.c58b78abe655ab46779bf91072d9b150.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.00bfcafc8431113801f1.js></script><script type=text/javascript src=./static/js/vendor.2b137013dd41e15d099d.js></script><script type=text/javascript src=./static/js/app.c6d57d35b909ce5abc64.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.f398745547aa6b312d151b4eeacf6852.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.884f5b51457646503a9d.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

文件差異過大導致無法顯示
+ 0 - 0
dist/static/css/app.c58b78abe655ab46779bf91072d9b150.css


文件差異過大導致無法顯示
+ 0 - 0
dist/static/css/app.f398745547aa6b312d151b4eeacf6852.css


文件差異過大導致無法顯示
+ 0 - 0
dist/static/css/app.f398745547aa6b312d151b4eeacf6852.css.map


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/0.4f3b05586c3acc102a54.js.map


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/0.7da288988865a9378b49.js


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/0.7da288988865a9378b49.js.map


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/app.884f5b51457646503a9d.js


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/app.884f5b51457646503a9d.js.map


+ 2 - 2
dist/static/js/manifest.00bfcafc8431113801f1.js → dist/static/js/manifest.571c38d63f24b1ae9e16.js

@@ -1,2 +1,2 @@
-!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var i,u,f,s=0,l=[];s<r.length;s++)u=r[s],t[u]&&l.push(t[u][0]),t[u]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);for(n&&n(r,c,a);l.length;)l.shift()();if(a)for(s=0;s<a.length;s++)f=o(o.s=a[s]);return f};var r={},t={6:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,o.nc&&a.setAttribute("nonce",o.nc),a.src=o.p+"static/js/"+e+"."+{0:"4f3b05586c3acc102a54",1:"d8d4e9b1fe43bbb0a681",2:"94e1427bfc7ef0b4c685",3:"3a9f53a78da16650e6b8"}[e]+".js";var i=setTimeout(u,12e4);function u(){a.onerror=a.onload=null,clearTimeout(i);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=u,c.appendChild(a),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="./",o.oe=function(e){throw console.error(e),e}}([]);
-//# sourceMappingURL=manifest.00bfcafc8431113801f1.js.map
+!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,c){for(var i,u,f,s=0,l=[];s<r.length;s++)u=r[s],t[u]&&l.push(t[u][0]),t[u]=0;for(i in a)Object.prototype.hasOwnProperty.call(a,i)&&(e[i]=a[i]);for(n&&n(r,a,c);l.length;)l.shift()();if(c)for(s=0;s<c.length;s++)f=o(o.s=c[s]);return f};var r={},t={6:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var a=document.getElementsByTagName("head")[0],c=document.createElement("script");c.type="text/javascript",c.charset="utf-8",c.async=!0,c.timeout=12e4,o.nc&&c.setAttribute("nonce",o.nc),c.src=o.p+"static/js/"+e+"."+{0:"7da288988865a9378b49",1:"d8d4e9b1fe43bbb0a681",2:"94e1427bfc7ef0b4c685",3:"3a9f53a78da16650e6b8"}[e]+".js";var i=setTimeout(u,12e4);function u(){c.onerror=c.onload=null,clearTimeout(i);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return c.onerror=c.onload=u,a.appendChild(c),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="./",o.oe=function(e){throw console.error(e),e}}([]);
+//# sourceMappingURL=manifest.571c38d63f24b1ae9e16.js.map

文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/manifest.571c38d63f24b1ae9e16.js.map


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/vendor.bba3ed5aca95350eeef8.js


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/vendor.bba3ed5aca95350eeef8.js.map


+ 42 - 8
src/components/pages/aiAddCourse/addCourse.vue

@@ -1439,7 +1439,7 @@
                 <div style="width: 100%; padding: 0px 20px; box-sizing: border-box">
                   <div style="width: calc(100%);" class='op_task_box'>
                     <textarea v-autoHeight="68" rows="2" class="binfo_input binfo_textarea" cols v-model="courseText"
-                      placeholder="请输入课程简要描述" v-if="courseTextB"></textarea>
+                      placeholder="请输入课程简要描述" v-if="courseTextB" @change="textAreaChange('courseText')"></textarea>
                     <div class="markBox vditor-reset" style="white-space:pre-wrap;" v-text="courseText" v-else-if="textLoading"></div>
                     <div class="markBox vditor-reset" v-html="MarkdownT(courseText)" v-else></div>
                       <div class="op_box" :class="{op_box_isquote: isQuote['aiDetail']}">
@@ -1482,9 +1482,9 @@
                   </div>
                   <div style="width: calc(100%);height: 100%" class='op_task_box' :class="{inter_Detailbox: !courseTextB && interPan}">
                     <textarea style="height: 500px" class="binfo_input binfo_textarea" cols v-model="courseText"
-                      placeholder="请输入课程简要描述" v-if="courseTextB && interPan"></textarea>
+                      placeholder="请输入课程简要描述" v-if="courseTextB && interPan" @change="textAreaChange('courseText')"></textarea>
                     <textarea v-autoHeight="68" rows="2" class="binfo_input binfo_textarea" cols v-model="courseText"
-                      placeholder="请输入课程简要描述" v-else-if="courseTextB && !interPan"></textarea>
+                      placeholder="请输入课程简要描述" v-else-if="courseTextB && !interPan" @change="textAreaChange('courseText')"></textarea>
                     <div class="markBox vditor-reset" style="white-space:pre-wrap;" v-text="courseText" :style="{height: interPan ? '500px' : 'auto', overflowY:'auto'}" v-else-if="textLoading"></div>
                     <div class="markBox vditor-reset" :style="{height: interPan ? '500px' : 'auto', overflowY:'auto'}" v-html="MarkdownT(courseText)" v-else></div>
                       <div class="op_box" :class="{op_box_isquote: isQuote['aiDetail']}">
@@ -1661,7 +1661,7 @@
                 <div style="width: 100%; padding: 0px 20px; box-sizing: border-box">
                   <div style="width: calc(100%);" class='op_task_box'>
                     <textarea v-autoHeight="68" rows="2" class="binfo_input binfo_textarea" cols v-model="targetCourseText2"
-                      placeholder="请输入课程目标" v-if="targetCourseText2B"></textarea>
+                      placeholder="请输入课程目标" v-if="targetCourseText2B" @change="textAreaChange('targetCourseText2')"></textarea>
                     <div class="markBox vditor-reset" style="white-space:pre-wrap;" v-text="targetCourseText2" v-else-if="targetTextLoading2"></div>
                     <div class="markBox vditor-reset" v-html="MarkdownT(targetCourseText2)" v-else></div> 
                       <div class="op_box" :class="{op_box_isquote: isQuote['aitargetTextDetail2']}">
@@ -1990,7 +1990,7 @@
                     <div class="outline_detail" :style="{ minHeight: taskDetailLoading.indexOf('task-' + index) !== -1 ? '250px' : 'auto'}" v-loading="taskDetailLoading.indexOf('task-' + index) !== -1" element-loading-text="小可正在努力生成中,请稍等...">
                       <div div class="c_pub_button_confirm stopBtn" v-if="taskDetailLoading.indexOf('task-' + index) !== -1 && isOutlineTaskCancelToken[index]" @click="cancelAjax('outlineTask', index)">停止</div>
                       <textarea v-autoHeight="100" rows="4" class="binfo_input binfo_textarea" cols
-                        placeholder="请输入任务描述" v-model="item.taskDetail2" v-if="item.isTask2"></textarea>
+                        placeholder="请输入任务描述" v-model="item.taskDetail2" v-if="item.isTask2" @change="textAreaChange('taskDetail2', index)"></textarea>
                       <div class="markBox vditor-reset" style="white-space:pre-wrap;" v-text="item.taskDetail2" v-else-if="ttaskDetailLoading.indexOf('task-' + index) !== -1"></div>
                       <div class="markBox vditor-reset" v-html="MarkdownT(item.taskDetail2)" v-else></div>
                       <div class="op_box" :class="{op_box_isquote: isQuote['aiDetail1-'+index]}">
@@ -2155,7 +2155,7 @@
                     <div class="outline_detail" :style="{ minHeight: taskDetailLoading5.indexOf('task-' + index) !== -1 ? '250px' : 'auto'}" v-loading="taskDetailLoading5.indexOf('task-' + index) !== -1" element-loading-text="小可正在努力生成中,请稍等...">
                       <div div class="c_pub_button_confirm stopBtn" v-if="taskDetailLoading5.indexOf('task-' + index) !== -1" @click="cancelAjax('teacherDetail2', index)">停止</div>
                       <textarea v-autoHeight="100" rows="4" class="binfo_input binfo_textarea" cols placeholder="请输入教案"
-                        v-model="item.taskDetail3" v-if="item.isTask3"></textarea>
+                        v-model="item.taskDetail3" v-if="item.isTask3" @change="textAreaChange('taskDetail3', index)"></textarea>
                       <div class="markBox vditor-reset" style="white-space:pre-wrap;" v-text="item.taskDetail3" v-else-if="ttaskDetailLoading5.indexOf('task-' + index) !== -1"></div>
                       <div class="markBox vditor-reset" v-html="MarkdownT(item.taskDetail3)" v-else></div>
                       <div class="op_box" :class="{op_box_isquote: isQuote['teacherDetail2-'+index]}">
@@ -9089,6 +9089,7 @@ export default {
             this.$message.error("请补充填写课程名称");
             return;
           } else {
+            this.addCourseBehavior('courseBehavior', `点击确认上传按钮`)
             this.addWork();
             this.steps++;
           }
@@ -9098,8 +9099,10 @@ export default {
             return;
           } else {
             if (this.userid != this.courseUserid && this.role != "1") {
+              this.addCourseBehavior('courseBehavior', `点击确认上传按钮`)
               this.updateWork2();
             } else {
+              this.addCourseBehavior('courseBehavior', `点击确认上传按钮`)
               this.updateWork();
             }
             this.steps++;
@@ -11800,8 +11803,10 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
       return commonElements;
     },
     typeChange(){
+      let courseInfo = ``
       let sub = []
       let mclass = []
+      let theme = []
       if (this.courseTypeId.length) {
         for (var i = 0; i < this.courseTypeId.length; i++) {
           let _sid = this.courseTypeId[i]
@@ -11815,6 +11820,11 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
               mclass.push(this.CourseTypeJson['34628934-d02f-11ec-8c78-005056b86db5'][j].name)
             }
           }
+          for (var j = 0; j < this.CourseTypeJson['34629bcc-d02f-11ec-8c78-005056b86db5'].length; j++) {
+            if (_sid == this.CourseTypeJson['34629bcc-d02f-11ec-8c78-005056b86db5'][j].id) {
+              theme.push(this.CourseTypeJson['34629bcc-d02f-11ec-8c78-005056b86db5'][j].name)
+            }
+          }
         }
       }
       sub = JSON.parse(converter(JSON.stringify(sub)))
@@ -11884,7 +11894,16 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
           this.knowFileids.push(_file.fileid)
         }
       }
-
+      if(mclass.length){
+        courseInfo += `年级:${mclass.join(',')} `
+      }
+      if(sub.length){
+        courseInfo += `学科:${sub.join(',')} `
+      }
+      if(theme.length){
+        courseInfo += `主题:${theme.join(',')} `
+      }
+      this.addCourseBehavior('courseBehavior', `点击选择分类-${courseInfo}`)
     },
     getChapterData(e, i, j, ic, type) {
       e.stopPropagation();
@@ -16647,7 +16666,21 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
         iframe.contentWindow.work_area_text = ''
       }
     },
-    setCourseInfo(){
+    textAreaChange(type, index){
+      if(type == 'courseText'){
+        this.addCourseBehavior('courseBehavior', `手动修改课程概况信息-${this.courseText}`)
+      }
+      if(type == 'targetCourseText2'){
+        this.addCourseBehavior('courseBehavior', `手动修改课程目标信息-${this.targetCourseText2}`)
+      }
+      if(type == 'taskDetail2'){
+        this.addCourseBehavior('courseBehavior', `手动修改任务${index+1}课程大纲信息-${this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail2}`)
+      }
+      if(type == 'taskDetail3'){
+        this.addCourseBehavior('courseBehavior', `手动修改任务${index+1}课程教案信息-${this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3}`)
+      }
+    },
+    setCourseInfo(type){
       let courseInfo = ''
       let sub = []
       let mclass = []
@@ -16693,6 +16726,7 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
     },
     setCover($event, attempts = 0) {
       var _this = this;
+      this.addCourseBehavior('courseBehavior', `修改课程名称-${this.courseName}`)
       if (_this.cover.length || attempts >= 3) {
         return;
       }

部分文件因文件數量過多而無法顯示