From 48741e82bb773afe7b73d63ee3c8e18889a4d0d6 Mon Sep 17 00:00:00 2001 From: TiaStars Date: Tue, 6 Aug 2024 19:30:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E4=BA=91=E5=9B=BE=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E9=A1=B9=E7=9B=AE=E5=BA=93=E9=A1=B9=E7=9B=AE=E5=88=86?= =?UTF-8?q?=E7=B1=BB=E5=AE=8C=E5=96=84=E3=80=81=E5=88=87=E6=8D=A2=E6=8C=89?= =?UTF-8?q?=E5=AD=A3=E5=BA=A6=E6=9B=B4=E6=8D=A2=E6=98=BE=E7=A4=BA=E3=80=81?= =?UTF-8?q?=E6=99=BA=E8=83=BD=E6=8F=90=E9=86=92=E9=99=A4=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=91=98=E8=B0=81=E5=8F=91=E7=9A=84=E6=8F=90=E9=86=92=E8=B0=81?= =?UTF-8?q?=E6=9C=89=E6=9D=83=E5=88=A9=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/api/jin_ji_hu/project/index.js | 2 +- src/assets/styles/public.scss | 14 ++- .../dataCloudMap/components/echartData.vue | 22 ++-- .../components/headquarterEnterprise.vue | 18 ++- src/views/intelligentReminder/index.vue | 3 +- src/views/project/index.vue | 104 ++++++++++-------- src/views/workbench/index.vue | 3 +- 8 files changed, 101 insertions(+), 67 deletions(-) diff --git a/package.json b/package.json index 52f3972..0182266 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ruoyi", - "version": "1.0.202408061104", + "version": "1.0.202408061928", "description": "金鸡湖现代服务业品牌管理系统", "author": "若依", "license": "MIT", diff --git a/src/api/jin_ji_hu/project/index.js b/src/api/jin_ji_hu/project/index.js index fc39501..5fa33bd 100644 --- a/src/api/jin_ji_hu/project/index.js +++ b/src/api/jin_ji_hu/project/index.js @@ -78,7 +78,7 @@ export function putJMemorandum(data) { // 删除备忘录 export function delJMemorandum(id) { return request({ - url: "/jjh/jMemorandum" + id, + url: "/jjh/jMemorandum/" + id, method: "post", }) } diff --git a/src/assets/styles/public.scss b/src/assets/styles/public.scss index f8a801a..8c47230 100644 --- a/src/assets/styles/public.scss +++ b/src/assets/styles/public.scss @@ -1428,12 +1428,15 @@ } .warn-main-content { - .content-title { + flex: 1; + .content-title,.content-title-type { font-weight: bold; font-size: 15px; color: #333333; } - + .content-title-type { + margin-top: 5px; + } .content-middle { font-weight: bold; font-size: 15px; @@ -3948,8 +3951,11 @@ } .echarts-data-box { - display: grid; - grid-template-columns: 1fr 1fr 1fr; + // display: grid; + // grid-template-columns: 1fr 1fr 1fr; + display: flex; + align-items: center; + justify-content: space-between; margin: 15px 0 12px; .E-box-item { diff --git a/src/views/dataCloudMap/components/echartData.vue b/src/views/dataCloudMap/components/echartData.vue index 76f8ca7..305decd 100644 --- a/src/views/dataCloudMap/components/echartData.vue +++ b/src/views/dataCloudMap/components/echartData.vue @@ -8,7 +8,7 @@ {{ serviceData.valueAdded }} 亿元 -
【{{ serviceData.developYear }}】服务业增加值
+
【{{ activeIndex == 1 ? serviceData.developYear : serviceData.developYear + quarter + "季度" }}】服务业增加值
@@ -18,7 +18,7 @@ {{ serviceData.increaseSpeed }} %
-
【{{ serviceData.developYear }}】服务业增速
+
【{{ activeIndex == 1 ? serviceData.developYear : serviceData.developYear + quarter + "季度" }}】服务业增速
@@ -28,7 +28,7 @@ {{ serviceData.gdpProportion }} %
-
【{{ serviceData.developYear }}】服务业增加值占GDP比重
+
【{{ activeIndex == 1 ? serviceData.developYear : serviceData.developYear + quarter + "季度" }}】服务业增加值占GDP比重
@@ -53,6 +53,7 @@ export default { quarterly: 0, developYear: 0, }, + quarter: '', option: { grid: { top: "10%", @@ -233,14 +234,17 @@ export default { this.option.series[0].data = [] this.option.series[1].data = [] this.option.xAxis.data = ["第一季度","第二季度","第三季度","第四季度"] - let arr = [0,0,0,0] - let arrTwo = [0,0,0,0] + // let arr = [0,0,0,0] + // let arrTwo = [0,0,0,0] + let arr = [] + let arrTwo = [] res.data.map((item,index)=>{ - arr[index] = item.valueAdded - arrTwo[index] = item.increaseSpeed - this.option.series[1].data = arr - this.option.series[0].data = arrTwo + arr.push(item.valueAdded); + arrTwo.push(item.increaseSpeed); }) + this.quarter = arr.length == 1 ? '一' : arr.length == 2 ? '二' : arr.length == 3 ? '三' : arr.length == 4 ? '四' : ''; + this.option.series[1].data = arr + this.option.series[0].data = arrTwo const maxY1 = Math.max.apply(null, this.option.series[0].data); const maxY2 = Math.max.apply(null, this.option.series[1].data); let divisor = 5; diff --git a/src/views/dataCloudMap/components/headquarterEnterprise.vue b/src/views/dataCloudMap/components/headquarterEnterprise.vue index fdc10bc..d8a5739 100644 --- a/src/views/dataCloudMap/components/headquarterEnterprise.vue +++ b/src/views/dataCloudMap/components/headquarterEnterprise.vue @@ -63,10 +63,20 @@ - - - - + + + + + + + + + + + +