|
@@ -564,8 +564,8 @@
|
|
|
已有教案摘要
|
|
|
<el-tooltip effect="light" content="右键单击可配置提示词" placement="bottom">
|
|
|
<button class="c_pub_button_confirm" style="margin: 0 20px 0 auto;"
|
|
|
- @contextmenu.prevent="openAiDialog(1, 'aiteacherTextDetail',1)"
|
|
|
- @click="openAiDialog(2, 'aiteacherTextDetail',1)">提取摘要</button>
|
|
|
+ @contextmenu.prevent="openAiDialog(1, 'aiteacherTextDetail',1), addCourseBehavior('courseBehavior', '右键已有教案摘要-提取摘要按钮')"
|
|
|
+ @click="openAiDialog(2, 'aiteacherTextDetail',1), addCourseBehavior('courseBehavior', '点击已有教案摘要-提取摘要按钮')">提取摘要</button>
|
|
|
</el-tooltip>
|
|
|
</div>
|
|
|
<div style="width: 100%; padding: 0px 20px; box-sizing: border-box">
|
|
@@ -579,11 +579,11 @@
|
|
|
<div class="op_box_right">
|
|
|
<el-tooltip effect="light" content="右键单击可配置提示词" placement="bottom">
|
|
|
<div class="r_pub_button_op"
|
|
|
- @contextmenu.prevent="openAiDialog(1, 'aiteacherTextDetail', 2)"
|
|
|
- @click="openAiDialog(2, 'aiteacherTextDetail', 2)">智能优化</div>
|
|
|
+ @contextmenu.prevent="openAiDialog(1, 'aiteacherTextDetail', 2), addCourseBehavior('courseBehavior', '右键已有教案摘要-智能优化按钮')"
|
|
|
+ @click="openAiDialog(2, 'aiteacherTextDetail', 2), addCourseBehavior('courseBehavior', '点击已有教案摘要-智能优化按钮')">智能优化</div>
|
|
|
</el-tooltip>
|
|
|
- <div class="r_pub_button_edit" style="margin-left:10px" @click="teacherCourseTextB = !teacherCourseTextB,forceUpdate2()">{{ teacherCourseTextB ? '确定' : '编辑'}}</div>
|
|
|
- <el-switch style="margin-left: 10px" v-model="isQuote['aiteacherTextDetail']" active-text="引用" active-color="#0061FF" class="custom-switch" v-if="dialogTemplateArray.indexOf(templateid) != -1" @change="handleSwitchChange('aiteacherTextDetail')"></el-switch>
|
|
|
+ <div class="r_pub_button_edit" style="margin-left:10px" @click="teacherCourseTextB = !teacherCourseTextB,forceUpdate2(), addCourseBehavior('courseBehavior', '点击已有教案摘要-确定/编辑按钮')">{{ teacherCourseTextB ? '确定' : '编辑'}}</div>
|
|
|
+ <el-switch style="margin-left: 10px" v-model="isQuote['aiteacherTextDetail']" active-text="引用" active-color="#0061FF" class="custom-switch" v-if="dialogTemplateArray.indexOf(templateid) != -1" @change="handleSwitchChange('aiteacherTextDetail'), addCourseBehavior('courseBehavior', '点击已有教案摘要-引用按钮')"></el-switch>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -597,8 +597,8 @@
|
|
|
课程目标
|
|
|
<el-tooltip effect="light" content="右键单击可配置提示词" placement="bottom">
|
|
|
<button class="c_pub_button_confirm" style="margin: 0 20px 0 auto;"
|
|
|
- @contextmenu.prevent="openAiDialog(1, 'aitargetTextDetail',1)"
|
|
|
- @click="openAiDialog(2, 'aitargetTextDetail',1)">提取目标</button>
|
|
|
+ @contextmenu.prevent="openAiDialog(1, 'aitargetTextDetail',1), addCourseBehavior('courseBehavior', '右键课程目标-提取目标按钮')"
|
|
|
+ @click="openAiDialog(2, 'aitargetTextDetail',1), addCourseBehavior('courseBehavior', '点击课程目标-提取目标按钮')">提取目标</button>
|
|
|
</el-tooltip>
|
|
|
</div>
|
|
|
<div style="width: 100%; padding: 0px 20px; box-sizing: border-box">
|
|
@@ -612,11 +612,11 @@
|
|
|
<div class="op_box_right">
|
|
|
<el-tooltip effect="light" content="右键单击可配置提示词" placement="bottom">
|
|
|
<div class="r_pub_button_op"
|
|
|
- @contextmenu.prevent="openAiDialog(1, 'aitargetTextDetail', 2)"
|
|
|
- @click="openAiDialog(2, 'aitargetTextDetail', 2)">智能优化</div>
|
|
|
+ @contextmenu.prevent="openAiDialog(1, 'aitargetTextDetail', 2), addCourseBehavior('courseBehavior', '右键课程目标-智能优化按钮')"
|
|
|
+ @click="openAiDialog(2, 'aitargetTextDetail', 2), addCourseBehavior('courseBehavior', '点击课程目标-智能优化按钮')">智能优化</div>
|
|
|
</el-tooltip>
|
|
|
- <div class="r_pub_button_edit" style="margin-left:10px" @click="targetCourseTextB = !targetCourseTextB,forceUpdate2()">{{ targetCourseTextB ? '确定' : '编辑'}}</div>
|
|
|
- <el-switch style="margin-left: 10px" v-model="isQuote['aitargetTextDetail']" active-text="引用" active-color="#0061FF" class="custom-switch" v-if="dialogTemplateArray.indexOf(templateid) != -1" @change="handleSwitchChange('aitargetTextDetail')"></el-switch>
|
|
|
+ <div class="r_pub_button_edit" style="margin-left:10px" @click="targetCourseTextB = !targetCourseTextB,forceUpdate2(), addCourseBehavior('courseBehavior', '点击课程目标-确定/编辑按钮')">{{ targetCourseTextB ? '确定' : '编辑'}}</div>
|
|
|
+ <el-switch style="margin-left: 10px" v-model="isQuote['aitargetTextDetail']" active-text="引用" active-color="#0061FF" class="custom-switch" v-if="dialogTemplateArray.indexOf(templateid) != -1" @change="handleSwitchChange('aitargetTextDetail'), addCourseBehavior('courseBehavior', '点击课程目标-引用按钮')"></el-switch>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -1090,8 +1090,8 @@
|
|
|
课程简要描述
|
|
|
<el-tooltip effect="light" content="右键单击可配置提示词" placement="bottom">
|
|
|
<button class="c_pub_button_confirm" style="margin: 0 0 0 auto;"
|
|
|
- @contextmenu.prevent="openAiDialog(1, 'aiDetail',1)"
|
|
|
- @click="openAiDialog(2, 'aiDetail',1)">AI优化</button>
|
|
|
+ @contextmenu.prevent="openAiDialog(1, 'aiDetail',1), addCourseBehavior('courseBehavior', '右键课程简要描述-AI优化按钮')"
|
|
|
+ @click="openAiDialog(2, 'aiDetail',1), addCourseBehavior('courseBehavior', '点击课程简要描述-AI优化按钮')">AI优化</button>
|
|
|
</el-tooltip>
|
|
|
<button class="c_pub_button_confirm" @click="clickGenTT2" style="margin: 0 0 0 5px;" v-if="templateid != '4480d65a-1e48-11ef-bee5-005056b86db5' && templateid != 'cf5722a4-401b-11ef-b873-005056b86dc3'">生成概况和目标</button>
|
|
|
</div>
|
|
@@ -1106,11 +1106,11 @@
|
|
|
<div class="op_box_right">
|
|
|
<el-tooltip effect="light" content="右键单击可配置提示词" placement="bottom">
|
|
|
<div class="r_pub_button_op"
|
|
|
- @contextmenu.prevent="openAiDialog(1, 'aiDetail', 2)"
|
|
|
- @click="openAiDialog(2, 'aiDetail', 2)">智能优化</div>
|
|
|
+ @contextmenu.prevent="openAiDialog(1, 'aiDetail', 2), addCourseBehavior('courseBehavior', '右键课程简要描述-智能优化按钮')"
|
|
|
+ @click="openAiDialog(2, 'aiDetail', 2), addCourseBehavior('courseBehavior', '点击课程简要描述-智能优化按钮')">智能优化</div>
|
|
|
</el-tooltip>
|
|
|
- <div class="r_pub_button_edit" style="margin-left:10px" @click="courseTextB = !courseTextB,forceUpdate2()">{{ courseTextB ? '确定' : '编辑'}}</div>
|
|
|
- <el-switch style="margin-left: 10px" v-model="isQuote['aiDetail']" active-text="引用" active-color="#0061FF" class="custom-switch" v-if="dialogTemplateArray.indexOf(templateid) != -1" @change="handleSwitchChange('aiDetail')"></el-switch>
|
|
|
+ <div class="r_pub_button_edit" style="margin-left:10px" @click="courseTextB = !courseTextB,forceUpdate2(), addCourseBehavior('courseBehavior', '点击课程简要描述-确定/编辑按钮')">{{ courseTextB ? '确定' : '编辑'}}</div>
|
|
|
+ <el-switch style="margin-left: 10px" v-model="isQuote['aiDetail']" active-text="引用" active-color="#0061FF" class="custom-switch" v-if="dialogTemplateArray.indexOf(templateid) != -1" @change="handleSwitchChange('aiDetail'), addCourseBehavior('courseBehavior', '点击课程简要描述-引用按钮')"></el-switch>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -1154,8 +1154,8 @@
|
|
|
@contextmenu.prevent="openAiDialog(1, 'aiDetail', 2)"
|
|
|
@click="openAiDialog(2, 'aiDetail', 2)">智能优化</div>
|
|
|
</el-tooltip> -->
|
|
|
- <div class="r_pub_button_edit" style="margin-left:10px" @click="courseTextB = !courseTextB,forceUpdate2()">{{ courseTextB ? '确定' : '编辑'}}</div>
|
|
|
- <el-switch style="margin-left: 10px" v-model="isQuote['aiDetail']" active-text="引用" active-color="#0061FF" class="custom-switch" v-if="dialogTemplateArray.indexOf(templateid) != -1" @change="handleSwitchChange('aiDetail')"></el-switch>
|
|
|
+ <div class="r_pub_button_edit" style="margin-left:10px" @click="courseTextB = !courseTextB,forceUpdate2(), addCourseBehavior('courseBehavior', '点击课程概况-确定/编辑按钮')">{{ courseTextB ? '确定' : '编辑'}}</div>
|
|
|
+ <el-switch style="margin-left: 10px" v-model="isQuote['aiDetail']" active-text="引用" active-color="#0061FF" class="custom-switch" v-if="dialogTemplateArray.indexOf(templateid) != -1" @change="handleSwitchChange('aiDetail'), addCourseBehavior('courseBehavior', '点击课程概况-引用按钮')"></el-switch>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -1183,8 +1183,8 @@
|
|
|
</el-tooltip>
|
|
|
<el-tooltip effect="light" content="右键单击可配置提示词" placement="bottom">
|
|
|
<button class="c_pub_button_confirm" style="margin: 0px 0 0px auto;"
|
|
|
- @contextmenu.prevent="openAiDialog(1, 'aitargetTextDetail3',1)"
|
|
|
- @click="openAiDialog(2, 'aitargetTextDetail3',1)">生成目标</button>
|
|
|
+ @contextmenu.prevent="openAiDialog(1, 'aitargetTextDetail3',1), addCourseBehavior('courseBehavior', '右键课程目标-生成目标按钮')"
|
|
|
+ @click="openAiDialog(2, 'aitargetTextDetail3',1), addCourseBehavior('courseBehavior', '点击课程目标-生成目标按钮')">生成目标</button>
|
|
|
</el-tooltip>
|
|
|
<div style="margin-top: 10px;width:100%" v-if="mubiaoInfoData.length">
|
|
|
<div class="add_chapters_box add_c_none" v-if="
|
|
@@ -1328,11 +1328,11 @@
|
|
|
<div class="op_box_right">
|
|
|
<el-tooltip effect="light" content="右键单击可配置提示词" placement="bottom">
|
|
|
<div class="r_pub_button_op"
|
|
|
- @contextmenu.prevent="openAiDialog(1, 'aitargetTextDetail2', 2)"
|
|
|
- @click="openAiDialog(2, 'aitargetTextDetail2', 2)">智能优化</div>
|
|
|
+ @contextmenu.prevent="openAiDialog(1, 'aitargetTextDetail2', 2), addCourseBehavior('courseBehavior', '右键课程目标-智能优化按钮')"
|
|
|
+ @click="openAiDialog(2, 'aitargetTextDetail2', 2), addCourseBehavior('courseBehavior', '点击课程目标-智能优化按钮')">智能优化</div>
|
|
|
</el-tooltip>
|
|
|
- <div class="r_pub_button_edit" style="margin-left:10px" @click="targetCourseText2B = !targetCourseText2B,forceUpdate2()">{{ targetCourseText2B ? '确定' : '编辑'}}</div>
|
|
|
- <el-switch style="margin-left: 10px" v-model="isQuote['aitargetTextDetail2']" active-text="引用" active-color="#0061FF" class="custom-switch" v-if="dialogTemplateArray.indexOf(templateid) != -1" @change="handleSwitchChange('aitargetTextDetail2')"></el-switch>
|
|
|
+ <div class="r_pub_button_edit" style="margin-left:10px" @click="targetCourseText2B = !targetCourseText2B,forceUpdate2(), addCourseBehavior('courseBehavior', '点击课程目标-确定/编辑按钮')">{{ targetCourseText2B ? '确定' : '编辑'}}</div>
|
|
|
+ <el-switch style="margin-left: 10px" v-model="isQuote['aitargetTextDetail2']" active-text="引用" active-color="#0061FF" class="custom-switch" v-if="dialogTemplateArray.indexOf(templateid) != -1" @change="handleSwitchChange('aitargetTextDetail2'), addCourseBehavior('courseBehavior', '点击课程目标-引用按钮')"></el-switch>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -1626,9 +1626,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')" v-if="panOutline() > 0 && templateid != '61c628b9-3d96-11ef-b873-005056b86db5' && istemplate != 1">重新生成大纲</button>
|
|
|
+ @click="openAiDialog2(2, 'aiOutline'), addCourseBehavior('courseBehavior', '点击课程大纲-重新生成课程大纲按钮')" v-if="panOutline() > 0 && templateid != '61c628b9-3d96-11ef-b873-005056b86db5' && istemplate != 1">重新生成大纲</button>
|
|
|
<button class="c_pub_button_confirm" style="margin: 0 20px 0 auto;"
|
|
|
- @click="openAiDialog2(2, 'aiOutline2')" v-if="panOutline() > 0 && (templateid == '61c628b9-3d96-11ef-b873-005056b86db5') && istemplate != 1">重新生成大纲</button>
|
|
|
+ @click="openAiDialog2(2, 'aiOutline2'), addCourseBehavior('courseBehavior', '点击课程大纲-重新生成课程大纲按钮')" v-if="panOutline() > 0 && (templateid == '61c628b9-3d96-11ef-b873-005056b86db5') && istemplate != 1">重新生成大纲</button>
|
|
|
<!-- <button class="c_pub_button_confirm" style="margin: 0 20px 0 auto;">AI优化</button> -->
|
|
|
</div>
|
|
|
<div class="task_outline">
|
|
@@ -1639,11 +1639,11 @@
|
|
|
v-model="item.task" />
|
|
|
<div class="outline_btn">
|
|
|
<el-tooltip effect="light" content="右键单击可配置提示词" placement="bottom">
|
|
|
- <button class="c_pub_button_confirm2" style="margin: 0px 0px 0px 5px;" @contextmenu.prevent="openAiDialog(1, 'aiOutlineDetail2', index)" @click="openAiDialog(2, 'aiOutlineDetail2', index)">{{ item.taskDetail2 ? "重新生成任务" : "生成任务"}}</button>
|
|
|
+ <button class="c_pub_button_confirm2" style="margin: 0px 0px 0px 5px;" @contextmenu.prevent="openAiDialog(1, 'aiOutlineDetail2', index)" @click="openAiDialog(2, 'aiOutlineDetail2', index), addCourseBehavior('courseBehavior', `点击课程大纲-任务${index + 1}-${item.taskDetail2 ? '重新生成任务' : '生成任务'}按钮`)">{{ item.taskDetail2 ? "重新生成任务" : "生成任务"}}</button>
|
|
|
</el-tooltip>
|
|
|
- <button class="c_pub_button_confirm2" style="margin: 0px 0px 0px 5px;" @click="addTaskBorder2(1, index)">在上面加入一个任务</button>
|
|
|
- <button class="c_pub_button_confirm2" style="margin: 0px 0px 0px 5px;" @click="addTaskBorder2(2, index)">在下面加入一个任务</button>
|
|
|
- <button class="c_pub_button_confirm2" style="margin: 0px 0px 0px 5px;" @click="deleteTask2(index)" v-if="unitJson[0].chapterInfo[0].taskJson.length > 1">删除</button>
|
|
|
+ <button class="c_pub_button_confirm2" style="margin: 0px 0px 0px 5px;" @click="addTaskBorder2(1, index), addCourseBehavior('courseBehavior', `点击课程大纲-任务${index + 1}-在上面加入一个任务按钮`)">在上面加入一个任务</button>
|
|
|
+ <button class="c_pub_button_confirm2" style="margin: 0px 0px 0px 5px;" @click="addTaskBorder2(2, index), addCourseBehavior('courseBehavior', `点击课程大纲-任务${index + 1}-在下面加入一个任务按钮`)">在下面加入一个任务</button>
|
|
|
+ <button class="c_pub_button_confirm2" style="margin: 0px 0px 0px 5px;" @click="deleteTask2(index), addCourseBehavior('courseBehavior', `点击课程大纲-任务${index + 1}-删除按钮`)" v-if="unitJson[0].chapterInfo[0].taskJson.length > 1">删除</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="outline_detail" :style="{ minHeight: taskDetailLoading.indexOf('task-' + index) !== -1 ? '250px' : 'auto'}" v-loading="taskDetailLoading.indexOf('task-' + index) !== -1" element-loading-text="小可正在努力生成中,请稍等...">
|
|
@@ -1657,12 +1657,12 @@
|
|
|
<div class="op_box_right">
|
|
|
<el-tooltip effect="light" content="右键单击可配置提示词" placement="bottom">
|
|
|
<div class="r_pub_button_op"
|
|
|
- @contextmenu.prevent="openAiDialog(1, 'aiDetail1', item, index)"
|
|
|
- @click="openAiDialog(2, 'aiDetail1', item, index)">智能优化</div>
|
|
|
+ @contextmenu.prevent="openAiDialog(1, 'aiDetail1', item, index), addCourseBehavior('courseBehavior', `右键课程大纲-任务${index + 1}-智能优化按钮`)"
|
|
|
+ @click="openAiDialog(2, 'aiDetail1', item, index), addCourseBehavior('courseBehavior', `点击课程大纲-任务${index + 1}-智能优化按钮`)">智能优化</div>
|
|
|
</el-tooltip>
|
|
|
- <div class="r_pub_button_edit" style="margin-left:10px" @click="editTask2(index)">{{
|
|
|
+ <div class="r_pub_button_edit" style="margin-left:10px" @click="editTask2(index), addCourseBehavior('courseBehavior', `点击课程大纲-任务${index + 1}-确定/编辑按钮`)">{{
|
|
|
item.isTask2 ? '确定' : '编辑'}}</div>
|
|
|
- <el-switch style="margin-left: 10px" v-model="isQuote['aiDetail1-'+index]" active-text="引用" active-color="#0061FF" class="custom-switch" v-if="dialogTemplateArray.indexOf(templateid) != -1" @change="handleSwitchChange('aiDetail1-'+index)"></el-switch>
|
|
|
+ <el-switch style="margin-left: 10px" v-model="isQuote['aiDetail1-'+index]" active-text="引用" active-color="#0061FF" class="custom-switch" v-if="dialogTemplateArray.indexOf(templateid) != -1" @change="handleSwitchChange('aiDetail1-'+index), addCourseBehavior('courseBehavior', `点击课程大纲-任务${index + 1}-引用按钮`)"></el-switch>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -1675,7 +1675,7 @@
|
|
|
<div class="c_info_title">
|
|
|
概念群
|
|
|
<button class="c_pub_button_confirm" style="margin: 0 20px 0 auto;"
|
|
|
- @click="openAiDialog2(2, 'aiCpote1')">{{cpote.cpote1 ? '重新生成概念群' : '生成概念群'}}</button>
|
|
|
+ @click="openAiDialog2(2, 'aiCpote1'), addCourseBehavior('courseBehavior', `点击概念群-重新生成概念群按钮`)">{{cpote.cpote1 ? '重新生成概念群' : '生成概念群'}}</button>
|
|
|
</div>
|
|
|
<div class="task_outline">
|
|
|
<div class="outline_detail" v-loading="cpoteLoading.cpote1" element-loading-text="小可正在努力生成中,请稍等...">
|
|
@@ -1687,12 +1687,12 @@
|
|
|
<div class="op_remark">*可以将需要优化的建议添加在任务描述后,点击“智能优化”,自动进行修改</div>
|
|
|
<div class="op_box_right">
|
|
|
<el-tooltip effect="light" content="右键单击可配置提示词" placement="bottom">
|
|
|
- <div class="r_pub_button_op" @contextmenu.prevent="openAiDialog(1, 'aiCpote1')"
|
|
|
- @click="openAiDialog(2, 'aiCpote1')">智能优化</div>
|
|
|
+ <div class="r_pub_button_op" @contextmenu.prevent="openAiDialog(1, 'aiCpote1'), addCourseBehavior('courseBehavior', `右键概念群-智能优化按钮`)"
|
|
|
+ @click="openAiDialog(2, 'aiCpote1'), addCourseBehavior('courseBehavior', `点击概念群-智能优化按钮`)">智能优化</div>
|
|
|
</el-tooltip>
|
|
|
- <div class="r_pub_button_edit" style="margin-left:10px" @click="editCpote('cpote1s')">{{
|
|
|
+ <div class="r_pub_button_edit" style="margin-left:10px" @click="editCpote('cpote1s'), addCourseBehavior('courseBehavior', `点击概念群-确定/编辑按钮`)">{{
|
|
|
cpote.cpote1s ? '确定' : '编辑'}}</div>
|
|
|
- <el-switch style="margin-left: 10px" v-model="isQuote['aiCpote1']" active-text="引用" active-color="#0061FF" class="custom-switch" v-if="dialogTemplateArray.indexOf(templateid) != -1" @change="handleSwitchChange('aiCpote1')"></el-switch>
|
|
|
+ <el-switch style="margin-left: 10px" v-model="isQuote['aiCpote1']" active-text="引用" active-color="#0061FF" class="custom-switch" v-if="dialogTemplateArray.indexOf(templateid) != -1" @change="handleSwitchChange('aiCpote1'), addCourseBehavior('courseBehavior', `点击概念群-引用按钮`)"></el-switch>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -1704,7 +1704,7 @@
|
|
|
<div class="c_info_title">
|
|
|
问题链
|
|
|
<button class="c_pub_button_confirm" style="margin: 0 20px 0 auto;"
|
|
|
- @click="openAiDialog2(2, 'aiCpote2')">{{cpote.cpote2 ? '重新生成问题链' : '生成问题链'}}</button>
|
|
|
+ @click="openAiDialog2(2, 'aiCpote2'), addCourseBehavior('courseBehavior', `点击问题链-重新生成问题链按钮`)">{{cpote.cpote2 ? '重新生成问题链' : '生成问题链'}}</button>
|
|
|
</div>
|
|
|
<div class="task_outline">
|
|
|
<div class="outline_detail" v-loading="cpoteLoading.cpote2" element-loading-text="小可正在努力生成中,请稍等...">
|
|
@@ -1716,12 +1716,12 @@
|
|
|
<div class="op_remark">*可以将需要优化的建议添加在任务描述后,点击“智能优化”,自动进行修改</div>
|
|
|
<div class="op_box_right">
|
|
|
<el-tooltip effect="light" content="右键单击可配置提示词" placement="bottom">
|
|
|
- <div class="r_pub_button_op" @contextmenu.prevent="openAiDialog(1, 'aiCpote2')"
|
|
|
- @click="openAiDialog(2, 'aiCpote2')">智能优化</div>
|
|
|
+ <div class="r_pub_button_op" @contextmenu.prevent="openAiDialog(1, 'aiCpote2'), addCourseBehavior('courseBehavior', `右键问题链-智能优化按钮`)"
|
|
|
+ @click="openAiDialog(2, 'aiCpote2'), addCourseBehavior('courseBehavior', `点击问题链-智能优化按钮`)">智能优化</div>
|
|
|
</el-tooltip>
|
|
|
- <div class="r_pub_button_edit" style="margin-left:10px" @click="editCpote('cpote2s')">{{
|
|
|
+ <div class="r_pub_button_edit" style="margin-left:10px" @click="editCpote('cpote2s'), addCourseBehavior('courseBehavior', `点击问题链-确定/编辑按钮`)">{{
|
|
|
cpote.cpote2s ? '确定' : '编辑'}}</div>
|
|
|
- <el-switch style="margin-left: 10px" v-model="isQuote['aiCpote2']" active-text="引用" active-color="#0061FF" class="custom-switch" v-if="dialogTemplateArray.indexOf(templateid) != -1" @change="handleSwitchChange('aiCpote2')"></el-switch>
|
|
|
+ <el-switch style="margin-left: 10px" v-model="isQuote['aiCpote2']" active-text="引用" active-color="#0061FF" class="custom-switch" v-if="dialogTemplateArray.indexOf(templateid) != -1" @change="handleSwitchChange('aiCpote2'), addCourseBehavior('courseBehavior', `点击问题链-引用按钮`)"></el-switch>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -1733,7 +1733,7 @@
|
|
|
<div class="c_info_title">
|
|
|
目标层
|
|
|
<button class="c_pub_button_confirm" style="margin: 0 20px 0 auto;"
|
|
|
- @click="openAiDialog2(2, 'aiCpote3')">{{cpote.cpote3 ? '重新生成目标层' : '生成目标层'}}</button>
|
|
|
+ @click="openAiDialog2(2, 'aiCpote3'), addCourseBehavior('courseBehavior', `点击目标层-重新生成目标层按钮`)">{{cpote.cpote3 ? '重新生成目标层' : '生成目标层'}}</button>
|
|
|
</div>
|
|
|
<div class="task_outline">
|
|
|
<div class="outline_detail" v-loading="cpoteLoading.cpote3" element-loading-text="小可正在努力生成中,请稍等...">
|
|
@@ -1745,12 +1745,12 @@
|
|
|
<div class="op_remark">*可以将需要优化的建议添加在任务描述后,点击“智能优化”,自动进行修改</div>
|
|
|
<div class="op_box_right">
|
|
|
<el-tooltip effect="light" content="右键单击可配置提示词" placement="bottom">
|
|
|
- <div class="r_pub_button_op" @contextmenu.prevent="openAiDialog(1, 'aiCpote3')"
|
|
|
- @click="openAiDialog(2, 'aiCpote3')">智能优化</div>
|
|
|
+ <div class="r_pub_button_op" @contextmenu.prevent="openAiDialog(1, 'aiCpote3'), addCourseBehavior('courseBehavior', `右键目标层-智能优化按钮`)"
|
|
|
+ @click="openAiDialog(2, 'aiCpote3'), addCourseBehavior('courseBehavior', `点击目标层-智能优化按钮`)">智能优化</div>
|
|
|
</el-tooltip>
|
|
|
- <div class="r_pub_button_edit" style="margin-left:10px" @click="editCpote('cpote3s')">{{
|
|
|
+ <div class="r_pub_button_edit" style="margin-left:10px" @click="editCpote('cpote3s'), addCourseBehavior('courseBehavior', `点击目标层-确定/编辑按钮`)">{{
|
|
|
cpote.cpote3s ? '确定' : '编辑'}}</div>
|
|
|
- <el-switch style="margin-left: 10px" v-model="isQuote['aiCpote3']" active-text="引用" active-color="#0061FF" class="custom-switch" v-if="dialogTemplateArray.indexOf(templateid) != -1" @change="handleSwitchChange('aiCpote3')"></el-switch>
|
|
|
+ <el-switch style="margin-left: 10px" v-model="isQuote['aiCpote3']" active-text="引用" active-color="#0061FF" class="custom-switch" v-if="dialogTemplateArray.indexOf(templateid) != -1" @change="handleSwitchChange('aiCpote3'), addCourseBehavior('courseBehavior', `点击目标层-引用按钮`)"></el-switch>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -1762,7 +1762,7 @@
|
|
|
<div class="c_info_title">
|
|
|
任务簇
|
|
|
<button class="c_pub_button_confirm" style="margin: 0 20px 0 auto;"
|
|
|
- @click="openAiDialog2(2, 'aiCpote4')">{{cpote.cpote4 ? '重新生成任务簇' : '生成任务簇'}}</button>
|
|
|
+ @click="openAiDialog2(2, 'aiCpote4'), addCourseBehavior('courseBehavior', `点击任务簇-重新生成任务簇按钮`)">{{cpote.cpote4 ? '重新生成任务簇' : '生成任务簇'}}</button>
|
|
|
</div>
|
|
|
<div class="task_outline">
|
|
|
<div class="outline_detail" v-loading="cpoteLoading.cpote4" element-loading-text="小可正在努力生成中,请稍等...">
|
|
@@ -1774,12 +1774,12 @@
|
|
|
<div class="op_remark">*可以将需要优化的建议添加在任务描述后,点击“智能优化”,自动进行修改</div>
|
|
|
<div class="op_box_right">
|
|
|
<el-tooltip effect="light" content="右键单击可配置提示词" placement="bottom">
|
|
|
- <div class="r_pub_button_op" @contextmenu.prevent="openAiDialog(1, 'aiCpote4')"
|
|
|
- @click="openAiDialog(2, 'aiCpote4')">智能优化</div>
|
|
|
+ <div class="r_pub_button_op" @contextmenu.prevent="openAiDialog(1, 'aiCpote4'), addCourseBehavior('courseBehavior', `右键任务簇-智能优化按钮`)"
|
|
|
+ @click="openAiDialog(2, 'aiCpote4'), addCourseBehavior('courseBehavior', `点击任务簇-智能优化按钮`)">智能优化</div>
|
|
|
</el-tooltip>
|
|
|
- <div class="r_pub_button_edit" style="margin-left:10px" @click="editCpote('cpote4s')">{{
|
|
|
+ <div class="r_pub_button_edit" style="margin-left:10px" @click="editCpote('cpote4s'), addCourseBehavior('courseBehavior', `点击任务簇-确定/编辑按钮`)">{{
|
|
|
cpote.cpote4s ? '确定' : '编辑'}}</div>
|
|
|
- <el-switch style="margin-left: 10px" v-model="isQuote['aiCpote4']" active-text="引用" active-color="#0061FF" class="custom-switch" v-if="dialogTemplateArray.indexOf(templateid) != -1" @change="handleSwitchChange('aiCpote4')"></el-switch>
|
|
|
+ <el-switch style="margin-left: 10px" v-model="isQuote['aiCpote4']" active-text="引用" active-color="#0061FF" class="custom-switch" v-if="dialogTemplateArray.indexOf(templateid) != -1" @change="handleSwitchChange('aiCpote4'), addCourseBehavior('courseBehavior', `点击任务簇-引用按钮`)"></el-switch>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -1796,7 +1796,7 @@
|
|
|
@click="openAiDialog(2, 'aiTeacher2')">生成教案</button>
|
|
|
</el-tooltip>
|
|
|
<button class="c_pub_button_confirm" style="margin: 0 20px 0 auto;"
|
|
|
- @click="openAiDialog2(2, 'aiTeacher2')" v-if="panTeacher() > 0 && istemplate != 1">重新生成教案</button>
|
|
|
+ @click="openAiDialog2(2, 'aiTeacher2'), addCourseBehavior('courseBehavior', `点击教案-重新生成教案按钮`)" v-if="panTeacher() > 0 && 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')"
|
|
@@ -1822,12 +1822,12 @@
|
|
|
<div class="op_box_right">
|
|
|
<el-tooltip effect="light" content="右键单击可配置提示词" placement="bottom">
|
|
|
<div class="r_pub_button_op"
|
|
|
- @contextmenu.prevent="openAiDialog(1, 'teacherDetail2', item.taskDetail3, index)"
|
|
|
- @click="openAiDialog(2, 'teacherDetail2', item.taskDetail3, index)">智能优化</div>
|
|
|
+ @contextmenu.prevent="openAiDialog(1, 'teacherDetail2', item.taskDetail3, index), addCourseBehavior('courseBehavior', `右键教案-任务${index + 1}-智能优化按钮`)"
|
|
|
+ @click="openAiDialog(2, 'teacherDetail2', item.taskDetail3, index), addCourseBehavior('courseBehavior', `点击教案-任务${index + 1}-智能优化按钮`)">智能优化</div>
|
|
|
</el-tooltip>
|
|
|
<div class="r_pub_button_edit" style="margin-left:10px" @click="editTask3(index)">{{
|
|
|
item.isTask3 ? '确定' : '编辑'}}</div>
|
|
|
- <el-switch style="margin-left: 10px" v-model="isQuote['teacherDetail2-'+index]" active-text="引用" active-color="#0061FF" class="custom-switch" v-if="dialogTemplateArray.indexOf(templateid) != -1" @change="handleSwitchChange('teacherDetail2-'+index)"></el-switch>
|
|
|
+ <el-switch style="margin-left: 10px" v-model="isQuote['teacherDetail2-'+index]" active-text="引用" active-color="#0061FF" class="custom-switch" v-if="dialogTemplateArray.indexOf(templateid) != -1" @change="handleSwitchChange('teacherDetail2-'+index), addCourseBehavior('courseBehavior', `点击教案-任务${index + 1}-引用按钮`)"></el-switch>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -2644,8 +2644,8 @@
|
|
|
</el-tooltip> -->
|
|
|
<el-tooltip effect="light" content="右键单击可配置提示词" placement="bottom">
|
|
|
<button class="c_pub_button_confirm" style="margin: 0 0 0 20px;"
|
|
|
- @contextmenu.prevent="openAiDialog2(1, 'aiTask3',itemTaskIndex)"
|
|
|
- @click="openAiDialog2(2, 'aiTask3',itemTaskIndex)">重新生成任务</button>
|
|
|
+ @contextmenu.prevent="openAiDialog2(1, 'aiTask3',itemTaskIndex), addCourseBehavior('courseBehavior', `右键学历案-任务${itemTaskIndex + 1}-重新生成任务按钮`)"
|
|
|
+ @click="openAiDialog2(2, 'aiTask3',itemTaskIndex), addCourseBehavior('courseBehavior', `点击学历案-任务${itemTaskIndex + 1}-重新生成任务按钮`)">重新生成任务</button>
|
|
|
</el-tooltip>
|
|
|
<!-- <el-tooltip effect="light" content="右键单击可配置提示词" placement="bottom">
|
|
|
<button class="c_pub_button_confirm" style="margin: 0 0 0 20px;"
|
|
@@ -2735,9 +2735,9 @@
|
|
|
<el-tooltip effect="light" content="右键单击可配置提示词" placement="bottom">
|
|
|
<div class="r_pub_button_op" @contextmenu.prevent="openAiDialog(1, 'aiDetail2', unitJson[unitIndex].chapterInfo[0].taskJson[
|
|
|
itemTaskIndex
|
|
|
- ], itemTaskIndex)" @click="openAiDialog(2, 'aiDetail2', unitJson[unitIndex].chapterInfo[0].taskJson[
|
|
|
+ ], itemTaskIndex), addCourseBehavior('courseBehavior', `右键学历案-任务${itemTaskIndex + 1}-任务描述-智能优化按钮`)" @click="openAiDialog(2, 'aiDetail2', unitJson[unitIndex].chapterInfo[0].taskJson[
|
|
|
itemTaskIndex
|
|
|
- ], itemTaskIndex)">智能优化</div>
|
|
|
+ ], itemTaskIndex), addCourseBehavior('courseBehavior', `点击学历案-任务${itemTaskIndex + 1}-任务描述-智能优化按钮`)">智能优化</div>
|
|
|
</el-tooltip>
|
|
|
<el-switch style="margin-left: 10px" v-model="isQuote['aiDetail2-'+itemTaskIndex]" active-text="引用" active-color="#0061FF" class="custom-switch" v-if="dialogTemplateArray.indexOf(templateid) != -1" @change="handleSwitchChange('aiDetail2-'+itemTaskIndex)"></el-switch>
|
|
|
</div>
|
|
@@ -3132,16 +3132,16 @@
|
|
|
>
|
|
|
资源
|
|
|
</button>
|
|
|
- <button class="c_pub_button_add pub_btn_add_img" @click="openAiCreate(itemTaskIndex)">
|
|
|
+ <button class="c_pub_button_add pub_btn_add_img" @click="openAiCreate(itemTaskIndex), addCourseBehavior('courseBehavior', `点击学历案-任务${itemTaskIndex + 1}-AI生成PPT按钮`)">
|
|
|
AI生成PPT
|
|
|
</button>
|
|
|
<!-- <button class="c_pub_button_add pub_btn_add_img" @click="createTeacherAn(itemTaskIndex)">
|
|
|
AI生成教案
|
|
|
</button> -->
|
|
|
- <button class="c_pub_button_add pub_btn_add_img" @click="createTaskAn(itemTaskIndex)">
|
|
|
+ <button class="c_pub_button_add pub_btn_add_img" @click="createTaskAn(itemTaskIndex), addCourseBehavior('courseBehavior', `点击学历案-任务${itemTaskIndex + 1}-AI生成学历案按钮`)">
|
|
|
{{ taskAnLoading[itemTaskIndex] && taskAnLoading[itemTaskIndex] == true ? '停止生成学历案' : 'AI生成学历案'}}
|
|
|
</button>
|
|
|
- <button class="c_pub_button_add pub_btn_add_img" @click="openAiCreateVideo(itemTaskIndex)">
|
|
|
+ <button class="c_pub_button_add pub_btn_add_img" @click="openAiCreateVideo(itemTaskIndex), addCourseBehavior('courseBehavior', `点击学历案-任务${itemTaskIndex + 1}-智能检索视频按钮`)">
|
|
|
智能检索视频
|
|
|
</button>
|
|
|
</div>
|
|
@@ -4852,10 +4852,9 @@
|
|
|
<div class="op_box_right">
|
|
|
<el-tooltip effect="light" content="右键单击可配置提示词" placement="bottom">
|
|
|
<div class="r_pub_button_op"
|
|
|
- @contextmenu.prevent="openAiDialog(1, 'aiDetail3', itemTool, itemTaskIndex, toolIndex)"
|
|
|
- @click="openAiDialog(2, 'aiDetail3', itemTool.toolDetail, itemTaskIndex, toolIndex)">
|
|
|
+ @contextmenu.prevent="openAiDialog(1, 'aiDetail3', itemTool, itemTaskIndex, toolIndex), addCourseBehavior('courseBehavior', `右键学历案-任务${itemTaskIndex + 1}-工具${toolIndex + 1}-工具描述-智能优化按钮`)"
|
|
|
+ @click="openAiDialog(2, 'aiDetail3', itemTool.toolDetail, itemTaskIndex, toolIndex), addCourseBehavior('courseBehavior', `点击学历案-任务${itemTaskIndex + 1}-工具${toolIndex + 1}-工具描述-智能优化按钮`)">
|
|
|
智能优化</div>
|
|
|
-
|
|
|
</el-tooltip>
|
|
|
<el-switch style="margin-left: 10px" v-model="isQuote['aiDetail3-'+itemTaskIndex+'-'+toolIndex]" active-text="引用" active-color="#0061FF" class="custom-switch" v-if="dialogTemplateArray.indexOf(templateid) != -1" @change="handleSwitchChange('aiDetail3-'+itemTaskIndex+'-'+toolIndex)"></el-switch>
|
|
|
</div>
|
|
@@ -4871,10 +4870,11 @@
|
|
|
:userid="userid"
|
|
|
:aiJson="aiJson"
|
|
|
@setEvaList="setEvaList"
|
|
|
+ @addCourseBehavior="addCourseBehavior"
|
|
|
v-if="pjTemplateArray.indexOf(templateid) != -1 && pjIndex.indexOf(itemTool.tool[0]) != -1"
|
|
|
:ref="'evalist'+itemTaskIndex+toolIndex"></evaList>
|
|
|
</div>
|
|
|
- <button class="c_pub_button_add pub_btn_tool_img" @click="addToolFun(itemTaskIndex)" style="
|
|
|
+ <button class="c_pub_button_add pub_btn_tool_img" @click="addToolFun(itemTaskIndex), addCourseBehavior('courseBehavior', `点击学历案-任务${itemTaskIndex + 1}-工具描述-添加按钮`)" style="
|
|
|
margin: 0 auto;
|
|
|
padding: 0 30px;
|
|
|
height: 45px;
|
|
@@ -5387,6 +5387,7 @@
|
|
|
:courseText2="courseText"
|
|
|
:targetCourseText2="targetCourseText2"
|
|
|
:cpote="cpote"
|
|
|
+ @addCourseBehavior="addCourseBehavior"
|
|
|
@setIsQuote="setIsQuote"></aiBoxRight>
|
|
|
</div>
|
|
|
<div class="close_btn" @click="closeRight" :class="!isDisplay ? 'close_btn_voice' : ''" v-show="istemplate != 1 && dialogTemplateArray.indexOf(templateid) != -1 && chatid">
|
|
@@ -8308,8 +8309,18 @@ export default {
|
|
|
}
|
|
|
if(this.templateid == '61c628b9-3d96-11ef-b873-005056b86db5'){
|
|
|
this.openAiDialog(clickType, 'aiOutline2')
|
|
|
+ if(clickType == 1){
|
|
|
+ this.addCourseBehavior('courseBehavior', `右键课程大纲-生成大纲按钮`)
|
|
|
+ }else {
|
|
|
+ this.addCourseBehavior('courseBehavior', `点击课程大纲-生成大纲按钮`)
|
|
|
+ }
|
|
|
}else {
|
|
|
this.openAiDialog(clickType, 'aiOutline')
|
|
|
+ if(clickType == 1){
|
|
|
+ this.addCourseBehavior('courseBehavior', `右键课程大纲-生成大纲按钮`)
|
|
|
+ }else {
|
|
|
+ this.addCourseBehavior('courseBehavior', `点击课程大纲-生成大纲按钮`)
|
|
|
+ }
|
|
|
}
|
|
|
return;
|
|
|
}
|
|
@@ -8318,13 +8329,34 @@ export default {
|
|
|
let _type = ''
|
|
|
if(this.cpoteType == 0){
|
|
|
_type = 'aiCpote1'
|
|
|
+ if(clickType == 1){
|
|
|
+ this.addCourseBehavior('courseBehavior', `右键概念群-生成概念群按钮`)
|
|
|
+ }else {
|
|
|
+ this.addCourseBehavior('courseBehavior', `点击概念群-生成概念群按钮`)
|
|
|
+ }
|
|
|
}else if(this.cpoteType == 1){
|
|
|
_type = 'aiCpote2'
|
|
|
+ if(clickType == 1){
|
|
|
+ this.addCourseBehavior('courseBehavior', `右键问题链-生成问题链按钮`)
|
|
|
+ }else {
|
|
|
+ this.addCourseBehavior('courseBehavior', `点击问题链-生成问题链按钮`)
|
|
|
+ }
|
|
|
}else if(this.cpoteType == 2){
|
|
|
_type = 'aiCpote3'
|
|
|
+ if(clickType == 1){
|
|
|
+ this.addCourseBehavior('courseBehavior', `右键目标层-生成目标层按钮`)
|
|
|
+ }else {
|
|
|
+ this.addCourseBehavior('courseBehavior', `点击目标层-生成目标层按钮`)
|
|
|
+ }
|
|
|
}else if(this.cpoteType == 3){
|
|
|
_type = 'aiCpote4'
|
|
|
+ if(clickType == 1){
|
|
|
+ this.addCourseBehavior('courseBehavior', `右键任务簇-生成任务簇按钮`)
|
|
|
+ }else {
|
|
|
+ this.addCourseBehavior('courseBehavior', `点击任务簇-生成任务簇按钮`)
|
|
|
+ }
|
|
|
}
|
|
|
+
|
|
|
this.cpoteType++
|
|
|
this.openAiDialog(clickType, _type)
|
|
|
return;
|
|
@@ -8338,11 +8370,21 @@ export default {
|
|
|
|
|
|
if (!this.isOutline2 && (this.templateid == "4480d65a-1e48-11ef-bee5-005056b86db5" || this.templateid == "cf5722a4-401b-11ef-b873-005056b86dc3")) {
|
|
|
this.openAiDialog(clickType, 'aiTeacher3')
|
|
|
+ if(clickType == 1){
|
|
|
+ this.addCourseBehavior('courseBehavior', `右键教案-生成教案按钮`)
|
|
|
+ }else {
|
|
|
+ this.addCourseBehavior('courseBehavior', `点击教案-生成教案按钮`)
|
|
|
+ }
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
if (!this.isOutline2 && this.templateid != "4480d65a-1e48-11ef-bee5-005056b86db5" && this.templateid != "cf5722a4-401b-11ef-b873-005056b86dc3") {
|
|
|
this.openAiDialog(clickType, 'aiTeacher2')
|
|
|
+ if(clickType == 1){
|
|
|
+ this.addCourseBehavior('courseBehavior', `右键教案-生成教案按钮`)
|
|
|
+ }else {
|
|
|
+ this.addCourseBehavior('courseBehavior', `点击教案-生成教案按钮`)
|
|
|
+ }
|
|
|
return;
|
|
|
}
|
|
|
let _pan2 = 1
|
|
@@ -8425,8 +8467,14 @@ export default {
|
|
|
if (this.cid) {
|
|
|
this.loading = true
|
|
|
functionA()
|
|
|
+ this.addCourseBehavior('courseBehavior', `点击学历案-下一步按钮`)
|
|
|
} else {
|
|
|
this.openAiDialog(clickType, "aiTask3", 'all', functionA)
|
|
|
+ if(clickType == 1){
|
|
|
+ this.addCourseBehavior('courseBehavior', `右键学历案-下一步按钮`)
|
|
|
+ }else {
|
|
|
+ this.addCourseBehavior('courseBehavior', `点击学历案-下一步按钮`)
|
|
|
+ }
|
|
|
}
|
|
|
}).catch((v) => {
|
|
|
console.log(v);
|
|
@@ -10073,12 +10121,14 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
|
|
|
_this.teacherinfoproVisible = true;
|
|
|
_this.teacherinfoisFinishSize = 0;
|
|
|
_this.teacherinfoisAllSize = event.target.files.length;
|
|
|
+ _this.addCourseBehavior('courseBehavior', '点击已有教案-上传已有教案按钮')
|
|
|
// _this.teacherinfoisAllSize = (file.size / 1024 / 1024).toFixed(2);
|
|
|
}else if(type == 16){
|
|
|
_this.mubiaoinfoprogress = 0;
|
|
|
_this.mubiaoinfoproVisible = true;
|
|
|
_this.mubiaoinfoisFinishSize = 0;
|
|
|
_this.mubiaoinfoisAllSize = event.target.files.length;
|
|
|
+ _this.addCourseBehavior('courseBehavior', '点击课程目标-上传补充资料按钮')
|
|
|
// _this.mubiaoinfoisAllSize = (file.size / 1024 / 1024).toFixed(2);
|
|
|
}else if(type == 17){
|
|
|
_this.xuanzeinfoprogress = 0;
|
|
@@ -10097,6 +10147,7 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
|
|
|
_this.knowinfoproVisible = true;
|
|
|
_this.knowinfoisFinishSize = 0;
|
|
|
_this.knowinfoisAllSize = event.target.files.length;
|
|
|
+ _this.addCourseBehavior('courseBehavior', '点击参考标准-上传参考标准按钮')
|
|
|
}else{
|
|
|
_this.infoprogress = 0;
|
|
|
_this.infoproVisible = true;
|
|
@@ -16418,6 +16469,7 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
|
|
|
this.$message.error("请上传教案");
|
|
|
return;
|
|
|
}
|
|
|
+ this.addCourseBehavior('courseBehavior', '点击已有教案-一键只能总结生成按钮')
|
|
|
this.openAiDialog(2, 'aiteacherTextDetail',1)
|
|
|
setTimeout(() => {
|
|
|
this.openAiDialog(2, 'aitargetTextDetail',1)
|
|
@@ -16462,6 +16514,7 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
|
|
|
this.$message.error("请补充填写课程名称");
|
|
|
return;
|
|
|
}
|
|
|
+ this.addCourseBehavior('courseBehavior', '点击课程简要描述-生成概况和目标按钮')
|
|
|
let functionA = ''
|
|
|
if(this.templateid != '4480d65a-1e48-11ef-bee5-005056b86db5' && this.templateid != 'cf5722a4-401b-11ef-b873-005056b86dc3'){
|
|
|
// setTimeout(() => {
|
|
@@ -23629,6 +23682,25 @@ ${msg}
|
|
|
closeRight(){
|
|
|
this.isDisplay = !this.isDisplay;
|
|
|
},
|
|
|
+ addCourseBehavior(type, _html) { // 保存行为操作
|
|
|
+ let params = [{
|
|
|
+ uid: this.userid,
|
|
|
+ courseId: '',
|
|
|
+ type: type,
|
|
|
+ content: _html,
|
|
|
+ }];
|
|
|
+
|
|
|
+ this.ajax.post(this.$store.state.api + 'addCourseBehavior', params).then(res => {
|
|
|
+ if (res.data == 1) {
|
|
|
+ console.log('保存操作成功');
|
|
|
+ } else {
|
|
|
+ console.log('保存操作失败');
|
|
|
+ }
|
|
|
+ }).catch(e => {
|
|
|
+ console.log('保存操作失败');
|
|
|
+ console.log(e);
|
|
|
+ });
|
|
|
+ },
|
|
|
},
|
|
|
beforeDestroy() {
|
|
|
// clearTimeout(this.timer);
|