From 20aa8b210cc2734bad845180f6bc6d2e247a0a1b Mon Sep 17 00:00:00 2001 From: dhy1725534722 <1725534722@qq.com> Date: Mon, 2 Oct 2023 21:27:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8C=BA=E5=88=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/yingji/echarts/executive.vue | 6 ++--- src/views/yingji/enterprise.vue | 33 +++++++++++++------------- 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/src/views/yingji/echarts/executive.vue b/src/views/yingji/echarts/executive.vue index 0a8bb13..019e76d 100644 --- a/src/views/yingji/echarts/executive.vue +++ b/src/views/yingji/echarts/executive.vue @@ -71,11 +71,11 @@ export default { }, getData(e) { if (e.length == 1) { - this.$emit("quhua", e[0].slice(0, 8)); + this.$emit("quhua", e[0].slice(1, 8)); } else if (e.length == 2 && e[0] == e[1]) { - this.$emit("quhua", e[0].slice(0, 8)); + this.$emit("quhua", e[0].slice(1, 8)); } else { - this.$emit("quhua", e[1].slice(0, 11)); + this.$emit("quhua", e[1].slice(1, 11)); } }, }, diff --git a/src/views/yingji/enterprise.vue b/src/views/yingji/enterprise.vue index 2eb67ec..1f65894 100644 --- a/src/views/yingji/enterprise.vue +++ b/src/views/yingji/enterprise.vue @@ -35,7 +35,7 @@ -