Browse Source

auto commit

gcz 3 years ago
parent
commit
be34732e4e
2 changed files with 75 additions and 8 deletions
  1. 33 1
      src/components/applys.vue
  2. 42 7
      src/views/applicant.vue

+ 33 - 1
src/components/applys.vue

@@ -81,7 +81,12 @@
       >
       </el-pagination>
     </section>
-    <el-dialog title="更新面试结果" :visible.sync="dialogVisible" width="30%">
+    <el-dialog
+      title="更新面试结果"
+      :visible.sync="dialogVisible"
+      :center="true"
+      width="30%"
+    >
       <el-form :model="form">
         <el-form-item label="岗位" :label-width="formLabelWidth">
           {{ form.postName }}
@@ -300,6 +305,7 @@ export default {
                 path: "/applicant",
                 query: {
                   veteMemberId: item.veteMemberId,
+                  postName: item.postName,
                   applyId: item.id,
                 },
               });
@@ -312,6 +318,9 @@ export default {
           path: "/applicant",
           query: {
             veteMemberId: item.veteMemberId,
+            postName: item.postName,
+            postLowestSalary: item.postLowestSalary,
+            postHighestSalary: item.postHighestSalary,
             applyId: item.id,
           },
         });
@@ -407,4 +416,27 @@ export default {
     }
   }
 }
+::v-deep {
+  .el-cascader {
+    width: 100%;
+  }
+  .el-select {
+    width: 100%;
+  }
+  .el-dialog {
+    -moz-box-shadow: rgba(169, 169, 169, 0.6) 0px 0px 0px 10px; /* 老的 Firefox */
+    box-shadow: rgba(169, 169, 169, 0.6) 0px 0px 0px 10px;
+    border-radius: 0px;
+    .el-dialog__header {
+      background: rgb(0, 179, 138);
+      span {
+        color: white;
+        font-size: 16px;
+      }
+      .el-dialog__headerbtn .el-dialog__close {
+        color: white;
+      }
+    }
+  }
+}
 </style>

+ 42 - 7
src/views/applicant.vue

@@ -125,10 +125,16 @@
         </div>
       </section>
     </section>
-    <el-dialog title="发送面试邀请" :visible.sync="dialogVisible" width="30%">
-      <el-form :model="form" :inline="true">
+    <el-dialog
+      title="发送面试邀请"
+      :visible.sync="dialogVisible"
+      :center="true"
+      width="30%"
+    >
+      <el-form :model="form" :inline="false">
         <el-form-item label="意向岗位" :label-width="formLabelWidth">
-          {{ form.postName }}
+          {{ postName }}
+          ({{ postLowestSalary }}-{{ postHighestSalary }}K)
         </el-form-item>
         <el-form-item label="邀请面试时间" :label-width="formLabelWidth">
           <el-date-picker
@@ -167,11 +173,12 @@
           :label-width="formLabelWidth"
         >
           <el-input
+            style="width: 60%"
             v-model="form.interviewAddress"
             autocomplete="off"
           ></el-input>
         </el-form-item>
-        <el-form-item
+        <!-- <el-form-item
           v-if="form.status == 50"
           label="邀请入职时间"
           :label-width="formLabelWidth"
@@ -182,7 +189,7 @@
             placeholder="选择日期"
           >
           </el-date-picker>
-        </el-form-item>
+        </el-form-item> -->
       </el-form>
       <div slot="footer" class="dialog-footer">
         <el-button @click="dialogVisible = false">取 消</el-button>
@@ -222,6 +229,9 @@ export default {
       status: "",
       form: {},
       formLabelWidth: "80",
+      postName: "",
+      postLowestSalary: "",
+      postHighestSalary: "",
     };
   },
   filters: {
@@ -269,6 +279,9 @@ export default {
     this.veteMemberId = this.$route.query.veteMemberId;
     this.applyId = this.$route.query.applyId;
     this.form.id = this.$route.query.applyId;
+    this.postName = this.$route.query.postName;
+    this.postLowestSalary = this.$route.query.postLowestSalary;
+    this.postHighestSalary = this.$route.query.postHighestSalary;
     this.handelGetapplicantInfo();
     this.handelApplyInfo();
   },
@@ -432,11 +445,33 @@ export default {
       }
       &.result {
         background: transparent;
-        border: 2px solid #f56c6c;
-        color: #f56c6c;
+        color: #878787;
         cursor: default;
       }
     }
   }
 }
+::v-deep {
+  .el-cascader {
+    width: 100%;
+  }
+  .el-select {
+    width: 100%;
+  }
+  .el-dialog {
+    -moz-box-shadow: rgba(169, 169, 169, 0.6) 0px 0px 0px 10px; /* 老的 Firefox */
+    box-shadow: rgba(169, 169, 169, 0.6) 0px 0px 0px 10px;
+    border-radius: 0px;
+    .el-dialog__header {
+      background: rgb(0, 179, 138);
+      span {
+        color: white;
+        font-size: 16px;
+      }
+      .el-dialog__headerbtn .el-dialog__close {
+        color: white;
+      }
+    }
+  }
+}
 </style>