修改监控中心样式
修改分组管理样式
This commit is contained in:
@@ -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' ? '请先选择设备!' : '请先选择节点!');
|
||||
|
Reference in New Issue
Block a user