diff --git a/ruoyi-ui/src/api/perception/meteorologyCheck.js b/ruoyi-ui/src/api/perception/meteorologyCheck.js index 59101ae2..6613d948 100644 --- a/ruoyi-ui/src/api/perception/meteorologyCheck.js +++ b/ruoyi-ui/src/api/perception/meteorologyCheck.js @@ -63,3 +63,19 @@ export function getListVisibility() { method: "get", }); } + +// 路网交通状况 +export function getTrafficConditions() { + return request({ + url: "/business/weatherMonitoring/getTrafficConditions", + method: "get", + }); +} + +// 获取县城经纬度 +export function getRegionList() { + return request({ + url: "/business/region/list", + method: "get", + }); +} diff --git a/ruoyi-ui/src/api/service/PublishingChannelManagement.js b/ruoyi-ui/src/api/service/PublishingChannelManagement.js new file mode 100644 index 00000000..ee15d18e --- /dev/null +++ b/ruoyi-ui/src/api/service/PublishingChannelManagement.js @@ -0,0 +1,61 @@ +import request from "@/utils/request"; + +// 发布渠道列表 +export function getChannelsList(pageNum, pageSize, data) { + return request({ + url: `/business/channels/list?pageNum=${pageNum}&pageSize=${pageSize}`, + method: "post", + data, + }); +} + +// 导出发布渠道列表 +export function getChannelsExport() { + return request({ + url: "/business/channels/export", + method: "post", + }); +} + +// 获取发布渠道详情 +export function getChannels(id) { + return request({ + url: "/business/channels/" + id, + method: "get", + }); +} + +// 新增发布渠道 +export function addChannels(data) { + return request({ + url: "/business/channels", + method: "post", + data, + }); +} + +// 修改发布渠道 +export function editChannels(data) { + return request({ + url: "/business/channels", + method: "put", + data, + }); +} + +// 删除发布渠道 +export function delChannels(id) { + return request({ + url: "/business/channels/" + id, + method: "delete", + }); +} + +// 发布渠道修改状态 +export function updateEnabledChannels(data) { + return request({ + url: "business/channels/updateEnabled", + method: "post", + data, + }); +} diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/index.vue index d316dcfc..56c823e5 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/index.vue @@ -388,7 +388,7 @@ export default { // xData.push(it.day.split("-")[2] + "日"); xData.push(it.day + "日"); } - if (this.type == "date") { + if (this.type == "day") { xData.push(it.time + "时"); } if (this.type == "quarter") { @@ -515,7 +515,7 @@ export default { }); //路段范围内桩号分布 getSectionMarkNumber({ - type: qType, + type: this.type, sectionId: this.selectId, createTime: startTime, direction: this.direction, diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/roadNetwork/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/roadNetwork/index.vue index 28a61516..ea524cf0 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/roadNetwork/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/roadNetwork/index.vue @@ -31,7 +31,10 @@ diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/PublishingChannelManagement/components/Card.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/service/PublishingChannelManagement/components/Card.vue index fa854f02..e08d87e2 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/PublishingChannelManagement/components/Card.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/PublishingChannelManagement/components/Card.vue @@ -1,23 +1,33 @@ -