lsc 4 mesi fa
parent
commit
d5d4bf5d93

+ 1 - 1
dist/index.html

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

File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.fe2c3788cddf6966669f8d72f44b96ed.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.fe2c3788cddf6966669f8d72f44b96ed.css.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.a07c238402a1c3972d64.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.a07c238402a1c3972d64.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/manifest.571c38d63f24b1ae9e16.js.map


+ 3 - 3
src/components/pages/aiAddCourse/addCourse.vue

@@ -1967,9 +1967,9 @@
                       @click="openAiDialog(2, 'aiOutline2')" v-if="templateid == '61c628b9-3d96-11ef-b873-005056b86db5'">生成大纲</button>
                    </el-tooltip>
                     <button class="c_pub_button_confirm" style="margin: 0 20px 0 auto;"
-                      @click="openAiDialog2(2, 'aiOutline'), addCourseBehavior('courseBehavior', '点击课程大纲-重新生成课程大纲按钮')" v-if="panOutline() > 0 && templateid != '61c628b9-3d96-11ef-b873-005056b86db5' && istemplate != 1">重新生成大纲</button>
+                      @click="openAiDialog2(2, 'aiOutline'), addCourseBehavior('courseBehavior', '点击课程大纲-重新生成课程大纲按钮')" v-if="templateid != '61c628b9-3d96-11ef-b873-005056b86db5' && istemplate != 1">{{panOutline() > 0 ? '重新生成大纲' : '生成大纲'}}</button>
                     <button class="c_pub_button_confirm" style="margin: 0 20px 0 auto;"
-                      @click="openAiDialog2(2, 'aiOutline2'), addCourseBehavior('courseBehavior', '点击课程大纲-重新生成课程大纲按钮')" v-if="panOutline() > 0 && (templateid == '61c628b9-3d96-11ef-b873-005056b86db5') && istemplate != 1">重新生成大纲</button>
+                      @click="openAiDialog2(2, 'aiOutline2'), addCourseBehavior('courseBehavior', '点击课程大纲-重新生成课程大纲按钮')" v-if="(templateid == '61c628b9-3d96-11ef-b873-005056b86db5') && istemplate != 1">{{panOutline() > 0 ? '重新生成大纲' : '生成大纲'}}</button>
                   <!-- <button class="c_pub_button_confirm" style="margin: 0 20px 0 auto;">AI优化</button> -->
                 </div>
                 <div class="task_outline">
@@ -2137,7 +2137,7 @@
                       @click="openAiDialog(2, 'aiTeacher2')">生成教案</button>
                    </el-tooltip>
                     <button class="c_pub_button_confirm" style="margin: 0 20px 0 auto;"
-                      @click="openAiDialog2(2, 'aiTeacher2'), addCourseBehavior('courseBehavior', `点击教案-重新生成教案按钮`)" v-if="panTeacher() > 0 && istemplate != 1">重新生成教案</button>
+                      @click="openAiDialog2(2, 'aiTeacher2'), addCourseBehavior('courseBehavior', `点击教案-重新生成教案按钮`)" v-if="istemplate != 1">重新生成教案</button>
                   <el-tooltip effect="light" content="右键单击可配置提示词" placement="bottom" v-if="panTeacher() == 0 && istemplate == 1 && (templateid == '4480d65a-1e48-11ef-bee5-005056b86db5' || templateid == 'cf5722a4-401b-11ef-b873-005056b86dc3')">
                       <button class="c_pub_button_confirm" style="margin: 0 20px 0 auto;"
                       @contextmenu.prevent="openAiDialog(1, 'aiTeacher3')"

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

@@ -329,7 +329,7 @@ export default {
         console.log(privText);
         this.recordedForm.startTime = this.recordedForm.timeDuration + 1;
         // this.videoText += privText;
-        this.videoText = this.videoText.replace(/(.*?)(^|[\r\n]+).*?\[\.\.\.\][\r\n]+/, '$1$2') + `${result.text} [...]\r\n`;
+        this.videoText = this.videoText.replace(/(^|[\r\n]+).*?\[\.\.\.\][\r\n]+/, '$1') + `${result.text} [...]\r\n`;
 
         // 将textarea滚动到最底部
         this.$nextTick(() => {
@@ -560,7 +560,7 @@ export default {
         console.log(privText);
         this.recordedForm.startTime = this.recordedForm.timeDuration + 1;
         // this.videoText += privText;
-        this.videoText = this.videoText.replace(/(.*?)(^|[\r\n]+).*?\[\.\.\.\][\r\n]+/, '$1$2') + `${result.text} [...]\r\n`;
+        this.videoText = this.videoText.replace(/(^|[\r\n]+).*?\[\.\.\.\][\r\n]+/, '$1') + `${result.text} [...]\r\n`;
         // 将textarea滚动到最底部
         this.$nextTick(() => {
           this.$refs.videoTextTextarea.scrollTop = this.$refs.videoTextTextarea.scrollHeight;

Some files were not shown because too many files changed in this diff