|
@@ -7,6 +7,7 @@
|
|
|
placeholder="选择考区"
|
|
|
@on-change="areaChange"
|
|
|
style="width: 200px;margin-right: 10px;"
|
|
|
+ :disabled="paramsSet.isLevelToScore"
|
|
|
>
|
|
|
<Option
|
|
|
v-for="area in areas"
|
|
@@ -80,6 +81,7 @@
|
|
|
:max="task.waitCount"
|
|
|
:precision="0"
|
|
|
:disabled="!task.waitCount"
|
|
|
+ :readonly="paramsSet.isLevelToScore"
|
|
|
></InputNumber>
|
|
|
</td>
|
|
|
</tr>
|
|
@@ -88,6 +90,9 @@
|
|
|
<p class="tips-info tips-error" v-if="!canSubmitTask">
|
|
|
警告:当前考区还有未完成的任务,无法发布新任务!
|
|
|
</p>
|
|
|
+ <p class="tips-info tips-error" v-if="paramsSet.isLevelToScore">
|
|
|
+ 提示:当前任务发送模式为:谁分档谁打分。
|
|
|
+ </p>
|
|
|
|
|
|
<!-- task info confirm modal -->
|
|
|
<Modal
|
|
@@ -105,6 +110,9 @@
|
|
|
disabled-hover
|
|
|
border
|
|
|
></Table>
|
|
|
+ <p class="tips-info tips-error" v-if="paramsSet.isLevelToScore">
|
|
|
+ 提示:当前任务发送模式为:谁分档谁打分。
|
|
|
+ </p>
|
|
|
|
|
|
<div slot="footer">
|
|
|
<Button
|
|
@@ -126,7 +134,8 @@ import {
|
|
|
markTaskInfo,
|
|
|
checkMarkTaskCanSubmit,
|
|
|
publishScoreTask,
|
|
|
- checkMarkTaskSubmitType
|
|
|
+ checkMarkTaskSubmitType,
|
|
|
+ getParamsSet
|
|
|
} from "@/api";
|
|
|
import { calcSum } from "@/plugins/utils";
|
|
|
import { SORT_ORDER_TYPE, BOOLEAN_TYPE } from "@/constants/enumerate";
|
|
@@ -146,6 +155,7 @@ export default {
|
|
|
isSubmit: false,
|
|
|
taskList: [],
|
|
|
areas: [],
|
|
|
+ paramsSet: {},
|
|
|
// modal
|
|
|
modalIsShow: false,
|
|
|
columns: [
|
|
@@ -207,6 +217,7 @@ export default {
|
|
|
async initData() {
|
|
|
await this.checkSubmitType();
|
|
|
await this.getAreaList();
|
|
|
+ this.paramsSet = await getParamsSet(this.workId);
|
|
|
this.questionId = this.areas[0].id;
|
|
|
this.areaChange();
|
|
|
},
|
|
@@ -253,7 +264,7 @@ export default {
|
|
|
waitCount: item.waitCount,
|
|
|
displayNumber: 0,
|
|
|
sortRule: 0,
|
|
|
- taskCount: 0
|
|
|
+ taskCount: this.paramsSet.isLevelToScore ? item.waitCount : 0
|
|
|
};
|
|
|
});
|
|
|
},
|