Browse Source

驻场页面跳转修改

wanyongkang 6 years ago
parent
commit
8eb6702752
40 changed files with 85 additions and 76 deletions
  1. 2 2
      dist/200.html
  2. 0 1
      dist/_nuxt/6b05c30d9e5b8f655a20.js
  3. 1 0
      dist/_nuxt/705c1cdc5081afe2ae37.js
  4. 1 1
      dist/_nuxt/8393a9beb966c8a21b95.js
  5. 2 2
      dist/index.html
  6. 2 2
      dist/login/index.html
  7. 2 2
      dist/main/404/index.html
  8. 2 2
      dist/main/artificial_order/index.html
  9. 2 2
      dist/main/artificial_orders/index.html
  10. 2 2
      dist/main/balance_change/index.html
  11. 2 2
      dist/main/cats copy/index.html
  12. 2 2
      dist/main/cats/index.html
  13. 2 2
      dist/main/cert_check/index.html
  14. 2 2
      dist/main/cert_edit/index.html
  15. 2 2
      dist/main/cert_pro/index.html
  16. 2 2
      dist/main/cloud_balance/index.html
  17. 2 2
      dist/main/cloud_developer/index.html
  18. 2 2
      dist/main/cloud_job/index.html
  19. 2 2
      dist/main/cloud_order copy/index.html
  20. 2 2
      dist/main/dev_check/index.html
  21. 2 2
      dist/main/dev_check_detail/index.html
  22. 2 2
      dist/main/dev_show/index.html
  23. 2 2
      dist/main/gongmall/index.html
  24. 2 2
      dist/main/group_list/index.html
  25. 2 2
      dist/main/index.html
  26. 2 2
      dist/main/orders/index.html
  27. 2 2
      dist/main/orders_detail/index.html
  28. 2 2
      dist/main/orders_frozen/index.html
  29. 2 2
      dist/main/outsource_bill/index.html
  30. 2 2
      dist/main/publish_present/index.html
  31. 2 2
      dist/main/user_bills/index.html
  32. 2 2
      dist/main/vip_manager/index.html
  33. 2 2
      dist/main/vip_order/index.html
  34. 2 2
      dist/main/vip_setting/index.html
  35. 2 2
      dist/main/wage_details/index.html
  36. 2 2
      dist/main/wage_settlement/index.html
  37. 2 2
      dist/main/wait_expend/index.html
  38. 2 2
      dist/main/withdraw/index.html
  39. 2 2
      dist/main/work_bill/index.html
  40. 11 2
      pages/main/index/publish_present.vue

File diff suppressed because it is too large
+ 2 - 2
dist/200.html


File diff suppressed because it is too large
+ 0 - 1
dist/_nuxt/6b05c30d9e5b8f655a20.js


File diff suppressed because it is too large
+ 1 - 0
dist/_nuxt/705c1cdc5081afe2ae37.js


File diff suppressed because it is too large
+ 1 - 1
dist/_nuxt/8393a9beb966c8a21b95.js


File diff suppressed because it is too large
+ 2 - 2
dist/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/login/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/404/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/artificial_order/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/artificial_orders/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/balance_change/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cats copy/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cats/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cert_check/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cert_edit/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cert_pro/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cloud_balance/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cloud_developer/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cloud_job/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cloud_order copy/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/dev_check/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/dev_check_detail/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/dev_show/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/gongmall/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/group_list/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/orders/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/orders_detail/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/orders_frozen/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/outsource_bill/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/publish_present/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/user_bills/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/vip_manager/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/vip_order/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/vip_setting/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/wage_details/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/wage_settlement/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/wait_expend/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/withdraw/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/work_bill/index.html


+ 11 - 2
pages/main/index/publish_present.vue

@@ -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;
 
                 }
             }