Commit 90358580 authored by 法拉51246's avatar 法拉51246

prod环境修改

图标更换
不需要的布局隐藏
租户隐藏
parent 3d3cfe05
...@@ -58,10 +58,10 @@ spring: ...@@ -58,10 +58,10 @@ spring:
# Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优 # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优
redis: redis:
host: 400-infra.server.iocoder.cn # 地址 host: 124.221.164.81 # 地址
port: 6379 # 端口 port: 6379 # 端口
database: 1 # 数据库索引 database: 1 # 数据库索引
# password: 123456 # 密码,建议生产环境开启 password: '&!(^)@*%$' # 密码,建议生产环境开启
--- #################### 定时任务相关配置 #################### --- #################### 定时任务相关配置 ####################
......
...@@ -60,10 +60,10 @@ spring: ...@@ -60,10 +60,10 @@ spring:
# Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优 # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优
redis: redis:
host: 127.0.0.1 # 地址 host: 124.221.164.81 # 地址
port: 6379 # 端口 port: 6379 # 端口
database: 0 # 数据库索引 database: 0 # 数据库索引
# password: dev # 密码,建议生产环境开启 password: '&!(^)@*%$' # 密码,建议生产环境开启
--- #################### 定时任务相关配置 #################### --- #################### 定时任务相关配置 ####################
......
# 标题 # 标题
VITE_APP_TITLE=唐桥业务拜访系统 VITE_APP_TITLE=唐桥业务拜访平台
# 项目本地运行端口号 # 项目本地运行端口号
VITE_PORT=80 VITE_PORT=80
# open 运行 npm run dev 时自动打开浏览器 # open 运行 npm run dev 时自动打开浏览器
VITE_OPEN=true VITE_OPEN=false
# 租户开关 # 租户开关
VITE_APP_TENANT_ENABLE=true VITE_APP_TENANT_ENABLE=true
...@@ -14,7 +14,7 @@ VITE_APP_TENANT_ENABLE=true ...@@ -14,7 +14,7 @@ VITE_APP_TENANT_ENABLE=true
VITE_APP_CAPTCHA_ENABLE=true VITE_APP_CAPTCHA_ENABLE=true
# 文档地址的开关 # 文档地址的开关
VITE_APP_DOCALERT_ENABLE=true VITE_APP_DOCALERT_ENABLE=false
# 百度统计 # 百度统计
VITE_APP_BAIDU_CODE = a1ff8825baa73c3a78eb96aa40325abc VITE_APP_BAIDU_CODE = a1ff8825baa73c3a78eb96aa40325abc
......
...@@ -4,7 +4,7 @@ NODE_ENV=production ...@@ -4,7 +4,7 @@ NODE_ENV=production
VITE_DEV=false VITE_DEV=false
# 请求路径 # 请求路径
VITE_BASE_URL='http://localhost:48080' VITE_BASE_URL='https://hntqwl.com'
# 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持S3服务 # 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持S3服务
VITE_UPLOAD_TYPE=server VITE_UPLOAD_TYPE=server
...@@ -31,4 +31,4 @@ VITE_OUT_DIR=dist-prod ...@@ -31,4 +31,4 @@ VITE_OUT_DIR=dist-prod
VITE_MALL_H5_DOMAIN='http://mall.yudao.iocoder.cn' VITE_MALL_H5_DOMAIN='http://mall.yudao.iocoder.cn'
# GoView域名 # GoView域名
VITE_GOVIEW_URL='http://127.0.0.1:3000' VITE_GOVIEW_URL='http://127.0.0.1:3000'
\ No newline at end of file
...@@ -7,11 +7,11 @@ ...@@ -7,11 +7,11 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta <meta
name="keywords" name="keywords"
content="唐桥业务拜访系统 基于 vue3 + CompositionAPI + typescript + vite3 + element plus 的后台开源免费管理系统!" content="唐桥业务拜访平台 基于 vue3 + CompositionAPI + typescript + vite3 + element plus 的后台开源免费管理系统!"
/> />
<meta <meta
name="description" name="description"
content="唐桥业务拜访系统 基于 vue3 + CompositionAPI + typescript + vite3 + element plus 的后台开源免费管理系统!" content="唐桥业务拜访平台 基于 vue3 + CompositionAPI + typescript + vite3 + element plus 的后台开源免费管理系统!"
/> />
<title>%VITE_APP_TITLE%</title> <title>%VITE_APP_TITLE%</title>
</head> </head>
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,7 @@
<div class="app-loading"> <div class="app-loading">
<div class="app-loading-wrap"> <div class="app-loading-wrap">
<div class="app-loading-title"> <div class="app-loading-title">
<img src="/logo.gif" class="app-loading-logo" alt="Logo" /> <img src="/logo.png" class="app-loading-logo" alt="Logo" />
<div class="app-loading-title">%VITE_APP_TITLE%</div> <div class="app-loading-title">%VITE_APP_TITLE%</div>
</div> </div>
<div class="app-loading-item"> <div class="app-loading-item">
......
...@@ -18,7 +18,7 @@ import { useDesign } from '@/hooks/web/useDesign' ...@@ -18,7 +18,7 @@ import { useDesign } from '@/hooks/web/useDesign'
import { propTypes } from '@/utils/propTypes' import { propTypes } from '@/utils/propTypes'
import { useI18n } from 'vue-i18n' import { useI18n } from 'vue-i18n'
import CopperModal from './CopperModal.vue' import CopperModal from './CopperModal.vue'
import avatar from '@/assets/imgs/avatar.gif' import avatar from '@/assets/imgs/logo.png'
defineOptions({ name: 'CropperAvatar' }) defineOptions({ name: 'CropperAvatar' })
......
...@@ -171,7 +171,7 @@ ...@@ -171,7 +171,7 @@
/> />
<div class="flex flex-col"> <div class="flex flex-col">
<el-text>手机扫码预览</el-text> <el-text>手机扫码预览</el-text>
<Qrcode :text="previewUrl" logo="/logo.gif" /> <Qrcode :text="previewUrl" logo="/logo.png" />
</div> </div>
</div> </div>
</Dialog> </Dialog>
......
...@@ -62,7 +62,7 @@ onMounted(() => { ...@@ -62,7 +62,7 @@ onMounted(() => {
<el-scrollbar class="message-list"> <el-scrollbar class="message-list">
<template v-for="item in list" :key="item.id"> <template v-for="item in list" :key="item.id">
<div class="message-item"> <div class="message-item">
<img alt="" class="message-icon" src="@/assets/imgs/avatar.gif" /> <img alt="" class="message-icon" src="@/assets/imgs/logo.png" />
<div class="message-content"> <div class="message-content">
<span class="message-title"> <span class="message-title">
{{ item.templateNickname }}{{ item.templateContent }} {{ item.templateNickname }}{{ item.templateContent }}
......
<script lang="ts" setup> <script lang="ts" setup>
import { ElMessageBox } from 'element-plus' import { ElMessageBox } from 'element-plus'
import avatarImg from '@/assets/imgs/avatar.gif' import avatarImg from '@/assets/imgs/logo.png'
import { useDesign } from '@/hooks/web/useDesign' import { useDesign } from '@/hooks/web/useDesign'
import { useTagsViewStore } from '@/store/modules/tagsView' import { useTagsViewStore } from '@/store/modules/tagsView'
import { useUserStore } from '@/store/modules/user' import { useUserStore } from '@/store/modules/user'
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
import { useValidator } from '@/hooks/web/useValidator' import { useValidator } from '@/hooks/web/useValidator'
import { useDesign } from '@/hooks/web/useDesign' import { useDesign } from '@/hooks/web/useDesign'
import { useLockStore } from '@/store/modules/lock' import { useLockStore } from '@/store/modules/lock'
import avatarImg from '@/assets/imgs/avatar.gif' import avatarImg from '@/assets/imgs/logo.png'
import { useUserStore } from '@/store/modules/user' import { useUserStore } from '@/store/modules/user'
const { getPrefixCls } = useDesign() const { getPrefixCls } = useDesign()
......
...@@ -6,7 +6,7 @@ import { useNow } from '@/hooks/web/useNow' ...@@ -6,7 +6,7 @@ import { useNow } from '@/hooks/web/useNow'
import { useDesign } from '@/hooks/web/useDesign' import { useDesign } from '@/hooks/web/useDesign'
import { useTagsViewStore } from '@/store/modules/tagsView' import { useTagsViewStore } from '@/store/modules/tagsView'
import { useUserStore } from '@/store/modules/user' import { useUserStore } from '@/store/modules/user'
import avatarImg from '@/assets/imgs/avatar.gif' import avatarImg from '@/assets/imgs/logo.png'
const tagsViewStore = useTagsViewStore() const tagsViewStore = useTagsViewStore()
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<el-col :xl="12" :lg="12" :md="12" :sm="24" :xs="24"> <el-col :xl="12" :lg="12" :md="12" :sm="24" :xs="24">
<div class="flex items-center"> <div class="flex items-center">
<el-avatar :src="avatar" :size="70" class="mr-16px"> <el-avatar :src="avatar" :size="70" class="mr-16px">
<img src="@/assets/imgs/avatar.gif" alt="" /> <img src="@/assets/imgs/logo.png" alt="" />
</el-avatar> </el-avatar>
<div> <div>
<div class="text-20px"> <div class="text-20px">
...@@ -160,7 +160,7 @@ ...@@ -160,7 +160,7 @@
<div v-for="(item, index) in notice" :key="`dynamics-${index}`"> <div v-for="(item, index) in notice" :key="`dynamics-${index}`">
<div class="flex items-center"> <div class="flex items-center">
<el-avatar :src="avatar" :size="35" class="mr-16px"> <el-avatar :src="avatar" :size="35" class="mr-16px">
<img src="@/assets/imgs/avatar.gif" alt="" /> <img src="@/assets/imgs/logo.png" alt="" />
</el-avatar> </el-avatar>
<div> <div>
<div class="text-14px"> <div class="text-14px">
......
...@@ -4,29 +4,15 @@ ...@@ -4,29 +4,15 @@
class="relative h-[100%] lt-md:px-10px lt-sm:px-10px lt-xl:px-10px lt-xl:px-10px" class="relative h-[100%] lt-md:px-10px lt-sm:px-10px lt-xl:px-10px lt-xl:px-10px"
> >
<div class="relative mx-auto h-full flex"> <div class="relative mx-auto h-full flex">
<div <!-- <div-->
:class="`${prefixCls}__left flex-1 bg-gray-500 bg-opacity-20 relative p-30px lt-xl:hidden overflow-x-hidden overflow-y-auto`" <!-- :class="`${prefixCls}__left flex-1 bg-gray-500 bg-opacity-20 relative p-30px lt-xl:hidden overflow-x-hidden overflow-y-auto`"-->
> <!-- >-->
<!-- 左上角的 logo + 系统标题 --> <!-- &lt;!&ndash; 左上角的 logo + 系统标题 &ndash;&gt;-->
<div class="relative flex items-center text-white"> <!-- <div class="relative flex items-center text-white">-->
<img alt="" class="mr-10px h-48px w-48px" src="@/assets/imgs/logo.png" /> <!-- <img alt="" class="mr-10px h-48px w-48px" src="@/assets/imgs/logo.png" />-->
<span class="text-20px font-bold">{{ underlineToHump(appStore.getTitle) }}</span> <!-- <span class="text-20px font-bold">{{ underlineToHump(appStore.getTitle) }}</span>-->
</div> <!-- </div>-->
<!-- 左边的背景图 + 欢迎语 --> <!-- </div>-->
<div class="h-[calc(100%-60px)] flex items-center justify-center">
<TransitionGroup
appear
enter-active-class="animate__animated animate__bounceInLeft"
tag="div"
>
<img key="1" alt="" class="w-350px" src="@/assets/svgs/login-box-bg.svg" />
<div key="2" class="text-3xl text-white">{{ t('login.welcome') }}</div>
<div key="3" class="mt-5 text-14px font-normal text-white">
{{ t('login.message') }}
</div>
</TransitionGroup>
</div>
</div>
<div <div
class="relative flex-1 p-30px dark:bg-[var(--login-bg-color)] lt-sm:p-10px overflow-x-hidden overflow-y-auto" class="relative flex-1 p-30px dark:bg-[var(--login-bg-color)] lt-sm:p-10px overflow-x-hidden overflow-y-auto"
> >
...@@ -52,15 +38,15 @@ ...@@ -52,15 +38,15 @@
<!-- 账号登录 --> <!-- 账号登录 -->
<LoginForm class="m-auto h-auto p-20px lt-xl:(rounded-3xl light:bg-white)" /> <LoginForm class="m-auto h-auto p-20px lt-xl:(rounded-3xl light:bg-white)" />
<!-- 手机登录 --> <!-- 手机登录 -->
<MobileForm class="m-auto h-auto p-20px lt-xl:(rounded-3xl light:bg-white)" /> <!-- <MobileForm class="m-auto h-auto p-20px lt-xl:(rounded-3xl light:bg-white)" />-->
<!-- 二维码登录 --> <!-- 二维码登录 -->
<QrCodeForm class="m-auto h-auto p-20px lt-xl:(rounded-3xl light:bg-white)" /> <!-- <QrCodeForm class="m-auto h-auto p-20px lt-xl:(rounded-3xl light:bg-white)" />-->
<!-- 注册 --> <!-- 注册 -->
<RegisterForm class="m-auto h-auto p-20px lt-xl:(rounded-3xl light:bg-white)" /> <!-- <RegisterForm class="m-auto h-auto p-20px lt-xl:(rounded-3xl light:bg-white)" />-->
<!-- 三方登录 --> <!-- 三方登录 -->
<SSOLoginVue class="m-auto h-auto p-20px lt-xl:(rounded-3xl light:bg-white)" /> <!-- <SSOLoginVue class="m-auto h-auto p-20px lt-xl:(rounded-3xl light:bg-white)" />-->
<!-- 忘记密码 --> <!-- 忘记密码 -->
<ForgetPasswordForm class="m-auto h-auto p-20px lt-xl:(rounded-3xl light:bg-white)" /> <!-- <ForgetPasswordForm class="m-auto h-auto p-20px lt-xl:(rounded-3xl light:bg-white)" />-->
</div> </div>
</Transition> </Transition>
</div> </div>
...@@ -68,14 +54,14 @@ ...@@ -68,14 +54,14 @@
</div> </div>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { underlineToHump } from '@/utils' import {underlineToHump} from '@/utils'
import { useDesign } from '@/hooks/web/useDesign' import {useDesign} from '@/hooks/web/useDesign'
import { useAppStore } from '@/store/modules/app' import {useAppStore} from '@/store/modules/app'
import { ThemeSwitch } from '@/layout/components/ThemeSwitch' import {ThemeSwitch} from '@/layout/components/ThemeSwitch'
import { LocaleDropdown } from '@/layout/components/LocaleDropdown' import {LocaleDropdown} from '@/layout/components/LocaleDropdown'
import { LoginForm, MobileForm, QrCodeForm, RegisterForm, SSOLoginVue, ForgetPasswordForm } from './components' import {LoginForm} from './components'
defineOptions({ name: 'Login' }) defineOptions({ name: 'Login' })
...@@ -118,4 +104,4 @@ $prefix-cls: #{$namespace}-login; ...@@ -118,4 +104,4 @@ $prefix-cls: #{$namespace}-login;
background-color: var(--login-bg-color); background-color: var(--login-bg-color);
} }
} }
</style> </style>
\ No newline at end of file
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<LoginFormTitle style="width: 100%" /> <LoginFormTitle style="width: 100%" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24" style="padding-right: 10px; padding-left: 10px"> <el-col :span="24" style="padding-right: 10px; padding-left: 10px" v-show="false">
<el-form-item v-if="loginData.tenantEnable === 'true'" prop="tenantName"> <el-form-item v-if="loginData.tenantEnable === 'true'" prop="tenantName">
<el-input <el-input
v-model="loginData.loginForm.tenantName" v-model="loginData.loginForm.tenantName"
...@@ -58,15 +58,15 @@ ...@@ -58,15 +58,15 @@
{{ t('login.remember') }} {{ t('login.remember') }}
</el-checkbox> </el-checkbox>
</el-col> </el-col>
<el-col :offset="6" :span="12"> <!-- <el-col :offset="6" :span="12">-->
<el-link <!-- <el-link-->
style="float: right" <!-- style="float: right"-->
type="primary" <!-- type="primary"-->
@click="setLoginState(LoginStateEnum.RESET_PASSWORD)" <!-- @click="setLoginState(LoginStateEnum.RESET_PASSWORD)"-->
> <!-- >-->
{{ t('login.forgetPassword') }} <!-- {{ t('login.forgetPassword') }}-->
</el-link> <!-- </el-link>-->
</el-col> <!-- </el-col>-->
</el-row> </el-row>
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -89,64 +89,64 @@ ...@@ -89,64 +89,64 @@
mode="pop" mode="pop"
@success="handleLogin" @success="handleLogin"
/> />
<el-col :span="24" style="padding-right: 10px; padding-left: 10px"> <!-- <el-col :span="24" style="padding-right: 10px; padding-left: 10px">-->
<el-form-item> <!-- <el-form-item>-->
<el-row :gutter="5" justify="space-between" style="width: 100%"> <!-- <el-row :gutter="5" justify="space-between" style="width: 100%">-->
<el-col :span="8"> <!-- <el-col :span="8">-->
<XButton <!-- <XButton-->
:title="t('login.btnMobile')" <!-- :title="t('login.btnMobile')"-->
class="w-[100%]" <!-- class="w-[100%]"-->
@click="setLoginState(LoginStateEnum.MOBILE)" <!-- @click="setLoginState(LoginStateEnum.MOBILE)"-->
/> <!-- />-->
</el-col> <!-- </el-col>-->
<el-col :span="8"> <!-- <el-col :span="8">-->
<XButton <!-- <XButton-->
:title="t('login.btnQRCode')" <!-- :title="t('login.btnQRCode')"-->
class="w-[100%]" <!-- class="w-[100%]"-->
@click="setLoginState(LoginStateEnum.QR_CODE)" <!-- @click="setLoginState(LoginStateEnum.QR_CODE)"-->
/> <!-- />-->
</el-col> <!-- </el-col>-->
<el-col :span="8"> <!-- <el-col :span="8">-->
<XButton <!-- <XButton-->
:title="t('login.btnRegister')" <!-- :title="t('login.btnRegister')"-->
class="w-[100%]" <!-- class="w-[100%]"-->
@click="setLoginState(LoginStateEnum.REGISTER)" <!-- @click="setLoginState(LoginStateEnum.REGISTER)"-->
/> <!-- />-->
</el-col> <!-- </el-col>-->
</el-row> <!-- </el-row>-->
</el-form-item> <!-- </el-form-item>-->
</el-col> <!-- </el-col>-->
<el-divider content-position="center">{{ t('login.otherLogin') }}</el-divider> <!-- <el-divider content-position="center">{{ t('login.otherLogin') }}</el-divider>-->
<el-col :span="24" style="padding-right: 10px; padding-left: 10px"> <!-- <el-col :span="24" style="padding-right: 10px; padding-left: 10px">-->
<el-form-item> <!-- <el-form-item>-->
<div class="w-[100%] flex justify-between"> <!-- <div class="w-[100%] flex justify-between">-->
<Icon <!-- <Icon-->
v-for="(item, key) in socialList" <!-- v-for="(item, key) in socialList"-->
:key="key" <!-- :key="key"-->
:icon="item.icon" <!-- :icon="item.icon"-->
:size="30" <!-- :size="30"-->
class="anticon cursor-pointer" <!-- class="anticon cursor-pointer"-->
color="#999" <!-- color="#999"-->
@click="doSocialLogin(item.type)" <!-- @click="doSocialLogin(item.type)"-->
/> <!-- />-->
</div> <!-- </div>-->
</el-form-item> <!-- </el-form-item>-->
</el-col> <!-- </el-col>-->
<el-divider content-position="center">萌新必读</el-divider> <!-- <el-divider content-position="center">萌新必读</el-divider>-->
<el-col :span="24" style="padding-right: 10px; padding-left: 10px"> <!-- <el-col :span="24" style="padding-right: 10px; padding-left: 10px">-->
<el-form-item> <!-- <el-form-item>-->
<div class="w-[100%] flex justify-between"> <!-- <div class="w-[100%] flex justify-between">-->
<el-link href="https://doc.iocoder.cn/" target="_blank">📚开发指南</el-link> <!-- <el-link href="https://doc.iocoder.cn/" target="_blank">📚开发指南</el-link>-->
<el-link href="https://doc.iocoder.cn/video/" target="_blank">🔥视频教程</el-link> <!-- <el-link href="https://doc.iocoder.cn/video/" target="_blank">🔥视频教程</el-link>-->
<el-link href="https://www.iocoder.cn/Interview/good-collection/" target="_blank"> <!-- <el-link href="https://www.iocoder.cn/Interview/good-collection/" target="_blank">-->
⚡面试手册 <!-- ⚡面试手册-->
</el-link> <!-- </el-link>-->
<el-link href="http://static.yudao.iocoder.cn/mp/Aix9975.jpeg" target="_blank"> <!-- <el-link href="http://static.yudao.iocoder.cn/mp/Aix9975.jpeg" target="_blank">-->
🤝外包咨询 <!-- 🤝外包咨询-->
</el-link> <!-- </el-link>-->
</div> <!-- </div>-->
</el-form-item> <!-- </el-form-item>-->
</el-col> <!-- </el-col>-->
</el-row> </el-row>
</el-form> </el-form>
</template> </template>
......
...@@ -18,9 +18,9 @@ ...@@ -18,9 +18,9 @@
<el-tab-pane :label="t('profile.info.resetPwd')" name="resetPwd"> <el-tab-pane :label="t('profile.info.resetPwd')" name="resetPwd">
<ResetPwd /> <ResetPwd />
</el-tab-pane> </el-tab-pane>
<el-tab-pane :label="t('profile.info.userSocial')" name="userSocial"> <!-- <el-tab-pane :label="t('profile.info.userSocial')" name="userSocial">-->
<UserSocial v-model:activeName="activeName" /> <!-- <UserSocial v-model:activeName="activeName" />-->
</el-tab-pane> <!-- </el-tab-pane>-->
</el-tabs> </el-tabs>
</div> </div>
</el-card> </el-card>
......
...@@ -24,13 +24,13 @@ ...@@ -24,13 +24,13 @@
{{ t('profile.user.dept') }} {{ t('profile.user.dept') }}
<div v-if="userInfo?.dept" class="pull-right">{{ userInfo?.dept.name }}</div> <div v-if="userInfo?.dept" class="pull-right">{{ userInfo?.dept.name }}</div>
</li> </li>
<li class="list-group-item"> <!-- <li class="list-group-item">-->
<Icon class="mr-5px" icon="ep:suitcase" /> <!-- <Icon class="mr-5px" icon="ep:suitcase" />-->
{{ t('profile.user.posts') }} <!-- {{ t('profile.user.posts') }}-->
<div v-if="userInfo?.posts" class="pull-right"> <!-- <div v-if="userInfo?.posts" class="pull-right">-->
{{ userInfo?.posts.map((post) => post.name).join(',') }} <!-- {{ userInfo?.posts.map((post) => post.name).join(',') }}-->
</div> <!-- </div>-->
</li> <!-- </li>-->
<li class="list-group-item"> <li class="list-group-item">
<Icon class="mr-5px" icon="icon-park-outline:peoples" /> <Icon class="mr-5px" icon="icon-park-outline:peoples" />
{{ t('profile.user.roles') }} {{ t('profile.user.roles') }}
......
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