修改监控中心样式

修改分组管理样式
This commit is contained in:
fks-yangshouda
2024-08-30 17:22:49 +08:00
parent b36081126f
commit 84ed95512f
7 changed files with 98 additions and 85 deletions

View File

@@ -40,6 +40,7 @@
v-model:expandedKeys="expandedKeys"
v-model:selectedKeys="selectedKeys"
v-model:checkedKeys="checkedKeys"
:checkStrictly="mode == '0' ? false : true"
:show-line="{ showLeafIcon: false }"
checkable
:height="500"
@@ -71,7 +72,7 @@
:style="{
top: '100px',
left: `${divWidth + 55}px`,
zIndex: 9,
zIndex: 4,
position: 'absolute',
width: `${divWidth}px`,
}"
@@ -81,7 +82,7 @@
:style="{
top: '100px',
left: `${divWidth * 2 + 65}px`,
zIndex: 9,
zIndex: 4,
position: 'absolute',
width: `${divWidth}px`,
}"
@@ -94,7 +95,7 @@
:style="{
top: '100px',
left: `${divWidth * 2 + 65}px`,
zIndex: 9,
zIndex: 4,
position: 'absolute',
width: `${divWidth}px`,
}"
@@ -107,7 +108,7 @@
:style="{
top: '100px',
left: `${divWidth * 3 + 75}px`,
zIndex: 9,
zIndex: 4,
position: 'absolute',
}"
@click="getSelect(null)"
@@ -276,6 +277,16 @@
if (key) {
keyV = key;
}
if (checkedKeys.value.length > 0) {
let keys = [];
for (let i = 0; i < checkedKeys.value.length; i++) {
if (checkedKeys.value[i] !== '999999999') {
keys.push(checkedKeys.value[i]);
}
}
checkedKeys.value = keys;
}
if (activeKey.value == '1') {
if (checkedKeys.value.length == 0) {
message.warning(mode.value == '0' ? '请先选择设备!' : '请先选择节点!');