浏览代码

fix: 首页内容调整

zhangying 5 天之前
父节点
当前提交
8e77fd64d0

+ 3 - 7
jeecgboot-vue3/src/views/dashboard/Analysis/homePage/IndexDef.vue

@@ -1,21 +1,17 @@
 <template>
   <div class="p-4">
-    <GrowCard :loading="loading" class="enter-y" />
+    <p> 欢迎使用湛江智慧人社-就业一站通系统 </p>
+    <!-- <GrowCard :loading="loading" class="enter-y" />
     <SiteAnalysis class="!my-4 enter-y" :loading="loading" />
     <div class="md:flex enter-y">
       <VisitRadar class="md:w-1/3 w-full" :loading="loading" />
       <VisitSource class="md:w-1/3 !md:mx-4 !md:my-0 !my-4 w-full" :loading="loading" />
       <SalesProductPie class="md:w-1/3 w-full" :loading="loading" />
-    </div>
+    </div> -->
   </div>
 </template>
 <script lang="ts" setup>
   import { ref } from 'vue';
-  import GrowCard from '../components/GrowCard.vue';
-  import SiteAnalysis from '../components/SiteAnalysis.vue';
-  import VisitSource from '../components/VisitSource.vue';
-  import VisitRadar from '../components/VisitRadar.vue';
-  import SalesProductPie from '../components/SalesProductPie.vue';
 
   const loading = ref(true);
 

+ 6 - 9
jeecgboot-vue3/src/views/dashboard/Analysis/index.vue

@@ -1,9 +1,9 @@
 <template>
-  <IndexChart v-if="indexStyle === 0"></IndexChart>
-  <IndexDef v-if="indexStyle === 1"></IndexDef>
-  <IndexBdc v-if="indexStyle == 2"></IndexBdc>
-  <IndexTask v-if="indexStyle == 3"></IndexTask>
-  <div style="width: 100%; text-align: right; margin-top: 20px">
+  <!-- <IndexChart v-if="indexStyle === 0"></IndexChart> -->
+  <IndexDef></IndexDef>
+  <!-- <IndexBdc v-if="indexStyle == 2"></IndexBdc> -->
+  <!-- <IndexTask v-if="indexStyle == 3"></IndexTask> -->
+  <!-- <div style="width: 100%; text-align: right; margin-top: 20px">
     首页主题:
     <a-radio-group v-model:value="indexStyle">
       <a-radio :value="0">默认</a-radio>
@@ -11,14 +11,11 @@
       <a-radio :value="2">业务统计</a-radio>
       <a-radio :value="3">我的任务</a-radio>
     </a-radio-group>
-  </div>
+  </div> -->
 </template>
 <script lang="ts" setup>
   import { ref } from 'vue';
   import IndexDef from './homePage/IndexDef.vue';
-  import IndexChart from './homePage/IndexChart.vue';
-  import IndexBdc from './homePage/IndexBdc.vue';
-  import IndexTask from './homePage/IndexTask.vue';
 
   const indexStyle = ref(0);
 </script>

+ 7 - 7
jeecgboot-vue3/src/views/dashboard/workbench/components/WorkbenchHeader.vue

@@ -6,7 +6,7 @@
       <span class="text-secondary"> 今日晴,20℃ - 32℃! </span>
     </div>
     <div class="flex flex-1 justify-end md:mt-0 mt-4">
-      <div class="flex flex-col justify-center text-right">
+      <!-- <div class="flex flex-col justify-center text-right">
         <span class="text-secondary"> 待办 </span>
         <span class="text-2xl">2/10</span>
       </div>
@@ -18,16 +18,16 @@
       <div class="flex flex-col justify-center text-right md:mr-10 mr-4">
         <span class="text-secondary"> 团队 </span>
         <span class="text-2xl">300</span>
-      </div>
+      </div> -->
     </div>
   </div>
 </template>
 <script lang="ts" setup>
-  import { computed } from 'vue';
-  import { Avatar } from 'ant-design-vue';
-  import { useUserStore } from '/@/store/modules/user';
-  import headerImg from '/@/assets/images/header.jpg';
+import { computed } from 'vue';
+import { Avatar } from 'ant-design-vue';
+import { useUserStore } from '/@/store/modules/user';
+import headerImg from '/@/assets/images/header.jpg';
 
-  const userStore = useUserStore();
+const userStore = useUserStore();
   const userinfo = computed(() => userStore.getUserInfo);
 </script>

+ 4 - 9
jeecgboot-vue3/src/views/dashboard/workbench/index.vue

@@ -2,11 +2,11 @@
   <PageWrapper>
     <template #headerContent> <WorkbenchHeader /> </template>
     <div class="lg:flex">
-      <div class="lg:w-7/10 w-full !mr-4 enter-y">
+      <!-- <div class="lg:w-7/10 w-full !mr-4 enter-y">
         <ProjectCard :loading="loading" class="enter-y" />
         <DynamicInfo :loading="loading" class="!my-4 enter-y" />
-      </div>
-      <div class="lg:w-3/10 w-full enter-y">
+      </div> -->
+      <!-- <div class="lg:w-3/10 w-full enter-y">
         <QuickNav :loading="loading" class="enter-y" />
 
         <Card class="!my-4 enter-y" :loading="loading">
@@ -14,19 +14,14 @@
         </Card>
 
         <SaleRadar :loading="loading" class="enter-y" />
-      </div>
+      </div> -->
     </div>
   </PageWrapper>
 </template>
 <script lang="ts" setup>
   import { ref } from 'vue';
-  import { Card } from 'ant-design-vue';
   import { PageWrapper } from '/@/components/Page';
   import WorkbenchHeader from './components/WorkbenchHeader.vue';
-  import ProjectCard from './components/ProjectCard.vue';
-  import QuickNav from './components/QuickNav.vue';
-  import DynamicInfo from './components/DynamicInfo.vue';
-  import SaleRadar from './components/SaleRadar.vue';
 
   const loading = ref(true);