Explorar el Código

闪电增员二维码判断是否味出单员

lihongxiao hace 2 años
padre
commit
f96d8d29d3
Se han modificado 3 ficheros con 9 adiciones y 5 borrados
  1. 2 2
      config/dev.env.js
  2. 0 2
      src/views/Letter/Orderlist.vue
  3. 7 1
      src/views/Sys/Recruiting.vue

+ 2 - 2
config/dev.env.js

@@ -6,8 +6,8 @@ module.exports = merge(prodEnv, {
   NODE_ENV: '"development"',
   ENV_CONFIG:'"dev"',
   // BASE_URL: '"http://39.98.239.48/web-api"',//测试服务器
-  // BASE_URL:'"http://sxzgkj.baoxianzhanggui.com/web-api"'//正式服务器
-  BASE_URL: '"http://192.168.0.115:8080/"' //凯森
+  BASE_URL:'"http://sxzgkj.baoxianzhanggui.com/web-api"'//正式服务器
+  // BASE_URL: '"http://192.168.0.115:8080/"' //凯森
   // BASE_URL: '"http:///192.168.0.253:8082/"',//田智
   // BASE_URL: '"http:///192.168.0.36:8080/"',//靖燕龙
 })

+ 0 - 2
src/views/Letter/Orderlist.vue

@@ -2064,13 +2064,11 @@ export default {
                           fileurl: val.jyx_policy_url,
                         });
                         })
-
                       }
                       }
                       else{
                         this.$message.error(res.msg);
                       }
-
                   })
                 }
                 break;

+ 7 - 1
src/views/Sys/Recruiting.vue

@@ -27,7 +27,13 @@ export default {
         // 设置可见性
         setBackupVisible: function (backupVisible) {
             var userId = Cookies.get("user");
-            let url = this.global.h5BaseUrl + "/#/pages/register/register?id=" + userId;
+            let url=''
+            if(JSON.parse(localStorage.getItem('user_data')).roleId=='19'){
+                url = this.global.h5BaseUrl + "/#/pages/register/orderissuer?id=" + userId;
+            }
+            else{
+                url = this.global.h5BaseUrl + "/#/pages/register/register?id=" + userId;
+            }
             this.backupVisible = backupVisible
             this.$nextTick(() => {
                 this.creatQrCode(url);