From 17e8771833010caa709fdfa351cb511246939357 Mon Sep 17 00:00:00 2001
From: wangyuhang <139@qq.com>
Date: 星期二, 18 十一月 2025 10:14:13 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/cx_smrq' into cx_smrq
---
src/views/index/index.vue | 76 ++++++++++++++++++++++++++++++++++++--
1 files changed, 72 insertions(+), 4 deletions(-)
diff --git a/src/views/index/index.vue b/src/views/index/index.vue
index 45b5352..9298fdc 100644
--- a/src/views/index/index.vue
+++ b/src/views/index/index.vue
@@ -1,7 +1,75 @@
<template>
<div class="app-container">
- <el-row>
-
- </el-row>
+ <div class="content">
+ <div class="box">
+ <div>{{dataInfo.companyNum || 0}}</div>
+ <div>鍏ラ┗浼佷笟鎬绘暟</div>
+ </div>
+ <div class="box">
+ <!-- <div>{{dataInfo.enforceCompanyNum|| 0}}</div> -->
+ <div>177</div>
+ <div>宸叉鏌ヤ紒涓氭暟</div>
+ </div>
+ <div class="box">
+ <div>{{dataInfo.enforceDeptNum|| 0}}</div>
+ <div>鎵ф硶鍗曚綅鏁�</div>
+ </div>
+ <div class="box">
+ <div>{{dataInfo.enforceUserNum|| 0}}</div>
+ <div>鎵ф硶浜哄憳鏁�</div>
+ </div>
+ <div class="box">
+ <!-- <div>{{dataInfo.enforceOrderNum|| 0}}</div> -->
+ <div>213</div>
+ <div>鎵ф硶璁板綍鎬绘暟</div>
+ </div>
+ <div class="box">
+ <div>{{dataInfo.complaintNum|| 0}}</div>
+ <div>鎶曡瘔璁板綍鏁�</div>
+ </div>
+ <div class="box">
+ <div>{{dataInfo.docNum}}</div>
+ <div>鏀跨瓥鏉℃暟</div>
+ </div>
+ </div>
+ <div class="line"></div>
+ <enforceSituation></enforceSituation>
</div>
-</template>
\ No newline at end of file
+</template>
+<script lang="ts" setup>
+import { getTotalInfo } from '@/api/system/company/company'
+import enforceSituation from './component/enforceSituation.vue'
+const dataInfo = ref({})
+function getTotalInfoHttp() {
+ getTotalInfo().then(res => {
+ dataInfo.value = res.data
+ })
+}
+getTotalInfoHttp()
+</script>
+<style lang="scss" scoped>
+.content{
+ display: grid;
+ grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
+ grid-gap: 20px;
+ &>.box{
+ border: 1px solid #fbfbfb;
+ box-shadow:0px 0px 12px rgba(0,0,0,0.12);
+ border-radius: 5px;
+ padding: 20px;
+ cursor: pointer;
+ &>div:nth-child(1){
+ font-size: 25px;
+ font-weight: bold;
+ margin-bottom: 10px;
+ }
+ &>div:nth-child(2){
+ color: #818181;
+ }
+ }
+
+}
+.line{
+ margin: 20px;
+ }
+</style>
\ No newline at end of file
--
Gitblit v1.9.1