|
@@ -136,7 +136,10 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="每题间隔分" width="120">
|
|
|
- <template slot-scope="scope" v-if="scope.row.mainFirstSub">
|
|
|
+ <template
|
|
|
+ slot-scope="scope"
|
|
|
+ v-if="scope.row.mainFirstSub && !scope.row.objective"
|
|
|
+ >
|
|
|
<el-input-number
|
|
|
v-model="intervalScorePerTopic[scope.row.mainId]"
|
|
|
class="width-full"
|
|
@@ -152,7 +155,7 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="intervalScore" label="间隔分" width="120">
|
|
|
- <template slot-scope="scope">
|
|
|
+ <template slot-scope="scope" v-if="!scope.row.objective">
|
|
|
<el-input-number
|
|
|
v-model="scope.row.intervalScore"
|
|
|
class="width-full"
|
|
@@ -468,7 +471,7 @@ export default {
|
|
|
if (!item.totalScore) {
|
|
|
errorFields.push("小题满分");
|
|
|
}
|
|
|
- if (!item.intervalScore) {
|
|
|
+ if (!item.intervalScore && !item.objective) {
|
|
|
errorFields.push("评卷间隔分");
|
|
|
}
|
|
|
if (errorFields.length) {
|