|
@@ -1397,6 +1397,10 @@
|
|
<div class="Ovh">
|
|
<div class="Ovh">
|
|
{{tool.appJson && tool.appJson.name ? tool.appJson.name : '应用中心'}}
|
|
{{tool.appJson && tool.appJson.name ? tool.appJson.name : '应用中心'}}
|
|
</div>
|
|
</div>
|
|
|
|
+ <div class="upload_toolBtn" @click="openChoseWorksDetailDialog(tooC,toolIndex,taskCount,72)"
|
|
|
|
+ style="position: absolute;right: 33px;top: -30px;">
|
|
|
|
+ 投影
|
|
|
|
+ </div>
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
</div>
|
|
</div>
|
|
<div v-if="tooC == 65">
|
|
<div v-if="tooC == 65">
|
|
@@ -3626,6 +3630,282 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div
|
|
|
|
+ v-if="
|
|
|
|
+ tType &&
|
|
|
|
+ ((tType == 2 && sIsOpen == true) ||
|
|
|
|
+ tType == 1 ||
|
|
|
|
+ tType == 4) &&
|
|
|
|
+ tool.tool.indexOf(72) != -1
|
|
|
|
+ "
|
|
|
|
+ class="worksBox"
|
|
|
|
+ >
|
|
|
|
+ <div
|
|
|
|
+ class="zuoyeYulan"
|
|
|
|
+ v-if="
|
|
|
|
+ worksStudent.length &&
|
|
|
|
+ worksStudent[toolIndex].length > 0
|
|
|
|
+ "
|
|
|
|
+ >
|
|
|
|
+ <div class="worksTop">
|
|
|
|
+ <div>作业预览</div>
|
|
|
|
+ <div
|
|
|
|
+ class="corOpen"
|
|
|
|
+ @click="contract(toolIndex)"
|
|
|
|
+ v-if="
|
|
|
|
+ isCloseList[toolIndex].isCloseBoolean &&
|
|
|
|
+ isCloseList[toolIndex].isClose == 0
|
|
|
|
+ "
|
|
|
|
+ >
|
|
|
|
+ 折叠
|
|
|
|
+ </div>
|
|
|
|
+ <div
|
|
|
|
+ class="corOpen"
|
|
|
|
+ @click="contract(toolIndex)"
|
|
|
|
+ v-if="isCloseList[toolIndex].isClose == 1"
|
|
|
|
+ >
|
|
|
|
+ 展开
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div
|
|
|
|
+ :id="'tool-' + toolIndex"
|
|
|
|
+ :style="{
|
|
|
|
+ height:
|
|
|
|
+ isCloseList[toolIndex].isClose == 1
|
|
|
|
+ ? retrnToolHeight('tool-' + toolIndex)
|
|
|
|
+ : 'auto',
|
|
|
|
+ overflow:
|
|
|
|
+ isCloseList[toolIndex].isClose == 1
|
|
|
|
+ ? 'hidden'
|
|
|
|
+ : 'unset'
|
|
|
|
+ }"
|
|
|
|
+ class="worksDetailBox"
|
|
|
|
+ v-if="
|
|
|
|
+ worksStudent.length &&
|
|
|
|
+ worksStudent[toolIndex].length > 0
|
|
|
|
+ "
|
|
|
|
+ >
|
|
|
|
+ <div
|
|
|
|
+ class="works"
|
|
|
|
+ style="
|
|
|
|
+ width: 200px;
|
|
|
|
+ height: 140px;
|
|
|
|
+ margin: 10px 10px 10px 0;
|
|
|
|
+ border-radius: 15px;
|
|
|
|
+ box-shadow: 0 0 6px 1px #dfdada;
|
|
|
|
+ "
|
|
|
|
+ v-for="(w, wIndex) in worksStudent[toolIndex]"
|
|
|
|
+ :key="wIndex"
|
|
|
|
+ :class="w.type == 1 ? 'isTypeOne' : ''"
|
|
|
|
+ >
|
|
|
|
+ <div class="workImg">
|
|
|
|
+ <!-- <img
|
|
|
|
+ :src="word2"
|
|
|
|
+ @click="downloadFile(w.works)"
|
|
|
|
+ v-if="w.type == 12"
|
|
|
|
+ alt
|
|
|
|
+ /> -->
|
|
|
|
+ <img
|
|
|
|
+ :src="word2"
|
|
|
|
+ @click="
|
|
|
|
+ openCocoFlow(w)
|
|
|
|
+ "
|
|
|
|
+ alt
|
|
|
|
+ />
|
|
|
|
+ <div
|
|
|
|
+ class="answerScore"
|
|
|
|
+ v-if="w.score"
|
|
|
|
+ @click.stop="openScore(w)"
|
|
|
|
+ :class="{
|
|
|
|
+ rightW:
|
|
|
|
+ w.userid == userid ||
|
|
|
|
+ tType == 1 ||
|
|
|
|
+ tType == 4 ||
|
|
|
|
+ w.ateacher == userid
|
|
|
|
+ }"
|
|
|
|
+ >
|
|
|
|
+ {{ JSON.parse(w.score).wScore }}分
|
|
|
|
+ </div>
|
|
|
|
+ <div
|
|
|
|
+ class="answerScore"
|
|
|
|
+ @click.stop="openScore(w)"
|
|
|
|
+ v-else-if="
|
|
|
|
+ courseDetail.userid == userid &&
|
|
|
|
+ courseDetail.state != 5 &&
|
|
|
|
+ chapInfoList[courseType].chapterInfo[0]
|
|
|
|
+ .taskJson[taskCount].eList &&
|
|
|
|
+ chapInfoList[courseType].chapterInfo[0]
|
|
|
|
+ .taskJson[taskCount].eList.length
|
|
|
|
+ "
|
|
|
|
+ :class="{
|
|
|
|
+ rightW:
|
|
|
|
+ w.userid == userid ||
|
|
|
|
+ tType == 1 ||
|
|
|
|
+ tType == 4 ||
|
|
|
|
+ w.ateacher == userid
|
|
|
|
+ }"
|
|
|
|
+ >
|
|
|
|
+ 评分
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <img
|
|
|
|
+ class="deleteImg"
|
|
|
|
+ src="../assets/deleteworks.png"
|
|
|
|
+ v-if="
|
|
|
|
+ w.userid == userid || tType == 1 || tType == 4
|
|
|
|
+ "
|
|
|
|
+ @click.stop="deleteWorks(w.wid)"
|
|
|
|
+ alt
|
|
|
|
+ />
|
|
|
|
+ </div>
|
|
|
|
+ <div class="comment" style="min-width: 200px">
|
|
|
|
+ <div class="worksName">
|
|
|
|
+ <div>{{ w.sName }}</div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="commentList">
|
|
|
|
+ <div class="commentList">
|
|
|
|
+ <div
|
|
|
|
+ class="commentImg"
|
|
|
|
+ @click="
|
|
|
|
+ isLikes(
|
|
|
|
+ w.wid,
|
|
|
|
+ userid,
|
|
|
|
+ 1,
|
|
|
|
+ null,
|
|
|
|
+ w.isLikes,
|
|
|
|
+ w.sName
|
|
|
|
+ )
|
|
|
|
+ "
|
|
|
|
+ >
|
|
|
|
+ <img
|
|
|
|
+ :src="w.isLikes == true ? likes : noLikes"
|
|
|
|
+ alt=""
|
|
|
|
+ />
|
|
|
|
+ </div>
|
|
|
|
+ <div>{{ w.likesCount }}</div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="commentList" style="margin-right: 15px">
|
|
|
|
+ <div
|
|
|
|
+ class="commentImg"
|
|
|
|
+ @click="commentOther(w, toolIndex, wIndex)"
|
|
|
|
+ >
|
|
|
|
+ <img
|
|
|
|
+ src="../assets/icon/comment/comment.png"
|
|
|
|
+ alt=""
|
|
|
|
+ />
|
|
|
|
+ </div>
|
|
|
|
+ <div>{{ w.commentCount }}</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div style="font-size: 18px" v-if="courseDetail.juri != ''">
|
|
|
|
+ 未提交
|
|
|
|
+ </div>
|
|
|
|
+ <div
|
|
|
|
+ class="noWorksS"
|
|
|
|
+ v-if="noWorksS && noWorksS[toolIndex].length"
|
|
|
|
+ >
|
|
|
|
+ <div
|
|
|
|
+ v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
|
|
+ :key="sIndex"
|
|
|
|
+ class="noWorksName"
|
|
|
|
+ @click="teacherWorkSubmit(72, toolIndex, taskCount, s)"
|
|
|
|
+ >
|
|
|
|
+ <el-tooltip
|
|
|
|
+ effect="dark"
|
|
|
|
+ :content="s.student"
|
|
|
|
+ placement="top"
|
|
|
|
+ >
|
|
|
|
+ <span>{{ s.student }}</span>
|
|
|
|
+ </el-tooltip>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div
|
|
|
|
+ v-if="
|
|
|
|
+ tType &&
|
|
|
|
+ tType == 2 &&
|
|
|
|
+ !sIsOpen &&
|
|
|
|
+ tool.tool.indexOf(72) != -1
|
|
|
|
+ "
|
|
|
|
+ class="worksBox"
|
|
|
|
+ >
|
|
|
|
+ <div
|
|
|
|
+ class="zuoyeYulan"
|
|
|
|
+ v-if="workStudent[toolIndex].length > 0"
|
|
|
|
+ >
|
|
|
|
+ <span class="worksTitle">作业预览</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div
|
|
|
|
+ class="worksDetailBox"
|
|
|
|
+ v-if="workStudent[toolIndex].length > 0"
|
|
|
|
+ >
|
|
|
|
+ <div
|
|
|
|
+ class="works"
|
|
|
|
+ style="
|
|
|
|
+ width: 200px;
|
|
|
|
+ height: 140px;
|
|
|
|
+ margin: 10px 10px 10px 0;
|
|
|
|
+ box-shadow: 0 0 6px 1px #dfdada;
|
|
|
|
+ "
|
|
|
|
+ v-for="(w, wIndex) in workStudent[toolIndex]"
|
|
|
|
+ :key="wIndex"
|
|
|
|
+ >
|
|
|
|
+ <div class="workImg">
|
|
|
|
+ <!-- <img
|
|
|
|
+ :src="word2"
|
|
|
|
+ @click="downloadFile(w.works)"
|
|
|
|
+ v-if="w.type == 12"
|
|
|
|
+ alt
|
|
|
|
+ /> -->
|
|
|
|
+ <img
|
|
|
|
+ :src="word2"
|
|
|
|
+ @click="
|
|
|
|
+ openCocoFlow(w)
|
|
|
|
+ "
|
|
|
|
+ alt
|
|
|
|
+ />
|
|
|
|
+ <div
|
|
|
|
+ class="answerScore"
|
|
|
|
+ v-if="w.score"
|
|
|
|
+ @click.stop="openScore(w)"
|
|
|
|
+ :class="{
|
|
|
|
+ rightW:
|
|
|
|
+ w.userid == userid || tType == 1 || tType == 4
|
|
|
|
+ }"
|
|
|
|
+ >
|
|
|
|
+ {{ JSON.parse(w.score).wScore }}分
|
|
|
|
+ </div>
|
|
|
|
+ <div
|
|
|
|
+ class="answerScore"
|
|
|
|
+ @click.stop="openScore(w)"
|
|
|
|
+ v-else-if="courseDetail.userid == userid"
|
|
|
|
+ :class="{
|
|
|
|
+ rightW:
|
|
|
|
+ w.userid == userid || tType == 1 || tType == 4
|
|
|
|
+ }"
|
|
|
|
+ >
|
|
|
|
+ 评分
|
|
|
|
+ </div>
|
|
|
|
+ <img
|
|
|
|
+ class="deleteImg"
|
|
|
|
+ src="../assets/deleteworks.png"
|
|
|
|
+ v-if="
|
|
|
|
+ w.userid == userid || tType == 1 || tType == 4
|
|
|
|
+ "
|
|
|
|
+ @click.stop="deleteWorks(w.wid)"
|
|
|
|
+ alt
|
|
|
|
+ />
|
|
|
|
+ </div>
|
|
|
|
+ <div class="worksName">
|
|
|
|
+ <div>{{ w.sName }}</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
<div v-if="tool.tool.indexOf(50) != -1" class="worksBox">
|
|
<div v-if="tool.tool.indexOf(50) != -1" class="worksBox">
|
|
<div
|
|
<div
|
|
class="zuoyeYulan"
|
|
class="zuoyeYulan"
|
|
@@ -6817,6 +7097,166 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div
|
|
|
|
+ v-if="
|
|
|
|
+ tType &&
|
|
|
|
+ ((tType == 2 && sIsOpen == true) ||
|
|
|
|
+ tType == 1 ||
|
|
|
|
+ tType == 4) &&
|
|
|
|
+ tool.tool.indexOf(52) != -1
|
|
|
|
+ "
|
|
|
|
+ class="worksBox"
|
|
|
|
+ >
|
|
|
|
+ <div
|
|
|
|
+ class="zuoyeYulan"
|
|
|
|
+ v-if="
|
|
|
|
+ worksStudent.length &&
|
|
|
|
+ worksStudent[toolIndex].length > 0
|
|
|
|
+ "
|
|
|
|
+ >
|
|
|
|
+ <div class="worksTop">
|
|
|
|
+ <div>作业预览</div>
|
|
|
|
+ <div
|
|
|
|
+ class="corOpen"
|
|
|
|
+ @click="contract(toolIndex)"
|
|
|
|
+ v-if="
|
|
|
|
+ (isCloseList[toolIndex].isCloseBoolean) &&
|
|
|
|
+ isCloseList[toolIndex].isClose == 0
|
|
|
|
+ "
|
|
|
|
+ >
|
|
|
|
+ 折叠
|
|
|
|
+ </div>
|
|
|
|
+ <div
|
|
|
|
+ class="corOpen"
|
|
|
|
+ @click="contract(toolIndex)"
|
|
|
|
+ v-if="isCloseList[toolIndex].isClose == 1"
|
|
|
|
+ >
|
|
|
|
+ 展开
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <!-- <el-button type="text" @click="jump()" v-if="tType == 2" class="buttonA">我的评价</el-button> -->
|
|
|
|
+ </div>
|
|
|
|
+ <div
|
|
|
|
+ :id="'tool-' + toolIndex"
|
|
|
|
+ :style="{
|
|
|
|
+ height:isCloseList[toolIndex].isClose == 1 ? retrnToolHeight('tool-' + toolIndex) : 'auto',
|
|
|
|
+ overflow: isCloseList[toolIndex].isClose == 1 ? 'hidden' : 'unset'
|
|
|
|
+ }"
|
|
|
|
+ class="worksDetailBox"
|
|
|
|
+ v-if="
|
|
|
|
+ worksStudent.length &&
|
|
|
|
+ worksStudent[toolIndex].length > 0
|
|
|
|
+ "
|
|
|
|
+ >
|
|
|
|
+ <div
|
|
|
|
+ class="works"
|
|
|
|
+ style="
|
|
|
|
+ width: 200px;
|
|
|
|
+ height: 140px;
|
|
|
|
+ margin: 10px 10px 10px 0;
|
|
|
|
+ border-radius: 15px;
|
|
|
|
+ box-shadow: 0 0 6px 1px #dfdada;
|
|
|
|
+ "
|
|
|
|
+ v-for="(w, wIndex) in worksStudent[toolIndex]"
|
|
|
|
+ :key="wIndex"
|
|
|
|
+ :class="w.type == 1 ? 'isTypeOne' : ''"
|
|
|
|
+ >
|
|
|
|
+ <div class="workImg">
|
|
|
|
+ <img :src="word" @click="openWord(w)" alt />
|
|
|
|
+ <!-- @click="openFile(w.works)" -->
|
|
|
|
+ <div
|
|
|
|
+ class="answerScore"
|
|
|
|
+ v-if="w.score"
|
|
|
|
+ @click.stop="openScore(w)"
|
|
|
|
+ :class="{
|
|
|
|
+ rightW:
|
|
|
|
+ w.userid == userid ||
|
|
|
|
+ tType == 1 ||
|
|
|
|
+ tType == 4 ||
|
|
|
|
+ w.ateacher == userid,
|
|
|
|
+ }"
|
|
|
|
+ >
|
|
|
|
+ {{ JSON.parse(w.score).wScore }}分
|
|
|
|
+ </div>
|
|
|
|
+ <div
|
|
|
|
+ class="answerScore"
|
|
|
|
+ @click.stop="openScore(w)"
|
|
|
|
+ v-else-if="courseDetail.userid == userid"
|
|
|
|
+ :class="{
|
|
|
|
+ rightW:
|
|
|
|
+ w.userid == userid ||
|
|
|
|
+ tType == 1 ||
|
|
|
|
+ tType == 4 ||
|
|
|
|
+ w.ateacher == userid,
|
|
|
|
+ }"
|
|
|
|
+ >
|
|
|
|
+ 评分
|
|
|
|
+ </div>
|
|
|
|
+ <img
|
|
|
|
+ class="deleteImg"
|
|
|
|
+ src="../assets/deleteworks.png"
|
|
|
|
+ v-if="
|
|
|
|
+ w.userid == userid || tType == 1 || tType == 4
|
|
|
|
+ "
|
|
|
|
+ @click.stop="deleteWorks(w.wid)"
|
|
|
|
+ alt
|
|
|
|
+ />
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <div class="comment" style="min-width: 200px">
|
|
|
|
+ <div class="worksName">
|
|
|
|
+ <div>{{ w.sName }}</div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="commentList">
|
|
|
|
+ <div class="commentList">
|
|
|
|
+ <div
|
|
|
|
+ class="commentImg"
|
|
|
|
+ @click="
|
|
|
|
+ isLikes(w.wid, userid, 1, null, w.isLikes,w.sName)
|
|
|
|
+ "
|
|
|
|
+ >
|
|
|
|
+ <img
|
|
|
|
+ :src="w.isLikes == true ? likes : noLikes"
|
|
|
|
+ alt=""
|
|
|
|
+ />
|
|
|
|
+ </div>
|
|
|
|
+ <div>{{ w.likesCount }}</div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="commentList" style="margin-right: 15px">
|
|
|
|
+ <div
|
|
|
|
+ class="commentImg"
|
|
|
|
+ @click="commentOther(w, toolIndex, wIndex)"
|
|
|
|
+ >
|
|
|
|
+ <img
|
|
|
|
+ src="../assets/icon/comment/comment.png"
|
|
|
|
+ alt=""
|
|
|
|
+ />
|
|
|
|
+ </div>
|
|
|
|
+ <div>{{ w.commentCount }}</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div style="font-size: 18px" v-if="courseDetail.juri != ''">
|
|
|
|
+ 未提交
|
|
|
|
+ </div>
|
|
|
|
+ <div
|
|
|
|
+ class="noWorksS"
|
|
|
|
+ v-if="noWorksS && noWorksS[toolIndex].length"
|
|
|
|
+ >
|
|
|
|
+ <div
|
|
|
|
+ v-for="(s, sIndex) in noWorksS[toolIndex]"
|
|
|
|
+ :key="sIndex"
|
|
|
|
+ class="noWorksName"
|
|
|
|
+ @click="teacherWorkSubmit(72, toolIndex, taskCount, s)"
|
|
|
|
+ >
|
|
|
|
+ <el-tooltip effect="dark" :content="s.student" placement="top">
|
|
|
|
+ <span>{{ s.student }}</span>
|
|
|
|
+ </el-tooltip>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
<div
|
|
<div
|
|
v-if="
|
|
v-if="
|
|
tType &&
|
|
tType &&
|
|
@@ -12099,7 +12539,16 @@
|
|
|
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
|
- <appStoreC ref="appStoreC"></appStoreC>
|
|
|
|
|
|
+ <appStoreC ref="appStoreC"
|
|
|
|
+ :sStudent="sStudent"
|
|
|
|
+ :courseType="courseType"
|
|
|
|
+ :taskCount="taskCount"
|
|
|
|
+ :toolindex="toolindex"
|
|
|
|
+ @selectSWorks="selectSWorks"
|
|
|
|
+ @selectStudent="selectStudent"
|
|
|
|
+ ></appStoreC>
|
|
|
|
+ <cocoFlowDia ref="cocoFlowDiaRef"></cocoFlowDia>
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -12143,6 +12592,7 @@ import { v4 as uuidv4 } from "uuid";
|
|
var OpenCC = require("opencc-js");
|
|
var OpenCC = require("opencc-js");
|
|
import choseWordCloud from './components/choseWordCloud.vue'
|
|
import choseWordCloud from './components/choseWordCloud.vue'
|
|
import appStoreC from "./components/appStoreC.vue";
|
|
import appStoreC from "./components/appStoreC.vue";
|
|
|
|
+import cocoFlowDia from "./components/cocoFlowDia.vue";
|
|
|
|
|
|
let converter = OpenCC.Converter({
|
|
let converter = OpenCC.Converter({
|
|
from: "hk",
|
|
from: "hk",
|
|
@@ -12226,7 +12676,8 @@ export default {
|
|
scoreZong,
|
|
scoreZong,
|
|
statisticalAnalysis,
|
|
statisticalAnalysis,
|
|
choseWorksDetailDialog,
|
|
choseWorksDetailDialog,
|
|
- appStoreC
|
|
|
|
|
|
+ appStoreC,
|
|
|
|
+ cocoFlowDia
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
@@ -12649,6 +13100,10 @@ export default {
|
|
};
|
|
};
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ //查看应用中心作业
|
|
|
|
+ openCocoFlow(w){
|
|
|
|
+ this.$refs.cocoFlowDiaRef.openAppWork(w)
|
|
|
|
+ },
|
|
getAIJ(){
|
|
getAIJ(){
|
|
this.ajax.get(this.$store.state.api+"getAIJ","").then(res=>{
|
|
this.ajax.get(this.$store.state.api+"getAIJ","").then(res=>{
|
|
let oid = res.data[0];
|
|
let oid = res.data[0];
|
|
@@ -17663,17 +18118,17 @@ export default {
|
|
this.ajax
|
|
this.ajax
|
|
.get(this.$store.state.api + "getCourseState", params)
|
|
.get(this.$store.state.api + "getCourseState", params)
|
|
.then((res) => {
|
|
.then((res) => {
|
|
- if (res.data[0].length > 0) {
|
|
|
|
|
|
+ // if (res.data[0].length > 0) {
|
|
|
|
+ // this.chapInfoList = JSON.parse(res.data[0][0].state);
|
|
|
|
+ // }
|
|
|
|
+ if (res.data[0].length > 0 && type == 1) {
|
|
this.chapInfoList = JSON.parse(res.data[0][0].state);
|
|
this.chapInfoList = JSON.parse(res.data[0][0].state);
|
|
- }
|
|
|
|
- if (res.data[0].length > 0 && this.IsLookOpen && type == 1) {
|
|
|
|
- // this.chapInfoList = JSON.parse(res.data[0][0].state);
|
|
|
|
this.setNavList();
|
|
this.setNavList();
|
|
this.$forceUpdate();
|
|
this.$forceUpdate();
|
|
- } else if (res.data[0].length > 0 && this.IsLookOpen && type == 2) {
|
|
|
|
|
|
+ } else if (res.data[0].length > 0 && type == 2) {
|
|
this.addCourseState(2);
|
|
this.addCourseState(2);
|
|
} else {
|
|
} else {
|
|
- this.addCourseState(1);
|
|
|
|
|
|
+ // this.addCourseState(1);
|
|
}
|
|
}
|
|
})
|
|
})
|
|
.catch((err) => {
|
|
.catch((err) => {
|
|
@@ -18624,9 +19079,9 @@ export default {
|
|
this.$message.error("应用连接为空, 请到课程管理中添加");
|
|
this.$message.error("应用连接为空, 请到课程管理中添加");
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- // this.$refs.appStoreC.getData(item.url)
|
|
|
|
|
|
+ this.$refs.appStoreC.getData(item.url)
|
|
// window.open(item.url, "_blank");
|
|
// window.open(item.url, "_blank");
|
|
- window.parent.postMessage({ tools: "72", data: item }, "*");
|
|
|
|
|
|
+ // window.parent.postMessage({ tools: "72", data: item }, "*");
|
|
} else if (t == 69) {
|
|
} else if (t == 69) {
|
|
if (this.worksStudent[i].length) {
|
|
if (this.worksStudent[i].length) {
|
|
for (var k = 0; k < this.worksStudent[i].length; k++) {
|
|
for (var k = 0; k < this.worksStudent[i].length; k++) {
|
|
@@ -19064,6 +19519,9 @@ export default {
|
|
},
|
|
},
|
|
"*"
|
|
"*"
|
|
);
|
|
);
|
|
|
|
+ }else if (t == 72) {
|
|
|
|
+ let url = this.chapInfoList[this.courseType].chapterInfo[0].taskJson[index].toolChoose[i].appJson.url
|
|
|
|
+ this.$refs.appStoreC.getData(url)
|
|
}
|
|
}
|
|
},
|
|
},
|
|
openCocoPi(tool, i, uid, uname) {
|
|
openCocoPi(tool, i, uid, uname) {
|
|
@@ -20467,7 +20925,7 @@ export default {
|
|
this.changeSplitScreenBehavior({form:{}})
|
|
this.changeSplitScreenBehavior({form:{}})
|
|
if (status == 1) {
|
|
if (status == 1) {
|
|
this.$message.success("已开启分屏");
|
|
this.$message.success("已开启分屏");
|
|
- this.studentFreePreview(true);
|
|
|
|
|
|
+ this.studentFreePreview(false);
|
|
this.OpenJobPreview(true);
|
|
this.OpenJobPreview(true);
|
|
// this.followingMode(true);
|
|
// this.followingMode(true);
|
|
} else {
|
|
} else {
|