Merge branch 'master' of http://47.115.223.229:8888/yangjun/nursing_unit_vue
This commit is contained in:
commit
71e0891f8b
Binary file not shown.
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 2.1 KiB |
Binary file not shown.
After Width: | Height: | Size: 234 KiB |
Binary file not shown.
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 2.1 KiB |
Binary file not shown.
After Width: | Height: | Size: 4.0 KiB |
|
@ -3,10 +3,10 @@
|
||||||
* @Description: logo component
|
* @Description: logo component
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
<div class="anticon" :class="getAppLogoClass" @click="goHome">
|
<div class="anticon advisoryClass" :class="getAppLogoClass" @click="goHome" style="background-image: url('/src/assets/images/bj.png');text-align: center;">
|
||||||
<img src="../../../assets/images/logo.png" />
|
<img src="../../../assets/images/logo2.png" style="width:100%" v-show="showTitle"/>
|
||||||
<div class="ml-2 truncate md:opacity-100" :class="getTitleClass" v-show="showTitle">
|
<div class="ml-2 truncate md:opacity-100" :class="getTitleClass" v-show="!showTitle">
|
||||||
{{ shortTitle }}
|
<img src="../../../assets/images/logo.png" style="width:100%"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -41,6 +41,7 @@
|
||||||
|
|
||||||
const go = useGo();
|
const go = useGo();
|
||||||
|
|
||||||
|
// const getAppLogoClass = [ "jeecg-app-logo", "light", { "collapsed-show-title": false } ]
|
||||||
const getAppLogoClass = computed(() => [prefixCls, props.theme, { 'collapsed-show-title': unref(getCollapsedShowTitle) }]);
|
const getAppLogoClass = computed(() => [prefixCls, props.theme, { 'collapsed-show-title': unref(getCollapsedShowTitle) }]);
|
||||||
|
|
||||||
const getTitleClass = computed(() => [
|
const getTitleClass = computed(() => [
|
||||||
|
@ -90,4 +91,8 @@
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.advisoryClass{
|
||||||
|
background-image: url(/@/assets/images/bj.png);
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -6,9 +6,10 @@
|
||||||
// &.ant-btn-success:not(.ant-btn-link),
|
// &.ant-btn-success:not(.ant-btn-link),
|
||||||
// &.ant-btn-error:not(.ant-btn-link),
|
// &.ant-btn-error:not(.ant-btn-link),
|
||||||
// &.ant-btn-warning:not(.ant-btn-link),
|
// &.ant-btn-warning:not(.ant-btn-link),
|
||||||
// &.ant-btn-primary:not(.ant-btn-link) {
|
&.ant-btn-primary:not(.ant-btn-link) {
|
||||||
// box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.08) !important;
|
box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.08) !important;
|
||||||
// }
|
background: linear-gradient(to right, #1ea1fb, #0480e7);
|
||||||
|
}
|
||||||
// &-group {
|
// &-group {
|
||||||
// .ant-btn:not(:first-child) {
|
// .ant-btn:not(:first-child) {
|
||||||
// bottom: 1px;
|
// bottom: 1px;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<Header :class="getHeaderClass">
|
<Header :class="getHeaderClass" style="background-image: url('/src/assets/images/bj.png');">
|
||||||
<!-- left start -->
|
<!-- left start -->
|
||||||
<div :class="`${prefixCls}-left`" >
|
<div :class="`${prefixCls}-left`" >
|
||||||
<!-- logo -->
|
<!-- logo -->
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
/>
|
/>
|
||||||
<LayoutBreadcrumb v-if="getShowContent && getShowBread" :theme="getHeaderTheme" />
|
<LayoutBreadcrumb v-if="getShowContent && getShowBread" :theme="getHeaderTheme" />
|
||||||
<!-- 欢迎语 -->
|
<!-- 欢迎语 -->
|
||||||
<span v-if="getShowContent && getShowBreadTitle && !getIsMobile" :class="[prefixCls, `${prefixCls}--${getHeaderTheme}`,'headerIntroductionClass']"> {{t('layout.header.welcomeIn')}} {{ title }} </span>
|
<span v-if="getShowContent && getShowBreadTitle && !getIsMobile" style="background: #e3f6fc !important;" :class="[prefixCls, `${prefixCls}--${getHeaderTheme}`,'headerIntroductionClass']"> {{t('layout.header.welcomeIn')}} {{ title }} </span>
|
||||||
</div>
|
</div>
|
||||||
<!-- left end -->
|
<!-- left end -->
|
||||||
|
|
||||||
|
@ -26,17 +26,17 @@
|
||||||
<!-- <AppSearch :class="`${prefixCls}-action__item `" v-if="getShowSearch" /> -->
|
<!-- <AppSearch :class="`${prefixCls}-action__item `" v-if="getShowSearch" /> -->
|
||||||
|
|
||||||
<ErrorAction v-if="getUseErrorHandle" :class="`${prefixCls}-action__item error-action`" />
|
<ErrorAction v-if="getUseErrorHandle" :class="`${prefixCls}-action__item error-action`" />
|
||||||
|
<a-divider type="vertical" v-if="getUseErrorHandle" />
|
||||||
<Notify v-if="getShowNotice" :class="`${prefixCls}-action__item notify-item`" />
|
<Notify v-if="getShowNotice" :class="`${prefixCls}-action__item notify-item`" />
|
||||||
|
<a-divider type="vertical" v-if="getShowNotice" />
|
||||||
<FullScreen v-if="getShowFullScreen" :class="`${prefixCls}-action__item fullscreen-item`" />
|
<FullScreen v-if="getShowFullScreen" :class="`${prefixCls}-action__item fullscreen-item`" />
|
||||||
|
<a-divider type="vertical" v-if="getShowFullScreen" />
|
||||||
<LockScreen v-if="getUseLockPage" />
|
<LockScreen v-if="getUseLockPage" />
|
||||||
|
<a-divider type="vertical" v-if="getUseLockPage" />
|
||||||
<!-- <AppLocalePicker v-if="getShowLocalePicker" :reload="true" :showText="false" :class="`${prefixCls}-action__item`" /> -->
|
<!-- <AppLocalePicker v-if="getShowLocalePicker" :reload="true" :showText="false" :class="`${prefixCls}-action__item`" /> -->
|
||||||
|
|
||||||
<UserDropDown :theme="getHeaderTheme" />
|
<UserDropDown :theme="getHeaderTheme" />
|
||||||
|
<a-divider type="vertical" />
|
||||||
<SettingDrawer v-if="getShowSetting" :class="`${prefixCls}-action__item`" />
|
<SettingDrawer v-if="getShowSetting" :class="`${prefixCls}-action__item`" />
|
||||||
<!-- ai助手 -->
|
<!-- ai助手 -->
|
||||||
<!-- <Aide></Aide> -->
|
<!-- <Aide></Aide> -->
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<LayoutHeader fixed v-if="getShowFullHeaderRef" />
|
<LayoutHeader fixed v-if="getShowFullHeaderRef" />
|
||||||
<Layout :class="[layoutClass]">
|
<Layout :class="[layoutClass]">
|
||||||
<LayoutSideBar v-if="getShowSidebar || getIsMobile" />
|
<LayoutSideBar v-if="getShowSidebar || getIsMobile" />
|
||||||
<Layout :class="`${prefixCls}-main`">
|
<Layout :class="`${prefixCls}-main`" style="background-image: url('/src/assets/images/bj.png');">
|
||||||
<LayoutMultipleHeader />
|
<LayoutMultipleHeader />
|
||||||
<LayoutContent />
|
<LayoutContent />
|
||||||
<LayoutFooter />
|
<LayoutFooter />
|
||||||
|
|
|
@ -15,182 +15,75 @@ import { primaryColor } from '../../build/config/themeConfig';
|
||||||
|
|
||||||
// ! 改动后需要清空浏览器缓存
|
// ! 改动后需要清空浏览器缓存
|
||||||
const setting: ProjectConfig = {
|
const setting: ProjectConfig = {
|
||||||
// 是否显示SettingButton
|
"showSettingButton": true,
|
||||||
showSettingButton: true,
|
"showDarkModeToggle": true,
|
||||||
|
"settingButtonPosition": "auto",
|
||||||
// 是否显示主题切换按钮
|
"permissionMode": "BACK",
|
||||||
showDarkModeToggle: true,
|
"permissionCacheType": 1,
|
||||||
|
"sessionTimeoutProcessing": 0,
|
||||||
// 设置按钮位置 可选项
|
"themeColor": "#1890FF",
|
||||||
// SettingButtonPositionEnum.AUTO: 自动选择
|
"grayMode": false,
|
||||||
// SettingButtonPositionEnum.HEADER: 位于头部
|
"colorWeak": false,
|
||||||
// SettingButtonPositionEnum.FIXED: 固定在右侧
|
"fullContent": false,
|
||||||
settingButtonPosition: SettingButtonPositionEnum.AUTO,
|
"contentMode": "full",
|
||||||
|
"showLogo": true,
|
||||||
// 权限模式,默认前端角色权限模式
|
"showFooter": false,
|
||||||
// ROUTE_MAPPING: 前端模式(菜单由路由生成,默认)
|
"headerSetting": {
|
||||||
// ROLE:前端模式(菜单路由分开)
|
"bgColor": "#ffffff",
|
||||||
// BACK:后台模式
|
"fixed": true,
|
||||||
permissionMode: PermissionModeEnum.BACK,
|
"show": true,
|
||||||
|
"theme": "light",
|
||||||
// 权限缓存存放位置。默认存放于localStorage
|
"useLockPage": false,
|
||||||
permissionCacheType: CacheTypeEnum.LOCAL,
|
"showFullScreen": false,
|
||||||
|
"showDoc": false,
|
||||||
// 会话超时处理方案
|
"showNotice": true,
|
||||||
// SessionTimeoutProcessingEnum.ROUTE_JUMP: 路由跳转到登录页
|
"showSearch": true
|
||||||
// SessionTimeoutProcessingEnum.PAGE_COVERAGE: 生成登录弹窗,覆盖当前页面
|
|
||||||
sessionTimeoutProcessing: SessionTimeoutProcessingEnum.ROUTE_JUMP,
|
|
||||||
|
|
||||||
// 项目主题色
|
|
||||||
themeColor: primaryColor,
|
|
||||||
|
|
||||||
// 网站灰色模式,用于可能悼念的日期开启
|
|
||||||
grayMode: false,
|
|
||||||
|
|
||||||
// 色弱模式
|
|
||||||
colorWeak: false,
|
|
||||||
|
|
||||||
// 是否取消菜单,顶部,多标签页显示, 用于可能内嵌在别的系统内
|
|
||||||
fullContent: false,
|
|
||||||
|
|
||||||
// 主题内容宽度
|
|
||||||
contentMode: ContentEnum.FULL,
|
|
||||||
|
|
||||||
// 是否显示logo
|
|
||||||
showLogo: true,
|
|
||||||
|
|
||||||
// 是否显示底部信息 copyright
|
|
||||||
showFooter: false,
|
|
||||||
|
|
||||||
// 头部配置
|
|
||||||
headerSetting: {
|
|
||||||
// 背景色
|
|
||||||
bgColor: HEADER_PRESET_BG_COLOR_LIST[4],
|
|
||||||
// 固定头部
|
|
||||||
fixed: true,
|
|
||||||
// 是否显示顶部
|
|
||||||
show: true,
|
|
||||||
// 主题
|
|
||||||
theme: ThemeEnum.LIGHT,
|
|
||||||
// 开启锁屏功能
|
|
||||||
useLockPage: false,
|
|
||||||
// 显示全屏按钮
|
|
||||||
showFullScreen: false,
|
|
||||||
// 显示官网按钮
|
|
||||||
showDoc: false,
|
|
||||||
// 显示消息中心按钮
|
|
||||||
showNotice: true,
|
|
||||||
// 显示菜单搜索按钮
|
|
||||||
showSearch: true,
|
|
||||||
},
|
},
|
||||||
|
"menuSetting": {
|
||||||
// 菜单配置
|
"bgColor": "#ffffff",
|
||||||
menuSetting: {
|
"fixed": true,
|
||||||
// 背景色
|
"collapsed": false,
|
||||||
bgColor: SIDE_BAR_BG_COLOR_LIST[0],
|
"collapsedShowTitle": false,
|
||||||
// 是否固定住左侧菜单
|
"canDrag": false,
|
||||||
fixed: true,
|
"show": true,
|
||||||
// 菜单折叠
|
"hidden": false,
|
||||||
collapsed: false,
|
"menuWidth": 210,
|
||||||
// 折叠菜单时候是否显示菜单名
|
"mode": "inline",
|
||||||
collapsedShowTitle: false,
|
"type": "sidebar",
|
||||||
// 是否可拖拽
|
"theme": "light",
|
||||||
// Only limited to the opening of the left menu, the mouse has a drag bar on the right side of the menu
|
"isThemeBright": false,
|
||||||
canDrag: false,
|
"split": false,
|
||||||
// Whether to show no dom
|
"topMenuAlign": "center",
|
||||||
show: true,
|
"trigger": "HEADER",
|
||||||
// Whether to show dom
|
"accordion": true,
|
||||||
hidden: false,
|
"closeMixSidebarOnChange": false,
|
||||||
// 菜单宽度
|
"mixSideTrigger": "click",
|
||||||
menuWidth: 210,
|
"mixSideFixed": false
|
||||||
// 菜单模式
|
|
||||||
mode: MenuModeEnum.INLINE,
|
|
||||||
// 菜单类型
|
|
||||||
type: MenuTypeEnum.SIDEBAR,
|
|
||||||
// 菜单主题
|
|
||||||
theme: ThemeEnum.DARK,
|
|
||||||
// update-begin--author:liaozhiyang---date:20241203---for:【issues/7522】解决menuSetting ts警告
|
|
||||||
// 左侧导航栏文字颜色调整区分彩色和暗黑 (不对应配置)
|
|
||||||
isThemeBright: false,
|
|
||||||
// update-end--author:liaozhiyang---date:20241203---for:【issues/7522】解决menuSetting ts警告
|
|
||||||
// 分割菜单
|
|
||||||
split: false,
|
|
||||||
// 顶部菜单布局
|
|
||||||
topMenuAlign: 'center',
|
|
||||||
// 折叠触发器的位置
|
|
||||||
trigger: TriggerEnum.HEADER,
|
|
||||||
// 手风琴模式,只展示一个菜单
|
|
||||||
accordion: true,
|
|
||||||
// 在路由切换的时候关闭左侧混合菜单展开菜单
|
|
||||||
closeMixSidebarOnChange: false,
|
|
||||||
// 左侧混合菜单模块切换触发方式 ‘click’ |'hover'
|
|
||||||
mixSideTrigger: MixSidebarTriggerEnum.CLICK,
|
|
||||||
// 是否固定左侧混合菜单
|
|
||||||
mixSideFixed: false,
|
|
||||||
},
|
},
|
||||||
|
"multiTabsSetting": {
|
||||||
// 多标签
|
"cache": false,
|
||||||
multiTabsSetting: {
|
"show": false,
|
||||||
// 刷新后是否保留已经打开的标签页
|
"canDrag": true,
|
||||||
cache: false,
|
"showQuick": true,
|
||||||
// 开启
|
"showRedo": true,
|
||||||
show: true,
|
"showFold": true,
|
||||||
// 是否可以拖拽
|
"theme": "card"
|
||||||
canDrag: true,
|
|
||||||
// 开启快速操作
|
|
||||||
showQuick: true,
|
|
||||||
// 是否显示刷新按钮
|
|
||||||
showRedo: true,
|
|
||||||
// 是否显示折叠按钮
|
|
||||||
showFold: true,
|
|
||||||
// 标签页样式
|
|
||||||
theme: TabsThemeEnum.CARD,
|
|
||||||
},
|
},
|
||||||
|
"transitionSetting": {
|
||||||
// 动画配置
|
"enable": true,
|
||||||
transitionSetting: {
|
"basicTransition": "fade-slide",
|
||||||
// 是否开启切换动画
|
"openPageLoading": true,
|
||||||
// The disabled state will also disable pageLoading
|
"openNProgress": true
|
||||||
enable: true,
|
|
||||||
|
|
||||||
// 动画名 Route basic switching animation
|
|
||||||
basicTransition: RouterTransitionEnum.FADE_SIDE,
|
|
||||||
|
|
||||||
// 是否打开页面切换loading
|
|
||||||
// Only open when enable=true
|
|
||||||
openPageLoading: true,
|
|
||||||
|
|
||||||
//是否打开页面切换顶部进度条
|
|
||||||
openNProgress: true,
|
|
||||||
},
|
},
|
||||||
|
"openKeepAlive": false,
|
||||||
// 是否开启KeepAlive缓存 开发时候最好关闭,不然每次都需要清除缓存
|
"lockTime": 0,
|
||||||
openKeepAlive: true,
|
"showBreadCrumb": false,
|
||||||
|
"showBreadCrumbIcon": true,
|
||||||
// 自动锁屏时间,为0不锁屏。 单位分钟 默认1个小时
|
"useErrorHandle": false,
|
||||||
lockTime: 0,
|
"useOpenBackTop": true,
|
||||||
|
"canEmbedIFramePage": true,
|
||||||
// 显示面包屑
|
"closeMessageOnSwitch": true,
|
||||||
showBreadCrumb: false,
|
"removeAllHttpPending": false
|
||||||
|
|
||||||
// 显示面包屑图标
|
|
||||||
showBreadCrumbIcon: true,
|
|
||||||
|
|
||||||
// 是否使用全局错误捕获
|
|
||||||
useErrorHandle: false,
|
|
||||||
|
|
||||||
// 是否开启回到顶部
|
|
||||||
useOpenBackTop: true,
|
|
||||||
|
|
||||||
// 是否可以嵌入iframe页面
|
|
||||||
canEmbedIFramePage: true,
|
|
||||||
|
|
||||||
// 切换界面的时候是否删除未关闭的message及notify
|
|
||||||
closeMessageOnSwitch: true,
|
|
||||||
|
|
||||||
// 切换界面的时候是否取消已经发送但是未响应的http请求。
|
|
||||||
// 如果开启,想对单独接口覆盖。可以在单独接口设置
|
|
||||||
removeAllHttpPending: false,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export default setting;
|
export default setting;
|
||||||
|
|
Loading…
Reference in New Issue