add:添加告警管理内容 告警统揽和告警设置 修改公共组件 适配多种情况
This commit is contained in:
@@ -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,
|
||||
};
|
||||
},
|
||||
});
|
||||
|
@@ -18,4 +18,5 @@ export const formProps = {
|
||||
// 收起全部
|
||||
expandAll: PropTypes.bool.def(true), // 默认是否全部展开
|
||||
showExpandAll: PropTypes.bool.def(true), // 是否展示右上角的全部收起展开
|
||||
title: PropTypes.bool.def(false), // 是否展示右上角的全部收起展开
|
||||
};
|
||||
|
Reference in New Issue
Block a user