|
@@ -1,16 +1,21 @@
|
|
<template>
|
|
<template>
|
|
<div class="mark-param-group">
|
|
<div class="mark-param-group">
|
|
- <div class="box-justify part-box part-box-pad">
|
|
|
|
- <div>
|
|
|
|
- <p v-if="unsetQuestionNos" class="tips-info tips-error">
|
|
|
|
- 试题{{
|
|
|
|
- unsetQuestionNos
|
|
|
|
- }}未设置评卷员,请点击列表里设置评卷员选择评卷员
|
|
|
|
- </p>
|
|
|
|
- </div>
|
|
|
|
- <div>
|
|
|
|
- <el-button type="primary" @click="toPrev(1)">上一步</el-button>
|
|
|
|
- <el-button type="primary" @click="toNext(1)">下一步</el-button>
|
|
|
|
|
|
+ <div class="part-box part-box-pad">
|
|
|
|
+ <p v-if="unsetQuestionNos" class="tips-info tips-error mb-1">
|
|
|
|
+ 试题{{ unsetQuestionNos }}未设置评卷员,请点击列表里设置评卷员选择评卷员
|
|
|
|
+ </p>
|
|
|
|
+ <div class="box-justify">
|
|
|
|
+ <!-- subjective answer -->
|
|
|
|
+ <div class="subjective-answer">
|
|
|
|
+ <span>请上传标答PDF文档:</span>
|
|
|
|
+ <mark-param-subjective-answer
|
|
|
|
+ @rendered="updateTableHeight"
|
|
|
|
+ ></mark-param-subjective-answer>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="box-static">
|
|
|
|
+ <el-button type="primary" @click="toPrev(1)">上一步</el-button>
|
|
|
|
+ <el-button type="primary" @click="toNext(1)">下一步</el-button>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@@ -119,19 +124,6 @@
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
-
|
|
|
|
- <!-- subjective answer -->
|
|
|
|
- <el-form
|
|
|
|
- ref="subjectiveAnswerRef"
|
|
|
|
- class="no-margin mt-2"
|
|
|
|
- label-width="150px"
|
|
|
|
- >
|
|
|
|
- <el-form-item label="请上传标答PDF文档:">
|
|
|
|
- <mark-param-subjective-answer
|
|
|
|
- @rendered="updateTableHeight"
|
|
|
|
- ></mark-param-subjective-answer>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-form>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<!-- ModifyMarkType -->
|
|
<!-- ModifyMarkType -->
|
|
@@ -558,11 +550,7 @@ export default {
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
if (!this.$refs.TableList) return;
|
|
if (!this.$refs.TableList) return;
|
|
const tableOffsetTop = this.$refs.TableList.$el.offsetTop;
|
|
const tableOffsetTop = this.$refs.TableList.$el.offsetTop;
|
|
- const formHeight = this.$refs.subjectiveAnswerRef
|
|
|
|
- ? this.$refs.subjectiveAnswerRef.$el.offsetHeight + 10
|
|
|
|
- : 0;
|
|
|
|
- this.tableHeight =
|
|
|
|
- window.innerHeight - tableOffsetTop - formHeight - 50;
|
|
|
|
|
|
+ this.tableHeight = window.innerHeight - tableOffsetTop - 25;
|
|
// console.log(this.tableHeight);
|
|
// console.log(this.tableHeight);
|
|
});
|
|
});
|
|
},
|
|
},
|