瀏覽代碼

运管首页统计修改

lchao 1 天之前
父節點
當前提交
2534df5da0
共有 2 個文件被更改,包括 7 次插入17 次删除
  1. 6 16
      system_ui/src/views/index.vue
  2. 1 1
      system_ui/src/views/indexEchars/ComparisonbarChart.vue

+ 6 - 16
system_ui/src/views/index.vue

@@ -18,22 +18,12 @@
         </el-card>
         </el-card>
       </el-col>
       </el-col>
       <el-col :span="5">
       <el-col :span="5">
-        <el-card class="box-card" style="height: 85px;text-align: center;line-height: 55px;">
-            <span class="button-text">注册用户数 {{countData[0].count}}</span>
-          </el-card>
-          <el-card class="box-card" style="margin-top: 9px;height: 85px;text-align: center;line-height: 45px;">
-            <span class="button-text">活跃用户数 {{countData[1].count}}</span>
-          </el-card>
-          <el-card class="box-card" style="margin-top: 9px;height: 85px;text-align: center;line-height: 45px;">
-            <a class="button-text">旗县级领导账号数 {{countData[2].count}}</a>
-          </el-card>
-          <el-card class="box-card" style="margin-top: 9px;height: 85px;text-align: center;line-height: 45px;">
-            <a class="button-text" >旗本级领导账号数 {{countData[3].count}}</a>
-          </el-card>
-          <el-card class="box-card" style="margin-top: 9px;height: 85px;text-align: center;line-height: 45px;">
-            <a class="button-text">县(旗)区领导账号数 {{countData[4].count}}</a>
-          </el-card>
-
+        <el-card class="box-card" style="height: 220px; text-align: center; display: flex; align-items: center; justify-content: center;">
+          <span class="button-text">注册用户数 {{countData[0].count}}</span>
+        </el-card>
+        <el-card class="box-card" style="margin-top: 20px; height: 220px; text-align: center; display: flex; align-items: center; justify-content: center;">
+          <span class="button-text">活跃用户数 {{countData[1].count}}</span>
+        </el-card>
       </el-col>
       </el-col>
     </el-row>
     </el-row>
     <el-row :gutter="10" style="margin-top: 25px; margin-left: 15px; margin-right: 15px">
     <el-row :gutter="10" style="margin-top: 25px; margin-left: 15px; margin-right: 15px">

+ 1 - 1
system_ui/src/views/indexEchars/ComparisonbarChart.vue

@@ -34,7 +34,7 @@
             this.activecount.push(parseInt(res.data[i].activecount))
             this.activecount.push(parseInt(res.data[i].activecount))
             numbers+=(parseInt(res.data[i].count))
             numbers+=(parseInt(res.data[i].count))
           }
           }
-          this.$refs.CountyChart.initChart(this.name,this.count,this.activecount,'市直部门、三县两区用户注册数和活跃数比对')
+          this.$refs.CountyChart.initChart(this.name,this.count,this.activecount,'旗直部门、乡镇用户注册数和活跃数比对')
         })
         })
       },
       },
     }
     }