From 265677dbef5c2374a4393119ef724c01b588f2f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E5=8A=B2=E9=BE=99?= <2860996570@qq.com>
Date: Wed, 13 Dec 2023 10:00:43 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E7=94=A8=E6=8E=A5=E5=8F=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../bigpage/bigcomponents/AdverseBox.vue | 14 ++++++----
.../bigpage/bigcomponents/informationBox.vue | 28 +++++++++----------
src/views/index.vue | 5 +++-
3 files changed, 26 insertions(+), 21 deletions(-)
diff --git a/src/views/bigpage/bigcomponents/AdverseBox.vue b/src/views/bigpage/bigcomponents/AdverseBox.vue
index 1c80574..f5ae233 100644
--- a/src/views/bigpage/bigcomponents/AdverseBox.vue
+++ b/src/views/bigpage/bigcomponents/AdverseBox.vue
@@ -27,9 +27,10 @@
例
-
较去年
-
↑
-
+
+
较去年
+
+
↓
@@ -42,9 +43,10 @@
例
-
较去年
-
↑
-
+
+
较去年
+
+
↓
diff --git a/src/views/bigpage/bigcomponents/informationBox.vue b/src/views/bigpage/bigcomponents/informationBox.vue
index 0f8eef0..c964635 100644
--- a/src/views/bigpage/bigcomponents/informationBox.vue
+++ b/src/views/bigpage/bigcomponents/informationBox.vue
@@ -97,18 +97,18 @@ export default {
getData() {
let newRouter = this.$route.query;
getCPCJ({ name: newRouter.code }).then((res) => {
- // res.data.result.forEach((value, index) => {
- // if (value.sampleType == 1) {
- // this.provinceC += 1;
- // } else if (value.sampleType == 2) {
- // this.countryC += 1;
- // }
- // });
- this.countryC = 12;
- this.provinceC = 12;
- this.pt = 67;
- this.sccy = 60;
- this.ltcy = 40;
+ res.data.result.forEach((value, index) => {
+ if (value.sampleType == 1) {
+ this.provinceC += 1;
+ } else if (value.sampleType == 2) {
+ this.countryC += 1;
+ }
+ });
+ // this.countryC = 12;
+ // this.provinceC = 12;
+ // this.pt = 67;
+ // this.sccy = 60;
+ // this.ltcy = 40;
this.$nextTick(() => {
let chartDom = this.$refs["left-echart"];
this.myChart1 = echarts.init(chartDom);
@@ -192,13 +192,13 @@ export default {
// 各分区样式: value值,name表示各分区的标识、itemStyle模块样式
// 注意: name与上面的legend-data中必须保持一致,才可展示按钮组
{
- value: 39,
+ value: "1",
name: "生产抽样环节",
// percent: "39",
// itemStyle: { color: "#007EFF" },
},
{
- value: 21,
+ value: "1",
name: "流通环节抽样",
// percent: "21",
// itemStyle: { color: "#2CD8EC" },
diff --git a/src/views/index.vue b/src/views/index.vue
index 4e6c9c8..485191c 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -346,6 +346,8 @@ export default {
font-weight: 400;
color: #9CB4E2;
line-height: 18px;
+ overflow: hidden;
+ padding-right: 30px;
}
}
}
@@ -418,5 +420,6 @@ export default {
//设置文字颜色
// ::v-deep .el-loading-spinner .el-loading-text{
// color: #005432;
-// }
+// }
+
\ No newline at end of file