|
|
@@ -143,6 +143,7 @@
|
|
|
skill:'',
|
|
|
job_description:'',
|
|
|
match_directions:'',
|
|
|
+ jump_url:'',
|
|
|
status: [{
|
|
|
statusValue: '0',
|
|
|
label: '下架隐藏'
|
|
|
@@ -196,6 +197,14 @@
|
|
|
let body = {
|
|
|
'job_id' : vars[0].split("=")[1],
|
|
|
'job_type' : vars[1].split("=")[1],
|
|
|
+ };
|
|
|
+ let url = window.location.href;
|
|
|
+ if(url.indexOf('local')){
|
|
|
+ this.jump_url = 'http://local.proginn.com/rooter/cloudjobitem/';
|
|
|
+ } else if(url.indexOf('dev')){
|
|
|
+ this.jump_url = 'https://dev.test.proginn.com/rooter/cloudjobitem/';
|
|
|
+ } else {
|
|
|
+ this.jump_url = 'https://proginn.com/rooter/cloudjobitem/';
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -215,6 +224,7 @@
|
|
|
this.job_type = vars[1].split("=")[1];
|
|
|
this.job_description = res.data.job.description;
|
|
|
this.match_directions = res.data.job.match_directions;
|
|
|
+
|
|
|
},
|
|
|
async cancelPresent() {
|
|
|
window.history.back();
|
|
|
@@ -273,8 +283,7 @@
|
|
|
const res = await this.$post("/api/admin/present_job/present_edit",body);
|
|
|
if (res.status==1) {
|
|
|
alert(res.info);
|
|
|
- alert(document.referrer);
|
|
|
- self.location=document.referrer;
|
|
|
+ location.href=this.jump_url+this.related_id;
|
|
|
|
|
|
}
|
|
|
}
|