diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/board/testData/template.js b/ruoyi-ui/src/views/JiHeExpressway/pages/service/board/testData/template.js deleted file mode 100644 index b5d829ca..00000000 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/board/testData/template.js +++ /dev/null @@ -1,164 +0,0 @@ -export default [ - { - "id": 3, - "category": "0", - "content": "保持车距,控制车速", - "screenSize": "768*64", - "fontColor": "FFFF00", - "fontSize": "64", - "fontType": "2", - "fontSpacing": "0", - "rollingSpeed": null, - "stopTime": "50", - "inScreenMode": "1", - "formatStyle": "2", - "remark": null, - "createTime": "2024-01-06 10:40:19", - "updateTime": "2024-01-06 11:04:53" - }, - { - "id": 4, - "category": "0", - "content": "山东高速欢迎您", - "screenSize": "768*64", - "fontColor": "FFFF00", - "fontSize": "64", - "fontType": "3", - "fontSpacing": "0", - "rollingSpeed": null, - "stopTime": "50", - "inScreenMode": "1", - "formatStyle": "2", - "remark": null, - "createTime": "2024-01-06 10:40:44", - "updateTime": "2024-01-06 11:04:58" - }, - { - "id": 5, - "category": "0", - "content": "山东高速热线:96659", - "screenSize": "768*64", - "fontColor": "FFFF00", - "fontSize": "64", - "fontType": "1", - "fontSpacing": "0", - "rollingSpeed": null, - "stopTime": "50", - "inScreenMode": "1", - "formatStyle": "2", - "remark": null, - "createTime": "2024-01-06 10:40:56", - "updateTime": "2024-01-06 11:05:24" - }, - { - "id": 9, - "category": "0", - "content": "安全带=生命带,关键时刻能救命", - "screenSize": "768*64", - "fontColor": "FFFF00", - "fontSize": "48", - "fontType": "3", - "fontSpacing": "0", - "rollingSpeed": null, - "stopTime": "50", - "inScreenMode": "1", - "formatStyle": "2", - "remark": null, - "createTime": "2024-01-06 10:42:21", - "updateTime": "2024-01-06 11:05:15" - } - ], - "1": [ - { - "id": 6, - "category": "1", - "content": "前方施工,谨慎驾驶", - "screenSize": "768*64", - "fontColor": "FFFF00", - "fontSize": "64", - "fontType": "3", - "fontSpacing": "0", - "rollingSpeed": null, - "stopTime": "50", - "inScreenMode": "1", - "formatStyle": "2", - "remark": null, - "createTime": "2024-01-06 10:41:07", - "updateTime": "2024-01-06 11:05:36" - } - ], - "2": [ - { - "id": 2, - "category": "2", - "content": "雨天路滑,注意安全", - "screenSize": "768*64", - "fontColor": "FFFF00", - "fontSize": "64", - "fontType": "3", - "fontSpacing": "0", - "rollingSpeed": null, - "stopTime": "50", - "inScreenMode": "1", - "formatStyle": "2", - "remark": null, - "createTime": "2024-01-06 10:38:44", - "updateTime": "2024-01-06 11:05:52" - }, - { - "id": 10, - "category": "2", - "content": "大雾天气\n减速慢行", - "screenSize": "160*80", - "fontColor": "FFFF00", - "fontSize": "40", - "fontType": "2", - "fontSpacing": "0", - "rollingSpeed": null, - "stopTime": "50", - "inScreenMode": "1", - "formatStyle": "2", - "remark": null, - "createTime": "2024-01-06 10:42:59", - "updateTime": "2024-01-06 11:05:48" - } - ], - "3": [], - "4": [ - { - "id": 8, - "category": "4", - "content": "前方发生火灾,请谨慎驾驶", - "screenSize": "768*64", - "fontColor": "FFFF00", - "fontSize": "64", - "fontType": "1", - "fontSpacing": "0", - "rollingSpeed": null, - "stopTime": "50", - "inScreenMode": "1", - "formatStyle": "2", - "remark": null, - "createTime": "2024-01-06 10:42:00", - "updateTime": null - } - ], - "5": [ - { - "id": 7, - "category": "5", - "content": "前方事故,减速慢行", - "screenSize": "768*64", - "fontColor": "FFFF00", - "fontSize": "64", - "fontType": "1", - "fontSpacing": "0", - "rollingSpeed": null, - "stopTime": "50", - "inScreenMode": "1", - "formatStyle": "2", - "remark": null, - "createTime": "2024-01-06 10:41:33", - "updateTime": null - } - ] diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsMonth/assets/charts.js b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsMonth/assets/charts.js index 9f9a2f2b..b5d032e2 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsMonth/assets/charts.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsMonth/assets/charts.js @@ -52,7 +52,7 @@ var options = { }, }, grid: { - top: '10%',//上边距 + top: '20%',//上边距 right: '0',//右边距 left: '0',//左边距 bottom: "10%",//下边距 @@ -79,7 +79,7 @@ var options = { yAxis: [{ type: 'value', name: "", - max: 1200, + max: 1000, min:0, splitNumber:5, nameTextStyle: { diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsMonth/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsMonth/index.vue index a3fa9c0f..7fab271c 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsMonth/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/publicService/components/postTrendsMonth/index.vue @@ -12,7 +12,7 @@ import * as echarts from "echarts"; import chartsStatistics from "./assets/charts"; export default { - name: 'RailWayDay', + name: 'postTrendsMonth', components: { WgtTitle },