|
@@ -48,7 +48,7 @@
|
|
<el-button
|
|
<el-button
|
|
type="primary"
|
|
type="primary"
|
|
:disabled="!multipleSelection.length"
|
|
:disabled="!multipleSelection.length"
|
|
- @click="toSetTaskCount(multipleSelection)"
|
|
|
|
|
|
+ @click="toSetTaskCount(multipleSelection, {})"
|
|
>
|
|
>
|
|
设置评卷数
|
|
设置评卷数
|
|
</el-button>
|
|
</el-button>
|
|
@@ -69,7 +69,7 @@
|
|
<el-table-column prop="courseName" label="评卷员" min-width="100">
|
|
<el-table-column prop="courseName" label="评卷员" min-width="100">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-tag size="medium" type="info">
|
|
<el-tag size="medium" type="info">
|
|
- {{ scope.row.name }}({{ scope.row.orgName }})
|
|
|
|
|
|
+ {{ scope.row.loginName }}({{ scope.row.orgName }})
|
|
</el-tag>
|
|
</el-tag>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -126,7 +126,7 @@
|
|
<el-button
|
|
<el-button
|
|
class="btn-primary"
|
|
class="btn-primary"
|
|
type="text"
|
|
type="text"
|
|
- @click="toSetTaskCount([scope.row.markUserGroupId])"
|
|
|
|
|
|
+ @click="toSetTaskCount([scope.row.markUserGroupId], scope.row)"
|
|
>设置评卷数</el-button
|
|
>设置评卷数</el-button
|
|
>
|
|
>
|
|
</template>
|
|
</template>
|
|
@@ -154,6 +154,7 @@
|
|
<modify-marker-task-count
|
|
<modify-marker-task-count
|
|
ref="ModifyMarkerTaskCount"
|
|
ref="ModifyMarkerTaskCount"
|
|
:ids="curIds"
|
|
:ids="curIds"
|
|
|
|
+ :top-count="curRow.topCount"
|
|
@modified="getList"
|
|
@modified="getList"
|
|
></modify-marker-task-count>
|
|
></modify-marker-task-count>
|
|
<!-- ModifyMarkerBind -->
|
|
<!-- ModifyMarkerBind -->
|
|
@@ -322,10 +323,11 @@ export default {
|
|
this.getList();
|
|
this.getList();
|
|
},
|
|
},
|
|
// set task count
|
|
// set task count
|
|
- toSetTaskCount(ids) {
|
|
|
|
|
|
+ toSetTaskCount(ids, row) {
|
|
if (!ids.length) return;
|
|
if (!ids.length) return;
|
|
|
|
|
|
this.curIds = ids;
|
|
this.curIds = ids;
|
|
|
|
+ this.curRow = row;
|
|
this.$refs.ModifyMarkerTaskCount.open();
|
|
this.$refs.ModifyMarkerTaskCount.open();
|
|
},
|
|
},
|
|
},
|
|
},
|