Browse Source

feature(1002847): 登录界面、我的报告界面修改

Kevin Jiang 2 years ago
parent
commit
9f3f8ca2d2
2 changed files with 3 additions and 3 deletions
  1. 2 2
      src/views/LoginView.vue
  2. 1 1
      src/views/report/ReportListView.vue

+ 2 - 2
src/views/LoginView.vue

@@ -55,8 +55,8 @@ const onFinishFailed = (errorInfo: any) => {
         </p>
       </a-col>
       <a-col class="right" :flex="1">
-        <h1>Think Logically</h1>
-        <h1>Create Reasoningly</h1>
+        <h1>Think Logically.</h1>
+        <h1>Create Reasoningly.</h1>
 
         <h2 style="margin-top: 100px;">用户登录</h2>
         <div class="login-form-wrapper">

+ 1 - 1
src/views/report/ReportListView.vue

@@ -140,7 +140,7 @@ onMounted(() => {
   fetchReports()
   // 左侧企业名录统计
   reportsService.agg().then((aggs) => {
-    companies.value = aggs.map((agg) => {
+    companies.value = aggs.filter((agg) => agg.count > 0).map((agg) => {
       return {
         id: agg.companyId,
         label: agg.name,