From f49793667a5bf1ebda2fbf1c0b258d85f36a5c2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E9=92=A6?= <360013221@qq.com> Date: Tue, 3 Sep 2024 17:17:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=B9=E9=85=8D3840=C3=971080=E5=A4=A7?= =?UTF-8?q?=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/common/menuData.js | 18 +- ruoyi-ui/src/store/modules/menu.js | 5 +- ruoyi-ui/src/utils/auth.js | 2 +- .../components/HeaderMenu/CustomMenu.vue | 20 +- .../components/HeaderMenu/WarningList.vue | 6 +- .../components/RecentPages/index.vue | 15 +- .../TimeLine/TimeLine2/DescCard.vue | 2 +- .../JiHeExpressway/components/Video/index.vue | 1 + .../components/VideoMulti/index.vue | 14 +- .../components/WarningNotify.vue | 16 +- .../Home/components/BMapContainer/index.vue | 13 +- .../components/ConditionStatistics/index.vue | 2 +- .../components/FocusedMonitoring/index.vue | 4 +- .../Home/components/HomeTraffic/index.vue | 18 +- .../Home/components/RoadAndEvents/index.vue | 2 +- .../RoadAndEvents/utils/dataoffset.js | 14296 ++++++++++++++++ .../components/RoadAndEvents/utils/map.js | 13 +- .../pages/Home/components/Thumbnail/index.vue | 8 +- .../views/JiHeExpressway/pages/Home/index.vue | 8 +- .../pages/control/device/record/index.vue | 2 + .../strategy/components/AddNEditDialog.vue | 4 +- .../components/SpecialTable.vue | 3 +- .../DeviceControl/components/ScopeTable.vue | 12 +- .../Cards/DeviceControl/index.vue | 40 +- .../DispatchLiaison/StatsDialog/index.vue | 23 +- .../Cards/DispatchLiaison/index.vue | 6 +- .../DisposalProcess/DialogProcess/index.vue | 14 +- .../Cards/DisposalProcess/index.vue | 11 + .../Cards/EventInformation/index.vue | 4 +- .../Cards/ReleaseInformation/index.vue | 2 + .../Cards/TrafficControl/index.vue | 4 +- .../dispatch/EventDispatchDialog/index.vue | 13 +- .../event/event/EventDetailDialog/index.vue | 23 + .../event/event/FormEvent/PresetFormItems.js | 1 + .../pages/control/event/event/data.js | 5 + .../pages/control/event/event/index.vue | 4 + .../audit/StatsDialogVisible/index.vue | 37 +- .../event/governanceAnalysis/audit/index.vue | 9 +- .../components/auditAnalytics/index.vue | 1 - .../event/governanceAnalysis/etime/charts.js | 155 + .../event/governanceAnalysis/etime/index.vue | 137 + .../event/governanceAnalysis/etype/charts.js | 4 +- .../event/governanceAnalysis/etype/index.vue | 1 - .../event/governanceAnalysis/index.vue | 65 +- .../event/governanceAnalysis/search/index.vue | 32 +- .../components/Eventfiltering/index.vue | 2 +- .../components/Sitefiltering/index.vue | 2 +- .../pages/datav/roadNet/index.vue | 97 +- .../query/dialogRecord.vue | 2 +- .../smart/statisticalAnalysis/query/index.vue | 4 +- .../analysis/progress/index.vue | 20 +- .../eventDetection/analysis/railway/charts.js | 2 +- .../eventDetection/analysis/railway/index.vue | 18 +- .../components/sortFaceForecast/index.vue | 6 +- .../components/infowWarningList/index.vue | 10 +- .../trafficFlow/analysis/section/charts.js | 2 +- .../trafficFlow/analysis/section/index.vue | 18 +- .../perception/trafficFlow/statistics/data.js | 3 + .../analysis/indicator/index.vue | 22 +- .../trafficSituation/query/index.vue | 4 +- .../Cards/AuditDetails/index.vue | 4 +- .../pages/service/analysis/charts.js | 150 + .../pages/service/analysis/charts3.js | 266 + .../pages/service/analysis/charts4.js | 105 + .../pages/service/analysis/charts6.js | 208 + .../pages/service/analysis/charts8.js | 247 + .../pages/service/analysis/index.vue | 650 + .../pages/service/analysis/search/index.vue | 257 + .../publicService/channelAnalytics/charts.js | 2 +- .../postTrendsMonth/assets/charts.js | 2 +- .../publicService/components/record/index.vue | 5 +- .../publicService/eventTypeAnalysis/charts.js | 2 +- .../publicService/postTrendsDay/charts.js | 2 +- .../publicService/postTrendsMonth/charts.js | 2 +- .../src/views/JiHeExpressway/utils/common.js | 2 +- .../JiHeExpressway/utils/enum_event/data.js | 6 +- .../src/views/event/reservePlan/index.vue | 1 - .../strategy/components/manualControl.vue | 1 - .../strategy/components/timingControl.vue | 1 - .../event/strategy/event/autoControl.vue | 1 - .../event/strategy/event/manualControl.vue | 1 - ruoyi-ui/src/views/websocket.vue | 49 +- ruoyi-ui/vue.config.js | 9 +- 83 files changed, 17022 insertions(+), 238 deletions(-) create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/dataoffset.js create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/etime/charts.js create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/etime/index.vue create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/service/analysis/charts.js create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/service/analysis/charts3.js create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/service/analysis/charts4.js create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/service/analysis/charts6.js create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/service/analysis/charts8.js create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/service/analysis/index.vue create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/service/analysis/search/index.vue diff --git a/ruoyi-ui/src/common/menuData.js b/ruoyi-ui/src/common/menuData.js index f951eec1..abc5ab88 100644 --- a/ruoyi-ui/src/common/menuData.js +++ b/ruoyi-ui/src/common/menuData.js @@ -196,12 +196,12 @@ export default [ // path: "/maintain/photovoltaic", // component: "developing.vue", // }, - // { - // title: "桥梁监测", - // name: "photovoltaic", - // path: "/maintain/photovoltaic", - // component: "developing.vue", - // }, + { + title: "桥梁监测", + name: "photovoltaic", + path: "/maintain/photovoltaic", + component: "developing.vue", + }, ], }, { @@ -293,6 +293,12 @@ export default [ component: "datav/roadNet/index.vue", hide: true, }, + { + title: "高速云数据分析", + name: "dataAnalysis", + path: "/service/analysis", + component: "service/analysis/index.vue", + }, ], }, { diff --git a/ruoyi-ui/src/store/modules/menu.js b/ruoyi-ui/src/store/modules/menu.js index 0af83a09..39576635 100644 --- a/ruoyi-ui/src/store/modules/menu.js +++ b/ruoyi-ui/src/store/modules/menu.js @@ -37,10 +37,11 @@ const state = { state.recentPages.forEach((unit, index) => { if (unit.path == item.path) { // unit.isPinned = !unit.isPinned; - Vue.prototype.$set(unit, "isPinned", !unit.isPinned); + // Vue.prototype.$set(unit, "isPinned", !unit.isPinned); + Vue.set(unit, "isPinned", !unit.isPinned); } }); - mutations.saveRecent(state); + // mutations.saveRecent(state); }, openRecent(state){ state.isRecentOpen = true; diff --git a/ruoyi-ui/src/utils/auth.js b/ruoyi-ui/src/utils/auth.js index 6258738c..234a0a7a 100644 --- a/ruoyi-ui/src/utils/auth.js +++ b/ruoyi-ui/src/utils/auth.js @@ -1,6 +1,6 @@ import Cookies from 'js-cookie' -const TokenKey = 'DC-Pro-Token' +const TokenKey = 'DC-Token' export function getToken() { return Cookies.get(TokenKey) diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/HeaderMenu/CustomMenu.vue b/ruoyi-ui/src/views/JiHeExpressway/components/HeaderMenu/CustomMenu.vue index 3b806b4f..8024dc6f 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/HeaderMenu/CustomMenu.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/HeaderMenu/CustomMenu.vue @@ -92,12 +92,20 @@ export default { } else if(node.title==='桥梁监测'){ this.activeIndex = key window.open('http://iot.sdhscloud.com/home?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MTc1MSwidWlkIjoiM2M2NTZjOGUtMzgwZC0xMWVmLWFhNmItYmVhNGE2MDZhMzE2IiwidXNlcm5hbWUiOiJKSFpIR1MiLCJuaWNrbmFtZSI6Ilx1NmQ0ZVx1ODNjZlx1NjY3YVx1NjE2N1x1OWFkOFx1OTAxZiIsImVtYWlsIjoiMjU4NTQwMjg0MEBxcS5jb20iLCJ0ZWwiOiIiLCJpc19zdXBlcnVzZXIiOmZhbHNlLCJpc19tYXN0ZXIiOmZhbHNlLCJpc19hY3RpdmUiOnRydWUsInRlbmFudF9pZCI6NDUsImF0dHJzIjp7Imdyb3VwIjoiIn0sImhhc3VyYSI6eyJ4LWhhc3VyYS11c2VyLWlkIjoiM2M2NTZjOGUtMzgwZC0xMWVmLWFhNmItYmVhNGE2MDZhMzE2IiwieC1oYXN1cmEtdGVuYW50Ijo0NSwieC1oYXN1cmEtYWN0aXZlIjp0cnVlLCJ4LWhhc3VyYS1tYXN0ZXIiOmZhbHNlLCJ4LWhhc3VyYS1yb2xlX2lkIjo1MjcsIngtaGFzdXJhLWFwcF9pZCI6NTIsIngtaGFzdXJhLXNlcnZpY2VfaWQiOjQsIngtaGFzdXJhLXN1cGVydXNlciI6ZmFsc2V9LCJhcHBfaWQiOjUyLCJyb2xlX2lkIjo1MjcsInNlcnZpY2VfaWQiOjQsImNsaWVudF9pZCI6IjA1ZTI1NzU4LTBhYTQtMTFlYS1iYTM0LTAyNDJhYzEwMDExZiIsImV4cCI6NDg3MzUxMzk1M30.JR5dwFCmNfaDFkSISOF5ZhRyPBulzDwG1bg4BA-Jqog') - } else if(node.title==='数字收费站'){ - this.activeIndex = key - getConfigKey("digitalTollStation").then((response) => { - window.open(response.msg===''?'https://10.0.86.63:9000/s?loadType=auto&group=15ai1k13748d&runType=box':response.msg); - }) - } else if (this.$route.path != node.path){ + } + // else if(node.title==='数字收费站'){ + // this.activeIndex = key + // getConfigKey("digitalTollStation").then((response) => { + // window.open(response.msg===''?'https://10.0.86.63:9000/s?loadType=auto&group=15ai1k13748d&runType=box':response.msg); + // }) + // } + // else if(node.title==='GIS+BIM可视化'){ + // this.activeIndex = key + // getConfigKey("dc.gisAndBim").then((response) => { + // window.open(response.msg===''?'https://10.0.86.63:9000/s?loadType=auto&group=15ai1k13748d&runType=box':response.msg); + // }) + // } + else if (this.$route.path != node.path){ this.$router.push(node.path); } diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/HeaderMenu/WarningList.vue b/ruoyi-ui/src/views/JiHeExpressway/components/HeaderMenu/WarningList.vue index ffac8b9c..72821ef2 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/HeaderMenu/WarningList.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/HeaderMenu/WarningList.vue @@ -150,8 +150,10 @@ export default { }) } else if(this.activeTab === 'four'){ request({ - url: `business/dcNoStakeWarningTable/list?pageSize=${this.searchData.pageSize}&pageNum=${this.searchData.pageNum}`, - method: "GET", + url: `/business/warning/meteorologicalList?pageSize=${this.searchData.pageSize}&pageNum=${this.searchData.pageNum}`, + method: "Post", + // url: `business/dcNoStakeWarningTable/list?pageSize=${this.searchData.pageSize}&pageNum=${this.searchData.pageNum}`, + // method: "GET", }) .then((result) => { if (result.code != 200) return; diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/RecentPages/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/RecentPages/index.vue index 4f7968de..b2772919 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/RecentPages/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/RecentPages/index.vue @@ -15,10 +15,11 @@ :style="{width:item.title.length*14+'px'}"> {{item.title}}

+ -

+

-

+
@@ -43,7 +44,8 @@ export default{ lastIndex:-1, //当前能显示的最后一个元素的索引 startIndex:-1, //当前能显示的第一个元素的索引 widthArr:[], - currentIndex : -1 + currentIndex : -1, + isPin: [] } }, components:{ @@ -66,6 +68,8 @@ export default{ this.widthBox = this.$refs["box"].offsetWidth; this.widthTotal = this.$refs["btnlist"].offsetWidth; let temp = 0; + this.isPin = newV.map(x=>x.isPinned) + newV.forEach((item,index)=>{ let unitW = this.$refs["unit"][index].offsetWidth; temp += unitW; @@ -121,7 +125,9 @@ export default{ } }, - onPin(item){ + onPin(item,index){ + this.isPin[index] = (!item.isPinned) + this.isPin = _.cloneDeep(this.isPin) this.pinRecent(item); }, onRemoveItem(item){ @@ -259,6 +265,7 @@ export default{ } } .btn_pin{ + cursor:context-menu; position: absolute; left:0; bottom:0; diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/TimeLine2/DescCard.vue b/ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/TimeLine2/DescCard.vue index a2ddab05..8925a957 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/TimeLine2/DescCard.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/TimeLine2/DescCard.vue @@ -294,7 +294,7 @@ export default { "data.type": { handler(newValue, oldValue) { if (newValue != "text") { - this.data.url = process.env.VUE_APP_BASE_API + this.data.desc; + this.data.url = (this.data.desc.indexOf('http:')===-1 && this.data.desc.indexOf('https:')===-1) ? process.env.VUE_APP_BASE_API + this.data.desc:this.data.desc; } }, deep: true, diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/Video/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/Video/index.vue index fa1e17bc..e6741b0b 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/Video/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/Video/index.vue @@ -165,4 +165,5 @@ export default { width: 100%; } } + diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/VideoMulti/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/VideoMulti/index.vue index 238b11f2..2e2e5602 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/VideoMulti/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/VideoMulti/index.vue @@ -12,10 +12,10 @@ " src="@screen/images/camera-control-icon.svg" width="18px" height="18px" style="cursor: pointer;background-color: #0d5f79;" /> + - @@ -115,7 +115,6 @@ export default { display: flex; flex-direction: column; justify-content: center; - .fade-enter-active, .fade-leave-active { transition: opacity 0.24s ease; @@ -131,7 +130,6 @@ export default { z-index: 999; display: flex; justify-content: space-between; - .radio { background: #265A70; border-radius: 41px 41px 41px 41px; @@ -180,8 +178,7 @@ export default { // -webkit-text-fill-color: transparent; } } - - + .video-stream, img { height: 100%; @@ -192,5 +189,12 @@ export default { .video-stream { width: 100%; } + @media (min-width: 3000px) { + .video-stream { + height: 90%; + width: 100%; + } + } + } diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/WarningNotify.vue b/ruoyi-ui/src/views/JiHeExpressway/components/WarningNotify.vue index 77c682c7..d775d610 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/WarningNotify.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/WarningNotify.vue @@ -61,6 +61,15 @@ export default { level: "danger", duration: 0 } + } else if( para.subEvent == "2"){ + obj = { + content: para.content.content, + time:para.content.event.warningTime, + type: "otherEvent", + level: "danger", + title:'扫码报警', + duration: 0 + } } else if(para.subEvent === '1'){ obj = { content: para.content.content, @@ -87,8 +96,6 @@ export default { duration: 4000 } } - - this.speak(obj.time + '' + para.content.content); if(Cookies.get('warning-notify') === 'off'){ return; @@ -122,7 +129,7 @@ export default { ), _this.$createElement( "span", { class: 'text' }, - obj.level === 'warning' ? '预警':"告警" + (obj.title ? obj.title: (obj.level === 'warning' ? '预警':"告警")) ) ] ) @@ -185,7 +192,8 @@ export default { _this.notifyIndex++; }, showDialog(info,idx){ - if (info.subEvent == '1') { + console.log(info,555) + if (info.subEvent == '1' || info.subEvent == '2') { this.activeName = '-1' //感知事件 request({ url: `/perceivedEvents/warning/getWarningById`,//感知事件 diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/BMapContainer/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/BMapContainer/index.vue index 20680f10..ba1cda9d 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/BMapContainer/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/BMapContainer/index.vue @@ -1,7 +1,7 @@ @@ -62,6 +81,7 @@ import TopComponent from './components/topComponent/index.vue' import Search from './search/index.vue' import CTimer from './ctimer/index.vue'; +import ETime from './etime/index.vue'; import EType from './etype/index.vue'; import CModel from './cmodel/index.vue'; @@ -69,6 +89,7 @@ import Days from './days/index.vue'; import Audit from './audit/index.vue'; import TAnaly from './tanaly/index.vue'; import ChartExport from "@screen/components/ChartExport/index.vue" +import Dialog from "@screen/components/Dialog/index.vue"; export default { name: 'GovernanceAnalysis', @@ -76,25 +97,28 @@ export default { TopComponent, Search, CTimer, - EType, + ETime, CModel, Days, Audit, TAnaly, - ChartExport + ChartExport, + EType, + Dialog }, data() { return { - activeName: "first" + activeName: "first", + modelVisible:false, + activeTab: 'EType', + searchQuery:null } }, mounted() { window.addEventListener("resize", () => { this.$refs.refTimer.myChart.resize(); - this.$refs.refEType.myChart.resize(); - // this.$refs.refTAnaly.myChart.resize(); - this.$refs.refCModel.myChart.resize(); + this.$refs.refETime.myChart.resize(); this.$refs.refDays.myChart.resize(); }); @@ -106,11 +130,26 @@ export default { formData.append("type", search.type); formData.append("startTime", search.startTime); this.$refs.refTimer.bind(formData) - this.$refs.refEType.bind(formData) - this.$refs.refCModel.bind(formData) + this.$refs.refETime.bind(formData) }, - changeTabs() { - + bindMore(search){ + this.modelVisible = true; + this.searchQuery = new FormData(); + this.searchQuery.append("direction", search.direction); + this.searchQuery.append("type", search.type); + this.searchQuery.append("startTime", search.startTime); + this.onChangeTab({name:'EType'}) + }, + onChangeTab(e) { + this.activeName = e.name + console.log(this.activeName,66) + setTimeout(() => { + console.log(this.activeName,555) + if(this.activeName==='EType'){ + this.$refs.refEType.bind(this.searchQuery ) + } else if(this.activeName==='CModel') + this.$refs.refCModel.bind(this.searchQuery ) + }, 300); } } diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/search/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/search/index.vue index 0f88f6c8..76b9076d 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/search/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/governanceAnalysis/search/index.vue @@ -25,6 +25,8 @@ 查询 重置 + + 更多 diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/sortFaceForecast/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/sortFaceForecast/index.vue index 35466a67..99c349ff 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/sortFaceForecast/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/sortFaceForecast/index.vue @@ -287,10 +287,10 @@ export default { content: ""; position: absolute; display: inline-flex; - width: 189px; + width: 9.8vw; height: 2px; top: 14px; - left: -200px; + left: -10.4vw; background: linear-gradient( 90deg, rgba(59, 216, 188, 1), @@ -302,7 +302,7 @@ export default { content: ""; position: absolute; display: inline-flex; - width: 189px; + width: 9.8vw; height: 2px; top: 14px; left: 35px; diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherWarning/components/infowWarningList/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherWarning/components/infowWarningList/index.vue index 9a81b6db..f5f49409 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherWarning/components/infowWarningList/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherWarning/components/infowWarningList/index.vue @@ -2,7 +2,7 @@
-
+
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/analysis/section/charts.js b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/analysis/section/charts.js index ccda4f25..268ede10 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/analysis/section/charts.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/analysis/section/charts.js @@ -21,7 +21,7 @@ var options = { // 边距自行修改 bottom: "5%", left: "2%", - top: "40px", + top: "10px", right: "10%", }, xAxis: { diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/analysis/section/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/analysis/section/index.vue index cf559444..c327d87b 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/analysis/section/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/analysis/section/index.vue @@ -1,5 +1,7 @@ diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/statistics/data.js b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/statistics/data.js index 34077f76..9057ab3e 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/statistics/data.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/statistics/data.js @@ -1,3 +1,5 @@ +import moment from "moment/moment"; + export const searchFormList = [ { label: "方向:", @@ -23,6 +25,7 @@ export const searchFormList = [ label: "时间范围:", key: "time", type: "datePicker", + default:[moment().format('YYYY-MM-DD'),moment().format('YYYY-MM-DD')], options: { format: "yyyy-MM-dd", type: "daterange", diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/analysis/indicator/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/analysis/indicator/index.vue index 59b5e1cc..5e2e130d 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/analysis/indicator/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/analysis/indicator/index.vue @@ -117,9 +117,9 @@ export default { }); _data.sort(function(a,b){return b.num-a.num}) - if(_data.length > 7){ - _data = _data.slice(0,7) - } + // if(_data.length > 7){ + // _data = _data.slice(0,7) + // } this.count = _count; this.tableData = _data; }) @@ -151,9 +151,10 @@ export default { overflow: hidden; .bodySort { - flex: 1; + // flex: 1; overflow: auto; width: 100%; + height: 270px; > div:first-child { .barTitle { background: linear-gradient(180deg, #ff6969 0%, #ffb904 100%); @@ -200,7 +201,6 @@ export default { .text { font-size: 12px; } - .lineHight { width: 60%; height: 8px; @@ -219,9 +219,19 @@ export default { top: -7px; } } + + @media (min-width: 3000px) { + .lineHight{ + width: 80%; + } + } + } + } + @media (min-height: 1000px) { + .bodySort{ + height:340px; } } - .textStr { display: inline-flex; width: 100%; diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/query/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/query/index.vue index cec48898..95bbfe9f 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/query/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficSituation/query/index.vue @@ -1,6 +1,7 @@