|
@@ -1,32 +1,24 @@
|
|
<template>
|
|
<template>
|
|
<div class="mark-param-class">
|
|
<div class="mark-param-class">
|
|
- <div class="box-justify part-box part-box-pad">
|
|
|
|
- <div></div>
|
|
|
|
- <div>
|
|
|
|
- <el-button type="primary" @click="toImport">导入</el-button>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
<div class="part-box part-box-pad">
|
|
<div class="part-box part-box-pad">
|
|
<el-table :data="classList" border>
|
|
<el-table :data="classList" border>
|
|
<el-table-column type="index" width="50"> </el-table-column>
|
|
<el-table-column type="index" width="50"> </el-table-column>
|
|
|
|
|
|
- <el-table-column label="班级">
|
|
|
|
|
|
+ <el-table-column label="班级" width="200">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-tag size="medium" type="info">
|
|
|
|
|
|
+ <el-tag size="medium">
|
|
{{ scope.row.className }}
|
|
{{ scope.row.className }}
|
|
</el-tag>
|
|
</el-tag>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="评阅题目" prop="groupQuestions" width="200">
|
|
|
|
|
|
+ <el-table-column label="评阅题目" prop="groupQuestions">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="评卷员" width="200">
|
|
|
|
|
|
+ <el-table-column label="评卷员">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-tag
|
|
<el-tag
|
|
v-for="item in scope.row.classMarkerList"
|
|
v-for="item in scope.row.classMarkerList"
|
|
:key="item"
|
|
:key="item"
|
|
size="medium"
|
|
size="medium"
|
|
- type="info"
|
|
|
|
class="mb-1 mr-1"
|
|
class="mb-1 mr-1"
|
|
>
|
|
>
|
|
{{ item.name }}({{ item.orgName }})
|
|
{{ item.name }}({{ item.orgName }})
|
|
@@ -128,11 +120,11 @@ export default {
|
|
},
|
|
},
|
|
toSelectMarker(row) {
|
|
toSelectMarker(row) {
|
|
this.curClass = row;
|
|
this.curClass = row;
|
|
|
|
+ this.modalForm.selectedMarkerIds = row.classMarkerList.map(
|
|
|
|
+ (item) => item.userId
|
|
|
|
+ );
|
|
this.modalIsShow = true;
|
|
this.modalIsShow = true;
|
|
},
|
|
},
|
|
- toImport() {
|
|
|
|
- // TODO:
|
|
|
|
- },
|
|
|
|
async conform() {
|
|
async conform() {
|
|
const valid = await this.$refs.modalFormComp.validate().catch(() => {});
|
|
const valid = await this.$refs.modalFormComp.validate().catch(() => {});
|
|
if (!valid) return;
|
|
if (!valid) return;
|