|
@@ -54,6 +54,9 @@
|
|
|
>
|
|
|
<p>{{ level.name | levelNameFilter }}</p>
|
|
|
<p>{{ level.minScore }}~{{ level.maxScore }}</p>
|
|
|
+ <p v-if="level.minSubScore || level.maxSubScore">
|
|
|
+ {{ level.minSubScore }}~{{ level.maxSubScore }}
|
|
|
+ </p>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -321,7 +324,8 @@ export default {
|
|
|
btnClicked: false,
|
|
|
keyInput: null,
|
|
|
// 科组长权限
|
|
|
- markLeaderOnlyRight: null
|
|
|
+ markLeaderOnlyRight: null,
|
|
|
+ leaderConfirm: true
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
@@ -378,9 +382,11 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
- this.markLeaderOnlyRight = this.$ls.get("user", {
|
|
|
+ const userRight = this.$ls.get("user", {
|
|
|
markLeaderOnlyRight: null
|
|
|
- }).markLeaderOnlyRight;
|
|
|
+ });
|
|
|
+ this.markLeaderOnlyRight = userRight.markLeaderOnlyRight;
|
|
|
+ this.leaderConfirm = userRight.leaderConfirm;
|
|
|
|
|
|
this.codeTypes = Object.entries(CODE_TYPE)
|
|
|
.map(([key, val]) => {
|
|
@@ -488,7 +494,8 @@ export default {
|
|
|
paperIds: this.curPaperOrTask.id + "",
|
|
|
curLevel: this.curPaperOrTaskLevel,
|
|
|
selectedLevel: level.name,
|
|
|
- markLeaderOnlyRight: this.markLeaderOnlyRight
|
|
|
+ markLeaderOnlyRight: this.markLeaderOnlyRight,
|
|
|
+ leaderConfirm: this.leaderConfirm
|
|
|
},
|
|
|
this.gradingHistory.map(item => {
|
|
|
return {
|