diff --git a/ruoyi-ui/public/static/fonts/尔雅风华楷书.ttf b/ruoyi-ui/public/static/fonts/尔雅风华楷书.ttf new file mode 100644 index 00000000..74e32f0a Binary files /dev/null and b/ruoyi-ui/public/static/fonts/尔雅风华楷书.ttf differ diff --git a/ruoyi-ui/src/App.vue b/ruoyi-ui/src/App.vue index 5f828743..5021a7fc 100644 --- a/ruoyi-ui/src/App.vue +++ b/ruoyi-ui/src/App.vue @@ -9,16 +9,15 @@ @@ -113,7 +178,7 @@ export default { .compBox{ .compCtt{ - .compCttBg{ width: 340px; height: 200px; background-color: #29647D;} + .compCttBg{ width: 550px; height: 200px; background-color: #29647D;} .compCttCon{ position: absolute; left: 0; @@ -121,9 +186,12 @@ export default { width: 100%; height: 100%; box-sizing: border-box; - padding: 10px 15px 30px; + padding: 10px 15px; pointer-events: none; + display: flex; .compHead{ + position: absolute; + margin-left: 500px; display: flex; justify-content: flex-end; padding-bottom: 20px; // img{ width: 20px; height: 20px; pointer-events: all;} .iconfont{font-size: 18px; pointer-events: all; color: #3DE8FF;} @@ -236,4 +304,62 @@ export default { } } } + +.nodata{ + width:100%; + text-align: center; + line-height: 50px; + } + +.position { + margin-left: 20px; + width: 220px; + display: flex; + font-size: 14px; + flex-direction: column; + + .ptitle { + width: 100%; + background-color: #3c6a93; + padding: 10px 10px; + display: flex; + justify-content: space-between; + align-items: center; + + .add { + cursor: pointer; + background-color: #379df1; + border-radius: 5px; + padding: 1px 10px; + } + } + + .plist { + margin-top: 10px; + height: 150px; + width: 100%; + overflow-y: auto; + background-color: #3c6a93; + .pItem{ + display: flex; + padding: 5px 10px; + cursor: pointer; + justify-content: space-between; + align-items: center; + > div{ + width: 140px; + } + > i{ + color: #379df1; + font-weight: bold; + } + } + .pItem:hover{ + background-color: #379df1; + > i{ + color: #fff; + } + } + } + } diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/CameraShower/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/CameraShower/index.vue index bcca3e9b..46cedd19 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/CameraShower/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/CameraShower/index.vue @@ -174,8 +174,8 @@ $colorLabel: #3DE8FF; .cameraControl { position: absolute; - right: -2px; - top: -2px; + right: 260px; + top: 36px; transform: translateX(100%); } diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/Card3/Card.vue b/ruoyi-ui/src/views/JiHeExpressway/components/Card3/Card.vue new file mode 100644 index 00000000..b35c6d91 --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/components/Card3/Card.vue @@ -0,0 +1,51 @@ + + + + + diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/ChartExport/chartDl.png b/ruoyi-ui/src/views/JiHeExpressway/components/ChartExport/chartDl.png new file mode 100644 index 00000000..20893017 Binary files /dev/null and b/ruoyi-ui/src/views/JiHeExpressway/components/ChartExport/chartDl.png differ diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/ChartExport/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/ChartExport/index.vue new file mode 100644 index 00000000..3f2618f3 --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/components/ChartExport/index.vue @@ -0,0 +1,57 @@ + + + + + \ No newline at end of file diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/Descriptions.vue b/ruoyi-ui/src/views/JiHeExpressway/components/Descriptions.vue index 4be2b1c3..fb28d8f2 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/Descriptions.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/Descriptions.vue @@ -1,5 +1,5 @@ \ No newline at end of file diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/broadcast/BroadcastTplList.vue b/ruoyi-ui/src/views/JiHeExpressway/components/broadcast/BroadcastTplList.vue index 2006b91c..201e6de8 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/broadcast/BroadcastTplList.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/broadcast/BroadcastTplList.vue @@ -9,7 +9,11 @@

{{ item.dictLabel }}

- +

diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/broadcast/BroadcastTplShower.vue b/ruoyi-ui/src/views/JiHeExpressway/components/broadcast/BroadcastTplShower.vue index e5caa57c..130e4d77 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/broadcast/BroadcastTplShower.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/broadcast/BroadcastTplShower.vue @@ -1,16 +1,37 @@ - diff --git a/ruoyi-ui/src/views/JiHeExpressway/mixins/InfoBoard.js b/ruoyi-ui/src/views/JiHeExpressway/mixins/InfoBoard.js index a750c92d..564a38ab 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/mixins/InfoBoard.js +++ b/ruoyi-ui/src/views/JiHeExpressway/mixins/InfoBoard.js @@ -105,7 +105,7 @@ export default { // this.saveLog(content); this.$message({ type: "success", - message: "发布成功!", + message: "发布成功", }); !isMultiControl && this.____getDeviceInfo(); }) @@ -152,7 +152,7 @@ export default { if (res.code == 200) { console.log("情报板日志已保存:::", data); } else { - console.log("情报板日志保存失败!"); + console.log("情报板日志保存失败"); } }); }, diff --git a/ruoyi-ui/src/views/JiHeExpressway/mixins/broadcast.js b/ruoyi-ui/src/views/JiHeExpressway/mixins/broadcast.js index c3ac3d18..9a2b8c05 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/mixins/broadcast.js +++ b/ruoyi-ui/src/views/JiHeExpressway/mixins/broadcast.js @@ -65,10 +65,39 @@ export default { publishToBoard(data) .then((res) => { // this.saveLog(content); - this.$message({ - type: "success", - message: "发布成功!", - }); + const cbMsg = { + 0: '成功', + 1: '非法控制台标识', + 2: '鉴权失败', + 3: '非法分区标识', + 4: '非法终端号码', + 5: '非法分区名称', + 6: '非法终端类型', + 7: '非法控制话机号码', + 8: '控制话机离线', + 9: '控制话机忙', + 10: '非法被叫号码', + 11: '非法音乐标识', + 12: '非法音乐资源链接', + 13: '非法广播任务标识', + 14: '非法文字广播内容', + 15: '非法广播重复次数', + 16: '非法广播文件列表', + 17: '非法广播终端列表', + 18: '非法呼叫标识' + } + if(res.retCode === 0){ + this.$message({ + type: "success", + message: "发布成功", + }); + } else { + this.$message({ + type: "error", + message: "发布失败,"+cbMsg[res.retCode], + }); + } + // !isMultiControl && this.____getDeviceInfo(); }) .catch((err) => {}) @@ -114,7 +143,7 @@ export default { if (res.code == 200) { console.log("情报板日志已保存:::", data); } else { - console.log("情报板日志保存失败!"); + console.log("情报板日志保存失败"); } }); }, diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/AMapContainer/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/AMapContainer/index.vue index 5a217264..f0438d3f 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/AMapContainer/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/AMapContainer/index.vue @@ -14,7 +14,7 @@ const lcz = require("./data/lcz.json"); export default { name: "AMapContainer", - inject: ["adpScale"], + // inject: ["adpScale"], data() { return { size: null, @@ -24,7 +24,7 @@ export default { computed: { getReverseStyle() { return { - transform: `scale(${1 / this.adpScale.scaleX}, ${1 / this.adpScale.scaleY})`, + // transform: `scale(${1 / this.adpScale.scaleX}, ${1 / this.adpScale.scaleY})`, }; }, }, @@ -227,7 +227,9 @@ export default { } else { this.trafficLayer.hide(); } - + }, + setMapZoomAndCenter(zoom,lnglat){ + this.aMapIns.setZoomAndCenter(zoom, lnglat); } }, // unmounted() { @@ -241,14 +243,12 @@ export default { diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/js/carStatistics.js b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/js/carStatistics.js index 3bd29572..8dd2cefd 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/js/carStatistics.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/js/carStatistics.js @@ -1,6 +1,6 @@ var getmax = 100; //要改变的数据 -var getvalue = 58.34; +var getvalue = 0; var carStatistics = { // backgroundColor: "#132A7F", @@ -98,8 +98,7 @@ var carStatistics = { }, detail: { formatter: function (params) { - // return '完成率\n'+getvalue + '%'; - return `{cn|}\n{number|${getvalue + "%"}\n}{wcl|小客车}`; + return `{cn|}\n{number|${params + "%"}\n}{wcl|小客车}`; }, rich: { fontFamily: "PangMenZhengDao-Regular", diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/js/focusStatistics.js b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/js/focusStatistics.js index 1fa75224..dc9abc30 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/js/focusStatistics.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/js/focusStatistics.js @@ -98,8 +98,7 @@ var focusStatistics = { }, detail: { formatter: function (params) { - // return '完成率\n'+getvalue + '%'; - return `{cn|}\n{number|${getvalue + "%"}\n}{wcl|重点车辆}`; + return `{cn|}\n{number|${params + "%"}\n}{wcl|重点车辆}`; }, rich: { fontFamily: "PangMenZhengDao-Regular", diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/js/otherStatistics.js b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/js/otherStatistics.js index da009764..7a1b4d6f 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/js/otherStatistics.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/js/otherStatistics.js @@ -98,8 +98,7 @@ var otherStatistics = { }, detail: { formatter: function (params) { - // return '完成率\n'+getvalue + '%'; - return `{cn|}\n{number|${getvalue + "%"}\n}{wcl|其他}`; + return `{cn|}\n{number|${params + "%"}\n}{wcl|其他}`; }, rich: { fontFamily: "PangMenZhengDao-Regular", diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/location.svg b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/location.svg new file mode 100644 index 00000000..1e716a28 --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/location.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/triangle.svg b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/triangle.svg new file mode 100644 index 00000000..8585fb7e --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/triangle.svg @@ -0,0 +1,3 @@ + + + diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/components/BroadcastParam.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/components/BroadcastParam.vue index ef8e87a9..75c5b07e 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/components/BroadcastParam.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/components/BroadcastParam.vue @@ -112,10 +112,10 @@ export default { .then((data) => { // console.log(data); if (data.retCode == "0") { - Message.success("广播设置成功!"); + Message.success("广播控制成功"); this.modelVisible = false; } else { - Message.error("广播设置失败!"); + Message.error("广播设置失败"); } }) .finally(() => { diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/components/BroadcastParamMulti.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/components/BroadcastParamMulti.vue index 10e19ac0..de43c2bc 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/components/BroadcastParamMulti.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/components/BroadcastParamMulti.vue @@ -4,8 +4,8 @@

@@ -120,7 +120,7 @@ export default { ] }) .then((data) => { - multiResultShow(data.data, item => item.result.retCode == 0, "广播设置"); + multiResultShow(data.data, item => item.result.retCode == '0', "广播控制"); }) .finally(() => { // this.submitting = false; @@ -168,7 +168,13 @@ export default { } } } - +.inputarea{ + width: 100%; + ::v-deep textarea{ + border: 0px !important; + border-radius: 2px !important; + } +} .footer { display: flex; align-items: center; diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/components/BroadcastReleases.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/components/BroadcastReleases.vue index 81061944..8c751946 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/components/BroadcastReleases.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/components/BroadcastReleases.vue @@ -199,10 +199,10 @@ export default { .then((data) => { // console.log(data); if (data.code == "200") { - Message.success("广播设置成功!"); + Message.success("广播控制成功"); this.modelVisible = false; } else { - Message.error("广播设置失败!"); + Message.error("广播设置失败"); } }) .finally(() => { diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/index.vue index 033773fa..0a76eed1 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/index.vue @@ -1,6 +1,6 @@