diff --git a/src/assets/styles/login.scss b/src/assets/styles/login.scss
index a550036..ecfec3e 100644
--- a/src/assets/styles/login.scss
+++ b/src/assets/styles/login.scss
@@ -19,7 +19,7 @@
.login-form {
border-radius: 6px;
background: #ffffff;
- width: calc(100% - 30px - 70px);
+ width: calc(100% - 70px - 30px);
margin: 0 auto;
padding: 15px;
position: relative;
diff --git a/src/components/LoginFormTitle/index.vue b/src/components/LoginFormTitle/index.vue
index c465986..e853be0 100644
--- a/src/components/LoginFormTitle/index.vue
+++ b/src/components/LoginFormTitle/index.vue
@@ -2,7 +2,7 @@
-
+
{{ title }}
BETA
@@ -25,7 +25,7 @@ const title = ref(import.meta.env.VITE_APP_TITLE)
.title {
font-size: 26px;
font-weight: 700;
- width: 300px;
+ width: 400px;
line-height: 50px;
float: left;
}
diff --git a/src/components/Notice/Index.vue b/src/components/Notice/Index.vue
index 84b3b29..57a7e65 100644
--- a/src/components/Notice/Index.vue
+++ b/src/components/Notice/Index.vue
@@ -140,7 +140,7 @@ const viewNoticeDetail = (notice: noticeInfo) => {
}
// 前往通知中心点击
const viewMoreNotice = () => {
- router.push({ path: '/notice/center' })
+ router.push({ path: '/notice/center', query: { activeTab: activeTab.value } })
}
const formatDate = (dateTime) => {
const dateObj = new Date(dateTime)
diff --git a/src/i18n/lang/en.json b/src/i18n/lang/en.json
index 7561cc5..3fd095e 100644
--- a/src/i18n/lang/en.json
+++ b/src/i18n/lang/en.json
@@ -114,7 +114,8 @@
"female": "Female",
"male": "male",
"sex": "gender",
- "systemTips": "system hint"
+ "systemTips": "system hint",
+ "currentTime": "Current Time"
},
"btn": {
"add": "Add",
diff --git a/src/i18n/lang/zh-cn.json b/src/i18n/lang/zh-cn.json
index a064ae9..18ed111 100644
--- a/src/i18n/lang/zh-cn.json
+++ b/src/i18n/lang/zh-cn.json
@@ -115,7 +115,8 @@
"sex": "性别",
"male": "男",
"female": "女",
- "systemTips": "系统提示"
+ "systemTips": "系统提示",
+ "currentTime": "当前时间"
},
"btn": {
"add": "新增",
diff --git a/src/i18n/pages/login/en.json b/src/i18n/pages/login/en.json
index 6a850dc..1e3cc7e 100644
--- a/src/i18n/pages/login/en.json
+++ b/src/i18n/pages/login/en.json
@@ -13,5 +13,14 @@
"register": "Sign up now",
"toLoginByEmail": "Log in By Email",
"btnLoginLoading": "Loginning..."
+ },
+ "loginByEmail": {
+ "toLogin": "Log in By Password",
+ "email": "Email",
+ "getDragVerify": "Get Verify Code",
+ "checkDragVerifyDuration": "Try again in seconds"
+ },
+ "roleSelectDialog": {
+ "close": "Dialog closes,please re-enter the CAPTCHA"
}
}
diff --git a/src/i18n/pages/login/zh-cn.json b/src/i18n/pages/login/zh-cn.json
index fae1f55..9043fa5 100644
--- a/src/i18n/pages/login/zh-cn.json
+++ b/src/i18n/pages/login/zh-cn.json
@@ -13,5 +13,19 @@
"register": "注册",
"toLoginByEmail": "邮箱登录",
"btnLoginLoading": "登录中..."
+ },
+ "loginByEmail": {
+ "toLogin": "密码登录",
+ "email": "邮箱",
+ "getDragVerify": "获取验证码",
+ "checkDragVerifyDuration": "秒后重试",
+ "loginRules": {
+ "dragVerifyRequired": "请输入验证码",
+ "emailRequired": "请输入您的邮箱",
+ "emailFormat": "请输入正确格式的邮箱"
+ }
+ },
+ "roleSelectDialog": {
+ "close": "弹窗关闭,请重新输入验证码"
}
}
diff --git a/src/views/index.vue b/src/views/index.vue
index d63942a..13c26d5 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -1,168 +1,501 @@
-
-
-
- ZRAdmin.NET {{ $t('layout.backstageManagement') }}
-
- ZRAdmin.NET借鉴了很多开源项目的优点,让你开发Web管理系统更简单,所以我也把它给开源了(前端
- vue页面主要参考若依,在此表示感谢.)
-
- {{ $t('layout.content1') }}
-
- {{ $t('layout.currentVersion') }}: v{{ version }}
- {{ $t('layout.changeLog') }}
-
-
-
- Gitee
- Github
-
-
-
- {{ $t('layout.tip1') }}
-
-
- {{ $t('layout.technicalSelection') }}
-
-
{{ $t('layout.backendTechnology') }}
-
- - NET7
- - JWT
- - SqlSugar
- - Quartz.Net
- - MySql
- - Mapster
- - MiniExcel
- - Redis
- - Signalr
- - ...
-
-
-
-
{{ $t('layout.frontendTechnology') }}
-
- - Vue3
- - Pinia
- - Element plus
- - Axios
- - Sass
- - Wangeditor
- - Vite
- - Composition api
- - I18n
- - ...
-
-
-
-
-
-
-
-
-
- {{ $t('layout.contactUs') }}
-
-
-
- {{ $t('layout.officialWebsite') }}:
- http://www.izhaorui.cn/doc
-
-
- {{ $t('layout.qqGroup') }}:
- 满191349103
-
-
- 462862273
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 业务日历
+ {{ date }}
+
+ 上个月
+ 今天
+ 下个月
+
+
+
+
+
+ {{ data.day.split('-')[2] }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ userInfo.welcomeMessage }}
+
+
+ {{ userInfo.welcomeContent }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('user.userName') }}
+
+
+ {{ userInfo.nickName }}
+
+
+
+
+
+ {{ $t('common.currentTime') }}
+
+
+
+ {{ nowTime }}
+
+
+
+ 待办事项
+
+
+ 暂无待办项
+
+
+
+
+ 系统通知
+
+
+ 前往通知中心
+
+
+
+
+
+
+
+ 通知公告
+
+
+
+
+
+
+
+ {{ row.noticeTitle }}
+
+
+
+
+ {{ formatDate(row.create_time) }}
+
+
+
+
+
+
+ 业务信息
+
+
+
+
+
+
+ {{ row.noticeTitle }}
+
+
+
+
+ {{ formatDate(row.create_time) }}
+
+
+
+
+
+
+
+ 全部标为已读
+
+
+
+
+
+
+
+
+
-
diff --git a/src/views/noticecenter/index.vue b/src/views/noticecenter/index.vue
index 0a361a4..2bf87ec 100644
--- a/src/views/noticecenter/index.vue
+++ b/src/views/noticecenter/index.vue
@@ -76,7 +76,12 @@ import useSocketStore from '@/store/modules/socket'
import signalR from '@/signalr'
import noticeDialog from '@/components/Notice/noticeDialog/index.vue'
import { ElTable } from 'element-plus'
-
+const route = useRoute()
+onMounted(() => {
+ if (route.query.activeTab) {
+ activeTab.value = route.query.activeTab as string
+ }
+})
enum NoticeType {
notice = 1,
aimMsg = 2,
diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue
index 13494a6..2060ea8 100644
--- a/src/views/system/role/index.vue
+++ b/src/views/system/role/index.vue
@@ -68,9 +68,9 @@
- {{ $t('menu.fieldPermi') }}
{{ $t('menu.menuPermi') }}
{{ $t('menu.assignUsers') }}
+ {{ $t('menu.fieldPermi') }}