Commit e7952dee authored by 吴冠's avatar 吴冠

更新

parent 7525e080
let url = 'http://merchants.eugood.cn'
export default url;
\ No newline at end of file
......@@ -32,6 +32,7 @@
<script>
import {getSecond} from '@/common/list.js'
import Cookies from 'js-cookie'
import url from "@/assets/js/url.js"
export default {
mounted(){
let tokenStr = Cookies.get("token")
......@@ -71,7 +72,7 @@ import Cookies from 'js-cookie'
let token=Cookies.get("token")
if(token){
/* window.location.href="http://192.168.200.201:8082/#/purchaser/Home" */
window.location.href=`http://merchants.eugood.cn/#/purchaser/Home?token=${token}`
window.location.href=url+`/#/purchaser/Home?token=${token}`
}
/* window.location.href=`http://192.168.200.201:8082/#/purchaser/Home?token=${token}` */
},
......
......@@ -85,6 +85,7 @@
</template>
<script>
import url from "@/assets/js/url.js"
import {getLoopPic} from '@/common/list.js'
import {getSecond,getListSite,getListSite1,getListSite2} from '@/common/list.js'
import Cookies from "js-cookie"
......@@ -217,10 +218,10 @@ import Cookies from "js-cookie"
let type = Cookies.get("isSupplier")
if(token){
if(type=="1"){
window.location.href=`http://60.205.251.80:8082/#/purchaser/Home?token=${token}`
window.location.href=url+`/#/purchaser/Home?token=${token}`
}
if(type=="2"){
window.location.href=`http://60.205.251.80:8082/#/supply/Home?token=${token}`
window.location.href=url+`/#/supply/Home?token=${token}`
}
}
}
......
......@@ -37,6 +37,7 @@
import dataBreadcrumb from '@/components/dataBreadcrumb.vue'
import {getBidingdetails} from '@/common/list.js'
import Cookies from "js-cookie"
import url from "@/assets/js/url.js"
export default {
components: {
dataBreadcrumb
......@@ -76,7 +77,7 @@ export default {
let token = Cookies.get("token")
/* this.$router.push(`/supply/web_sell/Online_registration/Sign_up?id=${this.proId}`) */
/* window.open(`http://60.205.251.80:8082/#/supply/bid/signupOnline/SignUp?id=${this.proId}&token=${token}`) */
window.open(`http://60.205.251.80:8082/#/supply/home?token=${token}`)
window.open(url+`/#/supply/home?token=${token}`)
}
},
......
......@@ -112,6 +112,7 @@ import breadCrumb from "@/components/dataBreadcrumb.vue";
import { getenquirydetails } from "@/common/list.js";
import Cookies from "js-cookie"
import noticeVue from '../notice.vue';
import url from "@/assets/js/url.js"
export default {
components: {
dataTable,
......@@ -210,7 +211,7 @@ export default {
if(number =='2'){
let token = Cookies.get("token")
/* window.open(`http://60.205.251.80:8082/#/supply/bid/signupOnline/seePrice?id=${this.PROid}&token=${token}`) */
window.open(`http://60.205.251.80:8082/#/supply/home?token=${token}`)
window.open(url+`/#/supply/home?token=${token}`)
}
}
},
......
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