|
@@ -153,44 +153,23 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="answerBox" style="height: 90%" v-if="isBlock == 2">
|
|
<div class="answerBox" style="height: 90%" v-if="isBlock == 2">
|
|
- <div
|
|
|
|
- v-if="toolsList[0].tools.length == 1"
|
|
|
|
- style="height: 100%; width: 100%"
|
|
|
|
- >
|
|
|
|
- <div
|
|
|
|
- v-if="toolsList[0].tools[0] == 9"
|
|
|
|
- style="height: 90%; width: 100%"
|
|
|
|
- >
|
|
|
|
|
|
+ <div v-if="toolsList[0].tools.length == 1" style="height: 100%; width: 100%">
|
|
|
|
+ <div v-if="toolsList[0].tools[0] == 9" style="height: 90%; width: 100%">
|
|
选择题
|
|
选择题
|
|
</div>
|
|
</div>
|
|
- <div
|
|
|
|
- v-if="toolsList[0].tools[0] == 10"
|
|
|
|
- style="height: 90%; width: 100%"
|
|
|
|
- >
|
|
|
|
|
|
+ <div v-if="toolsList[0].tools[0] == 10" style="height: 90%; width: 100%">
|
|
倒计时
|
|
倒计时
|
|
</div>
|
|
</div>
|
|
- <div
|
|
|
|
- v-if="toolsList[0].tools[0] == 11"
|
|
|
|
- style="height: 90%; width: 100%"
|
|
|
|
- >
|
|
|
|
|
|
+ <div v-if="toolsList[0].tools[0] == 11" style="height: 90%; width: 100%">
|
|
问答题
|
|
问答题
|
|
</div>
|
|
</div>
|
|
- <div
|
|
|
|
- v-if="toolsList[0].tools[0] == 12"
|
|
|
|
- style="height: 90%; width: 100%"
|
|
|
|
- >
|
|
|
|
|
|
+ <div v-if="toolsList[0].tools[0] == 12" style="height: 90%; width: 100%">
|
|
选人回答
|
|
选人回答
|
|
</div>
|
|
</div>
|
|
- <div
|
|
|
|
- v-if="toolsList[0].tools[0] == 13"
|
|
|
|
- style="height: 90%; width: 100%"
|
|
|
|
- >
|
|
|
|
|
|
+ <div v-if="toolsList[0].tools[0] == 13" style="height: 90%; width: 100%">
|
|
分小组
|
|
分小组
|
|
</div>
|
|
</div>
|
|
- <div
|
|
|
|
- v-if="toolsList[0].tools[0] == 14"
|
|
|
|
- style="height: 90%; width: 100%"
|
|
|
|
- >
|
|
|
|
|
|
+ <div v-if="toolsList[0].tools[0] == 14" style="height: 90%; width: 100%">
|
|
作业评价
|
|
作业评价
|
|
</div>
|
|
</div>
|
|
<div class="nextStepOne" @click="isBlock = 0">关闭</div>
|
|
<div class="nextStepOne" @click="isBlock = 0">关闭</div>
|
|
@@ -451,9 +430,7 @@
|
|
<div class="blackBottomB"></div>
|
|
<div class="blackBottomB"></div>
|
|
<div v-if="proVisible" class="mask">
|
|
<div v-if="proVisible" class="mask">
|
|
<div class="progressBox">
|
|
<div class="progressBox">
|
|
- <div class="lbox">
|
|
|
|
- <img src="../assets/loading.gif" />上传中,请稍后
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="lbox"><img src="../assets/loading.gif" />上传中,请稍后</div>
|
|
<el-progress
|
|
<el-progress
|
|
:text-inside="true"
|
|
:text-inside="true"
|
|
:stroke-width="20"
|
|
:stroke-width="20"
|
|
@@ -589,14 +566,11 @@ export default {
|
|
},
|
|
},
|
|
//uuid生成
|
|
//uuid生成
|
|
guid() {
|
|
guid() {
|
|
- return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
|
|
|
|
- /[xy]/g,
|
|
|
|
- function (c) {
|
|
|
|
- var r = (Math.random() * 16) | 0,
|
|
|
|
- v = c == "x" ? r : (r & 0x3) | 0x8;
|
|
|
|
- return v.toString(16);
|
|
|
|
- }
|
|
|
|
- );
|
|
|
|
|
|
+ return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function (c) {
|
|
|
|
+ var r = (Math.random() * 16) | 0,
|
|
|
|
+ v = c == "x" ? r : (r & 0x3) | 0x8;
|
|
|
|
+ return v.toString(16);
|
|
|
|
+ });
|
|
},
|
|
},
|
|
time() {
|
|
time() {
|
|
if (!this.now) {
|
|
if (!this.now) {
|
|
@@ -831,25 +805,28 @@ export default {
|
|
.get(this.$store.state.api + "selectPptPage", "")
|
|
.get(this.$store.state.api + "selectPptPage", "")
|
|
.then((res) => {
|
|
.then((res) => {
|
|
if (res.data[0].length > 0) {
|
|
if (res.data[0].length > 0) {
|
|
- this.ppage = res.data[0][0].page;
|
|
|
|
if (this.ppage == res.data[0][0].page) {
|
|
if (this.ppage == res.data[0][0].page) {
|
|
return;
|
|
return;
|
|
} else {
|
|
} else {
|
|
- if (this.ppage == 3) {
|
|
|
|
- this.isBlock = 1;
|
|
|
|
- } else if (this.ppage == 4) {
|
|
|
|
- this.howPage(this.ppage);
|
|
|
|
- } else if (this.ppage == 5) {
|
|
|
|
- this.howPage(this.ppage);
|
|
|
|
- } else if (this.ppage == 6) {
|
|
|
|
- this.howPage(this.ppage);
|
|
|
|
- } else if (this.ppage == 7) {
|
|
|
|
- this.howPage(this.ppage);
|
|
|
|
- } else if (this.ppage == 9) {
|
|
|
|
- this.howPage(this.ppage);
|
|
|
|
- } else if (this.ppage == 10) {
|
|
|
|
- this.howPage(this.ppage);
|
|
|
|
- }
|
|
|
|
|
|
+ this.ppage = res.data[0][0].page;
|
|
|
|
+ console.log(1);
|
|
|
|
+ this.isBlock = 1;
|
|
|
|
+ this.howPage(this.ppage);
|
|
|
|
+ // if (this.ppage == 3) {
|
|
|
|
+ // this.isBlock = 1;
|
|
|
|
+ // } else if (this.ppage == 4) {
|
|
|
|
+ // this.howPage(this.ppage);
|
|
|
|
+ // } else if (this.ppage == 5) {
|
|
|
|
+ // this.howPage(this.ppage);
|
|
|
|
+ // } else if (this.ppage == 6) {
|
|
|
|
+ // this.howPage(this.ppage);
|
|
|
|
+ // } else if (this.ppage == 7) {
|
|
|
|
+ // this.howPage(this.ppage);
|
|
|
|
+ // } else if (this.ppage == 9) {
|
|
|
|
+ // this.howPage(this.ppage);
|
|
|
|
+ // } else if (this.ppage == 10) {
|
|
|
|
+ // this.howPage(this.ppage);
|
|
|
|
+ // }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
})
|
|
})
|