|
|
@@ -1,5 +1,11 @@
|
|
|
<template>
|
|
|
<div class="setWorkPage">
|
|
|
+ <div style="
|
|
|
+ height: 100vh;
|
|
|
+ width: 100%;
|
|
|
+ position: fixed;
|
|
|
+ z-index: 999;
|
|
|
+ " v-if="isSet == '2'"></div>
|
|
|
<!-- 选择题设置 -->
|
|
|
<setChoiceQuestion :workData="workData" v-if="workData.type == 45" @setTestJson="setTestJson" @save="saveTest"/>
|
|
|
<setQuestionsAndAnswers :workData="workData" v-if="workData.type == 15" @setTestJson="setTestJson" @save="saveTest"/>
|
|
|
@@ -42,6 +48,7 @@ export default {
|
|
|
stage: this.$route.query.stage,
|
|
|
task: this.$route.query.task,
|
|
|
tool: this.$route.query.tool,
|
|
|
+ isSet: this.$route.query.isSet,
|
|
|
type: "",
|
|
|
cid: this.$route.query.cid,
|
|
|
workData: {},
|
|
|
@@ -122,6 +129,9 @@ export default {
|
|
|
},
|
|
|
mounted() {
|
|
|
this.getWorkData();
|
|
|
+ if(this.isSet == '2'){
|
|
|
+ document.querySelector('html').style.fontSize = '10px'
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</script>
|