批量控制
{ this.activeIcon = null; }">
-
+
-
+
- { this.activeIcon = val }"
- @update:submitting="(val) => { submitting = val }">
+ { this.activeIcon = val }"
+ @update:submitting="(val) => { submitting = val }">
-
+
暂无数据
-
-
+
+
-
+
- {{ data.groupName }}
-
+ {{ data.groupName }}
+
-
+
-
-
-
+
+
+
- handleSwitcherChange(value, item)">
+ handleSwitcherChange(value, item)">
-
-
-
-
-
-
+ style="width:1000px;height: 350px;display: flex;flex-direction: column; justify-content: center;align-items: flex-start;">
+
+
+
+
+
+
{{ item }}
@@ -110,19 +111,19 @@
-
+
-
+
@@ -130,17 +131,18 @@
-
-
+
+
\ No newline at end of file
+
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/httpList.js b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/httpList.js
index 64a72856..3f8bd194 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/httpList.js
+++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/httpList.js
@@ -214,21 +214,21 @@ const DeviceTypeMap = {
14: "光线在线监测",
*/
export function getDeviceList(deviceType, options) {
- return new Promise((resolve, reject) => {
- if (!deviceType) {
- // Message.error(`${DeviceTypeMap[deviceType]}设备加载失败`);
- return reject();
- }
- let newEndStakeMark = [];
- let newStartStakeMark = [];
- if(options && options.endStakeMark){
- options.endStakeMark.forEach((item) => {
- newEndStakeMark.push(String(item));
- });
- }
- if(options && options.startStakeMark){
- options.startStakeMark.forEach((item) => {
- newStartStakeMark.push(String(item));
+ return new Promise((resolve, reject) => {
+ if (!deviceType) {
+ // Message.error(`${DeviceTypeMap[deviceType]}设备加载失败`);
+ return reject();
+ }
+ let newEndStakeMark = [];
+ let newStartStakeMark = [];
+ if(options && options.endStakeMark){
+ options.endStakeMark.forEach((item) => {
+ newEndStakeMark.push(String(item));
+ });
+ }
+ if(options && options.startStakeMark){
+ options.startStakeMark.forEach((item) => {
+ newStartStakeMark.push(String(item));
});
}
let data = {
@@ -245,6 +245,9 @@ export function getDeviceList(deviceType, options) {
if (options && options.direction && options.direction !== "") {
data["direction"] = options.direction;
}
+ if (options && options.facilitiesType && options.facilitiesType !== "") {
+ data["facilitiesType"] = options.facilitiesType;
+ }
request(
Object.keys(options || {}).length
? {