zhangcl hace 5 meses
padre
commit
ff72927789

BIN
public/favicon.ico


BIN
public/logo.gif


BIN
src/assets/imgs/logo.png


+ 6 - 2
src/layout/components/UserInfo/src/UserInfo.vue

@@ -49,9 +49,11 @@ const loginOut = async () => {
 const toProfile = async () => {
   push('/user/profile')
 }
-const toDocument = () => {
+
+/* const toDocument = () => {
   window.open('https://doc.iocoder.cn/')
-}
+} */
+
 </script>
 
 <template>
@@ -68,10 +70,12 @@ const toDocument = () => {
           <Icon icon="ep:tools" />
           <div @click="toProfile">{{ t('common.profile') }}</div>
         </ElDropdownItem>
+        <!--
         <ElDropdownItem>
           <Icon icon="ep:menu" />
           <div @click="toDocument">{{ t('common.document') }}</div>
         </ElDropdownItem>
+        -->
         <ElDropdownItem divided>
           <Icon icon="ep:lock" />
           <div @click="lockScreen">{{ t('lock.lockScreen') }}</div>

+ 2 - 2
src/utils/constants.ts

@@ -56,12 +56,12 @@ export const SystemUserSocialTypeEnum = {
     source: 'dingtalk',
     img: 'https://s1.ax1x.com/2022/05/22/OzMDRs.png'
   },
-  WECHAT_ENTERPRISE: {
+  /* WECHAT_ENTERPRISE: {
     title: '企业微信',
     type: 30,
     source: 'wechat_enterprise',
     img: 'https://s1.ax1x.com/2022/05/22/OzMrzn.png'
-  }
+  } */
 }
 
 // ========== INFRA 模块 ==========

+ 13 - 3
src/views/Home/Index.vue

@@ -18,6 +18,7 @@
               </div>
             </div>
           </el-col>
+          <!--
           <el-col :xl="12" :lg="12" :md="12" :sm="24" :xs="24">
             <div class="h-70px flex items-center justify-end lt-sm:mt-10px">
               <div class="px-8px text-right">
@@ -51,6 +52,7 @@
               </div>
             </div>
           </el-col>
+          -->
         </el-row>
       </el-skeleton>
     </el-card>
@@ -58,6 +60,7 @@
 
   <el-row class="mt-8px" :gutter="8" justify="space-between">
     <el-col :xl="16" :lg="16" :md="24" :sm="24" :xs="24" class="mb-8px">
+      <!--
       <el-card shadow="never">
         <template #header>
           <div class="h-3 flex justify-between">
@@ -98,7 +101,8 @@
           </el-row>
         </el-skeleton>
       </el-card>
-
+      -->
+      <!--
       <el-card shadow="never" class="mt-8px">
         <el-skeleton :loading="loading" animated>
           <el-row :gutter="20" justify="space-between">
@@ -119,8 +123,10 @@
           </el-row>
         </el-skeleton>
       </el-card>
+      -->
     </el-col>
     <el-col :xl="8" :lg="8" :md="24" :sm="24" :xs="24" class="mb-8px">
+      <!--
       <el-card shadow="never">
         <template #header>
           <div class="h-3 flex justify-between">
@@ -140,6 +146,8 @@
           </el-row>
         </el-skeleton>
       </el-card>
+      -->
+      <!--
       <el-card shadow="never" class="mt-8px">
         <template #header>
           <div class="h-3 flex justify-between">
@@ -168,6 +176,7 @@
           </div>
         </el-skeleton>
       </el-card>
+      -->
     </el-col>
   </el-row>
 </template>
@@ -328,6 +337,7 @@ const getShortcut = async () => {
 }
 
 // 用户来源
+/*
 const getUserAccessSource = async () => {
   const data = [
     { value: 335, name: 'analysis.directAccess' },
@@ -347,7 +357,7 @@ const getUserAccessSource = async () => {
       value: v.value
     }
   })
-}
+} */
 const barOptionsData = reactive<EChartsOption>(barOptions) as EChartsOption
 
 // 周活跃量
@@ -381,7 +391,7 @@ const getAllApi = async () => {
     getProject(),
     getNotice(),
     getShortcut(),
-    getUserAccessSource(),
+    // getUserAccessSource(),
     getWeeklyUserActivity()
   ])
   loading.value = false