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 @@ - - - - + + + + + + + + + + + +