优化更新

This commit is contained in:
zjl 2024-10-09 12:50:42 +08:00
parent 08230c5343
commit c9d6e466db
10 changed files with 14 additions and 14 deletions

4
.env
View File

@ -2,10 +2,10 @@
VITE_PORT = 8001 VITE_PORT = 8001
# spa-title # spa-title
VITE_GLOB_APP_TITLE = 数据中台管理系统 VITE_GLOB_APP_TITLE = 云恒WMS
# spa shortname # spa shortname
VITE_GLOB_APP_SHORT_NAME = 数据中台管理系统 VITE_GLOB_APP_SHORT_NAME = 云恒WMS
# 生产环境 开启mock # 生产环境 开启mock
VITE_GLOB_PROD_MOCK = false VITE_GLOB_PROD_MOCK = false

View File

@ -1 +1 @@
### 数据中台管理系统 ### 云恒WMS

View File

@ -1,7 +1,7 @@
{ {
"name": "yunheng", "name": "yunheng",
"version": "2.0.0", "version": "2.0.0",
"description": "数据中台管理系统", "description": "云恒WMS",
"license": "Apache-2.0", "license": "Apache-2.0",
"author": { "author": {
"name": "yunheng", "name": "yunheng",

View File

@ -12,7 +12,7 @@
> >
<div v-if="navMode === 'horizontal'" class="logo"> <div v-if="navMode === 'horizontal'" class="logo">
<img alt="" src="~@/assets/images/logo.png" /> <img alt="" src="~@/assets/images/logo.png" />
<h2 v-show="!collapsed" class="title">数据中台管理系统</h2> <h2 v-show="!collapsed" class="title">云恒WMS</h2>
</div> </div>
</div> </div>
<!--左侧菜单--> <!--左侧菜单-->

View File

@ -9,7 +9,7 @@
<h2 <h2
v-show="!isCollapsed || navMode === 'horizontal' || (navMode === 'horizontal-mix' && mixMenu)" v-show="!isCollapsed || navMode === 'horizontal' || (navMode === 'horizontal-mix' && mixMenu)"
class="mt-0 title" class="mt-0 title"
>数据中台管理系统</h2 >云恒WMS</h2
> >
</div> </div>
</template> </template>

View File

@ -114,7 +114,7 @@
/** /**
* 获取分类数据 * 获取分类数据
*/ */
const getCategory = async () => { const getCategoryData = async () => {
const data: any = await getCategoryList(); const data: any = await getCategoryList();
const menu: any = [{ id: 0, name: '顶级', children: [] }]; const menu: any = [{ id: 0, name: '顶级', children: [] }];
const lists = buildTree(data); const lists = buildTree(data);
@ -158,7 +158,7 @@
* 钩子函数 * 钩子函数
*/ */
onMounted(() => { onMounted(() => {
getCategory(); getCategoryData();
if (props.categoryId) { if (props.categoryId) {
getDetail(); getDetail();
} else { } else {

View File

@ -169,7 +169,7 @@
}; };
/** /**
* 选择推荐内容成功回调 * 选择推荐内容成功回调事件
*/ */
const selectedCallback = (row) => { const selectedCallback = (row) => {
formData.typeText = row.title; formData.typeText = row.title;

View File

@ -44,7 +44,7 @@
<el-row justify="space-between" align="middle"> <el-row justify="space-between" align="middle">
<el-col :xs="24" :sm="16" :md="16" :lg="16" :xl="17"> <el-col :xs="24" :sm="16" :md="16" :lg="16" :xl="17">
<div> <div>
<h3 class="my-2 text-3xl">数据中台管理系统</h3> <h3 class="my-2 text-3xl">云恒WMS</h3>
<p class="mb-2">开箱即用的中台前端/设计解决方案</p> <p class="mb-2">开箱即用的中台前端/设计解决方案</p>
<ul class="text-xs leading-6"> <ul class="text-xs leading-6">
<li class="truncate" <li class="truncate"
@ -296,7 +296,7 @@
<div class="pt-4 logo"> <div class="pt-4 logo">
<img src="~@/assets/images/logo.png" alt="Admin Pro" class="img" /> <img src="~@/assets/images/logo.png" alt="Admin Pro" class="img" />
</div> </div>
<h3>数据中台管理系统</h3> <h3>云恒WMS</h3>
<p class="mt-4 word">开箱即用的中台前端<br />设计解决方案</p> <p class="mt-4 word">开箱即用的中台前端<br />设计解决方案</p>
<div class="btn"> <div class="btn">
<el-button type="primary" size="large" round @click="goUrl" <el-button type="primary" size="large" round @click="goUrl"

View File

@ -3,7 +3,7 @@
<div class="account-container"> <div class="account-container">
<div class="account-wrap-login"> <div class="account-wrap-login">
<div class="login-pic"> <div class="login-pic">
<h1 class="login-title">数据中台管理系统</h1> <h1 class="login-title">云恒WMS</h1>
<h4 class="login-subtitle">赋能开发者助力企业发展全方位提供数据中台解决方案!</h4> <h4 class="login-subtitle">赋能开发者助力企业发展全方位提供数据中台解决方案!</h4>
</div> </div>
<div class="login-form"> <div class="login-form">

View File

@ -141,7 +141,7 @@
/** /**
* 获取用户信息 * 获取用户信息
*/ */
const getUserInfo = async () => { const getUserDetail = async () => {
const data = await getUserInfo(); const data = await getUserInfo();
for (const key in formData) { for (const key in formData) {
if (data[key] != null && data[key] != undefined) { if (data[key] != null && data[key] != undefined) {
@ -167,6 +167,6 @@
* 钩子函数 * 钩子函数
*/ */
onMounted(() => { onMounted(() => {
getUserInfo(); getUserDetail();
}); });
</script> </script>