diff --git a/src/views/gis/Site/RoleLeft/index.vue b/src/views/gis/Site/RoleLeft/index.vue
index bf9d0ae..bbbf99d 100644
--- a/src/views/gis/Site/RoleLeft/index.vue
+++ b/src/views/gis/Site/RoleLeft/index.vue
@@ -28,7 +28,7 @@
marginRight: nodeType == '0' ? '120px' : '120px',
}">
-
+
{{ nodeName }}
@@ -56,7 +56,7 @@
}">
-
+
@@ -270,6 +270,16 @@ const deleteGroup = async (id: string) => {
}
}
+const removeGroup = async (data: any) => {
+ const res = await editMonitor({id: data.id, positionX: '', positionY: ''});
+ if (res.status === 200) {
+ onlyMessage('操作成功!');
+ emit('getMonitorList');
+ } else {
+ onlyMessage('操作失败!');
+ }
+};
+
const search = () => {
queryGroup(true, searchValue.value);
};
diff --git a/src/views/gis/Site/RoleRight/index.vue b/src/views/gis/Site/RoleRight/index.vue
index 5b17453..cfe9981 100644
--- a/src/views/gis/Site/RoleRight/index.vue
+++ b/src/views/gis/Site/RoleRight/index.vue
@@ -9,7 +9,7 @@
diff --git a/src/views/gis/Site/index.vue b/src/views/gis/Site/index.vue
index fdec8d9..46a864a 100644
--- a/src/views/gis/Site/index.vue
+++ b/src/views/gis/Site/index.vue
@@ -4,7 +4,7 @@
-
+
@@ -13,7 +13,7 @@
-
+