Commit d5f9375c by xue_wengang

跳转链接统一

parent 93e9a147
...@@ -26,13 +26,10 @@ if ( ...@@ -26,13 +26,10 @@ if (
base.alyIP = "/apialy"; base.alyIP = "/apialy";
base.alyIP2 = "/apiAjzb"; base.alyIP2 = "/apiAjzb";
base.alyIP3 = "/apialy"; base.alyIP3 = "/apialy";
base.alyIP4 = 'http://39.99.155.173:8007/naotuBox' // 脑图链接 base.alyIP4 = 'http://39.99.155.173:8007' // 脑图链接
base.alyIP5 = 'http://39.99.155.173:8003/queryAjdaxxs' // 画像工厂 案件 base.alyIP5 = 'http://39.99.155.173:8003' // 画像工厂 案件
base.alyIP6 = 'http://39.99.155.173:9002/#/rydaIndex/ryGI' // 画像工厂 人员 base.alyIP8 = 'http://39.99.155.173:9003' //
base.alyIP7 = 'http://39.99.155.173:9002/#/cardaIndex' // 画像工厂 车辆 base.alyIP9 = 'http://47.92.225.109:8347' //
base.alyIP8 = 'http://39.99.155.173:9003/#/ajbzDetail' //
base.alyIP9 = 'http://47.92.225.109:8347/#/JumpPage/admin/admin' //
base.alyIP10 = 'http://39.99.155.173:8003'
} }
export default base; export default base;
...@@ -238,27 +238,27 @@ export default { ...@@ -238,27 +238,27 @@ export default {
if (boo) { if (boo) {
if (this.pages == "ajhx") { if (this.pages == "ajhx") {
// let path = `http://39.99.155.173:8003/queryAjdaxxs?asjbh=${this.form.zjhm}`; // let path = `http://39.99.155.173:8003/queryAjdaxxs?asjbh=${this.form.zjhm}`;
let path = `${base.alyIP5}?asjbh=${this.form.zjhm}`; let path = `${base.alyIP5/queryAjdaxxs}?asjbh=${this.form.zjhm}`;
window.open(path, "_blank"); window.open(path, "_blank");
} else if (this.pages == "hxgc") { } else if (this.pages == "hxgc") {
// let path = `http://39.99.155.173:9002/#/rydaIndex/ryGI?zjhm=${this.form.asjbh}`; // let path = `http://39.99.155.173:9002/#/rydaIndex/ryGI?zjhm=${this.form.asjbh}`;
let path = `${base.alyIP6}?zjhm=${this.form.asjbh}`; let path = `${base.alyIP6}/#/rydaIndex/ryGI?zjhm=${this.form.asjbh}`;
window.open(path, "_blank"); window.open(path, "_blank");
} else if (this.pages == "clhx") { } else if (this.pages == "clhx") {
// let path = `http://39.99.155.173:9002/#/cardaIndex?cphm=${this.form.cphm}`; // let path = `http://39.99.155.173:9002/#/cardaIndex?cphm=${this.form.cphm}`;
let path = `${base.alyIP7}?cphm=${this.form.cphm}`; let path = `${base.alyIP6}/#/cardaIndex?cphm=${this.form.cphm}`;
window.open(path, "_blank"); window.open(path, "_blank");
} else if (this.pages == "queryTdyp") { } else if (this.pages == "queryTdyp") {
// let path = `http://39.99.155.173:9003/#/ajbzDetail?asjbh=${this.form.asjbh}`; // let path = `http://39.99.155.173:9003/#/ajbzDetail?asjbh=${this.form.asjbh}`;
let path = `${base.alyIP8}?asjbh=${this.form.asjbh}`; let path = `${base.alyIP8}/#/ajbzDetail?asjbh=${this.form.asjbh}`;
window.open(path, "_blank"); window.open(path, "_blank");
} else if (this.pages == "querySdtdyp") { } else if (this.pages == "querySdtdyp") {
// let path = `http://39.99.155.173:9003/#/ajbzDetail?asjbh=${this.form.asjbh}`; // let path = `http://39.99.155.173:9003/#/ajbzDetail?asjbh=${this.form.asjbh}`;
let path = `${base.alyIP8}?asjbh=${this.form.asjbh}`; let path = `${base.alyIP8}/#/ajbzDetail?asjbh=${this.form.asjbh}`;
window.open(path, "_blank"); window.open(path, "_blank");
}else if (this.pages == "queryXsyp") { }else if (this.pages == "queryXsyp") {
// let path = `http://47.92.225.109:8347/#/JumpPage/admin/admin/${this.form.asjbh}`; // let path = `http://47.92.225.109:8347/#/JumpPage/admin/admin/${this.form.asjbh}`;
let path = `${base.alyIP9}/${this.form.asjbh}`; let path = `${base.alyIP9}/#/JumpPage/admin/admin/${this.form.asjbh}`;
window.open(path, "_blank"); window.open(path, "_blank");
} }
else { else {
......
...@@ -152,7 +152,7 @@ export default { ...@@ -152,7 +152,7 @@ export default {
methods: { methods: {
goDetail(item) { goDetail(item) {
if (item.id == "dwcx") { if (item.id == "dwcx") {
let path = `http://39.99.155.173:9002/#/jccxIndex`; let path = `${this.$baseUrl.alyIP6}/#/jccxIndex`;
window.open(path, "_blank"); window.open(path, "_blank");
} else if (item.id == "brainDzajSP") { } else if (item.id == "brainDzajSP") {
let obj = JSON.parse(sessionStorage.getItem("userInfo")); let obj = JSON.parse(sessionStorage.getItem("userInfo"));
......
...@@ -20,6 +20,7 @@ import 'driver.js/dist/driver.min.css' ...@@ -20,6 +20,7 @@ import 'driver.js/dist/driver.min.css'
import './assets/iconfont/iconfont.css' import './assets/iconfont/iconfont.css'
import moment from 'moment' import moment from 'moment'
import rules from "./utils/rules.js"; import rules from "./utils/rules.js";
import baseUrl from './api/base'
const Base64 = require('js-base64').Base64 const Base64 = require('js-base64').Base64
//引入echarts //引入echarts
...@@ -38,6 +39,7 @@ Vue.prototype.$driver = new Driver({ ...@@ -38,6 +39,7 @@ Vue.prototype.$driver = new Driver({
prevBtnText: "上一步" // Previous button text for this step prevBtnText: "上一步" // Previous button text for this step
}) })
Vue.prototype.$baseUrl = baseUrl;
Vue.prototype.$rules = rules; Vue.prototype.$rules = rules;
Vue.prototype.$moment = moment; Vue.prototype.$moment = moment;
import Nsloading from "./components/Loading.vue"; import Nsloading from "./components/Loading.vue";
......
...@@ -723,15 +723,11 @@ export default { ...@@ -723,15 +723,11 @@ export default {
window.open(path, "_blank"); window.open(path, "_blank");
}, },
toBrai(scope) { toBrai(scope) {
// let path = `http://39.99.155.173:8007/naotuBox?type=nmAjXx&kybh=${this.form.asjbh}`;
// window.open(path, "_blank");
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")); var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard; var idcard = userInfo.identitycard;
var params = { type: this.typeNt, kybh: scope.row.asjbh, userId: idcard }; var params = { type: this.typeNt, kybh: scope.row.asjbh, userId: idcard };
console.log(params); console.log(params);
// var params = { type: "AjXx", kybh: this.form.asjbh, userId: '142302198901012417' }; this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
this.toDetail(`${base.alyIP4}`, params);
// this.toDetail("http://39.99.155.173:8007/naotuBox", params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
var temp_form = document.createElement("form"); var temp_form = document.createElement("form");
......
...@@ -48,14 +48,10 @@ export default { ...@@ -48,14 +48,10 @@ export default {
}, },
methods: { methods: {
goDetail() { goDetail() {
// let path = `http://39.99.155.173:8007/naotuBox?type=nmKyJdc&kybh=${this.form.cph}`;
// window.open(path, "_blank");
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")) var userInfo = JSON.parse(sessionStorage.getItem("userInfo"))
var idcard = userInfo.identitycard var idcard = userInfo.identitycard
var params = { type: "KyJdc", kybh: this.form.cph, userId: idcard, }; var params = { type: "KyJdc", kybh: this.form.cph, userId: idcard, };
// var params = { type: "KyJdc", kybh: this.form.cph, userId: '142302198901012417' }; this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
this.toDetail(`${base.alyIP4}`, params);
// this.toDetail("http://39.99.155.173:8007/naotuBox", params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
var temp_form = document.createElement("form"); var temp_form = document.createElement("form");
......
...@@ -48,14 +48,10 @@ export default { ...@@ -48,14 +48,10 @@ export default {
}, },
methods: { methods: {
goDetail() { goDetail() {
// let path = `http://39.99.155.173:8007/naotuBox?type=nmKyJdc&kybh=${this.form.cph}`;
// window.open(path, "_blank");
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")) var userInfo = JSON.parse(sessionStorage.getItem("userInfo"))
var idcard = userInfo.identitycard var idcard = userInfo.identitycard
var params = { type: "KyJdc", kybh: this.form.cph, userId: idcard, }; var params = { type: "KyJdc", kybh: this.form.cph, userId: idcard, };
// var params = { type: "KyJdc", kybh: this.form.cph, userId: '142302198901012417' }; this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
this.toDetail(`${base.alyIP4}`, params);
// this.toDetail("http://39.99.155.173:8007/naotuBox", params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
var temp_form = document.createElement("form"); var temp_form = document.createElement("form");
......
...@@ -336,7 +336,7 @@ export default { ...@@ -336,7 +336,7 @@ export default {
this.$store.commit("user/SET_Menu", this.Menu); this.$store.commit("user/SET_Menu", this.Menu);
axios axios
.get(`http://39.99.155.173:8007/login?userId=142302198901012417`) .get(`${this.$baseUrl.alyIP4}/login?userId=142302198901012417`)
.then((res) => { .then((res) => {
console.log(res); console.log(res);
}) })
...@@ -345,20 +345,8 @@ export default { ...@@ -345,20 +345,8 @@ export default {
}); });
}, },
mounted() { mounted() {
// axios
// .get(`http://39.99.155.173:8007/login?userId=142302198901012417`)
// .then((res) => {
// console.log(res);
// })
// .catch((err) => {
// console.log(err);
// });
}, },
methods: { methods: {
// goDetail() {
// let path = `http://10.184.14.198:9047/toAddAsjxx?asjbh=${this.form.asjbh}`;
// window.open(path, "_blank");
// },
sqspBtn(scope) { sqspBtn(scope) {
this.dialogVisible = true; this.dialogVisible = true;
this.examineInfo.ajmc = scope.row.ajmc; this.examineInfo.ajmc = scope.row.ajmc;
...@@ -434,14 +422,10 @@ export default { ...@@ -434,14 +422,10 @@ export default {
window.open(path, "_blank"); window.open(path, "_blank");
}, },
toBrain(scope) { toBrain(scope) {
// let path = `http://39.99.155.173:8007/naotuBox?type=hnDxzp&kybh=${scope.row.asjbh}`;
// window.open(path, "_blank");
// ?userId=142302198901012417
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")); var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard; var idcard = userInfo.identitycard;
var params = { type: "hnDxzp", kybh: scope.row.asjbh, userId: idcard }; var params = { type: "hnDxzp", kybh: scope.row.asjbh, userId: idcard };
this.toDetail(`${base.alyIP4}`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
// this.toDetail("http://39.99.155.173:8007/naotuBox", params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
var temp_form = document.createElement("form"); var temp_form = document.createElement("form");
......
...@@ -48,14 +48,10 @@ export default { ...@@ -48,14 +48,10 @@ export default {
}, },
methods: { methods: {
goDetail() { goDetail() {
// let path = `http://39.99.155.173:8007/naotuBox?type=nmKyIMEI&kybh=${this.form.imei}`;
// window.open(path, "_blank");
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")) var userInfo = JSON.parse(sessionStorage.getItem("userInfo"))
var idcard = userInfo.identitycard var idcard = userInfo.identitycard
var params = { type: "KyIMEI", kybh: this.form.imei, userId: idcard, }; var params = { type: "KyIMEI", kybh: this.form.imei, userId: idcard, };
// var params = { type: "KyIMEI", kybh: this.form.imei, userId: '142302198901012417' }; this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
this.toDetail(`${base.alyIP4}`, params);
// this.toDetail("http://39.99.155.173:8007/naotuBox", params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
var temp_form = document.createElement("form"); var temp_form = document.createElement("form");
......
...@@ -48,14 +48,10 @@ export default { ...@@ -48,14 +48,10 @@ export default {
}, },
methods: { methods: {
goDetail() { goDetail() {
// let path = `http://39.99.155.173:8007/naotuBox?type=nmKyIMSI&kybh=${this.form.imsi}`;
// window.open(path, "_blank");
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")) var userInfo = JSON.parse(sessionStorage.getItem("userInfo"))
var idcard = userInfo.identitycard var idcard = userInfo.identitycard
var params = { type: "KyIMSI", kybh: this.form.imsi, userId: idcard, }; var params = { type: "KyIMSI", kybh: this.form.imsi, userId: idcard, };
// var params = { type: "KyIMSI", kybh: this.form.imsi, userId: '142302198901012417' }; this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
this.toDetail(`${base.alyIP4}`, params);
// this.toDetail("http://39.99.155.173:8007/naotuBox", params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
var temp_form = document.createElement("form"); var temp_form = document.createElement("form");
......
...@@ -48,14 +48,10 @@ export default { ...@@ -48,14 +48,10 @@ export default {
}, },
methods: { methods: {
goDetail() { goDetail() {
// let path = `http://39.99.155.173:8007/naotuBox?type=nmKyQq&kybh=${this.form.qqh}`;
// window.open(path, "_blank");
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")) var userInfo = JSON.parse(sessionStorage.getItem("userInfo"))
var idcard = userInfo.identitycard var idcard = userInfo.identitycard
var params = { type: "KyQq", kybh: this.form.qqh, userId: idcard, }; var params = { type: "KyQq", kybh: this.form.qqh, userId: idcard, };
// var params = { type: "KyQq", kybh: this.form.qqh, userId: '142302198901012417' }; this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
this.toDetail(`${base.alyIP4}`, params);
// this.toDetail("http://39.99.155.173:8007/naotuBox", params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
var temp_form = document.createElement("form"); var temp_form = document.createElement("form");
......
...@@ -48,14 +48,10 @@ export default { ...@@ -48,14 +48,10 @@ export default {
}, },
methods: { methods: {
goDetail() { goDetail() {
// let path = `http://39.99.155.173:8007/naotuBox?type=nmKyRy&kybh=${this.form.zjhm}`;
// window.open(path, "_blank");
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")) var userInfo = JSON.parse(sessionStorage.getItem("userInfo"))
var idcard = userInfo.identitycard var idcard = userInfo.identitycard
var params = { type: "KyRy", kybh: this.form.zjhm, userId: idcard, }; var params = { type: "KyRy", kybh: this.form.zjhm, userId: idcard, };
// var params = { type: "KyRy", kybh: this.form.zjhm, userId: '142302198901012417' }; this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
this.toDetail(`${base.alyIP4}`, params);
// this.toDetail("http://39.99.155.173:8007/naotuBox", params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
var temp_form = document.createElement("form"); var temp_form = document.createElement("form");
......
...@@ -48,14 +48,10 @@ export default { ...@@ -48,14 +48,10 @@ export default {
}, },
methods: { methods: {
goDetail() { goDetail() {
// let path = `http://39.99.155.173:8007/naotuBox?type=nmKyRy&kybh=${this.form.zjhm}`;
// window.open(path, "_blank");
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")) var userInfo = JSON.parse(sessionStorage.getItem("userInfo"))
var idcard = userInfo.identitycard var idcard = userInfo.identitycard
var params = { type: "KyRy", kybh: this.form.zjhm, userId: idcard, }; var params = { type: "KyRy", kybh: this.form.zjhm, userId: idcard, };
// var params = { type: "KyRy", kybh: this.form.zjhm, userId: '142302198901012417' }; this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
this.toDetail(`${base.alyIP4}`, params);
// this.toDetail("http://39.99.155.173:8007/naotuBox", params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
var temp_form = document.createElement("form"); var temp_form = document.createElement("form");
......
...@@ -48,14 +48,10 @@ export default { ...@@ -48,14 +48,10 @@ export default {
}, },
methods: { methods: {
goDetail() { goDetail() {
// let path = `http://39.99.155.173:8007/naotuBox?type=nmKySj&kybh=${this.form.sjh}`;
// window.open(path, "_blank");
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")) var userInfo = JSON.parse(sessionStorage.getItem("userInfo"))
var idcard = userInfo.identitycard var idcard = userInfo.identitycard
var params = { type: "KySj", kybh: this.form.sjh, userId: idcard, }; var params = { type: "KySj", kybh: this.form.sjh, userId: idcard, };
// var params = { type: "KySj", kybh: this.form.sjh, userId: '142302198901012417' }; this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
this.toDetail(`${base.alyIP4}`, params);
// this.toDetail("http://39.99.155.173:8007/naotuBox", params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
var temp_form = document.createElement("form"); var temp_form = document.createElement("form");
......
...@@ -47,13 +47,10 @@ export default { ...@@ -47,13 +47,10 @@ export default {
}, },
methods: { methods: {
goDetail() { goDetail() {
// let path = `http://39.99.155.173:8007/naotuBox?type=nmKySj&kybh=${this.form.sjh}`;
// window.open(path, "_blank");
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")) var userInfo = JSON.parse(sessionStorage.getItem("userInfo"))
var idcard = userInfo.identitycard var idcard = userInfo.identitycard
var params = { type: "KySj", kybh: this.form.sjh, userId: idcard, }; var params = { type: "KySj", kybh: this.form.sjh, userId: idcard, };
// var params = { type: "KySj", kybh: this.form.sjh, userId: '142302198901012417' }; this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
this.toDetail("http://39.99.155.173:8007/naotuBox", params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
var temp_form = document.createElement("form"); var temp_form = document.createElement("form");
......
...@@ -48,14 +48,10 @@ export default { ...@@ -48,14 +48,10 @@ export default {
}, },
methods: { methods: {
goDetail() { goDetail() {
// let path = `http://39.99.155.173:8007/naotuBox?type=nmKyWx&kybh=${this.form.wxh}`;
// window.open(path, "_blank");
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")) var userInfo = JSON.parse(sessionStorage.getItem("userInfo"))
var idcard = userInfo.identitycard var idcard = userInfo.identitycard
var params = { type: "KyWx", kybh: this.form.wxh, userId: idcard, }; var params = { type: "KyWx", kybh: this.form.wxh, userId: idcard, };
// var params = { type: "KyWx", kybh: this.form.wxh, userId: '142302198901012417' }; this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
this.toDetail(`${base.alyIP4}`, params);
// this.toDetail("http://39.99.155.173:8007/naotuBox", params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
var temp_form = document.createElement("form"); var temp_form = document.createElement("form");
......
...@@ -401,7 +401,7 @@ export default { ...@@ -401,7 +401,7 @@ export default {
userId: idcard, userId: idcard,
}; };
// var params = {type:'KyJdc',kybh:item.row.kyxsjdcCphm, userId: '142302198901012417'} // var params = {type:'KyJdc',kybh:item.row.kyxsjdcCphm, userId: '142302198901012417'}
this.toDetail(`${base.alyIP4}`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
// this.toDetail("http://39.99.155.173:8007/naotuBox", params); // this.toDetail("http://39.99.155.173:8007/naotuBox", params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
......
...@@ -444,7 +444,7 @@ export default { ...@@ -444,7 +444,7 @@ export default {
}; };
} }
// this.toDetail("http://39.99.155.173:8007/naotuBox", params); // this.toDetail("http://39.99.155.173:8007/naotuBox", params);
this.toDetail(`${base.alyIP4}`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
// window.open(path, "_blank"); // window.open(path, "_blank");
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
......
...@@ -396,7 +396,7 @@ export default { ...@@ -396,7 +396,7 @@ export default {
var idcard = userInfo.identitycard; var idcard = userInfo.identitycard;
var params = { type: "KySj", kybh: item.row.kyxshmYdhm, userId: idcard }; var params = { type: "KySj", kybh: item.row.kyxshmYdhm, userId: idcard };
// var params = {type:'KySj',kybh:item.row.kyxshmYdhm, userId: '142302198901012417'} // var params = {type:'KySj',kybh:item.row.kyxshmYdhm, userId: '142302198901012417'}
this.toDetail(`${base.alyIP4}`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
// this.toDetail("http://39.99.155.173:8007/naotuBox", params); // this.toDetail("http://39.99.155.173:8007/naotuBox", params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
......
...@@ -404,7 +404,7 @@ export default { ...@@ -404,7 +404,7 @@ export default {
var params = { type: "KyRy", kybh: item.row.kyxsryZjhm, userId: idcard }; var params = { type: "KyRy", kybh: item.row.kyxsryZjhm, userId: idcard };
// var params = {type:'KyRy',kybh:item.row.kyxsryZjhm, userId: '142302198901012417' } // var params = {type:'KyRy',kybh:item.row.kyxsryZjhm, userId: '142302198901012417' }
// this.toDetail("http://39.99.155.173:8007/naotuBox", params); // this.toDetail("http://39.99.155.173:8007/naotuBox", params);
this.toDetail(`${base.alyIP4}`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
var temp_form = document.createElement("form"); var temp_form = document.createElement("form");
......
...@@ -76,7 +76,7 @@ export default { ...@@ -76,7 +76,7 @@ export default {
this.$store.commit("user/SET_LeftMenu", this.leftMenus); this.$store.commit("user/SET_LeftMenu", this.leftMenus);
this.$store.commit("user/SET_Header", this.header); this.$store.commit("user/SET_Header", this.header);
axios axios
.get(`http://39.99.155.173:8007/login?userId=142302198901012417`) .get(`${this.$baseUrl.alyIP4}/login?userId=142302198901012417`)
.then((res) => { .then((res) => {
console.log(res); console.log(res);
}) })
...@@ -92,7 +92,7 @@ export default { ...@@ -92,7 +92,7 @@ export default {
var idcard = userInfo.identitycard var idcard = userInfo.identitycard
var params = { type: "KyRy", kybh: this.form.zjhm, userId: idcard, }; var params = { type: "KyRy", kybh: this.form.zjhm, userId: idcard, };
// var params = { type: "KyRy", kybh: this.form.zjhm, userId: '142302198901012417' }; // var params = { type: "KyRy", kybh: this.form.zjhm, userId: '142302198901012417' };
this.toDetail(`${base.alyIP4}`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
// this.toDetail("http://39.99.155.173:8007/naotuBox", params); // this.toDetail("http://39.99.155.173:8007/naotuBox", params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
......
...@@ -47,7 +47,7 @@ export default { ...@@ -47,7 +47,7 @@ export default {
}, },
methods: { methods: {
goDetail() { goDetail() {
let path = `http://47.92.225.109:8347/#/JumpPage/admin/admin/${this.form.zjhm}`; let path = `${this.$baseUrl.alyIP9}/#/JumpPage/admin/admin/${this.form.zjhm}`;
window.open(path, "_blank"); window.open(path, "_blank");
// var params = { type: "AjXx", kybh: this.form.zjhm, userId: '142302198901012417' }; // var params = { type: "AjXx", kybh: this.form.zjhm, userId: '142302198901012417' };
// this.toDetail("http://47.92.225.109:8347/#/JumpPage/admin/admin/", params); // this.toDetail("http://47.92.225.109:8347/#/JumpPage/admin/admin/", params);
......
...@@ -47,7 +47,7 @@ export default { ...@@ -47,7 +47,7 @@ export default {
}, },
methods: { methods: {
goDetail() { goDetail() {
let path = `http://47.92.225.109:8347/#/JumpPage/username/password/${this.form.zjhm}`; let path = `${this.$baseUrl.alyIP9}/#/JumpPage/username/password/${this.form.zjhm}`;
window.open(path, "_blank"); window.open(path, "_blank");
}, },
}, },
......
...@@ -47,7 +47,7 @@ export default { ...@@ -47,7 +47,7 @@ export default {
}, },
methods: { methods: {
goDetail() { goDetail() {
let path = `http://47.92.225.109:8347/#/JumpPage/username/password/${this.form.asjbh}`; let path = `${this.$baseUrl.alyIP9}/#/JumpPage/username/password/${this.form.asjbh}`;
window.open(path, "_blank"); window.open(path, "_blank");
}, },
}, },
......
...@@ -470,7 +470,7 @@ export default { ...@@ -470,7 +470,7 @@ export default {
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")); var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard; var idcard = userInfo.identitycard;
var params = { type: "hnDxzp", kybh: scope.row.bshvalue, userId: idcard }; var params = { type: "hnDxzp", kybh: scope.row.bshvalue, userId: idcard };
this.toDetail("http://39.99.155.173:8007/naotuBox", params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
if(scope.row.bshlx == 'qq' && scope.row.bshvalue != "") { if(scope.row.bshlx == 'qq' && scope.row.bshvalue != "") {
var params = { type: "KyQq", kybh: scope.row.bshvalue, userId: idcard }; var params = { type: "KyQq", kybh: scope.row.bshvalue, userId: idcard };
...@@ -484,7 +484,7 @@ export default { ...@@ -484,7 +484,7 @@ export default {
// var params = { type: "KyRy", kybh: scope.row.bshvalue, userId: idcard }; // var params = { type: "KyRy", kybh: scope.row.bshvalue, userId: idcard };
} }
this.toDetail("http://39.99.155.173:8007/naotuBox", params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
......
...@@ -982,9 +982,9 @@ export default { ...@@ -982,9 +982,9 @@ export default {
// http://39.99.155.173:8003/queryAjdaxxs?asjbh=A4419615400002020086063 // http://39.99.155.173:8003/queryAjdaxxs?asjbh=A4419615400002020086063
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")); var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard; var idcard = userInfo.identitycard;
let path = `${base.alyIP10}/doLogin?zjhm=${idcard}`; let path = `${base.alyIP5}/doLogin?zjhm=${idcard}`;
window.open(path, "_blank"); window.open(path, "_blank");
let paths = `${base.alyIP10}/queryAjdaxxs?asjbh=${scope.asjbh}`; let paths = `${base.alyIP5}/queryAjdaxxs?asjbh=${scope.asjbh}`;
window.open(paths, "_blank"); window.open(paths, "_blank");
}, },
}, },
......
...@@ -521,7 +521,7 @@ export default { ...@@ -521,7 +521,7 @@ export default {
userId: obj.identitycard, userId: obj.identitycard,
}; };
console.log(params); console.log(params);
this.toDetail(`${base.alyIP4}`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
// this.toDetail("http://39.99.155.173:8007/naotuBox", params); // this.toDetail("http://39.99.155.173:8007/naotuBox", params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
......
...@@ -521,7 +521,7 @@ export default { ...@@ -521,7 +521,7 @@ export default {
userId: obj.identitycard, userId: obj.identitycard,
}; };
console.log(params); console.log(params);
this.toDetail(`${base.alyIP4}`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
// this.toDetail("http://39.99.155.173:8007/naotuBox", params); // this.toDetail("http://39.99.155.173:8007/naotuBox", params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
......
...@@ -220,8 +220,8 @@ export default { ...@@ -220,8 +220,8 @@ export default {
}; };
debugger debugger
console.log(params); console.log(params);
this.toDetail(`${base.alyIP4}`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
// ${base.alyIP4} // ${this.$baseUrl.alyIP4}/naotuBox
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
var temp_form = document.createElement("form"); var temp_form = document.createElement("form");
......
...@@ -139,7 +139,7 @@ export default { ...@@ -139,7 +139,7 @@ export default {
userId: obj.identitycard, userId: obj.identitycard,
}; };
console.log(params); console.log(params);
this.toDetail(`${base.alyIP4}`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
// this.toDetail("http://39.99.155.173:8007/naotuBox", params); // this.toDetail("http://39.99.155.173:8007/naotuBox", params);
}, },
toDetail(url, PARAMS) { toDetail(url, PARAMS) {
......
...@@ -678,9 +678,9 @@ export default { ...@@ -678,9 +678,9 @@ export default {
// http://39.99.155.173:8003/queryAjdaxxs?asjbh=A4419615400002020086063 // http://39.99.155.173:8003/queryAjdaxxs?asjbh=A4419615400002020086063
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")); var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard; var idcard = userInfo.identitycard;
let path = `${base.alyIP10}/doLogin?zjhm=${idcard}` let path = `${base.alyIP5}/doLogin?zjhm=${idcard}`
window.open(path, "_blank"); window.open(path, "_blank");
let paths = `${base.alyIP10}/queryAjdaxxs?asjbh=${scope.asjbh}` let paths = `${base.alyIP5}/queryAjdaxxs?asjbh=${scope.asjbh}`
window.open(paths, "_blank"); window.open(paths, "_blank");
}, },
showDialogS(data) { showDialogS(data) {
......
...@@ -319,9 +319,9 @@ export default { ...@@ -319,9 +319,9 @@ export default {
// http://39.99.155.173:8003/queryAjdaxxs?asjbh=A4419615400002020086063 // http://39.99.155.173:8003/queryAjdaxxs?asjbh=A4419615400002020086063
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")); var userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
var idcard = userInfo.identitycard; var idcard = userInfo.identitycard;
let path = `${base.alyIP10}/doLogin?zjhm=${idcard}`; let path = `${base.alyIP5}/doLogin?zjhm=${idcard}`;
window.open(path, "_blank"); window.open(path, "_blank");
let paths = `${base.alyIP10}/queryAjdaxxs?asjbh=${scope.asjbh}`; let paths = `${base.alyIP5}/queryAjdaxxs?asjbh=${scope.asjbh}`;
window.open(paths, "_blank"); window.open(paths, "_blank");
}, },
showDialogS(data) { showDialogS(data) {
......
...@@ -1147,7 +1147,7 @@ export default { ...@@ -1147,7 +1147,7 @@ export default {
userId: obj.identitycard, userId: obj.identitycard,
}; };
console.log(params); console.log(params);
this.toDetail(`${base.alyIP4}`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
// this.toDetail("http://39.99.155.173:8007/naotuBox", params); // this.toDetail("http://39.99.155.173:8007/naotuBox", params);
}, },
toInr(scope) { toInr(scope) {
...@@ -1194,7 +1194,7 @@ export default { ...@@ -1194,7 +1194,7 @@ export default {
kybh: kybh, kybh: kybh,
userId: obj.identitycard, userId: obj.identitycard,
}; };
this.toDetail(`${base.alyIP4}`, params); this.toDetail(`${this.$baseUrl.alyIP4}/naotuBox`, params);
// this.toDetail("http://39.99.155.173:8007/naotuBox", params); // this.toDetail("http://39.99.155.173:8007/naotuBox", params);
} }
}, },
......
...@@ -438,7 +438,7 @@ export default { ...@@ -438,7 +438,7 @@ export default {
console.log(scope.row.xxzjbh); console.log(scope.row.xxzjbh);
}, },
giveInstructions(scope) { giveInstructions(scope) {
let path = `http://39.99.155.173:9003/#/addsqfbzl?type=xdzl&xsbh=${scope.row.xxzjbh}&module=zhendi&xsType=04`; let path = `${this.$baseUrl.alyIP8}/#/addsqfbzl?type=xdzl&xsbh=${scope.row.xxzjbh}&module=zhendi&xsType=04`;
window.open(path, "_blank"); window.open(path, "_blank");
}, },
toInfor(data) { toInfor(data) {
......
...@@ -1514,7 +1514,7 @@ export default { ...@@ -1514,7 +1514,7 @@ export default {
console.log(scope.row.xxzjbh); console.log(scope.row.xxzjbh);
}, },
giveInstructions(scope) { giveInstructions(scope) {
let path = `http://39.99.155.173:9003/#/addsqfbzl?type=xdzl&xsbh=${scope.row.xxzjbh}&module=zhendi&xsType=04`; let path = `${this.$baseUrl.alyIP8}/#/addsqfbzl?type=xdzl&xsbh=${scope.row.xxzjbh}&module=zhendi&xsType=04`;
window.open(path, "_blank"); window.open(path, "_blank");
}, },
//阵地交易活动 //阵地交易活动
......
...@@ -438,7 +438,7 @@ export default { ...@@ -438,7 +438,7 @@ export default {
console.log(scope.row.xxzjbh); console.log(scope.row.xxzjbh);
}, },
giveInstructions(scope) { giveInstructions(scope) {
let path = `http://39.99.155.173:9003/#/addsqfbzl?type=xdzl&xsbh=${scope.row.xxzjbh}&module=zhendi&xsType=04`; let path = `${this.$baseUrl.alyIP8}/#/addsqfbzl?type=xdzl&xsbh=${scope.row.xxzjbh}&module=zhendi&xsType=04`;
window.open(path, "_blank"); window.open(path, "_blank");
}, },
toInfor(data) { toInfor(data) {
......
...@@ -438,7 +438,7 @@ export default { ...@@ -438,7 +438,7 @@ export default {
console.log(scope.row.xxzjbh); console.log(scope.row.xxzjbh);
}, },
giveInstructions(scope) { giveInstructions(scope) {
let path = `http://39.99.155.173:9003/#/addsqfbzl?type=xdzl&xsbh=${scope.row.xxzjbh}&module=zhendi&xsType=04`; let path = `${this.$baseUrl.alyIP8}/#/addsqfbzl?type=xdzl&xsbh=${scope.row.xxzjbh}&module=zhendi&xsType=04`;
window.open(path, "_blank"); window.open(path, "_blank");
}, },
toInfor(data) { toInfor(data) {
......
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