|
@@ -6,11 +6,11 @@
|
|
|
<el-tooltip class="courseTitle" effect="light" :content="courseDetail.title" placement="top">
|
|
|
<div>{{ courseDetail.title }}</div>
|
|
|
</el-tooltip>
|
|
|
- <div class="ml">目录</div>
|
|
|
+ <div class="ml">Contents</div>
|
|
|
<div class="cru_selectBox">
|
|
|
<div v-for="(item, stageIndex) in navList" :key="stageIndex">
|
|
|
<div class="blue_box_one" @click="get(stageIndex)">
|
|
|
- <div>第{{ stageIndex + 1 }}阶段</div>
|
|
|
+ <div>No.{{ stageIndex + 1 }}Stage</div>
|
|
|
<div>{{ item.dyName }}</div>
|
|
|
</div>
|
|
|
<div class="twoChild" :class="{ navActive: item.isOpen }">
|
|
@@ -27,7 +27,7 @@
|
|
|
nav.id == navId &&
|
|
|
stageIndex == courseType,
|
|
|
}" style="margin: 0">
|
|
|
- 任务{{ navIndex + 1 }}
|
|
|
+ Task{{ navIndex + 1 }}
|
|
|
</div>
|
|
|
<el-tooltip class="navTaskname item" effect="light" :content="nav.taskName" placement="top">
|
|
|
<div :style="{
|
|
@@ -56,17 +56,17 @@
|
|
|
box-shadow: 0px 9px 0 0 #f2f2f2;
|
|
|
">
|
|
|
<div class="courseIndex">
|
|
|
- <div>第{{ courseType - 0 + 1 }}阶段</div>
|
|
|
+ <div>No.{{ courseType - 0 + 1 }}Stage</div>
|
|
|
<el-tooltip effect="light" :content="chapInfoList[courseType].dyName" placement="top">
|
|
|
<div>{{ chapInfoList[courseType].dyName }}</div>
|
|
|
</el-tooltip>
|
|
|
- <div>任务{{ taskCount + 1 }}</div>
|
|
|
+ <div>Task{{ taskCount + 1 }}</div>
|
|
|
</div>
|
|
|
<div class="btnAll">
|
|
|
- <div class="returnBtn" @click="nextOrpreSteps(0)">上一步</div>
|
|
|
- <div class="returnBtn" @click="nextOrpreSteps(1)">下一步</div>
|
|
|
- <div class="returnBtn" @click="refreshCourse">刷新</div>
|
|
|
- <div class="returnBtn" @click="setPz" v-if="tType == 1" >评论</div>
|
|
|
+ <div class="returnBtn" @click="nextOrpreSteps(0)">Previous Step</div>
|
|
|
+ <div class="returnBtn" @click="nextOrpreSteps(1)">Next Step</div>
|
|
|
+ <div class="returnBtn" @click="refreshCourse">Refresh</div>
|
|
|
+ <div class="returnBtn" @click="setPz" v-if="tType == 1" >Comment</div>
|
|
|
<!-- <div v-if="tType != 5" class="returnBtn" @click="allScrell">全屏</div> -->
|
|
|
<!-- <div class="returnBtn" @click="startRecording" v-if="(!videoStart && (tType == 1 || tType == 4))">开始录制</div>
|
|
|
<div class="returnBtn" @click="stopRecording" v-else-if="(tType == 1 || tType == 4)"
|
|
@@ -94,7 +94,7 @@
|
|
|
screenType
|
|
|
)
|
|
|
">
|
|
|
- 返回
|
|
|
+ Back
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -136,7 +136,7 @@
|
|
|
chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].id
|
|
|
">
|
|
|
{{ chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].task ?
|
|
|
- chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].task : '任务名称' }}
|
|
|
+ chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].task : 'Task Name' }}
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="student_head">
|
|
@@ -156,7 +156,7 @@
|
|
|
chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
|
|
|
.people
|
|
|
">
|
|
|
- 负责人:{{
|
|
|
+ Person in Charge:{{
|
|
|
getMan(
|
|
|
chapInfoList[courseType].chapterInfo[0].taskJson[
|
|
|
taskCount
|
|
@@ -168,7 +168,7 @@
|
|
|
chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
|
|
|
.time
|
|
|
">
|
|
|
- <span>任务周期:</span>{{
|
|
|
+ <span>Task Duration:</span>{{
|
|
|
timeB(
|
|
|
chapInfoList[courseType].chapterInfo[0].taskJson[
|
|
|
taskCount
|
|
@@ -198,7 +198,7 @@
|
|
|
: '15px auto 5px',
|
|
|
}">
|
|
|
<div class="task_pbox">
|
|
|
- 协同者:<span :class="{ tcMember: getMan(men) }" v-for="(men, mindex) in chapInfoList[courseType]
|
|
|
+ Collaborators:<span :class="{ tcMember: getMan(men) }" v-for="(men, mindex) in chapInfoList[courseType]
|
|
|
.chapterInfo[0].taskJson[taskCount].tcMember" :key="mindex">{{ getMan(men) }}</span>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -212,7 +212,7 @@
|
|
|
flex-direction: column;
|
|
|
position: relative;
|
|
|
">
|
|
|
- <div style="padding: 15px 10px 0">任务描述:</div>
|
|
|
+ <div style="padding: 15px 10px 0">Task Description:</div>
|
|
|
|
|
|
<div style="
|
|
|
padding: 10px 10px 15px;
|
|
@@ -225,7 +225,7 @@
|
|
|
? chapInfoList[courseType].chapterInfo[0].taskJson[
|
|
|
taskCount
|
|
|
].taskDetail
|
|
|
- : '暂无描述'
|
|
|
+ : 'No Description Available'
|
|
|
"></div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -244,7 +244,7 @@
|
|
|
margin: 0 auto;
|
|
|
background: #f1f1f1;
|
|
|
">
|
|
|
- <div class="title">查看文档</div>
|
|
|
+ <div class="title">View Document</div>
|
|
|
<el-form class="textBox">
|
|
|
<el-form-item class="textTitle">
|
|
|
<div style="font-size: 22px">
|
|
@@ -274,7 +274,7 @@
|
|
|
</div> -->
|
|
|
</div>
|
|
|
<div class="vedioList" v-if="chapterlist.length > 0">
|
|
|
- <div class="navTitile">内容列表:</div>
|
|
|
+ <div class="navTitile">Content List:</div>
|
|
|
<div class="navBox">
|
|
|
<div>
|
|
|
<div class="vedioTimeBox" v-for="(chapter, cIndex) in chapterlist" :key="cIndex + '1'"
|
|
@@ -290,16 +290,16 @@
|
|
|
<!-- <div style="padding: 10px 30px 0"
|
|
|
v-if="chapterlist[chapterIndex] && (chapterlist[chapterIndex].type == 3 || chapterlist[chapterIndex].type == 9)">
|
|
|
<el-button type="primary"
|
|
|
- @click="checkFileFull(chapterlist[chapterIndex].type, chapterlist[chapterIndex].src)">全屏查看</el-button>
|
|
|
- <el-button type="primary" @click="downloadFile(chapterlist[chapterIndex].src)">文件下载</el-button>
|
|
|
+ @click="checkFileFull(chapterlist[chapterIndex].type, chapterlist[chapterIndex].src)">Full Screen View</el-button>
|
|
|
+ <el-button type="primary" @click="downloadFile(chapterlist[chapterIndex].src)">File Download</el-button>
|
|
|
</div>
|
|
|
<div style="padding: 10px 30px 0" v-if="chapterlist[chapterIndex] && chapterlist[chapterIndex].type == 8">
|
|
|
- <el-button type="primary" @click="openLine(chapterlist[chapterIndex].src)">打开链接
|
|
|
+ <el-button type="primary" @click="openLine(chapterlist[chapterIndex].src)">Open Link
|
|
|
</el-button>
|
|
|
</div>
|
|
|
<div style="padding: 10px 30px 0" v-if="chapterlist[chapterIndex] && chapterlist[chapterIndex].type == 6">
|
|
|
<el-button type="primary"
|
|
|
- @click="checkFileFull(chapterlist[chapterIndex].type, chapterlist[chapterIndex])">全屏查看</el-button>
|
|
|
+ @click="checkFileFull(chapterlist[chapterIndex].type, chapterlist[chapterIndex])">Full Screen View</el-button>
|
|
|
</div> -->
|
|
|
</div>
|
|
|
</div>
|
|
@@ -314,16 +314,16 @@
|
|
|
padding: 15px 0 15px 30px;
|
|
|
font-weight: bold;
|
|
|
">
|
|
|
- 实施过程
|
|
|
+ Implementation Process
|
|
|
</div>
|
|
|
<div class="toolHeng2" style="position: relative">
|
|
|
<div class="filebox" style="flex-wrap: nowrap; margin: 0 20px" v-for="(tool, toolIndex) in chapInfoList[courseType]
|
|
|
.chapterInfo[0].taskJson[taskCount].toolArray" :key="toolIndex">
|
|
|
<div class="bzBox">
|
|
|
<div></div>
|
|
|
- <div>步骤{{ toolIndex + 1 }}</div>
|
|
|
+ <div>Step{{ toolIndex + 1 }}</div>
|
|
|
<div v-if="tool.toolPhoto.length > 0" style="margin-left: 20px; color: #a1a1a1">
|
|
|
- 时间:{{ tool.toolPhoto[0].createTime }}
|
|
|
+ Time:{{ tool.toolPhoto[0].createTime }}
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="toolBox" v-if="tool.toolDetail != ''">
|
|
@@ -333,82 +333,82 @@
|
|
|
<div v-if="tool.tool == 1">
|
|
|
<img src="../../assets/icon/secondToolList/whiteBoard.png" alt
|
|
|
@click="addTools(tool.tool, toolIndex, taskCount)" />
|
|
|
- <div style="margin: 5px 0">电子白板</div>
|
|
|
+ <div style="margin: 5px 0">Electronic Whiteboard</div>
|
|
|
</div>
|
|
|
<div v-if="tool.tool == 3">
|
|
|
<img src="../../assets/icon/secondToolList/mindMapping.png" alt
|
|
|
@click="addTools(tool.tool, toolIndex, taskCount)" />
|
|
|
- <div style="margin: 5px 0">思维导图</div>
|
|
|
+ <div style="margin: 5px 0">Mind Map</div>
|
|
|
</div>
|
|
|
<div v-if="tool.tool == 6">
|
|
|
<img src="../../assets/icon/secondToolList/doc.png" alt
|
|
|
@click="addTools(tool.tool, toolIndex, taskCount)" />
|
|
|
- <div style="margin: 5px 0">协同文档</div>
|
|
|
+ <div style="margin: 5px 0">Collaborative Document</div>
|
|
|
</div>
|
|
|
<div v-if="tool.tool == 7">
|
|
|
<img src="../../assets/icon/secondToolList/mindNetwork.png" alt
|
|
|
@click="addTools(tool.tool, toolIndex, taskCount)" />
|
|
|
- <div style="margin: 5px 0">思维网格</div>
|
|
|
+ <div style="margin: 5px 0">Thought Grid</div>
|
|
|
</div>
|
|
|
<div v-if="tool.tool == 8">
|
|
|
<img src="../../assets/icon/secondToolList/library.png" alt
|
|
|
@click="addTools(tool.tool, toolIndex, taskCount)" />
|
|
|
- <div style="margin: 5px 0">素材库</div>
|
|
|
+ <div style="margin: 5px 0">Resource Library</div>
|
|
|
</div>
|
|
|
<div v-if="tool.tool == 17">
|
|
|
<img src="../../assets/icon/secondToolList/library.png" alt
|
|
|
@click="addTools(tool.tool, toolIndex, taskCount)" />
|
|
|
- <div style="margin: 5px 0">学习资料</div>
|
|
|
+ <div style="margin: 5px 0">Learning Materials</div>
|
|
|
</div>
|
|
|
<div v-if="tool.tool == 2">
|
|
|
<img @click="addTools(tool.tool, toolIndex, taskCount)"
|
|
|
src="../../assets/icon/secondToolList/note.png" alt />
|
|
|
- <div style="margin: 5px 0">便签</div>
|
|
|
+ <div style="margin: 5px 0">Sticky Notes</div>
|
|
|
</div>
|
|
|
<div v-if="tool.tool == 4">
|
|
|
<img @click="addTools(tool.tool, toolIndex, taskCount)"
|
|
|
src="../../assets/icon/thirdToolList/ask.png" alt />
|
|
|
- <div style="margin: 5px 0">问卷调查</div>
|
|
|
+ <div style="margin: 5px 0">Survey</div>
|
|
|
</div>
|
|
|
<div v-if="tool.tool == 45">
|
|
|
<img @click="addTools(tool.tool, toolIndex, taskCount)"
|
|
|
src="../../assets/icon/thirdToolList/choose.png" alt />
|
|
|
- <div style="margin: 5px 0">选择题</div>
|
|
|
+ <div style="margin: 5px 0">Multiple Choice Question</div>
|
|
|
</div>
|
|
|
<div v-if="tool.tool == 10">
|
|
|
<img @click="addTools(tool.tool, toolIndex, taskCount)"
|
|
|
src="../../assets/icon/thirdToolList/time.png" alt />
|
|
|
- <div style="margin: 5px 0">倒计时</div>
|
|
|
+ <div style="margin: 5px 0">Countdown</div>
|
|
|
</div>
|
|
|
<div v-if="tool.tool == 15">
|
|
|
<img @click="addTools(tool.tool, toolIndex, taskCount)"
|
|
|
src="../../assets/icon/thirdToolList/answer.png" alt />
|
|
|
- <div style="margin: 5px 0">问答工具</div>
|
|
|
+ <div style="margin: 5px 0">Q&A Tool</div>
|
|
|
</div>
|
|
|
<div v-if="tool.tool == 26">
|
|
|
<img @click="addTools(tool.tool, toolIndex, taskCount)"
|
|
|
src="../../assets/icon/thirdToolList/courseDesign.png" alt />
|
|
|
- <div style="margin: 5px 0">课程设计</div>
|
|
|
+ <div style="margin: 5px 0">Course Design</div>
|
|
|
</div>
|
|
|
<div v-if="tool.tool == 18">
|
|
|
<img @click="addTools(tool.tool, toolIndex, taskCount)"
|
|
|
src="../../assets/icon/thirdToolList/trainPlatform.png" alt />
|
|
|
- <div style="margin: 5px 0">训练服务器</div>
|
|
|
+ <div style="margin: 5px 0">Training Server</div>
|
|
|
</div>
|
|
|
<div v-if="tool.tool == 16">
|
|
|
<img @click="addTools(tool.tool, toolIndex, taskCount)"
|
|
|
src="../../assets/icon/thirdToolList/work.png" alt />
|
|
|
- <div style="margin: 5px 0">作业提交</div>
|
|
|
+ <div style="margin: 5px 0">Homework Submission</div>
|
|
|
</div>
|
|
|
<div v-if="tool.tool == 21">
|
|
|
<img @click="addTools(tool.tool, toolIndex, taskCount)"
|
|
|
src="../../assets/icon/fourthToolList/program.png" alt />
|
|
|
- <div style="margin: 5px 0">编程平台</div>
|
|
|
+ <div style="margin: 5px 0">Coding Platform</div>
|
|
|
</div>
|
|
|
<div v-if="tool.tool == 22">
|
|
|
<img @click="addTools(tool.tool, toolIndex, taskCount)"
|
|
|
src="../../assets/icon/fourthToolList/program.png" alt />
|
|
|
- <div style="margin: 5px 0">AI体验</div>
|
|
|
+ <div style="margin: 5px 0">AI Experience</div>
|
|
|
</div>
|
|
|
<div v-if="tool.tool == 23">
|
|
|
<img @click="addTools(tool.tool, toolIndex, taskCount)"
|
|
@@ -418,32 +418,32 @@
|
|
|
<div v-if="tool.tool == 24">
|
|
|
<img @click="addTools(tool.tool, toolIndex, taskCount)"
|
|
|
src="../../assets/icon/fourthToolList/AIprogram.png" alt />
|
|
|
- <div style="margin: 5px 0">AI平台</div>
|
|
|
+ <div style="margin: 5px 0">AI Platform</div>
|
|
|
</div>
|
|
|
<div v-if="tool.tool == 25">
|
|
|
<img @click="addTools(tool.tool, toolIndex, taskCount)"
|
|
|
src="../../assets/icon/thirdToolList/evalua.png" alt />
|
|
|
- <div style="margin: 5px 0">目标管理</div>
|
|
|
+ <div style="margin: 5px 0">Goal Management</div>
|
|
|
</div>
|
|
|
<div v-if="tool.tool == 31">
|
|
|
<img @click="addTools(tool.tool, toolIndex, taskCount)"
|
|
|
src="../../assets/icon/secondToolList/networkPanel.png" alt />
|
|
|
- <div style="margin: 5px 0">数学画板</div>
|
|
|
+ <div style="margin: 5px 0">Math Board</div>
|
|
|
</div>
|
|
|
<div v-if="tool.tool == 28">
|
|
|
<img @click="addTools(tool.tool, toolIndex, taskCount)"
|
|
|
src="../../assets/icon/secondToolList/translation.png" alt />
|
|
|
- <div style="margin: 5px 0">翻译</div>
|
|
|
+ <div style="margin: 5px 0">Translate</div>
|
|
|
</div>
|
|
|
<div v-if="tool.tool == 37">
|
|
|
<img @click="addTools(tool.tool, toolIndex, taskCount)"
|
|
|
src="../../assets/icon/secondToolList/mohe.png" alt />
|
|
|
- <div style="margin: 5px 0">魔盒识字</div>
|
|
|
+ <div style="margin: 5px 0">Mohe</div>
|
|
|
</div>
|
|
|
<div v-if="tool.tool == 38">
|
|
|
<img @click="addTools(tool.tool, toolIndex, taskCount)"
|
|
|
src="../../assets/icon/secondToolList/24game.png" alt />
|
|
|
- <div style="margin: 5px 0">24点</div>
|
|
|
+ <div style="margin: 5px 0">24 Points</div>
|
|
|
</div>
|
|
|
<div v-if="tool.tool == 39">
|
|
|
<img @click="addTools(tool.tool, toolIndex, taskCount)"
|
|
@@ -453,37 +453,37 @@
|
|
|
<div v-if="tool.tool == 32">
|
|
|
<img @click="addTools(tool.tool, toolIndex, taskCount)"
|
|
|
src="../../assets/icon/thirdToolList/code.png" alt />
|
|
|
- <div style="margin: 5px 0">源码编辑</div>
|
|
|
+ <div style="margin: 5px 0">Source Code Editor</div>
|
|
|
</div>
|
|
|
<div v-if="tool.tool == 40">
|
|
|
<img @click="addTools(tool.tool, toolIndex, taskCount)"
|
|
|
src="../../assets/icon/secondToolList/eval.png" alt />
|
|
|
- <div style="margin: 5px 0">学生评价</div>
|
|
|
+ <div style="margin: 5px 0">Student Assessment</div>
|
|
|
</div>
|
|
|
<div v-if="tool.tool == 41">
|
|
|
<img @click="addTools(tool.tool, toolIndex, taskCount)"
|
|
|
src="../../assets/icon/thirdToolList/select.png" alt />
|
|
|
- <div style="margin: 5px 0">选择填空</div>
|
|
|
+ <div style="margin: 5px 0">Fill in the Blanks</div>
|
|
|
</div>
|
|
|
<div v-if="tool.tool == 44">
|
|
|
<img @click="addTools(tool.tool, toolIndex, taskCount)"
|
|
|
src="../../assets/icon/thirdToolList/hanClass.png" alt />
|
|
|
- <div style="margin: 5px 0">汉字宫</div>
|
|
|
+ <div style="margin: 5px 0">Chinese Character Palace</div>
|
|
|
</div>
|
|
|
<div v-if="tool.tool == 47">
|
|
|
<img @click="addTools(tool.tool, toolIndex, taskCount)"
|
|
|
src="../../assets/icon/fourthToolList/conSentences.png" alt />
|
|
|
- <div style="margin: 5px 0">连词成句</div>
|
|
|
+ <div style="margin: 5px 0">Join Words to Form Sentences</div>
|
|
|
</div>
|
|
|
<div v-if="tool.tool == 48">
|
|
|
<img @click="addTools(tool.tool, toolIndex, taskCount)"
|
|
|
src="../../assets/icon/fourthToolList/table.png" alt />
|
|
|
- <div style="margin: 5px 0">表格</div>
|
|
|
+ <div style="margin: 5px 0">Spreadsheet</div>
|
|
|
</div>
|
|
|
<div v-if="tool.tool == 49">
|
|
|
<img @click="addTools(tool.tool, toolIndex, taskCount)"
|
|
|
src="../../assets/icon/fourthToolList/group.png" alt />
|
|
|
- <div style="margin: 5px 0">学生分组</div>
|
|
|
+ <div style="margin: 5px 0">Student Grouping</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -522,7 +522,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="homeWorkBox" v-else-if="tool.tool != 51 && tool.tool != 57">
|
|
|
- <div class="htitle">暂无内容</div>
|
|
|
+ <div class="htitle">No Content Available</div>
|
|
|
</div>
|
|
|
<div class="homeWorkBox" v-if="tool.toolPhoto.length && tool.tool == 56">
|
|
|
<voteStatic :askJSON="tool.askJson" :checkJson="checkJson[toolIndex]"></voteStatic>
|
|
@@ -546,7 +546,7 @@
|
|
|
background: #f1f1f1;
|
|
|
height: 650px;
|
|
|
">
|
|
|
- <div class="title">查看文档</div>
|
|
|
+ <div class="title">View Document</div>
|
|
|
<el-form class="textBox">
|
|
|
<el-form-item class="textTitle">
|
|
|
<div style="font-size: 22px">
|
|
@@ -575,7 +575,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="vedioList" :class="'vedioList' + toolIndex" v-if="tool.toolData.length > 0">
|
|
|
- <div class="navTitile">内容列表:</div>
|
|
|
+ <div class="navTitile">Content List:</div>
|
|
|
<div class="navBox">
|
|
|
<div>
|
|
|
<div class="vedioTimeBox" v-for="(chapter, cIndex) in tool.toolData" :key="cIndex + '1'"
|
|
@@ -603,22 +603,22 @@
|
|
|
tool.toolData[tool.sourceIndex].type,
|
|
|
tool.toolData[tool.sourceIndex].src
|
|
|
)
|
|
|
-">全屏查看</el-button>
|
|
|
+">Full Screen View</el-button>
|
|
|
<el-button v-if="
|
|
|
tool.toolData[tool.sourceIndex].type == 3 ||
|
|
|
tool.toolData[tool.sourceIndex].type == 9
|
|
|
" type="primary" @click="
|
|
|
downloadFile(tool.toolData[tool.sourceIndex].src)
|
|
|
-">文件下载</el-button>
|
|
|
+">File Download</el-button>
|
|
|
<el-button v-if="tool.toolData[tool.sourceIndex].type == 8" type="primary"
|
|
|
- @click="openLine(tool.toolData[tool.sourceIndex].src)">打开链接
|
|
|
+ @click="openLine(tool.toolData[tool.sourceIndex].src)">Open Link
|
|
|
</el-button>
|
|
|
<el-button v-if="tool.toolData[tool.sourceIndex].type == 6" type="primary" @click="
|
|
|
checkFileFull(
|
|
|
tool.toolData[tool.sourceIndex].type,
|
|
|
tool.toolData[tool.sourceIndex]
|
|
|
)
|
|
|
- ">全屏查看</el-button>
|
|
|
+ ">Full Screen View</el-button>
|
|
|
<!-- <el-button type="primary" @click="editSourceUpadte(itemTaskIndex, toolIndex)">资源编辑</el-button> -->
|
|
|
</div>
|
|
|
</div>
|
|
@@ -630,7 +630,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="pButton" @click="(pzDialog = true), selectPz(), setVHeight()" v-if="tType == 4 || ispzType == 4">
|
|
|
- <!-- 批 -->
|
|
|
+ <!-- Get -->
|
|
|
<img src="../../assets/pzBtn2.png" style="width: 25px" alt="" />
|
|
|
</div>
|
|
|
<div v-if="pzDialog == true" class="newDialogCss">
|
|
@@ -640,7 +640,7 @@
|
|
|
<img src="../assets/close1.png" alt="" />
|
|
|
</div> -->
|
|
|
<div class="checkbox">
|
|
|
- <div class="check" style="font-size: 25px">评论</div>
|
|
|
+ <div class="check" style="font-size: 25px">Comment</div>
|
|
|
<img src="../../assets/pzBtn.png" @click="(pzDialog = false), setVHeight()" alt="" />
|
|
|
</div>
|
|
|
</div>
|
|
@@ -648,16 +648,16 @@
|
|
|
<div class="pzListBox" v-if="pzList && pzList.length">
|
|
|
<div class="pzList" v-for="(pz, pzIndex) in pzList" :key="pzIndex">
|
|
|
<div class="pzNavTop">
|
|
|
- <div>批</div>
|
|
|
+ <div>Get</div>
|
|
|
<div>
|
|
|
{{
|
|
|
pz.username && pz.username.length > 5
|
|
|
? pz.username.substring(0, 5) + "..."
|
|
|
: pz.username
|
|
|
- }}的批注
|
|
|
+ }}Annotation
|
|
|
</div>
|
|
|
<div class="pzDelete" v-if="pz.userid == userid" @click="deletePz(pz.id)">
|
|
|
- 删除
|
|
|
+ Delete
|
|
|
</div>
|
|
|
</div>
|
|
|
<div @click="checkImg(getImgList(pz.content))" class="pzContent cont" v-html="pz.content" v-if="pz.type == '1'"></div>
|
|
@@ -679,18 +679,18 @@
|
|
|
</div>
|
|
|
<div class="addPzButton">
|
|
|
<div class="addPz" @click="(addPzDialog = true), (pzType = 1)">
|
|
|
- 添加批注
|
|
|
+ Add Annotation
|
|
|
</div>
|
|
|
<!-- <div class="img1">
|
|
|
<div @click="(addPzDialog = true), (pzType = 2)">
|
|
|
- <img src="../../assets/audio.png" /><span>音频</span>
|
|
|
+ <img src="../../assets/audio.png" /><span>Audio</span>
|
|
|
</div>
|
|
|
</div> -->
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="pButton" @click="(psDialog = true), setVHeight()" v-if="tType == 5">
|
|
|
- <!-- 批 -->
|
|
|
+ <!-- Get -->
|
|
|
<img src="../../assets/pzBtn2.png" style="width: 25px" alt="" />
|
|
|
</div>
|
|
|
<div v-if="psDialog == true" class="newDialogCss">
|
|
@@ -700,31 +700,31 @@
|
|
|
<img src="../assets/close1.png" alt="" />
|
|
|
</div> -->
|
|
|
<div class="checkbox">
|
|
|
- <div class="check" style="font-size: 25px">评审区域</div>
|
|
|
+ <div class="check" style="font-size: 25px">Review Area</div>
|
|
|
<img src="../../assets/pzBtn.png" @click="(psDialog = false), setVHeight()" alt="" />
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="pzBox">
|
|
|
<div class="addPzButton">
|
|
|
<div class="psTypeBox">
|
|
|
- <!-- 1 造型结构 2 开源硬件 3 软件设计 4 总分 -->
|
|
|
- <span :class="{active:psType==1}" @click="psType = 1">造型结构</span>
|
|
|
- <span :class="{active:psType==2}" @click="psType = 2">开源硬件</span>
|
|
|
- <span :class="{active:psType==3}" @click="psType = 3">软件设计</span>
|
|
|
- <span :class="{active:psType==4}" @click="psType = 4">总分</span>
|
|
|
+ <!-- 1 Structural Design 2 Open Source Hardware 3 Software Design 4 Total Score -->
|
|
|
+ <span :class="{active:psType==1}" @click="psType = 1">Structural Design</span>
|
|
|
+ <span :class="{active:psType==2}" @click="psType = 2">Open Source Hardware</span>
|
|
|
+ <span :class="{active:psType==3}" @click="psType = 3">Software Design</span>
|
|
|
+ <span :class="{active:psType==4}" @click="psType = 4">Total Score</span>
|
|
|
</div>
|
|
|
<div class="psBox" v-if="psType == '1'">
|
|
|
- <div><span>创新性(10分)</span><el-input-number class="number" @change="updateRight(psJson,'cxx')" v-model="psJson.cxx" :controls="false" :min="0"
|
|
|
+ <div><span>Innovation (10 points)</span><el-input-number class="number" @change="updateRight(psJson,'cxx')" v-model="psJson.cxx" :controls="false" :min="0"
|
|
|
:max="10"></el-input-number></div>
|
|
|
- <div><span>艺术审美(45分)</span><el-input-number class="number" @change="updateRight(psJson,'yssm')" v-model="psJson.yssm" :controls="false" :min="0"
|
|
|
+ <div><span>Artistic Aesthetics (45 points)</span><el-input-number class="number" @change="updateRight(psJson,'yssm')" v-model="psJson.yssm" :controls="false" :min="0"
|
|
|
:max="40"></el-input-number></div>
|
|
|
- <div><span>技术与功能(25分)</span><el-input-number class="number" @change="updateRight(psJson,'jsygn')" v-model="psJson.jsygn" :controls="false" :min="0"
|
|
|
+ <div><span>Technology & Functionality (25 points)</span><el-input-number class="number" @change="updateRight(psJson,'jsygn')" v-model="psJson.jsygn" :controls="false" :min="0"
|
|
|
:max="20"></el-input-number></div>
|
|
|
- <div><span>科学调研(10分)</span><el-input-number class="number" @change="updateRight(psJson,'kxdy')" v-model="psJson.kxdy" :controls="false" :min="0"
|
|
|
+ <div><span>Scientific Research (10 points)</span><el-input-number class="number" @change="updateRight(psJson,'kxdy')" v-model="psJson.kxdy" :controls="false" :min="0"
|
|
|
:max="10"></el-input-number></div>
|
|
|
- <div><span>作品完成度(10分)</span><el-input-number class="number" @change="updateRight(psJson,'zpwcd')" v-model="psJson.zpwcd" :controls="false"
|
|
|
+ <div><span>Completion Degree of the Work (10 points)</span><el-input-number class="number" @change="updateRight(psJson,'zpwcd')" v-model="psJson.zpwcd" :controls="false"
|
|
|
:min="0" :max="10"></el-input-number></div>
|
|
|
- <div style="border-top: 1px solid #eee;padding-top: 10px;"><span>总分</span><span class="number"
|
|
|
+ <div style="border-top: 1px solid #eee;padding-top: 10px;"><span>Total Score</span><span class="number"
|
|
|
style="font-size: 35px;color: #4b79ce;">{{ psJson.cxx + psJson.yssm + psJson.jsygn + psJson.kxdy +
|
|
|
psJson.zpwcd }}</span></div>
|
|
|
</div>
|
|
@@ -739,31 +739,31 @@
|
|
|
:max="15"></el-input-number></div>
|
|
|
<div><span>作品完成度(25分)</span><el-input-number class="number" @change="updateRight(psJson2,'zpwcd')" v-model="psJson2.zpwcd" :controls="false"
|
|
|
:min="0" :max="25"></el-input-number></div>
|
|
|
- <div style="border-top: 1px solid #eee;padding-top: 10px;"><span>总分</span><span class="number"
|
|
|
+ <div style="border-top: 1px solid #eee;padding-top: 10px;"><span>Total Score</span><span class="number"
|
|
|
style="font-size: 35px;color: #4b79ce;">{{ psJson2.cxx + psJson2.yssm + psJson2.jsygn + psJson2.kxdd +
|
|
|
psJson2.zpwcd }}</span></div>
|
|
|
</div>
|
|
|
<div class="psBox" v-if="psType == '3'">
|
|
|
- <div><span>创新性(30分)</span><el-input-number class="number" @change="updateRight(psJson3,'cxx')" v-model="psJson3.cxx" :controls="false" :min="0"
|
|
|
+ <div><span>Innovation (30 points)</span><el-input-number class="number" @change="updateRight(psJson3,'cxx')" v-model="psJson3.cxx" :controls="false" :min="0"
|
|
|
:max="30"></el-input-number></div>
|
|
|
- <div><span>艺术审美(20分)</span><el-input-number class="number" @change="updateRight(psJson3,'yssm')" v-model="psJson3.yssm" :controls="false" :min="0"
|
|
|
+ <div><span>Artistic Aesthetics (20 points)</span><el-input-number class="number" @change="updateRight(psJson3,'yssm')" v-model="psJson3.yssm" :controls="false" :min="0"
|
|
|
:max="20"></el-input-number></div>
|
|
|
- <div><span>技术与功能(30分)</span><el-input-number class="number" @change="updateRight(psJson3,'jsygn')" v-model="psJson3.jsygn" :controls="false" :min="0"
|
|
|
+ <div><span>Technology & Functionality (30 points)</span><el-input-number class="number" @change="updateRight(psJson3,'jsygn')" v-model="psJson3.jsygn" :controls="false" :min="0"
|
|
|
:max="30"></el-input-number></div>
|
|
|
- <div><span>科学调度(10分)</span><el-input-number class="number" @change="updateRight(psJson3,'kxdd')" v-model="psJson3.kxdd" :controls="false" :min="0"
|
|
|
+ <div><span>Scientific Research (10 points)</span><el-input-number class="number" @change="updateRight(psJson3,'kxdd')" v-model="psJson3.kxdd" :controls="false" :min="0"
|
|
|
:max="10"></el-input-number></div>
|
|
|
- <div><span>作品完成度(10分)</span><el-input-number class="number" @change="updateRight(psJson3,'zpwcd')" v-model="psJson3.zpwcd" :controls="false"
|
|
|
+ <div><span>Completion Degree of the Work (10 points)</span><el-input-number class="number" @change="updateRight(psJson3,'zpwcd')" v-model="psJson3.zpwcd" :controls="false"
|
|
|
:min="0" :max="10"></el-input-number></div>
|
|
|
- <div style="border-top: 1px solid #eee;padding-top: 10px;"><span>总分</span><span class="number"
|
|
|
+ <div style="border-top: 1px solid #eee;padding-top: 10px;"><span>Total Score</span><span class="number"
|
|
|
style="font-size: 35px;color: #4b79ce;">{{ psJson3.cxx + psJson3.yssm + psJson3.jsygn + psJson3.kxdd +
|
|
|
psJson3.zpwcd }}</span></div>
|
|
|
</div>
|
|
|
<div class="psBox" v-if="psType == '4'">
|
|
|
- <div><span>总分(100分)</span><el-input-number class="number" @change="updateRight(psJson4,'z')" v-model="psJson4.z" :controls="false" :min="0"
|
|
|
+ <div><span>Total Score (100 points)</span><el-input-number class="number" @change="updateRight(psJson4,'z')" v-model="psJson4.z" :controls="false" :min="0"
|
|
|
:max="100"></el-input-number></div>
|
|
|
</div>
|
|
|
<div class="addPz" @click="addPs()">
|
|
|
- 保存评分
|
|
|
+ Save Rating
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -774,7 +774,7 @@
|
|
|
<div class="teacherPzImg">
|
|
|
<img src="../../assets/icon/teacherPz.png" alt="" />
|
|
|
</div>
|
|
|
- <div style="margin-left: 10px; height: 25px">教师批注</div>
|
|
|
+ <div style="margin-left: 10px; height: 25px">Teacher's Annotation</div>
|
|
|
</div>
|
|
|
<div @click="addPzDialog = false">
|
|
|
<img src="../../assets/close1.png" alt="" />
|
|
@@ -782,23 +782,23 @@
|
|
|
</div>
|
|
|
<div class="addPzBox">
|
|
|
<div class="addPzCheck">
|
|
|
- <span :class="{ isChooseActive: pzType == 1 }" @click="pzType = 1">文本</span>
|
|
|
- <span :class="{ isChooseActive: pzType == 2 }" @click="pzType = 2">音频</span>
|
|
|
+ <span :class="{ isChooseActive: pzType == 1 }" @click="pzType = 1">Text</span>
|
|
|
+ <span :class="{ isChooseActive: pzType == 2 }" @click="pzType = 2">Audio</span>
|
|
|
</div>
|
|
|
<div style="height: calc(100% - 95px)">
|
|
|
- <editor-bar class="binfo_input pzConText" style="width: 100% !important" placeholder="请输入任务描述"
|
|
|
+ <editor-bar class="binfo_input pzConText" style="width: 100% !important" placeholder="Please enter a task description"
|
|
|
v-model="pzConText" @change="change" v-if="pzType == 1"></editor-bar>
|
|
|
<Audio @addPz="addPz" class="pzAudioClass" v-if="pzType == 2"></Audio>
|
|
|
</div>
|
|
|
<div class="addTextCss" @click="addPz('1')" v-if="pzType == 1">
|
|
|
- 确定
|
|
|
+ Confirm
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <el-dialog title="查看文档" :visible.sync="fullDialogVisible" :append-to-body="true" width="100%"
|
|
|
+ <el-dialog title="View Document" :visible.sync="fullDialogVisible" :append-to-body="true" width="100%"
|
|
|
:before-close="handleClose" :show-close="false" class="dialog_diy full_diy" :class="{ full_diy2: fulltype == 9 }">
|
|
|
<div slot="title" class="header-title">
|
|
|
- <div style="color: #fff">查看文档</div>
|
|
|
+ <div style="color: #fff">View Document</div>
|
|
|
<div @click="fullDialogVisible = false" style="
|
|
|
cursor: pointer;
|
|
|
position: absolute;
|
|
@@ -806,7 +806,7 @@
|
|
|
right: 20px;
|
|
|
color: #fff;
|
|
|
">
|
|
|
- 退出全屏
|
|
|
+ Exit Full Screen
|
|
|
</div>
|
|
|
</div>
|
|
|
<div style="height: 100%">
|
|
@@ -818,7 +818,7 @@
|
|
|
background: #f1f1f1;
|
|
|
">
|
|
|
<div class="title" style="width: 100%; box-sizing: border-box">
|
|
|
- 查看文档
|
|
|
+ View Document
|
|
|
</div>
|
|
|
<el-form class="textBox" style="height: 90%">
|
|
|
<el-form-item class="textTitle">
|
|
@@ -832,22 +832,22 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- <div slot="footer">
|
|
|
- <el-button @click="fullDialogVisible = false">关 闭</el-button>
|
|
|
+ <el-button @click="fullDialogVisible = false">Close</el-button>
|
|
|
</div> -->
|
|
|
</el-dialog>
|
|
|
- <el-dialog title="表格" :visible.sync="dialogVisibleTable2" :append-to-body="true" width="95%"
|
|
|
+ <el-dialog title="Spreadsheet" :visible.sync="dialogVisibleTable2" :append-to-body="true" width="95%"
|
|
|
:before-close="handleClose" class="dialog_diy">
|
|
|
<el-form>
|
|
|
<div class="cont" v-html="tableJson.text" style="line-height: 24px"></div>
|
|
|
</el-form>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
- <el-button @click="dialogVisibleTable2 = false">关 闭</el-button>
|
|
|
+ <el-button @click="dialogVisibleTable2 = false">Close</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
- <el-dialog title="文件预览" :visible.sync="dialogVisible3" width="50%" :before-close="handleClose" class="dialog_diy"
|
|
|
+ <el-dialog title="File Preview" :visible.sync="dialogVisible3" width="50%" :before-close="handleClose" class="dialog_diy"
|
|
|
:class="{ fullStyle: full }">
|
|
|
<div slot="title" class="header-title">
|
|
|
- <div style="color: #fff">文件预览</div>
|
|
|
+ <div style="color: #fff">File Preview</div>
|
|
|
<div style="position: absolute; top: 19px; right: 50px">
|
|
|
<img src="../../assets/full.png" style="height: 16px; cursor: pointer" alt="" @click="fullTools" />
|
|
|
</div>
|
|
@@ -856,16 +856,16 @@
|
|
|
:class="{ fullStyle: full }"></pdf>
|
|
|
<iframe v-else :src="pptImgUrl" frameborder="0" width="100%" height="600" :class="{ fullStyle: full }"></iframe>
|
|
|
</el-dialog>
|
|
|
- <el-dialog title="查看文档" :visible.sync="dialogVisibleText2" :append-to-body="true" width="800px"
|
|
|
+ <el-dialog title="View Document" :visible.sync="dialogVisibleText2" :append-to-body="true" width="800px"
|
|
|
:before-close="handleClose" class="dialog_diy">
|
|
|
<el-form>
|
|
|
<div class="cont" v-html="tableJson.text" style="line-height: 24px"></div>
|
|
|
</el-form>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
- <el-button @click="dialogVisibleText2 = false">关 闭</el-button>
|
|
|
+ <el-button @click="dialogVisibleText2 = false">Close</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
- <el-dialog title="查看视频" :visible.sync="videoVisible" :append-to-body="true" width="1000px" :before-close="handleClose"
|
|
|
+ <el-dialog title="View Video" :visible.sync="videoVisible" :append-to-body="true" width="1000px" :before-close="handleClose"
|
|
|
class="dialog_diy1">
|
|
|
<div class="workd_media" style="height: 100%" v-if="videoDetail.sources">
|
|
|
<video-player class="video-player vjs-custom-skin" :playsinline="true" :options="videoDetail"
|
|
@@ -873,7 +873,7 @@
|
|
|
</div>
|
|
|
<div slot="footer">
|
|
|
<el-button style="background: #409efe; color: #fff" @click="(videoVisible = false), (videoDetail = {})">
|
|
|
- 关 闭</el-button>
|
|
|
+ Close</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
<el-dialog title="查看投票" :visible.sync="dialogVisible5" :append-to-body="true" width="1000px"
|
|
@@ -885,11 +885,11 @@
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
">
|
|
|
- <div style="margin-right: 20px; font-size: 20px">投票标题:</div>
|
|
|
+ <div style="margin-right: 20px; font-size: 20px">Poll Title:</div>
|
|
|
<div style="font-size: 20px">{{ askJson.askTitle }}</div>
|
|
|
</div>
|
|
|
<div class="a_addBox">
|
|
|
- <div style="font-size: 16px; color: #c7c7c7">投票内容</div>
|
|
|
+ <div style="font-size: 16px; color: #c7c7c7">Voting Content</div>
|
|
|
<div class="a_add_box" v-for="(item1, index1) in askJson.askCount" :key="index1">
|
|
|
<div class="a_add_head">
|
|
|
<div style="display: flex">
|
|
@@ -912,7 +912,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
- <el-button @click="dialogVisible5 = false">关 闭</el-button>
|
|
|
+ <el-button @click="dialogVisible5 = false">Close</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
</div>
|
|
@@ -1024,9 +1024,9 @@ export default {
|
|
|
PlTextList: [
|
|
|
"Excellent!",
|
|
|
"nice!",
|
|
|
- "很有创意!",
|
|
|
- "还不错哦~",
|
|
|
- "继续努力哦~",
|
|
|
+ "Very creative!",
|
|
|
+ "Not bad~",
|
|
|
+ "Keep up the effort~",
|
|
|
],
|
|
|
isClickNav: "",
|
|
|
navId: "",
|
|
@@ -1047,7 +1047,7 @@ export default {
|
|
|
],
|
|
|
// poster: require("../../../../assets/tu31.png"), //你的封面地址
|
|
|
// poster: dataRes.imgUrl, //你的封面地址
|
|
|
- notSupportedMessage: "此视频暂无法播放,请稍后再试", //允许覆盖Video.js无法播放媒体源时显示的默认信息。
|
|
|
+ notSupportedMessage: "This video is currently unavailable, please try again later", //允许覆盖Video.js无法播放媒体源时显示的默认信息。
|
|
|
controlBar: {
|
|
|
timeDivider: true, //当前时间和持续时间的分隔符
|
|
|
durationDisplay: true, //显示持续时间
|
|
@@ -1072,7 +1072,7 @@ export default {
|
|
|
],
|
|
|
// poster: require("../../../../assets/tu31.png"), //你的封面地址
|
|
|
// poster: dataRes.imgUrl, //你的封面地址
|
|
|
- notSupportedMessage: "此视频暂无法播放,请稍后再试", //允许覆盖Video.js无法播放媒体源时显示的默认信息。
|
|
|
+ notSupportedMessage: "This video is currently unavailable, please try again later", //允许覆盖Video.js无法播放媒体源时显示的默认信息。
|
|
|
controlBar: {
|
|
|
timeDivider: true, //当前时间和持续时间的分隔符
|
|
|
durationDisplay: true, //显示持续时间
|
|
@@ -1296,7 +1296,7 @@ export default {
|
|
|
.post(this.$store.state.api + "addCourseWorks", params)
|
|
|
.then((res) => {
|
|
|
this.$message({
|
|
|
- message: "提交成功",
|
|
|
+ message: "Submission Successful",
|
|
|
type: "success",
|
|
|
});
|
|
|
this.dialogVisibleSelect = false;
|
|
@@ -1305,13 +1305,13 @@ export default {
|
|
|
this.selectStudent();
|
|
|
})
|
|
|
.catch((err) => {
|
|
|
- this.$message.error("提交失败");
|
|
|
+ this.$message.error("Submission Failed");
|
|
|
console.error(err);
|
|
|
});
|
|
|
},
|
|
|
addPz(type, content) {
|
|
|
if (type == "1" && this.pzConText == "") {
|
|
|
- this.$message.error("批注不能为空!");
|
|
|
+ this.$message.error("Annotation can't be empty!");
|
|
|
return;
|
|
|
}
|
|
|
let params = [
|
|
@@ -1328,7 +1328,7 @@ export default {
|
|
|
.post(this.$store.state.api + "addPz2", params)
|
|
|
.then((res) => {
|
|
|
this.$message({
|
|
|
- message: "添加成功",
|
|
|
+ message: "Addition Successful",
|
|
|
type: "success",
|
|
|
});
|
|
|
this.pzConText = "";
|
|
@@ -1336,14 +1336,14 @@ export default {
|
|
|
this.selectPz();
|
|
|
})
|
|
|
.catch((err) => {
|
|
|
- this.$message.error("添加失败");
|
|
|
+ this.$message.error("Addition Failed");
|
|
|
console.error(err);
|
|
|
});
|
|
|
},
|
|
|
deletePz(id) {
|
|
|
- this.$confirm("确定删除此批注吗?", "提示", {
|
|
|
- confirmButtonText: "确定",
|
|
|
- cancelButtonText: "取消",
|
|
|
+ this.$confirm("Are you sure you want to delete this annotation?", "Tip", {
|
|
|
+ confirmButtonText: "Confirm",
|
|
|
+ cancelButtonText: "Cancel",
|
|
|
type: "warning",
|
|
|
})
|
|
|
.then(() => {
|
|
@@ -1356,13 +1356,13 @@ export default {
|
|
|
.post(this.$store.state.api + "deletePz", params)
|
|
|
.then((res) => {
|
|
|
this.$message({
|
|
|
- message: "删除成功",
|
|
|
+ message: "Deletion Successful",
|
|
|
type: "success",
|
|
|
});
|
|
|
this.selectPz();
|
|
|
})
|
|
|
.catch((err) => {
|
|
|
- this.$message.error("网络异常");
|
|
|
+ this.$message.error("Network Exception");
|
|
|
console.error(err);
|
|
|
});
|
|
|
})
|
|
@@ -1429,7 +1429,7 @@ export default {
|
|
|
.post(this.$store.state.api + "reviewCourse", params)
|
|
|
.then((res) => {
|
|
|
if (res.data) {
|
|
|
- this.$message.success('保存成功')
|
|
|
+ this.$message.success('Save Successful')
|
|
|
}
|
|
|
})
|
|
|
.catch((err) => {
|
|
@@ -1464,9 +1464,9 @@ export default {
|
|
|
!this.navList[b].task[this.navList[b].task.length - 1].isLook
|
|
|
) {
|
|
|
if (this.courseDetail.userid != this.userid) {
|
|
|
- this.$message.error("任务未解锁");
|
|
|
+ this.$message.error("Task Not Unlocked");
|
|
|
} else {
|
|
|
- this.$message.error("上一任务未解锁");
|
|
|
+ this.$message.error("Previous Task Not Unlocked");
|
|
|
}
|
|
|
return;
|
|
|
}
|
|
@@ -1511,7 +1511,7 @@ export default {
|
|
|
this.courseDetail.userid != this.userid &&
|
|
|
this.IsLookOpen
|
|
|
) {
|
|
|
- this.$message.error("任务未解锁");
|
|
|
+ this.$message.error("Task Not Unlocked");
|
|
|
return;
|
|
|
}
|
|
|
this.taskCount++;
|
|
@@ -1534,7 +1534,7 @@ export default {
|
|
|
this.courseDetail.userid != this.userid &&
|
|
|
this.IsLookOpen
|
|
|
) {
|
|
|
- this.$message.error("任务未解锁");
|
|
|
+ this.$message.error("Task Not Unlocked");
|
|
|
return;
|
|
|
}
|
|
|
this.navList[this.courseType].isOpen = false;
|
|
@@ -1549,7 +1549,7 @@ export default {
|
|
|
this.courseDetail.userid != this.userid &&
|
|
|
this.IsLookOpen
|
|
|
) {
|
|
|
- this.$message.error("任务未解锁");
|
|
|
+ this.$message.error("Task Not Unlocked");
|
|
|
return;
|
|
|
}
|
|
|
this.taskCount++;
|
|
@@ -1587,7 +1587,7 @@ export default {
|
|
|
!this.chapInfoList[s].chapterInfo[0].taskJson[n].isLook &&
|
|
|
this.courseDetail.userid != this.userid
|
|
|
) {
|
|
|
- this.$message.error("任务未解锁");
|
|
|
+ this.$message.error("Task Not Unlocked");
|
|
|
return;
|
|
|
}
|
|
|
if (this.courseType == s && this.taskCount != n && n > this.taskCount) {
|
|
@@ -1595,13 +1595,13 @@ export default {
|
|
|
!this.chapInfoList[this.courseType].chapterInfo[0].taskJson[n - 1]
|
|
|
.isLook
|
|
|
) {
|
|
|
- this.$message.error("上一任务未解锁");
|
|
|
+ this.$message.error("Previous Task Not Unlocked");
|
|
|
return;
|
|
|
}
|
|
|
} else if (s > this.courseType) {
|
|
|
if (n > 0) {
|
|
|
if (!this.chapInfoList[s].chapterInfo[0].taskJson[n - 1].isLook) {
|
|
|
- this.$message.error("上一任务未解锁");
|
|
|
+ this.$message.error("Previous Task Not Unlocked");
|
|
|
return;
|
|
|
}
|
|
|
} else {
|
|
@@ -1610,7 +1610,7 @@ export default {
|
|
|
this.chapInfoList[s - 1].chapterInfo[0].taskJson.length - 1
|
|
|
].isLook
|
|
|
) {
|
|
|
- this.$message.error("上一任务未解锁");
|
|
|
+ this.$message.error("Previous Task Not Unlocked");
|
|
|
return;
|
|
|
}
|
|
|
}
|
|
@@ -1762,21 +1762,21 @@ export default {
|
|
|
_work.atool == _tool.tool
|
|
|
) {
|
|
|
if (_tool.tool == 1) {
|
|
|
- _work.workContent = `${_work.username}使用电子白板提交了:`;
|
|
|
+ _work.workContent = `${_work.username}Submitted via Digital Whiteboard:`;
|
|
|
} else if (_tool.tool == 3) {
|
|
|
- _work.workContent = `${_work.username}使用思维导图提交了:`;
|
|
|
+ _work.workContent = `${_work.username}Submitted via Mind Map:`;
|
|
|
} else if (_tool.tool == 6) {
|
|
|
- _work.workContent = `${_work.username}使用协同文档提交了:`;
|
|
|
+ _work.workContent = `${_work.username} Submitted via Collaborative Document:`;
|
|
|
} else if (_tool.tool == 15) {
|
|
|
- _work.workContent = `${_work.username}使用问答工具提交了:`;
|
|
|
+ _work.workContent = `${_work.username}Submitted via Q&A Tool:`;
|
|
|
} else if (_tool.tool == 53) {
|
|
|
- _work.workContent = `${_work.username}使用文件上传提交了:`;
|
|
|
+ _work.workContent = `${_work.username}Submitted via File Upload:`;
|
|
|
} else if (_tool.tool == 54) {
|
|
|
- _work.workContent = `${_work.username}使用拍照提交了:`;
|
|
|
+ _work.workContent = `${_work.username}Submitted via Photograph:`;
|
|
|
} else if (_tool.tool == 55) {
|
|
|
- _work.workContent = `${_work.username}使用文件提交了:`;
|
|
|
+ _work.workContent = `${_work.username}Submitted via File:`;
|
|
|
} else if (_tool.tool == 56) {
|
|
|
- _work.workContent = `${_work.username}使用投票提交了:`;
|
|
|
+ _work.workContent = `${_work.username}Submitted via Vote:`;
|
|
|
checkPeople++;
|
|
|
var checkL = JSON.parse(_work.content);
|
|
|
for (var kz = 0; kz < checkL.length; kz++) {
|
|
@@ -1828,12 +1828,12 @@ export default {
|
|
|
_tool.toolPhoto.length &&
|
|
|
(_tool.toolPhoto[0].workContent = `${_tool.people.join(
|
|
|
","
|
|
|
- )}使用表格提交了:`);
|
|
|
+ )}Submitted via Spreadsheet:`);
|
|
|
} else if (_tool.tool == 52) {
|
|
|
_tool.toolPhoto.length &&
|
|
|
(_tool.toolPhoto[0].workContent = `${_tool.people.join(
|
|
|
","
|
|
|
- )}使用文档提交了:`);
|
|
|
+ )}Submitted via Document:`);
|
|
|
}
|
|
|
|
|
|
for (var kz = 0; kz < this.checkJson[z].length; kz++) {
|
|
@@ -1888,22 +1888,22 @@ export default {
|
|
|
_work.atool == _tool.tool
|
|
|
) {
|
|
|
if (_tool.tool == 1) {
|
|
|
- _work.workContent = `${_work.username}使用电子白板提交了:`;
|
|
|
+ _work.workContent = `${_work.username}Submitted via Digital Whiteboard:`;
|
|
|
} else if (_tool.tool == 3) {
|
|
|
- _work.workContent = `${_work.username}使用思维导图提交了:`;
|
|
|
+ _work.workContent = `${_work.username}Submitted via Mind Map:`;
|
|
|
} else if (_tool.tool == 6) {
|
|
|
- _work.workContent = `${_work.username}使用协同文档提交了:`;
|
|
|
+ _work.workContent = `${_work.username} Submitted via Collaborative Document:`;
|
|
|
} else if (_tool.tool == 15) {
|
|
|
- _work.workContent = `${_work.username}使用问答工具提交了:`;
|
|
|
+ _work.workContent = `${_work.username}Submitted via Q&A Tool:`;
|
|
|
} else if (_tool.tool == 53) {
|
|
|
- _work.workContent = `${_work.username}使用文件上传提交了:`;
|
|
|
+ _work.workContent = `${_work.username}Submitted via File Upload:`;
|
|
|
} else if (_tool.tool == 54) {
|
|
|
- _work.workContent = `${_work.username}使用拍照提交了:`;
|
|
|
+ _work.workContent = `${_work.username}Submitted via Photograph:`;
|
|
|
} else if (_tool.tool == 55) {
|
|
|
- _work.workContent = `${_work.username}使用文件提交了:`;
|
|
|
+ _work.workContent = `${_work.username}Submitted via File:`;
|
|
|
} else if (_tool.tool == 56) {
|
|
|
console.log(_tool);
|
|
|
- _work.workContent = `${_work.username}使用投票提交了:`;
|
|
|
+ _work.workContent = `${_work.username}Submitted via Vote:`;
|
|
|
checkPeople++;
|
|
|
var checkL = JSON.parse(_work.content);
|
|
|
for (var kz = 0; kz < checkL.length; kz++) {
|
|
@@ -1956,12 +1956,12 @@ export default {
|
|
|
_tool.toolPhoto.length &&
|
|
|
(_tool.toolPhoto[0].workContent = `${_tool.people.join(
|
|
|
","
|
|
|
- )}使用表格提交了:`);
|
|
|
+ )}Submitted via Spreadsheet:`);
|
|
|
} else if (_tool.tool == 52) {
|
|
|
_tool.toolPhoto.length &&
|
|
|
(_tool.toolPhoto[0].workContent = `${_tool.people.join(
|
|
|
","
|
|
|
- )}使用文档提交了:`);
|
|
|
+ )}Submitted via Document:`);
|
|
|
}
|
|
|
for (var kz = 0; kz < this.checkJson[z].length; kz++) {
|
|
|
this.checkJson[z][kz].checkPerent = [];
|
|
@@ -2016,12 +2016,12 @@ export default {
|
|
|
.then((res) => {
|
|
|
if (this.sIsOpen == true) {
|
|
|
this.$message({
|
|
|
- message: "权限设置成功",
|
|
|
+ message: "Permission settings successful",
|
|
|
type: "success",
|
|
|
});
|
|
|
} else {
|
|
|
this.$message({
|
|
|
- message: "权限关闭成功",
|
|
|
+ message: "Permission closure successful",
|
|
|
type: "success",
|
|
|
});
|
|
|
}
|
|
@@ -2045,12 +2045,12 @@ export default {
|
|
|
// this.openTask(0, 0, "0-0");
|
|
|
// }
|
|
|
this.$message({
|
|
|
- message: "权限设置成功",
|
|
|
+ message: "Permission settings successful",
|
|
|
type: "success",
|
|
|
});
|
|
|
} else {
|
|
|
this.$message({
|
|
|
- message: "权限关闭成功",
|
|
|
+ message: "Permission closure successful",
|
|
|
type: "success",
|
|
|
});
|
|
|
}
|