Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
boyueCEnd
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
游洁
boyueCEnd
Commits
10bd589c
Commit
10bd589c
authored
Dec 04, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
c2a5c88e
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
31 additions
and
31 deletions
+31
-31
App.vue
src/App.vue
+2
-0
OtaRequest.ts
src/api/OtaRequest.ts
+1
-1
404.png
src/assets/images/404.png
+0
-0
logo-blue.png
src/assets/images/logo-blue.png
+0
-0
en.ts
src/i18n/locales/en.ts
+5
-0
vi.ts
src/i18n/locales/vi.ts
+5
-0
zh-CN.ts
src/i18n/locales/zh-CN.ts
+5
-0
zh-TW.ts
src/i18n/locales/zh-TW.ts
+5
-0
systemConfig.ts
src/stores/systemConfig.ts
+6
-6
Error404.vue
src/views/auth/Error404.vue
+0
-23
index.vue
src/views/personalCenter/index.vue
+2
-1
No files found.
src/App.vue
View file @
10bd589c
...
...
@@ -37,6 +37,8 @@ onMounted(async () => {
try
{
// 初始化系统配置(在最开始执行)
await
systemConfigStore
.
initialize
(
location
.
hostname
)
//await systemConfigStore.getGroupInfoAsync()
// 初始化 Arco Design 国际化
await
configureArcoLocale
(
locale
.
value
)
...
...
src/api/OtaRequest.ts
View file @
10bd589c
...
...
@@ -73,8 +73,8 @@ service.interceptors.response.use(
sessionStorage
.
removeItem
(
'tempToken'
);
sessionStorage
.
removeItem
(
'otaUserInfo'
);
useUserStore
().
signOutAsync
();
location
.
href
=
'/login'
;
}
location
.
href
=
'/login'
;
}
// 如果有响应数据,尝试提取错误信息
...
...
src/assets/images/404.png
0 → 100644
View file @
10bd589c
135 KB
src/assets/images/logo-blue.png
0 → 100644
View file @
10bd589c
13.1 KB
src/i18n/locales/en.ts
View file @
10bd589c
...
...
@@ -210,6 +210,11 @@ export default {
invalidFormat
:
'Invalid email format'
,
checkFailed
:
'Email validation failed, please try again later'
,
},
notPermission
:
{
title
:
'Access Denied'
,
description
:
'You do not have permission to access this page. Please contact your administrator to request access.'
,
backHome
:
'Back to Home'
,
},
personal
:
{
completeProfile
:
'Complete Profile'
,
orderCenter
:
'Order Center'
,
...
...
src/i18n/locales/vi.ts
View file @
10bd589c
...
...
@@ -210,6 +210,11 @@ export default {
invalidFormat
:
'Định dạng email không chính xác'
,
checkFailed
:
'Xác thực email thất bại, vui lòng thử lại sau'
,
},
notPermission
:
{
title
:
'Truy cập bị từ chối'
,
description
:
'Bạn không có quyền truy cập trang này. Vui lòng liên hệ quản trị viên để được cấp quyền.'
,
backHome
:
'Quay lại trang chủ'
,
},
personal
:
{
completeProfile
:
'Hoàn thiện thông tin'
,
orderCenter
:
'Trung tâm đơn hàng'
,
...
...
src/i18n/locales/zh-CN.ts
View file @
10bd589c
...
...
@@ -210,6 +210,11 @@ export default {
invalidFormat
:
'邮箱格式不正确'
,
checkFailed
:
'邮箱验证失败,请稍后重试'
,
},
notPermission
:
{
title
:
'访问被拒绝'
,
description
:
'你没有权限访问这个页面,请联系管理员获取权限。'
,
backHome
:
'返回首页'
,
},
personal
:
{
completeProfile
:
'完善资料'
,
orderCenter
:
'订单中心'
,
...
...
src/i18n/locales/zh-TW.ts
View file @
10bd589c
...
...
@@ -210,6 +210,11 @@ export default {
invalidFormat
:
'郵箱格式不正確'
,
checkFailed
:
'郵箱驗證失敗,請稍後重試'
,
},
notPermission
:
{
title
:
'訪問被拒絕'
,
description
:
'你沒有權限訪問這個頁面,請聯繫管理員獲取權限。'
,
backHome
:
'返回首頁'
,
},
personal
:
{
completeProfile
:
'完善資料'
,
orderCenter
:
'訂單中心'
,
...
...
src/stores/systemConfig.ts
View file @
10bd589c
...
...
@@ -160,11 +160,11 @@ export const useSystemConfigStore = defineStore('systemConfig', {
/**
* 获取分组信息
*/
async
getGroupInfoAsync
(
groupId
:
number
)
{
// const groupInfo = await ErpUserService.GetGroupInfoAsync(
groupId)
//
if(groupInfo.data.resultCode === ApiResult.SUCCESS) {
//
this.erpAdminUserId = groupInfo.data.data.pageData[0].EmployeeId || 0
//
}
async
getGroupInfoAsync
()
{
const
groupInfo
=
await
ErpUserService
.
GetGroupInfoAsync
(
this
.
groupId
)
if
(
groupInfo
.
data
.
resultCode
===
ApiResult
.
SUCCESS
)
{
this
.
erpAdminUserId
=
groupInfo
.
data
.
data
.
pageData
[
0
].
EmployeeId
||
0
}
},
/**
...
...
@@ -196,7 +196,7 @@ export const useSystemConfigStore = defineStore('systemConfig', {
this
.
groupId
=
data
.
erpGroupId
||
2
// 如果有租户ID,加载代理商配置
if
(
this
.
tenantId
)
{
await
this
.
getGroupInfoAsync
(
this
.
groupId
)
//
await this.getGroupInfoAsync(this.groupId)
try
{
const
partnerConfig
=
await
PartnerCenterConfigService
.
getConfigByTenantIdAsync
(
this
.
tenantId
)
this
.
partnerCenterConfig
=
partnerConfig
||
{
...
...
src/views/auth/Error404.vue
deleted
100644 → 0
View file @
c2a5c88e
<
template
>
<div
class=
"fixed-center text-center"
>
<p>
<img
src=
"~assets/sad.svg"
style=
"width:30vw;max-width:150px;"
>
</p>
<p
class=
"text-faded"
>
Sorry, nothing here...
<strong>
(404)
</strong>
</p>
<q-btn
color=
"secondary"
style=
"width:200px;"
to=
"/"
label=
"Go back"
/>
</div>
</
template
>
<
script
>
</
script
>
src/views/personalCenter/index.vue
View file @
10bd589c
<
template
>
<div
class=
"h-screen flex justify-center pb-[12px] h-[797px]"
>
<!-- h-screen -->
<div
class=
"flex justify-center pb-[12px] h-[797px]"
>
<div
class=
"h-full flex justify-between w-[1200px]"
>
<!-- 左侧导航栏 -->
<LeftView
class=
"pt-[25px]"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment