|
@@ -3489,7 +3489,7 @@
|
|
|
background: #fff;
|
|
|
border-radius: 5px;
|
|
|
margin-top: 15px;
|
|
|
- ">
|
|
|
+ " :style="{paddingBottom:pjTemplateArray.indexOf(templateid) == -1?'':'75px'}">
|
|
|
<div v-if="
|
|
|
unitJson[unitIndex].easy == 6 ||
|
|
|
!unitJson[unitIndex].easy
|
|
@@ -4848,13 +4848,8 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <evaList v-if="pjTemplateArray.indexOf(templateid) != -1"></evaList>
|
|
|
</div>
|
|
|
- <!-- <div class="addToolFun2" @click="addToolFun(itemTaskIndex)">
|
|
|
- <div class="addToolImg">
|
|
|
- <img src="../../../assets/icon/add.png" alt />
|
|
|
- </div>
|
|
|
- <div>添加工具</div>
|
|
|
- </div> -->
|
|
|
<button class="c_pub_button_add pub_btn_tool_img" @click="addToolFun(itemTaskIndex)" style="
|
|
|
margin: 0 auto;
|
|
|
padding: 0 30px;
|
|
@@ -4864,273 +4859,7 @@
|
|
|
</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div v-else-if="
|
|
|
- unitJson[unitIndex].easy == 2 ||
|
|
|
- unitJson[unitIndex].easy == 4
|
|
|
- " class="toolChoose" style="padding: 0 0 40px">
|
|
|
- <div class="tools">
|
|
|
- <div class="leftTools" style="width: 100%" v-for="(
|
|
|
- itemTool, toolIndex
|
|
|
- ) in itemTask.toolChoose" :key="toolIndex">
|
|
|
- <div>
|
|
|
- <textarea rows="3" type="text" placeholder="添加工具描述" class="binfo_input" style="
|
|
|
- margin: 0 0 20px 0;
|
|
|
- width: 100% !important;
|
|
|
- " v-model="itemTool.toolDetail"></textarea>
|
|
|
- </div>
|
|
|
- <div style="
|
|
|
- display: flex;
|
|
|
- flex-direction: row;
|
|
|
- align-items: baseline;
|
|
|
- flex-wrap: nowrap;
|
|
|
- justify-content: flex-start;
|
|
|
- position: relative;
|
|
|
- ">
|
|
|
- <div style="margin-right: 20px; font-weight: bold"
|
|
|
- :id="'gj' + itemTaskIndex + '' + toolIndex">
|
|
|
- 工具 {{ toolIndex + 1 }} :
|
|
|
- </div>
|
|
|
- <div class="remove" @click="deleteTool(itemTaskIndex, toolIndex)"
|
|
|
- v-if="itemTask.toolChoose.length > 1" style="right: 0"></div>
|
|
|
- </div>
|
|
|
- <div style="min-height: 163px">
|
|
|
- <div class="toolSort">
|
|
|
- <div class="tool">
|
|
|
- <div class="whiteBIcon" @click="
|
|
|
- openTools(itemTaskIndex, 1, toolIndex)
|
|
|
- ">
|
|
|
- <img src="../../../assets/icon/secondToolList/whiteBoard.png" alt />
|
|
|
- <div style="margin: 5px 0">电子白板</div>
|
|
|
- </div>
|
|
|
- <div class="check" @click="
|
|
|
- addTools(1, itemTaskIndex, toolIndex)
|
|
|
- ">
|
|
|
- <img src="../../../assets/icon/checkNo.png" alt
|
|
|
- v-if="itemTool.tool.indexOf(1) == -1" />
|
|
|
- <div class="checkDiv" v-else>
|
|
|
- <img src="../../../assets/icon/checkedIs.png" alt /><span>已选择</span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="tool">
|
|
|
- <div class="whiteBIcon" @click="
|
|
|
- openTools(itemTaskIndex, 52, toolIndex)
|
|
|
- ">
|
|
|
- <img src="../../../assets/icon/fourthToolList/text.png" alt />
|
|
|
- <div style="margin: 5px 0">文档</div>
|
|
|
- </div>
|
|
|
- <div class="check" @click="
|
|
|
- addTools(52, itemTaskIndex, toolIndex)
|
|
|
- ">
|
|
|
- <img src="../../../assets/icon/checkNo.png" alt
|
|
|
- v-if="itemTool.tool.indexOf(52) == -1" />
|
|
|
- <div class="checkDiv" v-else>
|
|
|
- <img src="../../../assets/icon/checkedIs.png" alt /><span>已选择</span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="tool">
|
|
|
- <div class="whiteBIcon" @click="
|
|
|
- openTools(itemTaskIndex, 3, toolIndex)
|
|
|
- ">
|
|
|
- <img src="../../../assets/icon/secondToolList/mindMapping.png" alt />
|
|
|
- <div style="margin: 5px 0">思维导图</div>
|
|
|
- </div>
|
|
|
- <div class="check" @click="
|
|
|
- addTools(3, itemTaskIndex, toolIndex)
|
|
|
- ">
|
|
|
- <img src="../../../assets/icon/checkNo.png" alt
|
|
|
- v-if="itemTool.tool.indexOf(3) == -1" />
|
|
|
- <div class="checkDiv" v-else>
|
|
|
- <img src="../../../assets/icon/checkedIs.png" alt /><span>已选择</span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="tool">
|
|
|
- <div class="whiteBIcon" @click="
|
|
|
- openTools(itemTaskIndex, 4, toolIndex)
|
|
|
- ">
|
|
|
- <img src="../../../assets/icon/thirdToolList/ask.png" alt />
|
|
|
- <div style="margin: 5px 0">问卷调查</div>
|
|
|
- </div>
|
|
|
- <div class="check" @click="
|
|
|
- addTools(4, itemTaskIndex, toolIndex)
|
|
|
- ">
|
|
|
- <img src="../../../assets/icon/checkNo.png" alt
|
|
|
- v-if="itemTool.tool.indexOf(4) == -1" />
|
|
|
- <div class="checkDiv" v-else>
|
|
|
- <img src="../../../assets/icon/checkedIs.png" alt /><span>已选择</span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="tool">
|
|
|
- <div class="whiteBIcon" @click="
|
|
|
- openTools(itemTaskIndex, 45, toolIndex)
|
|
|
- ">
|
|
|
- <img src="../../../assets/icon/thirdToolList/choose.png" alt />
|
|
|
- <div style="margin: 5px 0">选择题</div>
|
|
|
- </div>
|
|
|
- <div class="check" @click="
|
|
|
- addTools(45, itemTaskIndex, toolIndex)
|
|
|
- ">
|
|
|
- <img src="../../../assets/icon/checkNo.png" alt
|
|
|
- v-if="itemTool.tool.indexOf(45) == -1" />
|
|
|
- <div class="checkDiv" v-else>
|
|
|
- <img src="../../../assets/icon/checkedIs.png" alt /><span>已选择</span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="tool">
|
|
|
- <div class="whiteBIcon" @click="
|
|
|
- openTools(itemTaskIndex, 15, toolIndex)
|
|
|
- ">
|
|
|
- <img src="../../../assets/icon/thirdToolList/answer.png" alt />
|
|
|
- <div style="margin: 5px 0">问答</div>
|
|
|
- </div>
|
|
|
- <div class="check" @click="
|
|
|
- addTools(15, itemTaskIndex, toolIndex)
|
|
|
- ">
|
|
|
- <img src="../../../assets/icon/checkNo.png" alt
|
|
|
- v-if="itemTool.tool.indexOf(15) == -1" />
|
|
|
- <div class="checkDiv" v-else>
|
|
|
- <img src="../../../assets/icon/checkedIs.png" alt /><span>已选择</span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="tool">
|
|
|
- <div class="whiteBIcon" @click="
|
|
|
- addTools(16, itemTaskIndex, toolIndex)
|
|
|
- ">
|
|
|
- <img src="../../../assets/icon/thirdToolList/work.png" alt />
|
|
|
- <div style="margin: 5px 0">作业提交</div>
|
|
|
- </div>
|
|
|
- <div class="check" @click="
|
|
|
- addTools(16, itemTaskIndex, toolIndex)
|
|
|
- ">
|
|
|
- <img src="../../../assets/icon/checkNo.png" alt
|
|
|
- v-if="itemTool.tool.indexOf(16) == -1" />
|
|
|
- <div class="checkDiv" v-else>
|
|
|
- <img src="../../../assets/icon/checkedIs.png" alt /><span>已选择</span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="tool">
|
|
|
- <div class="whiteBIcon" @click="
|
|
|
- openTools(itemTaskIndex, 50, toolIndex)
|
|
|
- ">
|
|
|
- <img src="../../../assets/icon/thirdToolList/plwork.png" alt />
|
|
|
- <div style="margin: 5px 0">批量上传</div>
|
|
|
- </div>
|
|
|
- <div class="check" @click="
|
|
|
- addTools(50, itemTaskIndex, toolIndex)
|
|
|
- ">
|
|
|
- <img src="../../../assets/icon/checkNo.png" alt
|
|
|
- v-if="itemTool.tool.indexOf(50) == -1" />
|
|
|
- <div class="checkDiv" v-else>
|
|
|
- <img src="../../../assets/icon/checkedIs.png" alt /><span>已选择</span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="tool">
|
|
|
- <div class="whiteBIcon" @click="
|
|
|
- openTools(itemTaskIndex, 41, toolIndex)
|
|
|
- ">
|
|
|
- <img src="../../../assets/icon/thirdToolList/select.png" alt />
|
|
|
- <div style="margin: 5px 0">选择匹配</div>
|
|
|
- </div>
|
|
|
- <div class="check" @click="
|
|
|
- addTools(41, itemTaskIndex, toolIndex)
|
|
|
- ">
|
|
|
- <img src="../../../assets/icon/checkNo.png" alt
|
|
|
- v-if="itemTool.tool.indexOf(41) == -1" />
|
|
|
- <div class="checkDiv" v-else>
|
|
|
- <img src="../../../assets/icon/checkedIs.png" alt /><span>已选择</span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="tool">
|
|
|
- <div class="whiteBIcon" @click="
|
|
|
- openTools(itemTaskIndex, 47, toolIndex)
|
|
|
- ">
|
|
|
- <img src="../../../assets/icon/fourthToolList/conSentences.png" alt />
|
|
|
- <div style="margin: 5px 0">排序</div>
|
|
|
- </div>
|
|
|
- <div class="check" @click="
|
|
|
- addTools(47, itemTaskIndex, toolIndex)
|
|
|
- ">
|
|
|
- <img src="../../../assets/icon/checkNo.png" alt
|
|
|
- v-if="itemTool.tool.indexOf(47) == -1" />
|
|
|
- <div class="checkDiv" v-else>
|
|
|
- <img src="../../../assets/icon/checkedIs.png" alt /><span>已选择</span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="tool">
|
|
|
- <div class="whiteBIcon" @click="
|
|
|
- openTools(itemTaskIndex, 48, toolIndex)
|
|
|
- ">
|
|
|
- <img src="../../../assets/icon/fourthToolList/table.png" alt />
|
|
|
- <div style="margin: 5px 0">表格</div>
|
|
|
- </div>
|
|
|
- <div class="check" @click="
|
|
|
- addTools(48, itemTaskIndex, toolIndex)
|
|
|
- ">
|
|
|
- <img src="../../../assets/icon/checkNo.png" alt
|
|
|
- v-if="itemTool.tool.indexOf(48) == -1" />
|
|
|
- <div class="checkDiv" v-else>
|
|
|
- <img src="../../../assets/icon/checkedIs.png" alt /><span>已选择</span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <!-- <div class="addToolFun" style="margin-bottom: 20px" @click="addToolFun(itemTaskIndex)">
|
|
|
- <div class="addToolImg">
|
|
|
- <img src="../../../assets/icon/add.png" alt />
|
|
|
- </div>
|
|
|
- <div>添加工具</div>
|
|
|
- </div> -->
|
|
|
- <button class="c_pub_button_add pub_btn_tool_img" @click="addToolFun(itemTaskIndex)"
|
|
|
- style="margin: 35px auto 20px">
|
|
|
- 添加工具
|
|
|
- </button>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div v-else-if="
|
|
|
- unitJson[unitIndex].easy == 1 ||
|
|
|
- (unitJson[unitIndex].easy == 5 &&
|
|
|
- itemTask.taskType == 2)
|
|
|
- " class="toolChoose" style="padding: 0 0 40px">
|
|
|
- <div class="tools">
|
|
|
- <div class="leftTools" style="width: 100%; padding: 0 0 15px 0" v-for="(
|
|
|
- itemTool, toolIndex
|
|
|
- ) in itemTask.toolChoose" :key="toolIndex">
|
|
|
- <div style="min-height: 163px">
|
|
|
- <div class="toolSort">
|
|
|
- <div class="tool">
|
|
|
- <div class="whiteBIcon" @click="
|
|
|
- openTools(itemTaskIndex, 50, toolIndex)
|
|
|
- ">
|
|
|
- <img src="../../../assets/icon/thirdToolList/plwork.png" alt />
|
|
|
- <div style="margin: 5px 0">批量上传</div>
|
|
|
- </div>
|
|
|
- <div class="check" @click="
|
|
|
- addTools(50, itemTaskIndex, toolIndex)
|
|
|
- ">
|
|
|
- <img src="../../../assets/icon/checkNo.png" alt
|
|
|
- v-if="itemTool.tool.indexOf(50) == -1" />
|
|
|
- <div class="checkDiv" v-else>
|
|
|
- <img src="../../../assets/icon/checkedIs.png" alt /><span>已选择</span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="elist_css" v-if="!(unitJson[unitJson.length - 1].easy == 4)"
|
|
|
+ <div class="elist_css" v-if="!(unitJson[unitJson.length - 1].easy == 4) && pjTemplateArray.indexOf(templateid) == -1"
|
|
|
v-loading="(taskDetailLoading4.indexOf('task-' + itemTaskIndex) !== -1) || (taskGLoading[itemTaskIndex] && taskGLoading[itemTaskIndex][2])" element-loading-text="小可正在努力生成中,请稍等...">
|
|
|
<div class="elist_title">
|
|
|
<div style="
|
|
@@ -7170,6 +6899,7 @@ import wOffice from "../test/file/wOffice.vue";
|
|
|
import htmlDocx from "html-docx-js/dist/html-docx";
|
|
|
import TurndownService from 'turndown';
|
|
|
import JSZip from "jszip";
|
|
|
+import evaList from "./evaList.vue";
|
|
|
|
|
|
var OpenCC = require("opencc-js");
|
|
|
let converter = OpenCC.Converter({
|
|
@@ -7204,6 +6934,7 @@ export default {
|
|
|
aiCreateVideoDialog,
|
|
|
wpdf,
|
|
|
wOffice,
|
|
|
+ evaList
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
@@ -7645,6 +7376,7 @@ export default {
|
|
|
knowinfoisAllSize: 0,
|
|
|
knowinfoprogress: 0,
|
|
|
knowFileids: [],
|
|
|
+ pjTemplateArray: [ 'cf5722a4-401b-11ef-b873-005056b86cp5' ],
|
|
|
};
|
|
|
},
|
|
|
directives: {
|
|
@@ -15971,6 +15703,7 @@ export default {
|
|
|
}
|
|
|
console.log(courseInfo)
|
|
|
window.course_info = courseInfo
|
|
|
+ window.course_lang = this.languageSetting
|
|
|
},
|
|
|
setCover() {
|
|
|
var _this = this;
|