|
@@ -26,7 +26,8 @@
|
|
|
|
|
|
|
|
<user-menu :theme="theme" :showSwitch='showSwitch'/>
|
|
<user-menu :theme="theme" :showSwitch='showSwitch'/>
|
|
|
<!-- <a href="http://www.myfitt.cn:18002" target="_top" style="color:white;float: right;" v-if="showSwitch =='森语'">切换单证系统</a> -->
|
|
<!-- <a href="http://www.myfitt.cn:18002" target="_top" style="color:white;float: right;" v-if="showSwitch =='森语'">切换单证系统</a> -->
|
|
|
- <a @click="handleLogout1" target="_top" style="color:white;float: right;" v-if="showSwitch =='森语'">切换单证系统</a>
|
|
|
|
|
|
|
+ <!-- <a @click="handleLogout1" target="_top" style="color:white;float: right;" v-if="showSwitch =='森语'">切换单证系统</a> -->
|
|
|
|
|
+ <a href="https://www.myfittyoung.cn/" target="_blank" style="color:white;float: right;" v-if="showSwitch =='森语'">切换SRM系统</a>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
<!-- 顶部导航栏模式 -->
|
|
<!-- 顶部导航栏模式 -->
|
|
@@ -130,12 +131,12 @@ export default {
|
|
|
methods: {
|
|
methods: {
|
|
|
...mapActions(["Logout2"]),
|
|
...mapActions(["Logout2"]),
|
|
|
handleLogout1() {
|
|
handleLogout1() {
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
const that = this
|
|
const that = this
|
|
|
return that.Logout2({}).then(() => {
|
|
return that.Logout2({}).then(() => {
|
|
|
window.location.href="/";
|
|
window.location.href="/";
|
|
|
//window.location.reload()
|
|
//window.location.reload()
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
}).catch(err => {
|
|
}).catch(err => {
|
|
|
that.$message.error({
|
|
that.$message.error({
|
|
|
title: '错误',
|
|
title: '错误',
|