|
@@ -2595,10 +2595,20 @@
|
|
v-if="steps > 1 && steps != 5 && istemplate != 1" @click="lastSteps" style="margin-left: auto;border: none;">
|
|
v-if="steps > 1 && steps != 5 && istemplate != 1" @click="lastSteps" style="margin-left: auto;border: none;">
|
|
{{ steps == 4 ? "返回课程" : "上一步" }}
|
|
{{ steps == 4 ? "返回课程" : "上一步" }}
|
|
</button>
|
|
</button>
|
|
- <button class="c_pub_button_confirm3" style="margin: 0 0 0 10px;" @click="openAiDialog2(2, 'aiTask3','all', ''), addCourseBehavior('courseBehavior', `点击学历案-重新生成所有任务按钮`)">重新生成所有任务</button>
|
|
|
|
- <button class="c_pub_button_confirm3" style="margin: 0 0 0 10px;" @click="openAiDialog(2, 'aiTaskG2', 'all'), addCourseBehavior('courseBehavior', `点击学历案-一键生成所有工具按钮`)" v-if="panTool() == 0">一键生成所有工具</button>
|
|
|
|
- <button class="c_pub_button_confirm3" style="margin: 0 0 0 10px;" @click="allEvaCan(), addCourseBehavior('courseBehavior', `点击学历案-一键生成所有评价按钮`)" v-if="panTool() > 0 && panTaskElist() == 0 && panEvaCont() == 0">一键生成所有评价</button>
|
|
|
|
- <button class="c_pub_button_confirm3" style="margin: 0 0 0 10px;" @click="exportTaskEA(), addCourseBehavior('courseBehavior', `点击学历案-导出评价和学历案按钮`)">导出评价和学历案</button>
|
|
|
|
|
|
+ <button class="c_pub_button_confirm3 buttonBoxB">
|
|
|
|
+ <span>一键生成</span>
|
|
|
|
+ <div class="buttonBox">
|
|
|
|
+ <div @click="openAiDialog2(2, 'aiTask3','all', ''), addCourseBehavior('courseBehavior', `点击学历案-重新生成所有任务按钮`)">重新生成所有任务</div>
|
|
|
|
+ <div @click="openAiDialog(2, 'aiTaskG2', 'all'), addCourseBehavior('courseBehavior', `点击学历案-一键生成所有工具按钮`)" v-if="panTool() == 0">一键生成所有工具</div>
|
|
|
|
+ <div @click="openAiDialog2(2, 'aiTaskG2', 'all'), addCourseBehavior('courseBehavior', `点击学历案-一键生成所有工具按钮`)" v-if="panTool() > 0">重新生成所有工具</div>
|
|
|
|
+ <div @click="allEvaCan(), addCourseBehavior('courseBehavior', `点击学历案-一键生成所有评价按钮`)" v-if="panTool() > 0">{{panTaskElist() == 0 && panEvaCont() == 0 ? '一键生成所有评价' : '重新生成所有评价'}}</div>
|
|
|
|
+ <div @click="exportTaskEA(), addCourseBehavior('courseBehavior', `点击学历案-导出评价和学历案按钮`)">导出评价和学历案</div>
|
|
|
|
+ </div>
|
|
|
|
+ </button>
|
|
|
|
+ <!-- <button class="c_pub_button_confirm3" style="margin: 0 0 0 10px;" @click="openAiDialog2(2, 'aiTask3','all', ''), addCourseBehavior('courseBehavior', `点击学历案-重新生成所有任务按钮`)">重新生成所有任务</button> -->
|
|
|
|
+ <!-- <button class="c_pub_button_confirm3" style="margin: 0 0 0 10px;" @click="openAiDialog(2, 'aiTaskG2', 'all'), addCourseBehavior('courseBehavior', `点击学历案-一键生成所有工具按钮`)" v-if="panTool() == 0">一键生成所有工具</button> -->
|
|
|
|
+ <!-- <button class="c_pub_button_confirm3" style="margin: 0 0 0 10px;" @click="allEvaCan(), addCourseBehavior('courseBehavior', `点击学历案-一键生成所有评价按钮`)" v-if="panTool() > 0 && panTaskElist() == 0 && panEvaCont() == 0">一键生成所有评价</button> -->
|
|
|
|
+ <!-- <button class="c_pub_button_confirm3" style="margin: 0 0 0 10px;" @click="exportTaskEA(), addCourseBehavior('courseBehavior', `点击学历案-导出评价和学历案按钮`)">导出评价和学历案</button> -->
|
|
<button class="c_pub_button_confirm" style="margin: 0 0 0 10px;" v-if="steps < 4 && istemplate != 1" @click="nextSteps">
|
|
<button class="c_pub_button_confirm" style="margin: 0 0 0 10px;" v-if="steps < 4 && istemplate != 1" @click="nextSteps">
|
|
{{ steps == 3 ? "确认上传" : "下一步" }}
|
|
{{ steps == 3 ? "确认上传" : "下一步" }}
|
|
</button>
|
|
</button>
|
|
@@ -17705,6 +17715,7 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
|
|
confirmButtonText: "确定",
|
|
confirmButtonText: "确定",
|
|
cancelButtonText: "取消",
|
|
cancelButtonText: "取消",
|
|
type: "warning",
|
|
type: "warning",
|
|
|
|
+ customClass: 'custom-confirm-box'
|
|
})
|
|
})
|
|
.then(() => {
|
|
.then(() => {
|
|
// if ((this.templateid == "4480d65a-1e48-11ef-bee5-005056b86db5" || this.templateid == "cf5722a4-401b-11ef-b873-005056b86dc3") && type == "aiTeacher2") {
|
|
// if ((this.templateid == "4480d65a-1e48-11ef-bee5-005056b86db5" || this.templateid == "cf5722a4-401b-11ef-b873-005056b86dc3") && type == "aiTeacher2") {
|
|
@@ -17716,6 +17727,9 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
|
|
.catch(() => {
|
|
.catch(() => {
|
|
|
|
|
|
});
|
|
});
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ this.setTipsIndex()
|
|
|
|
+ }, 500)
|
|
},
|
|
},
|
|
async openAiDialog(clickType, type, callback, index, tindex) {
|
|
async openAiDialog(clickType, type, callback, index, tindex) {
|
|
let fileid = this.isFileSearch ? [...this.fileIds] : []
|
|
let fileid = this.isFileSearch ? [...this.fileIds] : []
|
|
@@ -29944,4 +29958,43 @@ ol {
|
|
height: 12px;
|
|
height: 12px;
|
|
margin-left: 5px;
|
|
margin-left: 5px;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+.buttonBoxB{
|
|
|
|
+ position: relative;
|
|
|
|
+ margin: 0 0 0 10px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.buttonBoxB:hover .buttonBox{
|
|
|
|
+ display: block;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.buttonBox {
|
|
|
|
+ position: absolute;
|
|
|
|
+ bottom: -0;
|
|
|
|
+ left: 0;
|
|
|
|
+ transform: translateY(100%);
|
|
|
|
+ background: #fff;
|
|
|
|
+ border-radius: 5px;
|
|
|
|
+ box-shadow: 0 0 3px 1px #e3e3e3;
|
|
|
|
+ width: 155px;
|
|
|
|
+ display: none;
|
|
|
|
+ z-index: 99999;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.buttonBox>div {
|
|
|
|
+ height: 40px;
|
|
|
|
+ line-height: 40px;
|
|
|
|
+ width: 100%;
|
|
|
|
+ text-align: center;
|
|
|
|
+ color: #000;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.buttonBox>div+div {
|
|
|
|
+ border-top: 1px solid #e0e0e0;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.buttonBox>div:hover {
|
|
|
|
+ background: #f6f8ff;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|