|
@@ -71,6 +71,7 @@
|
|
|
v-for="(item, index) in task.answerArray
|
|
|
? task.answerArray[taskIndex].option
|
|
|
: []"
|
|
|
+ :disabled="phase.doPhase > phase.atPhase"
|
|
|
:key="index + '' + taskIndex"
|
|
|
size="medium "
|
|
|
:label="index"
|
|
@@ -206,9 +207,9 @@ export default {
|
|
|
this.$forceUpdate();
|
|
|
},
|
|
|
submitTask() {
|
|
|
- // console.log(this.phase.doPhase, this.phase.atPhase);
|
|
|
+ // console.log(this.phase.doPhase, this.phase.atPhase);
|
|
|
if (this.phase.doPhase == 5) {
|
|
|
- return this.$message("所有阶段已经完成");
|
|
|
+ return this.$message("所有阶段已经完成");
|
|
|
}
|
|
|
if (this.phase.doPhase > this.phase.atPhase || this.phase.doPhase >= 5)
|
|
|
return this.$message.error("该阶段已提交过了");
|