add:添加告警管理内容 告警统揽和告警设置 修改公共组件 适配多种情况

This commit is contained in:
zhaohy
2024-07-08 08:24:18 +08:00
parent 4bbb5c5133
commit a16b26370f
15 changed files with 1958 additions and 1 deletions

View File

@@ -8,7 +8,7 @@
ref="formElRef"
:model="formModel">
<div v-if="showAction && showExpandAll" class="ns-form-title ns-title-extra-box">
<span>查询</span>
<span> {{ title ? title : '查询' }}</span>
<a-button type="link" class="ns-operate-expand" @click="expandAll = !expandAll">
<template v-if="expandAll">
收起筛选
@@ -107,6 +107,7 @@
const isInitDefaultValueRef = ref(false);
const expandRef = ref(props.expand);
const expandAll = ref(props.expandAll);
const title = ref(props.title);
const formModel = computed(() => {
return props.model;
});
@@ -321,6 +322,7 @@
splitNumber,
finish,
expandAll,
title,
};
},
});

View File

@@ -18,4 +18,5 @@ export const formProps = {
// 收起全部
expandAll: PropTypes.bool.def(true), // 默认是否全部展开
showExpandAll: PropTypes.bool.def(true), // 是否展示右上角的全部收起展开
title: PropTypes.bool.def(false), // 是否展示右上角的全部收起展开
};