From 70aef09c3c57f9197444de1141619d2b6e2fd219 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=B0=8F=E9=99=8C?=
Date: Tue, 27 Jun 2023 17:48:12 +0800
Subject: [PATCH] no message
---
.env.production | 2 +-
README.md | 6 +-
src/components/scContextmenu/item.vue | 9 ---
src/components/scForm/index.vue | 6 --
src/config/myConfig.js | 1 -
src/layout/components/userbar.vue | 2 +-
src/utils/errorHandler.js | 2 +-
src/utils/tool.js | 2 +-
src/views/home/widgets/components/ver.vue | 2 +-
src/views/home/widgets/components/welcome.vue | 2 +-
src/views/system/log/index.vue | 5 +-
src/views/userCenter/index.vue | 22 +++----
src/views/userCenter/user/account.vue | 59 ++++++++++++++-----
src/views/userCenter/user/upToEnterprise.vue | 18 ------
14 files changed, 65 insertions(+), 73 deletions(-)
delete mode 100644 src/views/userCenter/user/upToEnterprise.vue
diff --git a/.env.production b/.env.production
index 900739d..e8136d8 100644
--- a/.env.production
+++ b/.env.production
@@ -2,7 +2,7 @@
NODE_ENV = production
# 标题
-VUE_APP_TITLE = SCUI
+VUE_APP_TITLE = Ansnid
# 接口地址
VUE_APP_API_BASEURL = https://www.fastmock.site/mock/5039c4361c39a7e3252c5b55971f1bd3/api
\ No newline at end of file
diff --git a/README.md b/README.md
index d5e80f3..85b5f78 100644
--- a/README.md
+++ b/README.md
@@ -15,15 +15,15 @@
-SCUI Admin
+X-PHP Admin
## 介绍
-SCUI 是一个中后台前端解决方案,基于VUE3和elementPlus实现。
+X-PHP 是一个中后台前端解决方案,基于VUE3和elementPlus实现。
使用最新的前端技术栈,提供各类实用的组件方便在业务开发时的调用,并且持续性的提供丰富的业务模板帮助你快速搭建企业级中后台前端任务。
-SCUI的宗旨是 让一切复杂的东西傻瓜化。
+X-PHP的宗旨是 让一切复杂的东西傻瓜化。
![logo](https://lolicode.gitee.io/scui-doc/g_1.jpg)
diff --git a/src/components/scContextmenu/item.vue b/src/components/scContextmenu/item.vue
index 2a94e2f..232d63d 100644
--- a/src/components/scContextmenu/item.vue
+++ b/src/components/scContextmenu/item.vue
@@ -1,12 +1,3 @@
-
-
diff --git a/src/components/scForm/index.vue b/src/components/scForm/index.vue
index 304fcfe..f3455ff 100644
--- a/src/components/scForm/index.vue
+++ b/src/components/scForm/index.vue
@@ -1,12 +1,6 @@
-
diff --git a/src/config/myConfig.js b/src/config/myConfig.js
index 4c33e9d..bba99fa 100644
--- a/src/config/myConfig.js
+++ b/src/config/myConfig.js
@@ -1,7 +1,6 @@
//业务配置
//会合并至this.$config
//生产模式 public/config.js 同名key会覆盖这里的配置从而实现打包后的热更新
-//为避免和SCUI框架配置混淆建议添加前缀 MY_
//全局可使用 this.$config.MY_KEY 访问
export default {
diff --git a/src/layout/components/userbar.vue b/src/layout/components/userbar.vue
index 51cee33..0f78616 100644
--- a/src/layout/components/userbar.vue
+++ b/src/layout/components/userbar.vue
@@ -110,7 +110,7 @@
id: 3,
type: 'system',
avatar: "img/logo.png",
- title: "感谢登录SCUI Admin",
+ title: "感谢登录Admin",
describe: "Vue 3.0 + Vue-Router 4.0 + ElementPlus + Axios 后台管理系统。",
link: "https://gitee.com/lolicode/scui",
time: "2020年7月24日"
diff --git a/src/utils/errorHandler.js b/src/utils/errorHandler.js
index 88f4427..de5307b 100644
--- a/src/utils/errorHandler.js
+++ b/src/utils/errorHandler.js
@@ -20,7 +20,7 @@ export default (error, vm)=>{
}
var errorName = errorMap[error.name] || "未知错误"
- console.warn(`[SCUI error]: ${error}`);
+ console.warn(`[X-PHP ERROR]: ${error}`);
console.error(error);
//throw error;
diff --git a/src/utils/tool.js b/src/utils/tool.js
index 8c027db..61725b5 100644
--- a/src/utils/tool.js
+++ b/src/utils/tool.js
@@ -198,7 +198,7 @@ tool.crypto = {
AES: {
encrypt(data, secretKey, config={}){
if(secretKey.length % 8 != 0){
- console.warn("[SCUI error]: 秘钥长度需为8的倍数,否则解密将会失败。")
+ console.warn("[X-PHP ERROR]: 秘钥长度需为8的倍数,否则解密将会失败。")
}
const result = CryptoJS.AES.encrypt(data, CryptoJS.enc.Utf8.parse(secretKey), {
iv: CryptoJS.enc.Utf8.parse(config.iv || ""),
diff --git a/src/views/home/widgets/components/ver.vue b/src/views/home/widgets/components/ver.vue
index 11b7614..281af44 100644
--- a/src/views/home/widgets/components/ver.vue
+++ b/src/views/home/widgets/components/ver.vue
@@ -2,7 +2,7 @@
-
SCUI {{$config.CORE_VER}}
+
X-PHP {{$config.CORE_VER}}
最新版本 {{ver}}
diff --git a/src/views/home/widgets/components/welcome.vue b/src/views/home/widgets/components/welcome.vue
index 445b6b4..e40ee2d 100644
--- a/src/views/home/widgets/components/welcome.vue
+++ b/src/views/home/widgets/components/welcome.vue
@@ -3,7 +3,7 @@
-
欢迎体验 SCUI
+
欢迎体验 X-PHP
diff --git a/src/views/system/log/index.vue b/src/views/system/log/index.vue
index e42cc2e..cab2ddd 100644
--- a/src/views/system/log/index.vue
+++ b/src/views/system/log/index.vue
@@ -19,7 +19,7 @@
-
+
@@ -118,6 +118,9 @@
}
],
date: [],
+ data: [
+ [{id:1}]
+ ],
apiObj: this.$api.system.log.list,
search: {
keyword: ""
diff --git a/src/views/userCenter/index.vue b/src/views/userCenter/index.vue
index e21471e..ff7b5ac 100644
--- a/src/views/userCenter/index.vue
+++ b/src/views/userCenter/index.vue
@@ -5,7 +5,7 @@
-
{{ user.username }}
+
{{ user.nickname || user.username }}
{{ user.role }}
@@ -26,7 +26,7 @@
-
+
@@ -48,7 +48,6 @@
password: defineAsyncComponent(() => import('./user/password')),
space: defineAsyncComponent(() => import('./user/space')),
logs: defineAsyncComponent(() => import('./user/logs')),
- upToEnterprise: defineAsyncComponent(() => import('./user/upToEnterprise'))
},
data() {
return {
@@ -93,20 +92,9 @@
}
]
},
- {
- groupName: "账号升级",
- list: [
- {
- icon: "el-icon-office-building",
- title: "升级为企业账号",
- component: "upToEnterprise"
- }
- ]
- }
],
user: {
- userName: "Sakuya",
- role: "超级管理员",
+ avatar:''
},
page: "account"
}
@@ -125,6 +113,10 @@
}
})
},
+ created() {
+ var userInfo = this.$tool.data.get('userinfo');
+ this.user = userInfo
+ },
methods: {
openPage(item){
this.page = item.index
diff --git a/src/views/userCenter/user/account.vue b/src/views/userCenter/user/account.vue
index b04a06d..f71125d 100644
--- a/src/views/userCenter/user/account.vue
+++ b/src/views/userCenter/user/account.vue
@@ -1,42 +1,73 @@
-
-
-
+
-
+
账号信息用于登录,系统不允许修改
-
+
+
+
+
+
+
+
-
+
-
+
+
- 保存
+ 保存
-
-