|
@@ -79,7 +79,7 @@
|
|
|
'&id=' +
|
|
'&id=' +
|
|
|
scope.row.task_id
|
|
scope.row.task_id
|
|
|
)" size="mini" type="success">开始阅卷</el-button>
|
|
)" size="mini" type="success">开始阅卷</el-button>
|
|
|
- <el-button @click="remarkSet(scope.row.task_id)" size="mini" type="warning">阅卷设置</el-button>
|
|
|
|
|
|
|
+ <el-button @click="remarkSet(scope.row)" size="mini" type="warning">阅卷设置</el-button>
|
|
|
<el-button @click="edit(scope.row.id)" size="mini" type="warning">编辑</el-button>
|
|
<el-button @click="edit(scope.row.id)" size="mini" type="warning">编辑</el-button>
|
|
|
<el-button @click="openUploadPaper(scope.row.task_id)" size="mini" type="primary">上传试卷</el-button>
|
|
<el-button @click="openUploadPaper(scope.row.task_id)" size="mini" type="primary">上传试卷</el-button>
|
|
|
<el-button @click="del(scope.row.task_id)" size="mini" type="danger">删除</el-button>
|
|
<el-button @click="del(scope.row.task_id)" size="mini" type="danger">删除</el-button>
|
|
@@ -254,6 +254,7 @@
|
|
|
v-for="(item,index) in fileList">
|
|
v-for="(item,index) in fileList">
|
|
|
<el-image width="100px" alt="" :src="item.url" :preview-src-list="[item.url]"></el-image>
|
|
<el-image width="100px" alt="" :src="item.url" :preview-src-list="[item.url]"></el-image>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <Page ref="pageImgButton" :current="imgForm.page" :page_size="imgForm.page_size" :total="taskImgTotal" @pageChange="goTaskImg" />
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
<!-- 重新识别 -->
|
|
<!-- 重新识别 -->
|
|
@@ -276,88 +277,17 @@
|
|
|
<el-button type="primary" @click="doReTryMark">确 定</el-button>
|
|
<el-button type="primary" @click="doReTryMark">确 定</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
- <!-- 阅卷设置 -->
|
|
|
|
|
- <el-dialog title="阅卷设置" :visible.sync="remarkSetVisible" width="80%" @close="closeRemarkDialog">
|
|
|
|
|
- <el-tabs v-model="activeSetName" @tab-click="handleClick">
|
|
|
|
|
- <el-tab-pane label="客观题设置" name="first">
|
|
|
|
|
- <el-form :inline="true" v-model="addQueForm">
|
|
|
|
|
- <el-form-item label="题号">
|
|
|
|
|
- <el-input size="mini" v-model="addQueForm.fQno"></el-input>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- <el-form-item label="至">
|
|
|
|
|
- <el-input size="mini" v-model="addQueForm.tQno"></el-input>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- <el-form-item label="分数">
|
|
|
|
|
- <el-input size="mini" v-model="addQueForm.score"></el-input>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- <el-form-item>
|
|
|
|
|
- <el-button size="mini" type="primary" @click="addQues">设置</el-button>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-form>
|
|
|
|
|
- <el-table :data="objectiveQueList">
|
|
|
|
|
- <el-table-column label="序号" prop="qno" width="60px"></el-table-column>
|
|
|
|
|
- <el-table-column label="题号" prop="qno"></el-table-column>
|
|
|
|
|
- <el-table-column label="答案" prop="score"></el-table-column>
|
|
|
|
|
- <el-table-column label="满分" prop="qtype"></el-table-column>
|
|
|
|
|
- <el-table-column label="部分分" prop="score"></el-table-column>
|
|
|
|
|
- </el-table>
|
|
|
|
|
- </el-tab-pane>
|
|
|
|
|
- <el-tab-pane label="主观题设置" name="second">
|
|
|
|
|
- <el-form :inline="true" v-model="addQueForm">
|
|
|
|
|
- <el-form-item label="题号">
|
|
|
|
|
- <el-input size="mini" v-model="addQueForm.fQno"></el-input>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- <el-form-item label="至">
|
|
|
|
|
- <el-input size="mini" v-model="addQueForm.tQno"></el-input>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- <el-form-item label="分数">
|
|
|
|
|
- <el-input size="mini" v-model="addQueForm.score"></el-input>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- <el-form-item>
|
|
|
|
|
- <el-button size="mini" type="primary" @click="addQues">设置</el-button>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-form>
|
|
|
|
|
- <el-table :data="subjectiveQueList">
|
|
|
|
|
- <el-table-column label="序号" prop="qno" width="60px"></el-table-column>
|
|
|
|
|
- <el-table-column label="题号" prop="qno"></el-table-column>
|
|
|
|
|
- <el-table-column label="分数" prop="score"></el-table-column>
|
|
|
|
|
- <el-table-column label="查看切图" prop="qtype">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <span v-if="scope.row.qtype==1">单选</span>
|
|
|
|
|
- <span v-if="scope.row.qtype==2">多选</span>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column label="单双评" prop="score"></el-table-column>
|
|
|
|
|
- <el-table-column label="双评阈值" prop="score"></el-table-column>
|
|
|
|
|
- <el-table-column label="小题设置" prop="score"></el-table-column>
|
|
|
|
|
- <el-table-column label="给分点" prop="score"></el-table-column>
|
|
|
|
|
- </el-table>
|
|
|
|
|
- </el-tab-pane>
|
|
|
|
|
- <el-tab-pane label="分配阅卷员" name="third">
|
|
|
|
|
- <el-table :data="subjectiveMarkTeacherList">
|
|
|
|
|
- <el-table-column label="教工号" prop="qno" width="80px"></el-table-column>
|
|
|
|
|
- <el-table-column label="姓名" prop="qno" width="80px"></el-table-column>
|
|
|
|
|
- <el-table-column label="角色" prop="score" width="80px"></el-table-column>
|
|
|
|
|
- <el-table-column label="试题分配" prop="qtype">
|
|
|
|
|
- <el-checkbox-group v-model="checkList">
|
|
|
|
|
- <el-checkbox label="复选框 A"></el-checkbox>
|
|
|
|
|
- <el-checkbox label="复选框 B"></el-checkbox>
|
|
|
|
|
- <el-checkbox label="复选框 C"></el-checkbox>
|
|
|
|
|
- <el-checkbox label="禁用" disabled></el-checkbox>
|
|
|
|
|
- <el-checkbox label="选中且禁用" disabled></el-checkbox>
|
|
|
|
|
- </el-checkbox-group>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- </el-table>
|
|
|
|
|
- </el-tab-pane>
|
|
|
|
|
- </el-tabs>
|
|
|
|
|
- </el-dialog>
|
|
|
|
|
|
|
+ <!--阅卷设置-->
|
|
|
|
|
+ <MarkTaskSetDialog :remarkSetVisible="remarkSetVisible" :paperId="curPaperId" :taskId="curTaskId" @close="closeMarkTaskSet" />
|
|
|
</section>
|
|
</section>
|
|
|
</template>
|
|
</template>
|
|
|
<script>
|
|
<script>
|
|
|
import Page from "../../components/Page";
|
|
import Page from "../../components/Page";
|
|
|
|
|
+ import MarkTaskSetDialog from "./components/MarkTaskSetDialog"
|
|
|
export default {
|
|
export default {
|
|
|
components: {
|
|
components: {
|
|
|
Page,
|
|
Page,
|
|
|
|
|
+ MarkTaskSetDialog
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
@@ -374,10 +304,15 @@
|
|
|
class_list: ["高三一班", "高三二班"],
|
|
class_list: ["高三一班", "高三二班"],
|
|
|
checkList: []
|
|
checkList: []
|
|
|
},
|
|
},
|
|
|
|
|
+ imgForm:{
|
|
|
|
|
+ page:1,
|
|
|
|
|
+ page_size:10
|
|
|
|
|
+ },
|
|
|
form1: {},
|
|
form1: {},
|
|
|
form2: {},
|
|
form2: {},
|
|
|
list: [{}, {}],
|
|
list: [{}, {}],
|
|
|
total: 0,
|
|
total: 0,
|
|
|
|
|
+ imgTotal:0,
|
|
|
title: "新增用户",
|
|
title: "新增用户",
|
|
|
open: false,
|
|
open: false,
|
|
|
doctorList: [],
|
|
doctorList: [],
|
|
@@ -394,6 +329,7 @@
|
|
|
curStudentRecImg: "",
|
|
curStudentRecImg: "",
|
|
|
activeName: "1",
|
|
activeName: "1",
|
|
|
curTaskId: null,
|
|
curTaskId: null,
|
|
|
|
|
+ curPaperId:null,
|
|
|
recPage: 1,
|
|
recPage: 1,
|
|
|
recPageSize: 20,
|
|
recPageSize: 20,
|
|
|
recTotal: 0,
|
|
recTotal: 0,
|
|
@@ -453,6 +389,21 @@
|
|
|
this.queryParams.page = this.$refs.pageButton.page;
|
|
this.queryParams.page = this.$refs.pageButton.page;
|
|
|
this.getData();
|
|
this.getData();
|
|
|
},
|
|
},
|
|
|
|
|
+ goTaskImg(page){
|
|
|
|
|
+ if (page) {
|
|
|
|
|
+ this.imgForm.page_size = size;
|
|
|
|
|
+ }
|
|
|
|
|
+ this.imgForm.page = this.$refs.pageImgButton.page;
|
|
|
|
|
+ let that = this;
|
|
|
|
|
+ that.$api.getTaskImgList({
|
|
|
|
|
+ task_id: that.curTaskId,
|
|
|
|
|
+ page:that.imgForm.page,
|
|
|
|
|
+ page_size:that.imgForm.page_size
|
|
|
|
|
+ }).then(res => {
|
|
|
|
|
+ that.fileList = res.data.data.list
|
|
|
|
|
+ that.taskImgTotal = res.data.data.total;
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
goRecPage(size) {
|
|
goRecPage(size) {
|
|
|
if (size) {
|
|
if (size) {
|
|
|
this.recPageSize = size;
|
|
this.recPageSize = size;
|
|
@@ -656,7 +607,9 @@
|
|
|
window.clearInterval(this.timer2);
|
|
window.clearInterval(this.timer2);
|
|
|
this.timer2 = setInterval(function () {
|
|
this.timer2 = setInterval(function () {
|
|
|
that.$api.getTaskImgList({
|
|
that.$api.getTaskImgList({
|
|
|
- task_id: that.curTaskId
|
|
|
|
|
|
|
+ task_id: that.curTaskId,
|
|
|
|
|
+ page:that.imgForm.page,
|
|
|
|
|
+ page_size:that.imgForm.page_size
|
|
|
}).then(res => {
|
|
}).then(res => {
|
|
|
that.fileList = res.data.data.list
|
|
that.fileList = res.data.data.list
|
|
|
that.taskImgTotal = res.data.data.total;
|
|
that.taskImgTotal = res.data.data.total;
|
|
@@ -798,8 +751,13 @@
|
|
|
this.loading = false
|
|
this.loading = false
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
- remarkSet(task_id) {
|
|
|
|
|
|
|
+ remarkSet(row) {
|
|
|
this.remarkSetVisible = true
|
|
this.remarkSetVisible = true
|
|
|
|
|
+ this.curTaskId = row.task_id;
|
|
|
|
|
+ this.curPaperId = row.paper_id;
|
|
|
|
|
+ },
|
|
|
|
|
+ closeMarkTaskSet(){
|
|
|
|
|
+ this.remarkSetVisible = false
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|