|
@@ -292,7 +292,8 @@ export default {
|
|
setT: null,
|
|
setT: null,
|
|
btnClicked: false,
|
|
btnClicked: false,
|
|
// 科组长权限
|
|
// 科组长权限
|
|
- markLeaderOnlyRight: null
|
|
|
|
|
|
+ markLeaderOnlyRight: null,
|
|
|
|
+ leaderConfirm: true
|
|
};
|
|
};
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
@@ -315,9 +316,12 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
- this.markLeaderOnlyRight = this.$ls.get("user", {
|
|
|
|
- markLeaderOnlyRight: null
|
|
|
|
- }).markLeaderOnlyRight;
|
|
|
|
|
|
+ const userRight = this.$ls.get("user", {
|
|
|
|
+ markLeaderOnlyRight: null,
|
|
|
|
+ leaderConfirm: true
|
|
|
|
+ });
|
|
|
|
+ this.markLeaderOnlyRight = userRight.markLeaderOnlyRight;
|
|
|
|
+ this.leaderConfirm = userRight.leaderConfirm;
|
|
|
|
|
|
this.codeTypes = Object.entries(CODE_TYPE)
|
|
this.codeTypes = Object.entries(CODE_TYPE)
|
|
.map(([key, val]) => {
|
|
.map(([key, val]) => {
|
|
@@ -401,7 +405,8 @@ export default {
|
|
paperIds: this.curPaperOrTask.id + "",
|
|
paperIds: this.curPaperOrTask.id + "",
|
|
curLevel: this.curPaperOrTask.level,
|
|
curLevel: this.curPaperOrTask.level,
|
|
selectedLevel: level.name,
|
|
selectedLevel: level.name,
|
|
- markLeaderOnlyRight: this.markLeaderOnlyRight
|
|
|
|
|
|
+ markLeaderOnlyRight: this.markLeaderOnlyRight,
|
|
|
|
+ leaderConfirm: this.leaderConfirm
|
|
},
|
|
},
|
|
this.gradingHistory.map(item => {
|
|
this.gradingHistory.map(item => {
|
|
return {
|
|
return {
|