xiatian 3 年 前
コミット
3bb7f59fce

+ 2 - 1
src/modules/questions/views/EditPaperPendingTrial.vue

@@ -1385,7 +1385,8 @@ export default {
     isShowEditBtn() {
       if (
         this.paper.creationBy == this.user.userId &&
-        this.paper.auditStatus == "WITHDRAW"
+        (this.paper.auditStatus == "WITHDRAW" ||
+          this.paper.auditStatus == "NOT_PASS")
       ) {
         return true;
       } else {

+ 4 - 1
src/modules/questions/views/ExamPaperPendingTrial.vue

@@ -543,7 +543,10 @@ export default {
       });
     },
     isShowSubmitBtn(row) {
-      if (row.creationBy == this.user.userId && row.auditStatus == "WITHDRAW") {
+      if (
+        row.creationBy == this.user.userId &&
+        (row.auditStatus == "WITHDRAW" || row.auditStatus == "NOT_PASS")
+      ) {
         return true;
       } else {
         return false;

+ 4 - 1
src/modules/questions/views/PaperPendingTrial.vue

@@ -531,7 +531,10 @@ export default {
       });
     },
     isShowSubmitBtn(row) {
-      if (row.creationBy == this.user.userId && row.auditStatus == "WITHDRAW") {
+      if (
+        row.creationBy == this.user.userId &&
+        (row.auditStatus == "WITHDRAW" || row.auditStatus == "NOT_PASS")
+      ) {
         return true;
       } else {
         return false;