Browse Source

修改'不合适'代码

gcz 3 years ago
parent
commit
e23255b55e
2 changed files with 5 additions and 5 deletions
  1. 3 3
      src/components/applys.vue
  2. 2 2
      src/views/applicant.vue

+ 3 - 3
src/components/applys.vue

@@ -57,7 +57,7 @@
               v-if="
                 item.interviewMethod == 0 &&
                 item.interviewTime &&
-                item.status < 60
+                item.status>=20&& item.status<40
               "
               @click.stop="sendvideo(item)"
               >发起视频面试</span
@@ -194,7 +194,7 @@ export default {
         // { label: "已接受面试", value: 30 },
         // { label: "已拒绝面试", value: 40 },
         { label: "面试通过", value: 50 },
-        { label: "不合适", value: 60 },
+        { label: "不合适", value: 11 },
         { label: "未参加面试", value: 70 },
         // { label: "已拒绝入职", value: 80 },
         // { label: "已入职", value: 90 },
@@ -217,7 +217,7 @@ export default {
         return "已拒绝面试";
       } else if (value == 50) {
         return "面试通过";
-      } else if (value == 60) {
+      } else if (value == 11) {
         return "不合适";
       } else if (value == 70) {
         return "未参加面试";

+ 2 - 2
src/views/applicant.vue

@@ -262,7 +262,7 @@ export default {
         return "已拒绝面试";
       } else if (value == 50) {
         return "面试通过";
-      } else if (value == 60) {
+      } else if (value == 11) {
         return "不合适";
       } else if (value == 70) {
         return "未参加面试";
@@ -311,7 +311,7 @@ export default {
       this.$confirm("确认不合适?")
         .then((res) => {
           console.log("res", res);
-          updateStatus({ id: this.applyId, status: "60" }).then((res) => {
+          updateStatus({ id: this.applyId, status: "11" }).then((res) => {
             this.handelApplyInfo();
             this.$message({
               message: res.msg,