Commit 1a483908 authored by 5359's avatar 5359

生产环境配置

parent fbf3d5d3
...@@ -1093,7 +1093,7 @@ ...@@ -1093,7 +1093,7 @@
agentType: "1", agentType: "1",
// dealerFlag: vm.agentType, // dealerFlag: vm.agentType,
redirectUrl: redirectUrl:
"http://sign.hitachics.com/www/#/UserRegister/CompanyRegister?Regstatus=1" "http://lease.hitachics.com/www/#/UserRegister/CompanyRegister?Regstatus=1"
}; };
vm.hlsPopup.showLoading("请稍等"); vm.hlsPopup.showLoading("请稍等");
vm.$post(url, param).then(function (res) { vm.$post(url, param).then(function (res) {
...@@ -1157,7 +1157,7 @@ ...@@ -1157,7 +1157,7 @@
legalIdNo: vm.legalRepresentativeCardNumber1, legalIdNo: vm.legalRepresentativeCardNumber1,
agentType: "2", agentType: "2",
redirectUrl: redirectUrl:
"http://sign.hitachics.com/www/#/UserRegister/CompanyRegister?Regstatus=2" "http://lease.hitachics.com/www/#/UserRegister/CompanyRegister?Regstatus=2"
}; };
vm.hlsPopup.showLoading("请稍等"); vm.hlsPopup.showLoading("请稍等");
vm.$post(url, param).then(function (res) { vm.$post(url, param).then(function (res) {
...@@ -1206,7 +1206,7 @@ ...@@ -1206,7 +1206,7 @@
if (res.code == 0) { if (res.code == 0) {
vm.$vux.toast.text(res.message, "middle"); vm.$vux.toast.text(res.message, "middle");
window.open( window.open(
"http://sign.hitachics.com/www/#/UserRegister", "http://lease.hitachics.com/www/#/UserRegister",
"_self" "_self"
); );
} else { } else {
...@@ -1231,7 +1231,7 @@ ...@@ -1231,7 +1231,7 @@
if (res.code == 0) { if (res.code == 0) {
vm.$vux.toast.text(res.message, "middle"); vm.$vux.toast.text(res.message, "middle");
window.open( window.open(
"http://sign.hitachics.com/www/#/UserRegister", "http://lease.hitachics.com/www/#/UserRegister",
"_self" "_self"
); );
} else { } else {
...@@ -1242,7 +1242,7 @@ ...@@ -1242,7 +1242,7 @@
// 认证结果返回给接口 // 认证结果返回给接口
authResult(id, code, suc) { authResult(id, code, suc) {
let vm = this; let vm = this;
let url = "http://sign.hitachics.com/core/api/public/listen/auth/result"; let url = "http://lease.hitachics.com/core/api/public/listen/auth/result";
let param = { let param = {
contextId: id, contextId: id,
verifycode: code, verifycode: code,
......
...@@ -361,7 +361,7 @@ ...@@ -361,7 +361,7 @@
name: vm.personName, name: vm.personName,
mobile: vm.phoneNumber, mobile: vm.phoneNumber,
redirectUrl: redirectUrl:
"http://sign.hitachics.com/www/#/UserRegister/PersonalRegister?Regstatus=1" "http://lease.hitachics.com/www/#/UserRegister/PersonalRegister?Regstatus=1"
}; };
vm.hlsPopup.showLoading("请稍等"); vm.hlsPopup.showLoading("请稍等");
vm.$post(url, param).then(function (res) { vm.$post(url, param).then(function (res) {
...@@ -380,7 +380,7 @@ ...@@ -380,7 +380,7 @@
// 获取url地址参数 // 获取url地址参数
UrlSearch() { UrlSearch() {
var name, value; var name, value;
// var str="http://sign.hitachics.com/www/#/UserRegister/PersonalRegister?Regstatus=1&status=true&serviceId=1151815015435601748&verifycode=4accf0d2106f9c7361be72093e1fb793&contextId=10074&passed=true"; //取得整个地址栏 // var str="http://lease.hitachics.com/www/#/UserRegister/PersonalRegister?Regstatus=1&status=true&serviceId=1151815015435601748&verifycode=4accf0d2106f9c7361be72093e1fb793&contextId=10074&passed=true"; //取得整个地址栏
var str = window.location.href; //取得整个地址栏 var str = window.location.href; //取得整个地址栏
// alert(str) // alert(str)
var num = str.indexOf("?"); var num = str.indexOf("?");
...@@ -399,7 +399,7 @@ ...@@ -399,7 +399,7 @@
// 认证结果返回给接口 // 认证结果返回给接口
authResult(id, code, suc) { authResult(id, code, suc) {
let vm = this; let vm = this;
let url = "http://sign.hitachics.com/core/api/public/listen/auth/result"; let url = "http://lease.hitachics.com/core/api/public/listen/auth/result";
let param = { let param = {
contextId: id, contextId: id,
verifycode: code, verifycode: code,
...@@ -428,7 +428,7 @@ ...@@ -428,7 +428,7 @@
if (res.code == 0) { if (res.code == 0) {
vm.$vux.toast.text(res.message, "middle"); vm.$vux.toast.text(res.message, "middle");
window.open( window.open(
"http://sign.hitachics.com/www/#/UserRegister", "http://lease.hitachics.com/www/#/UserRegister",
"_self" "_self"
); );
} else { } else {
...@@ -452,7 +452,7 @@ ...@@ -452,7 +452,7 @@
if (res.code == 0) { if (res.code == 0) {
vm.$vux.toast.text(res.message, "middle"); vm.$vux.toast.text(res.message, "middle");
window.open( window.open(
"http://sign.hitachics.com/www/#/UserRegister", "http://lease.hitachics.com/www/#/UserRegister",
"_self" "_self"
); );
} else { } else {
......
...@@ -385,7 +385,7 @@ export default { ...@@ -385,7 +385,7 @@ export default {
if (res.code == 0) { if (res.code == 0) {
vm.$vux.toast.text(res.message, "middle"); vm.$vux.toast.text(res.message, "middle");
window.open( window.open(
"http://sign.hitachics.com/www/#/UserRegister", "http://lease.hitachics.com/www/#/UserRegister",
"_self" "_self"
); );
} else { } else {
......
...@@ -111,7 +111,7 @@ export default { ...@@ -111,7 +111,7 @@ export default {
if (res.code == 0) { if (res.code == 0) {
vm.$vux.toast.text(res.message, "middle"); vm.$vux.toast.text(res.message, "middle");
window.open( window.open(
"http://sign.hitachics.com/www/#/UserRegister", "http://lease.hitachics.com/www/#/UserRegister",
"_self" "_self"
); );
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment