Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -34,3 +34,6 @@ VITE_GLOB_ONLINE_DOCUMENT_VERSION=wps
|
|||||||
|
|
||||||
# AutoLogin SSO - 指向 demo 网关
|
# AutoLogin SSO - 指向 demo 网关
|
||||||
VITE_AUTOLOGIN_URL=http://localhost:9100/api/sys/autoLogin
|
VITE_AUTOLOGIN_URL=http://localhost:9100/api/sys/autoLogin
|
||||||
|
|
||||||
|
# 联系我们
|
||||||
|
VITE_GLOB_CONTACT_URL=http://localhost:3100/contact
|
||||||
|
|||||||
@@ -35,3 +35,6 @@ VITE_GLOB_ONLINE_DOCUMENT_VERSION=wps
|
|||||||
|
|
||||||
# AutoLogin SSO - 指向生产网关(地址由运维提供)
|
# AutoLogin SSO - 指向生产网关(地址由运维提供)
|
||||||
VITE_AUTOLOGIN_URL=http://200.100.65.101:9100/api/sys/autoLogin
|
VITE_AUTOLOGIN_URL=http://200.100.65.101:9100/api/sys/autoLogin
|
||||||
|
|
||||||
|
# 联系我们
|
||||||
|
VITE_GLOB_CONTACT_URL=#
|
||||||
|
|||||||
@@ -2,6 +2,11 @@
|
|||||||
background-color: @component-background !important;
|
background-color: @component-background !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar {
|
||||||
|
height: 14px;
|
||||||
|
width: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
html[data-theme='light'] {
|
html[data-theme='light'] {
|
||||||
// update-begin--author:liaozhiyang---date:20240407---for:【QQYUN-8774】给body加上打底的字体颜色
|
// update-begin--author:liaozhiyang---date:20240407---for:【QQYUN-8774】给body加上打底的字体颜色
|
||||||
body{
|
body{
|
||||||
|
|||||||
@@ -86,7 +86,8 @@
|
|||||||
margin-top: auto;
|
margin-top: auto;
|
||||||
|
|
||||||
.footer-text {
|
.footer-text {
|
||||||
font-size: 13px;
|
font-size: 15px;
|
||||||
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
<MenuDivider v-if="getShowDoc" />
|
<MenuDivider v-if="getShowDoc" />
|
||||||
<!-- <MenuItem itemKey="account" :text="t('layout.header.dropdownItemSwitchAccount')" icon="ant-design:setting-outlined" /> -->
|
<!-- <MenuItem itemKey="account" :text="t('layout.header.dropdownItemSwitchAccount')" icon="ant-design:setting-outlined" /> -->
|
||||||
<!-- <MenuItem itemKey="password" :text="t('layout.header.dropdownItemSwitchPassword')" icon="ant-design:edit-outlined" /> -->
|
<!-- <MenuItem itemKey="password" :text="t('layout.header.dropdownItemSwitchPassword')" icon="ant-design:edit-outlined" /> -->
|
||||||
|
<MenuItem itemKey="contact" text="联系我们" icon="ant-design:phone-outlined" />
|
||||||
<MenuItem itemKey="depart" :text="t('layout.header.dropdownItemSwitchDepart')" icon="ant-design:cluster-outlined" />
|
<MenuItem itemKey="depart" :text="t('layout.header.dropdownItemSwitchDepart')" icon="ant-design:cluster-outlined" />
|
||||||
<MenuItem itemKey="cache" :text="t('layout.header.dropdownItemRefreshCache')" icon="ion:sync-outline" />
|
<MenuItem itemKey="cache" :text="t('layout.header.dropdownItemRefreshCache')" icon="ion:sync-outline" />
|
||||||
<!-- <MenuItem
|
<!-- <MenuItem
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
|
|
||||||
import { defineComponent, computed, ref } from 'vue';
|
import { defineComponent, computed, ref } from 'vue';
|
||||||
|
|
||||||
import { SITE_URL } from '/@/settings/siteSetting';
|
import { SITE_URL, CONTACT_URL } from '/@/settings/siteSetting';
|
||||||
|
|
||||||
import { useUserStore } from '/@/store/modules/user';
|
import { useUserStore } from '/@/store/modules/user';
|
||||||
import { useHeaderSetting } from '/@/hooks/setting/useHeaderSetting';
|
import { useHeaderSetting } from '/@/hooks/setting/useHeaderSetting';
|
||||||
@@ -54,7 +55,7 @@ import deptLogo from '/@/assets/images/department-logo.png';
|
|||||||
// import { getFileAccessHttpUrl } from '/@/utils/common/compUtils';
|
// import { getFileAccessHttpUrl } from '/@/utils/common/compUtils';
|
||||||
import { getRefPromise } from '/@/utils/index';
|
import { getRefPromise } from '/@/utils/index';
|
||||||
|
|
||||||
type MenuEvent = 'logout' | 'doc' | 'lock' | 'cache' | 'depart';
|
type MenuEvent = 'logout' | 'doc' | 'lock' | 'cache' | 'depart' | 'contact';
|
||||||
const { createMessage } = useMessage();
|
const { createMessage } = useMessage();
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'UserDropdown',
|
name: 'UserDropdown',
|
||||||
@@ -115,6 +116,11 @@ import deptLogo from '/@/assets/images/department-logo.png';
|
|||||||
openWindow(SITE_URL);
|
openWindow(SITE_URL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// open contact
|
||||||
|
function openContact() {
|
||||||
|
openWindow(CONTACT_URL);
|
||||||
|
}
|
||||||
|
|
||||||
// 清除缓存
|
// 清除缓存
|
||||||
async function clearCache() {
|
async function clearCache() {
|
||||||
const result = await refreshCache();
|
const result = await refreshCache();
|
||||||
@@ -159,6 +165,9 @@ import deptLogo from '/@/assets/images/department-logo.png';
|
|||||||
case 'cache':
|
case 'cache':
|
||||||
clearCache();
|
clearCache();
|
||||||
break;
|
break;
|
||||||
|
case 'contact':
|
||||||
|
openContact();
|
||||||
|
break;
|
||||||
case 'depart':
|
case 'depart':
|
||||||
updateCurrentDepart();
|
updateCurrentDepart();
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -6,3 +6,6 @@ export const DOC_URL = 'https://help.jeecg.com';
|
|||||||
|
|
||||||
// site url
|
// site url
|
||||||
export const SITE_URL = 'http://www.jeecg.com';
|
export const SITE_URL = 'http://www.jeecg.com';
|
||||||
|
|
||||||
|
// contact us url
|
||||||
|
export const CONTACT_URL = import.meta.env.VITE_GLOB_CONTACT_URL || '#';
|
||||||
|
|||||||
@@ -690,6 +690,9 @@
|
|||||||
if (showListGroupView.value) {
|
if (showListGroupView.value) {
|
||||||
refreshQuickAccessView();
|
refreshQuickAccessView();
|
||||||
}
|
}
|
||||||
|
if (listId) {
|
||||||
|
await onListSelect(listId);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async function refreshQuickAccessView() {
|
async function refreshQuickAccessView() {
|
||||||
|
|||||||
Reference in New Issue
Block a user