From 83d8b2a1ccf300fb35caf0b8816d7b7120a9c0d0 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期四, 04 八月 2022 16:04:40 +0800
Subject: [PATCH] 修改echarts图及看板的文字颜色
---
src/views/jcsz/yhqd.vue | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/src/views/jcsz/yhqd.vue b/src/views/jcsz/yhqd.vue
index 966c620..db4f7be 100644
--- a/src/views/jcsz/yhqd.vue
+++ b/src/views/jcsz/yhqd.vue
@@ -667,19 +667,28 @@
}
},
created() {
- this.getUserSearch()
- this.getUserOrganization()
+ this.handleRequest()
},
+
mounted() {
window.addEventListener('resize', this.getHeight)
this.getHeight()
},
methods: {
+ handleRequest() {
+ this.getUserSearch().then(res => {
+ if (res.code === '200') {
+ this.getUserOrganization()
+ }
+ })
+ },
+
// 鑾峰彇鐢ㄦ埛娓呭崟
async getUserSearch() {
const res = await UserSearch(this.form)
this.tableData = res.data
this.total = res.count
+ return { code: res.code }
},
// 鑾峰彇鎵�灞炵粍缁�
async getUserOrganization() {
--
Gitblit v1.9.3