Ver Fonte

首页功能优化

songxy há 1 ano atrás
pai
commit
b3d1eacb82

+ 1 - 14
client/src/views/OaSystem/home/components/ProjectInfo.vue

@@ -113,14 +113,7 @@ const queryProjectInfo = async (): Promise<void> => {
 queryProjectInfo()
 </script>
 <template>
-  <CardTitle title="项目情况">
-    <template #rightTitle>
-      <span class="title-types">
-        <span class="checked">总览</span>
-        <span>按部门</span>
-      </span>
-    </template>
-  </CardTitle>
+  <CardTitle title="项目情况" />
   <ul class="project-list">
     <li>
       <span>
@@ -163,12 +156,6 @@ queryProjectInfo()
         <template #leftTitle>
           <span class="my-chart-title"> <i></i> <b>金额分布</b></span>
         </template>
-        <template #rightTitle>
-          <span class="title-types">
-            <span class="checked">金额分布</span>
-            <span>地区分布</span>
-          </span>
-        </template>
       </CardTitle>
       <ul class="money-list">
         <li v-for="(item, index) in amountInfoList" :key="index">

+ 15 - 2
client/src/views/OaSystem/home/homeLeader.vue

@@ -20,7 +20,11 @@
         <CardItemSeven3 v-else :type="1" />
       </div>
       <div class="card-item-common">
-        <CardTitle title="回款通知" @moreClick="moreHandle" showMore />
+        <CardTitle
+          title="回款通知"
+          @moreClick="toNewPageHandle('/oaSystem/marketCenter/returnMessage')"
+          showMore
+        />
         <CardItemSeven />
       </div>
     </div>
@@ -84,7 +88,16 @@ const handleTabClick = (type: number) => {
 }
 
 const router = useRouter()
-const moreHandle = () => {
+const moreHandle = (index: number | null = null) => {
+  if (index != null) {
+    router.push({ path: newsTabs[index].path })
+    return
+  }
   router.push({ path: newsTabs[tabIndex.value].path })
 }
+const toNewPageHandle = (path: string | null = null) => {
+  if (path != null) {
+    router.push({ path: path })
+  }
+}
 </script>

+ 1 - 1
zjugis-module-adm/zjugis-module-adm-biz/src/main/resources/bootstrap.yaml

@@ -3,7 +3,7 @@ spring:
     name: adm-server
 
   profiles:
-    active: dev
+    active: local
 
 server:
   port: 48083