| 
					
				 | 
			
			
				@@ -114,11 +114,14 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <div class="btn refused" v-if="applyInfo.status <= 10" @click="refused"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           不合适 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <div class="btn result" v-if="applyInfo.status == 60">已标为不合适</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <!-- <div class="btn result" v-if="applyInfo.status == 60">已标为不合适</div> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <div class="btn result"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          {{ applyInfo.status | verifyStatusFilter }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </section> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </section> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <el-dialog title="发送面试邀请" :visible.sync="dialogVisible" width="30%"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <el-form :model="form"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <el-form :model="form" :inline="true"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-form-item label="意向岗位" :label-width="formLabelWidth"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           {{ form.postName }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-form-item> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -137,11 +140,31 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </el-select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-form-item 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          v-if="form.status == 20" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          label="邀请面试地点" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          v-if="form.interviewMethod == 1" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          label="邀请面试区域" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           :label-width="formLabelWidth" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <el-input v-model="form.interviewArea" autocomplete="off"></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-cascader 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            filterable 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            size="large" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ref="addressSelect" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            :options="addressOptions" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            v-model="areaCode" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            :leafOnly="true" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            @change="addrChange" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </el-cascader> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <!-- <el-input v-model="form.interviewArea" autocomplete="off"></el-input> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-form-item 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          v-if="form.interviewMethod == 1" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          label="邀请面试地址" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          :label-width="formLabelWidth" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-input 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            v-model="form.interviewAddress" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            autocomplete="off" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          ></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-form-item 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           v-if="form.status == 50" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -167,6 +190,8 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import Header from "@/components/header.vue"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import Mainmenu from "@/components/mainmenu.vue"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { parseTime } from "@/utils/index"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { regionDataPlus, CodeToText } from "element-china-area-data"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   getapplicantInfo, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   updateStatus, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -181,6 +206,8 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   data() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      areaCode: ["520000", "520100", "520102"], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      addressOptions: regionDataPlus, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       dialogVisible: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       veteMemberId: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       postId: "", 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -200,10 +227,36 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return "女"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    verifyStatusFilter(value) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (value == 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return "未查看"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } else if (value == 10) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return "已查看"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } else if (value == 20) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return "已邀请面试"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } else if (value == 30) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return "已接受面试"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } else if (value == 40) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return "已拒绝面试"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } else if (value == 50) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return "面试通过"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } else if (value == 60) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return "不合适"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } else if (value == 70) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return "未参加面试"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } else if (value == 80) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return "已拒绝入职"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } else if (value == 90) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return "已入职"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return "未知"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   created() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.veteMemberId = this.$route.query.veteMemberId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.applyId = this.$route.query.applyId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    this.form.id = this.$route.query.applyId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.handelGetapplicantInfo(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.handelApplyInfo(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -249,6 +302,14 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     submit() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      console.log("this.form", this.form); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (this.form.interviewMethod == "1") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.form.interviewArea = 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          CodeToText[this.areaCode[0]] + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          CodeToText[this.areaCode[1]] + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          CodeToText[this.areaCode[2]]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.form.interviewTime = parseTime(this.form.interviewTime); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let param = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         id: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         interviewMethod: "", 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -258,19 +319,33 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let that = this; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      invite(param).then((res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.$message({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          message: res.msg, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          type: "success", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          duration: 1000, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          onClose: function () {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      invite(this.form) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        .then((res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.handelApplyInfo(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.$message({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            message: res.msg, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            type: "success", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            duration: 1000, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            onClose: function () {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // console.log("updateStatus", res); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        .catch((err) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          console.log("invite err", err); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // console.log("updateStatus", res); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     handleinvite() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.dialogVisible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    addrChange(value) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.form.interviewArea = 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        CodeToText[value[0]] + CodeToText[value[1]] + CodeToText[value[2]]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      console.log( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        CodeToText[value[0]] + CodeToText[value[1]] + CodeToText[value[2]], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        "选中地址" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // console.log("addrChange", value); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </script> 
			 |