|
@@ -45,6 +45,14 @@
|
|
</el-scrollbar>
|
|
</el-scrollbar>
|
|
</div>
|
|
</div>
|
|
<div class="right-menu">
|
|
<div class="right-menu">
|
|
|
|
+ <el-tooltip style="display: flex;" effect="dark" v-if="tenantForm.tenantId == 1" content="点击进入商城系统" placement="bottom">
|
|
|
|
+ <div
|
|
|
|
+ class="msginfo right-position"
|
|
|
|
+ @click="gotoMall"
|
|
|
|
+ >
|
|
|
|
+ <i class="icon_admin_mall operationSize"></i>
|
|
|
|
+ </div>
|
|
|
|
+ </el-tooltip>
|
|
<el-tooltip style="display: flex;" effect="dark" v-if="tenantForm.tenantId == 1" content="点击进入OA系统" placement="bottom">
|
|
<el-tooltip style="display: flex;" effect="dark" v-if="tenantForm.tenantId == 1" content="点击进入OA系统" placement="bottom">
|
|
<div
|
|
<div
|
|
class="msginfo right-position"
|
|
class="msginfo right-position"
|
|
@@ -53,6 +61,7 @@
|
|
<i class="icon_admin_oa operationSize"></i>
|
|
<i class="icon_admin_oa operationSize"></i>
|
|
</div>
|
|
</div>
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
|
|
+
|
|
<!-- <el-popover
|
|
<!-- <el-popover
|
|
placement="bottom"
|
|
placement="bottom"
|
|
trigger="hover"
|
|
trigger="hover"
|
|
@@ -341,7 +350,7 @@ import { resetPassword } from "@/api/buildTeam";
|
|
import AppLink from "./Sidebar/Link";
|
|
import AppLink from "./Sidebar/Link";
|
|
import { getBelongTopMenuPath } from "@/utils/permission";
|
|
import { getBelongTopMenuPath } from "@/utils/permission";
|
|
// import instructions from "./instructions";
|
|
// import instructions from "./instructions";
|
|
-import { validOaUrl } from '@/utils/validate'
|
|
|
|
|
|
+import { validOaUrl,validMallUrl } from '@/utils/validate'
|
|
import { tenantInfoQueryPage } from '@/views/organManager/api'
|
|
import { tenantInfoQueryPage } from '@/views/organManager/api'
|
|
import Cookies from 'js-cookie'
|
|
import Cookies from 'js-cookie'
|
|
import axios from 'axios'
|
|
import axios from 'axios'
|
|
@@ -542,6 +551,9 @@ export default {
|
|
// Cookies.set('Admin-Token', Token, { domain: `.${validOaUrl().split('//')[1]}`, path: '/' })
|
|
// Cookies.set('Admin-Token', Token, { domain: `.${validOaUrl().split('//')[1]}`, path: '/' })
|
|
// document.cookie = `Adminoken=${Token};domain=oadev.dayaedu.com;`
|
|
// document.cookie = `Adminoken=${Token};domain=oadev.dayaedu.com;`
|
|
window.open(validOaUrl())
|
|
window.open(validOaUrl())
|
|
|
|
+ },
|
|
|
|
+ gotoMall(){
|
|
|
|
+ window.open(validMallUrl())
|
|
}
|
|
}
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|