lsc 11 ماه پیش
والد
کامیت
35bed1f697

+ 1 - 1
dist/index.html

@@ -32,7 +32,7 @@
       width: 100%;
       background: #e6eaf0;
       font-family: '黑体';
-    }</style><link href=./static/css/app.fbf0f250380169c3e27c7c08396f2880.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.35dfb1d95a63059f336f.js></script><script type=text/javascript src=./static/js/app.5824de9d3a0398ed7607.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.57ad633bc2ae36dc6ca8c2a9762c64d8.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.35dfb1d95a63059f336f.js></script><script type=text/javascript src=./static/js/app.a07957d466be6128b035.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/static/css/app.57ad633bc2ae36dc6ca8c2a9762c64d8.css


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/static/css/app.57ad633bc2ae36dc6ca8c2a9762c64d8.css.map


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/static/js/app.a07957d466be6128b035.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/static/js/app.a07957d466be6128b035.js.map


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/static/js/manifest.571c38d63f24b1ae9e16.js.map


+ 84 - 64
src/components/pages/aiAddCourse/addCourse.vue

@@ -16964,15 +16964,16 @@ ${this.courseText && this.aiCallBack == 2 ? '注意,优化原有的<参考内
         }
         // this.$forceUpdate();
       };
+      let _this = this
       this.isTextCancelSource.onerror = function(event) {
         // 处理错误,可以尝试重新连接
-        console.error('EventSource error:', event);
-        this.$message.error("网络错误")
-        this.textLoading = false
-        this.ttextLoading = false
-        this.isTextCancelToken = null
-        this.isTextCancelSource.close();
-        this.isTextCancelSource = null;
+        console.log('EventSource error:', event);
+        _this.$message.error("网络错误")
+        _this.textLoading = false
+        _this.ttextLoading = false
+        _this.isTextCancelToken = null
+        _this.isTextCancelSource.close();
+        _this.isTextCancelSource = null;
       };
     },
     numberToChinese(number) {
@@ -19535,15 +19536,17 @@ ${msg}
         }
         // this.$forceUpdate();
       };
+
+      let _this = _this
       this.isOutlineTaskCancelSource[_tindex2].onerror = function(event) {
         // 处理错误,可以尝试重新连接
-        console.error('EventSource error:', event);
-        this.$message.error("网络错误")
-        this.taskDetailLoading.splice(this.taskDetailLoading.indexOf(loading), 1)
-        this.ttaskDetailLoading.splice(this.ttaskDetailLoading.indexOf(loading), 1)
-        this.isOutlineTaskCancelToken[_tindex2] = null
-        this.isOutlineTaskCancelSource[_tindex2].close();
-        this.isOutlineTaskCancelSource[_tindex2] = null;
+        console.log('EventSource error:', event);
+        _this.$message.error("网络错误")
+        _this.taskDetailLoading.splice(this.taskDetailLoading.indexOf(loading), 1)
+        _this.ttaskDetailLoading.splice(this.ttaskDetailLoading.indexOf(loading), 1)
+        _this.isOutlineTaskCancelToken[_tindex2] = null
+        _this.isOutlineTaskCancelSource[_tindex2].close();
+        _this.isOutlineTaskCancelSource[_tindex2] = null;
       };
     },
     async aiOutlineDetail(msg, index) {
@@ -19862,15 +19865,17 @@ ${taskArray.length ? '其他任务大纲内容' + taskArray.join(',') : ''}
         }
         // this.$forceUpdate();
       };
+
+      let _this = this
       this.isOutlineTaskCancelSource[_tindex2].onerror = function(event) {
         // 处理错误,可以尝试重新连接
-        console.error('EventSource error:', event);
-        this.$message.error("网络错误")
-        this.taskDetailLoading.splice(this.taskDetailLoading.indexOf(loading), 1)
-        this.ttaskDetailLoading.splice(this.ttaskDetailLoading.indexOf(loading), 1)
-        this.isOutlineTaskCancelToken[_tindex2] = null
-        this.isOutlineTaskCancelSource[_tindex2].close();
-        this.isOutlineTaskCancelSource[_tindex2] = null;
+        console.log('EventSource error:', event);
+        _this.$message.error("网络错误")
+        _this.taskDetailLoading.splice(this.taskDetailLoading.indexOf(loading), 1)
+        _this.ttaskDetailLoading.splice(this.ttaskDetailLoading.indexOf(loading), 1)
+        _this.isOutlineTaskCancelToken[_tindex2] = null
+        _this.isOutlineTaskCancelSource[_tindex2].close();
+        _this.isOutlineTaskCancelSource[_tindex2] = null;
       };
     },
     async aiDetail2(msg, index) {
@@ -20020,12 +20025,13 @@ ${_this.aiCallBack.taskDetail}
         }
         // this.$forceUpdate();
       };
+      let _this = this
       _source.onerror = function(event) {
         // 处理错误,可以尝试重新连接
-        console.error('EventSource error:', event);
-        this.$message.error("网络错误")
-        this.taskDetailLoading2.splice(this.taskDetailLoading2.indexOf(loading), 1)
-        this.ttaskDetailLoading2.splice(this.ttaskDetailLoading2.indexOf(loading), 1)
+        console.log('EventSource error:', event);
+        _this.$message.error("网络错误")
+        _this.taskDetailLoading2.splice(this.taskDetailLoading2.indexOf(loading), 1)
+        _this.ttaskDetailLoading2.splice(this.ttaskDetailLoading2.indexOf(loading), 1)
         _source.close();
       };
     },
@@ -20177,12 +20183,14 @@ ${msg} 输出格式和内容要求参考#格式与要求
         }
         // this.$forceUpdate();
       };
+
+      let _this = this
       _source.onerror = function(event) {
         // 处理错误,可以尝试重新连接
-        console.error('EventSource error:', event);
-        this.$message.error("网络错误")
-        this.taskDetailLoading3.splice(this.taskDetailLoading3.indexOf(loading), 1)
-        this.ttaskDetailLoading3.splice(this.ttaskDetailLoading3.indexOf(loading), 1)
+        console.log('EventSource error:', event);
+        _this.$message.error("网络错误")
+        _this.taskDetailLoading3.splice(this.taskDetailLoading3.indexOf(loading), 1)
+        _this.ttaskDetailLoading3.splice(this.ttaskDetailLoading3.indexOf(loading), 1)
         _source.close();
       };
     },
@@ -20523,12 +20531,14 @@ ${_text2}`
         }
         // this.$forceUpdate();
       };
+
+      let _this = this
       _source.onerror = function(event) {
           // 处理错误,可以尝试重新连接
-          console.error('EventSource error:', event);
-          this.$message.error("网络错误")
-          this.taskDetailLoading5.splice(this.taskDetailLoading5.indexOf(loading), 1)
-          this.ttaskDetailLoading5.splice(this.ttaskDetailLoading5.indexOf(loading), 1)
+          console.log('EventSource error:', event);
+          _this.$message.error("网络错误")
+          _this.taskDetailLoading5.splice(this.taskDetailLoading5.indexOf(loading), 1)
+          _this.ttaskDetailLoading5.splice(this.ttaskDetailLoading5.indexOf(loading), 1)
           _source.close();
       };
     },
@@ -20700,13 +20710,15 @@ ${(_this.templateid == "4480d65a-1e48-11ef-bee5-005056b86db5" || _this.templatei
           // 处理流数据
         }
       };
+
+      let _this = this
       _source.onerror = function(event) {
-          // 处理错误,可以尝试重新连接
-          console.error('EventSource error:', event);
-          this.$message.error("网络错误")
-          this.taskDetailLoading5.splice(this.taskDetailLoading5.indexOf(loading), 1)
-          this.ttaskDetailLoading5.splice(this.ttaskDetailLoading5.indexOf(loading), 1)
-          _source.close();
+        // 处理错误,可以尝试重新连接
+        console.log('EventSource error:', event);
+        _this.$message.error("网络错误")
+        _this.taskDetailLoading5.splice(this.taskDetailLoading5.indexOf(loading), 1)
+        _this.ttaskDetailLoading5.splice(this.ttaskDetailLoading5.indexOf(loading), 1)
+        _source.close();
       };
     },
     aiDetail52getAiContentText(_e, loading, _tindex2, _source){
@@ -20910,12 +20922,14 @@ ${this.aitype == 'aiCpote4' ? '## 目标层\n'+this.cpote['cpote3'] : ''}`
         }
         // this.$forceUpdate();
       };
+
+      let _this = this
       _source.onerror = function(event) {
         // 处理错误,可以尝试重新连接
-        console.error('EventSource error:', event);
-        this.$message.error("网络错误")
-        this.cpoteLoading[loading] = false
-        this.cpotetLoading[loading] = false
+        console.log('EventSource error:', event);
+        _this.$message.error("网络错误")
+        _this.cpoteLoading[loading] = false
+        _this.cpotetLoading[loading] = false
         _source.close();
       };
     },
@@ -21093,15 +21107,17 @@ ${this.teacherCourseText && this.aiCallBack == 2 ? '注意,优化原有的<参
         
         // this.$forceUpdate();
       };
+
+      let _this = this
       this.isTeacherTextCancelSource.onerror = function(event) {
         // 处理错误,可以尝试重新连接
-        console.error('EventSource error:', event);
-        this.$message.error("网络错误")
-        this.teacherTextLoading = false
-        this.tteacherTextLoading = false
-        this.isTeacherTextCancelToken = null
-        this.isTeacherTextCancelSource.close();
-        this.isTeacherTextCancelSource = null;
+        console.log('EventSource error:', event);
+        _this.$message.error("网络错误")
+        _this.teacherTextLoading = false
+        _this.tteacherTextLoading = false
+        _this.isTeacherTextCancelToken = null
+        _this.isTeacherTextCancelSource.close();
+        _this.isTeacherTextCancelSource = null;
       };
     },
     async aitargetTextDetail(msg) {
@@ -21279,15 +21295,17 @@ ${this.targetCourseText && this.aiCallBack == 2 ? '注意,优化原有的<参
         
         // this.$forceUpdate();
       };
+
+      let _this = this
       this.isTargetCancelSource1.onerror = function(event) {
         // 处理错误,可以尝试重新连接
-        console.error('EventSource error:', event);
-        this.$message.error("网络错误")
-        this.targetTextLoading = false
-        this.ttargetTextLoading = false
-        this.isTargetCancelToken1 = null
-        this.isTargetCancelSource1.close();
-        this.isTargetCancelSource1 = null;
+        console.log('EventSource error:', event);
+        _this.$message.error("网络错误")
+        _this.targetTextLoading = false
+        _this.ttargetTextLoading = false
+        _this.isTargetCancelToken1 = null
+        _this.isTargetCancelSource1.close();
+        _this.isTargetCancelSource1 = null;
       };
     },
     async aitargetTextDetail2(msg) {
@@ -21628,15 +21646,17 @@ ${this.targetCourseText && this.aiCallBack == 2 ? '注意,优化原有的<参
         }
         // this.$forceUpdate();
       };
+
+      let _this = this
       this.isTargetCancelSource2.onerror = function(event) {
         // 处理错误,可以尝试重新连接
-        console.error('EventSource error:', event);
-        this.$message.error("网络错误")
-        this.targetTextLoading2 = false
-        this.ttargetTextLoading2 = false
-        this.isTargetCancelToken2 = null
-        this.isTargetCancelSource2.close();
-        this.isTargetCancelSource2 = null;
+        console.log('EventSource error:', event);
+        _this.$message.error("网络错误")
+        _this.targetTextLoading2 = false
+        _this.ttargetTextLoading2 = false
+        _this.isTargetCancelToken2 = null
+        _this.isTargetCancelSource2.close();
+        _this.isTargetCancelSource2 = null;
       };
     },
     async aitargetTextDetail3(msg) {

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است