Commit 02525e89 authored by 陈龙's avatar 陈龙

feat: 支持过滤指标面板的不具有统计意义的点

parent 331b1cef
...@@ -50,6 +50,7 @@ const QuotaSelect = ({ ...@@ -50,6 +50,7 @@ const QuotaSelect = ({
disabledList, disabledList,
isCommonTag, isCommonTag,
showQuotaName, showQuotaName,
filterNoStatistical = false
}) => { }) => {
const { getPrefixCls } = useContext(ConfigProvider.ConfigContext); const { getPrefixCls } = useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('ec-quota-select'); const prefixCls = getPrefixCls('ec-quota-select');
...@@ -63,12 +64,12 @@ const QuotaSelect = ({ ...@@ -63,12 +64,12 @@ const QuotaSelect = ({
const [confParams, setConfParams] = useState({}); const [confParams, setConfParams] = useState({});
const [search, setSearch] = useState(''); const [search, setSearch] = useState('');
const fetchData = (item = {}) => { const fetchData = (item = {}) => {
console.log(1221, item);
// 请求指标列表 // 请求指标列表
getQuataList({ getQuataList({
accountName: item.deviceType, accountName: item.deviceType,
// addrSchemeID: item.pointAddressID, // addrSchemeID: item.pointAddressID,
isCommonTag: isCommonTag, isCommonTag: isCommonTag,
flag:filterNoStatistical
}).then((res) => { }).then((res) => {
if (res.code === 0) { if (res.code === 0) {
const data = const data =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment