From 26799837a5ee3f75c8525dddff2ae3cb675f21bc Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 11 七月 2024 17:59:01 +0800 Subject: [PATCH] 2024-07-11 --- src/tabviews/custom/components/table/normal-table/index.jsx | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/src/tabviews/custom/components/table/normal-table/index.jsx b/src/tabviews/custom/components/table/normal-table/index.jsx index b689a85..be55ae8 100644 --- a/src/tabviews/custom/components/table/normal-table/index.jsx +++ b/src/tabviews/custom/components/table/normal-table/index.jsx @@ -1,7 +1,7 @@ import React, {Component} from 'react' import PropTypes from 'prop-types' import { is, fromJS } from 'immutable' -import { Collapse } from 'antd' +import { Collapse, notification } from 'antd' import moment from 'moment' import Api from '@/api' @@ -812,6 +812,20 @@ * 鍚湁鍒濆涓嶅姞杞界殑椤甸潰锛屼慨鏀硅缃� */ refreshbysearch = (searches) => { + const { setting, BID } = this.state + + if (setting.supModule && !BID && setting.supKey !== 'false') { + notification.warning({ + top: 92, + message: window.GLOB.dict['sup_key_req'] || '闇�瑕佷笂绾т富閿�硷紒', + duration: 5 + }) + this.setState({ + search: searches + }) + return + } + this.setState({ pageIndex: 1, search: searches -- Gitblit v1.8.0