From 70ba76875d5c85e0d64f2437ea99588dca01dd34 Mon Sep 17 00:00:00 2001 From: "DESKTOP-369JRHT\\12997" <9> Date: Fri, 12 Jul 2024 14:06:17 +0800 Subject: [PATCH] no message --- fuintAdmin/src/layout/components/Navbar.vue | 2 +- fuintAdmin/src/main.js | 9 ++++++--- fuintAdmin/src/views/login.vue | 2 +- fuintAdmin_zt/src/main.js | 7 +++++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/fuintAdmin/src/layout/components/Navbar.vue b/fuintAdmin/src/layout/components/Navbar.vue index 1ab221668..509da99ce 100644 --- a/fuintAdmin/src/layout/components/Navbar.vue +++ b/fuintAdmin/src/layout/components/Navbar.vue @@ -191,7 +191,7 @@ export default { }).catch(() => {}); }, goToCashier() { - window.open(this.pcUrl+'#/homeindex?id=0') + window.open(this.cashierUrl+'#/homeindex?id=0') }, getStore(){ ljStoreInfo().then(res => { diff --git a/fuintAdmin/src/main.js b/fuintAdmin/src/main.js index 99487f3e3..6dcef7313 100644 --- a/fuintAdmin/src/main.js +++ b/fuintAdmin/src/main.js @@ -56,9 +56,12 @@ Vue.prototype.download = download Vue.prototype.handleTree = handleTree Vue.prototype.imgurl = 'http://192.168.0.138:8008' // Vue.prototype.pcUrl = 'http://192.168.0.178:83/' -Vue.prototype.cashierUrl = 'http://192.168.31.178:83/#/homeindex' // 收银台 -Vue.prototype.pcUrl = 'http://192.168.31.178:83/#/homeindex' // 收银台 -Vue.prototype.ztUrl = 'http://192.168.31.178:82/' // 中台 +// Vue.prototype.cashierUrl = 'http://192.168.31.178:83/#/homeindex' // 收银台 +// Vue.prototype.pcUrl = 'http://192.168.31.178:83/#/homeindex' // 收银台 +// Vue.prototype.ztUrl = 'http://192.168.31.178:82/' // 中台 +Vue.prototype.cashierUrl = 'https://cashier.youkerr.com/#/homeindex' // 收银台 +Vue.prototype.pcUrl = 'https://www.youkerr.com' // 收银台 +Vue.prototype.ztUrl = 'https://192.168.31.178:82/' // 中台 const Collapse= false Vue.prototype.isCollapse = Collapse diff --git a/fuintAdmin/src/views/login.vue b/fuintAdmin/src/views/login.vue index b0f001c4f..f4797011e 100644 --- a/fuintAdmin/src/views/login.vue +++ b/fuintAdmin/src/views/login.vue @@ -283,7 +283,7 @@ export default { if (Cookies.get("DUTY_ROLE_CODE") && Cookies.get("DUTY_ROLE_CODE") == 2) { console.log("123") - location.replace(this.pcUrl+"homeindex"); + location.replace(this.cashierUrl); }else { if (Cookies.get("IS_ZT_LOGIN")) { location.replace(this.ztUrl+"resource_oilbank"); diff --git a/fuintAdmin_zt/src/main.js b/fuintAdmin_zt/src/main.js index 59ce5c6d9..d210dd67b 100644 --- a/fuintAdmin_zt/src/main.js +++ b/fuintAdmin_zt/src/main.js @@ -53,9 +53,12 @@ Vue.prototype.handleTree = handleTree // Vue.prototype.pcUrl = 'http://192.168.0.121:82/' // Vue.prototype.pcUrl = 'http://192.168.31.96:82/' // Vue.prototype.pcUrl = 'http://47.95.206.185:85/' -Vue.prototype.pcUrl = 'http://192.168.31.178:81/' -Vue.prototype.bkUrl = 'http://192.168.31.178:81/' //跳转油站 +// Vue.prototype.pcUrl = 'http://192.168.31.178:81/' +// Vue.prototype.bkUrl = 'http://192.168.31.178:81/' //跳转油站 +Vue.prototype.bkUrl = 'https://www.youkerr.com/' //跳转油站 + +Vue.prototype.pcUrl = 'https://www.youkerr.com' // 收银台 // 全局组件挂载 Vue.component('DictTag', DictTag) Vue.component('Pagination', Pagination)