From 9dd3964e34f08bbb04a82f2e05f1b41de7425c48 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期五, 20 六月 2025 15:30:16 +0800
Subject: [PATCH] 测试完成
---
src/views/index.vue | 100 ++++++++++++++++++-------------------------------
1 files changed, 37 insertions(+), 63 deletions(-)
diff --git a/src/views/index.vue b/src/views/index.vue
index f03c396..439d775 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -167,7 +167,7 @@
<div class="empenty">
<el-row>
<el-col :span="3"
- ><div class="grid-contents bg-purples" >鍑洪櫌锛�</div></el-col
+ ><div class="grid-contents bg-purples">鍑洪櫌锛�</div></el-col
>
<el-col :span="7">
<div style="display: flex">
@@ -187,13 +187,13 @@
<div class="subtitle">澶嶈瘖閫氱煡</div>
<div class="grid-contents bg-purple-light">0娆�</div>
</div>
- </el-col> </el-row
- >
+ </el-col>
+ </el-row>
<el-row>
<el-col :span="3"
- ><div class="grid-contents bg-purples" ></div></el-col
- >
- <el-col :span="7" >
+ ><div class="grid-contents bg-purples"></div
+ ></el-col>
+ <el-col :span="7">
<div style="display: flex">
<div class="subtitle">鍑洪櫌璇勪及</div>
<div class="grid-contents bg-purple-light">0娆�</div>
@@ -212,12 +212,11 @@
<div class="grid-contents bg-purple-light">0娆�</div>
</div>
</el-col>
- </el-row
- >
+ </el-row>
<el-row>
<el-col :span="3"
- ><div class="grid-contents bg-purples" >闂ㄨ瘖锛�</div></el-col
+ ><div class="grid-contents bg-purples">闂ㄨ瘖锛�</div></el-col
>
<el-col :span="7">
<div style="display: flex">
@@ -237,12 +236,12 @@
<div class="subtitle">澶嶈瘖閫氱煡</div>
<div class="grid-contents bg-purple-light">0娆�</div>
</div>
- </el-col> </el-row
- >
+ </el-col>
+ </el-row>
<el-row>
<el-col :span="3"
- ><div class="grid-contents bg-purples" ></div></el-col
- >
+ ><div class="grid-contents bg-purples"></div
+ ></el-col>
<el-col :span="7">
<div style="display: flex">
<div class="subtitle">婊℃剰搴﹁皟鏌�</div>
@@ -255,12 +254,10 @@
<div class="grid-contents bg-purple-light">0娆�</div>
</div>
</el-col>
-
- </el-row
- >
+ </el-row>
<el-row>
<el-col :span="3"
- ><div class="grid-contents bg-purples" >鍦ㄩ櫌锛�</div></el-col
+ ><div class="grid-contents bg-purples">鍦ㄩ櫌锛�</div></el-col
>
<el-col :span="7">
<div style="display: flex">
@@ -280,8 +277,8 @@
<div class="subtitle">鍏朵粬閫氱煡</div>
<div class="grid-contents bg-purple-light">0娆�</div>
</div>
- </el-col> </el-row
- >
+ </el-col>
+ </el-row>
</div>
</div>
</el-col>
@@ -291,12 +288,12 @@
</template>
<script>
-// import {
-// getUserWork,
-// getregionCollect,
-// getregionOrderCount,
-
-// } from "@/api/home";
+import {
+ getoutpatientamount,
+ getInhospital,
+ getBarchart,
+ getQtemplateobj,
+} from "@/api/AiCentre/index";
import dayjs from "dayjs";
export default {
@@ -342,13 +339,11 @@
},
},
created() {
+ // this.getoutpatientamount();
+ // this.getInhospital();
+ // this.getBarchart();
this.$nextTick(function () {
this.getregionAmountCollect();
- this.getUserWorks();
- this.getregionCollect();
- this.getregionOrderCount();
- this.getNodeCount();
- this.getPrtnerCount();
this.getnodeCollect();
this.getSkuTop();
});
@@ -373,25 +368,13 @@
this.dyat = 360;
}
this.getregionAmountCollect();
- this.getUserWorks();
- this.getregionCollect();
- this.getregionOrderCount();
- this.getNodeCount();
- this.getPrtnerCount();
+ // this.getoutpatientamount();
+ // this.getInhospital();
+ // this.getBarchart();
this.getnodeCollect();
this.getSkuTop();
},
- // 鑾峰彇鐐逛綅鎬绘暟
- async getNodeCount() {
- // const res = await getNodeCount();
- // this.NodeCount = res.data;
- },
- // 鑾峰彇鍚堜綔鍟嗘�绘暟
- async getPrtnerCount() {
- // const res = await getPrtnerCount();
- // this.PrtnerCount = res.data;
- },
// 鍚堜綔鍟嗙偣浣嶆眹鎬荤粺璁¢ゼ鐘跺浘
async getnodeCollect() {
// const res = await getnodeCollect();
@@ -423,31 +406,22 @@
{ amount: 0, count: 67, skuId: "0", skuName: "鏀惧皠绉�" },
];
},
- // 鑾峰彇宸ュ崟鏁伴噺
- async getUserWorks() {
- // const res = await getUserWork(this.atd, this.td);
- // this.ticketStatistics = res.data[0];
+ // 鑾峰彇闂ㄨ瘖鍩虹鏁版嵁
+ getoutpatientamount() {
+ getoutpatientamount().then((res) => {});
},
// 鑾峰彇灏辫瘖鏁伴噺
- async getregionOrderCount() {
- // const res = await getregionOrderCount({
- // start: this.atd,
- // end: this.td,
- // });
- // this.order = res.data;
+ getBarchart() {
+ getBarchart().then((res) => {});
},
// 鑾峰彇鎬婚噺鏁伴噺
- async getregionCollect() {
- // const res = await getregionCollect({
- // start: this.atd,
- // end: this.td,
- // });
- // this.Count = (res.data / 1000000).toFixed(2);
+ getInhospital() {
+ getInhospital().then((res) => {});
},
// 鑾峰彇绾跨姸鍥炬椂闂�
async getregionAmountCollect() {
- // const res = await getregionAmountCollect(1, this.endatd, this.statd);
+ //getregionAmountCollect(1, this.endatd, this.statd);
// this.xAxis = res.data.xAxis;
// this.series = res.data.series;
this.xAxis = ["1鏈�", "2鏈�", "3鏈�", "4鏈�", "5鏈�", "6鏈�", "7鏈�", "8鏈�"];
@@ -998,7 +972,7 @@
line-height: 36px;
width: 6vw;
}
-.subtitle{
+.subtitle {
text-align: center;
align-items: center;
}
--
Gitblit v1.9.3