Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dlink
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhaowei
dlink
Commits
c6651964
Commit
c6651964
authored
Apr 02, 2022
by
zhu-mingye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix AlertInstance List serch
parent
9eb63e1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
index.tsx
dlink-web/src/pages/AlertInstance/index.tsx
+8
-5
No files found.
dlink-web/src/pages/AlertInstance/index.tsx
View file @
c6651964
import
React
,
{
useRef
,
useState
}
from
"react"
;
import
React
,
{
useRef
,
useState
}
from
"react"
;
import
{
DownOutlined
,
PlusOutlined
}
from
'@ant-design/icons'
;
import
{
DownOutlined
,
PlusOutlined
}
from
'@ant-design/icons'
;
import
{
ActionType
,
ProColumns
}
from
"@ant-design/pro-table"
;
import
ProTable
,
{
ActionType
,
ProColumns
}
from
"@ant-design/pro-table"
;
import
{
Button
,
message
,
Input
,
Drawer
,
Modal
,
Dropdown
,
Menu
}
from
'antd'
;
import
{
Button
,
Drawer
,
Dropdown
,
Menu
,
Modal
}
from
'antd'
;
import
{
PageContainer
,
FooterToolbar
}
from
'@ant-design/pro-layout'
;
import
{
FooterToolbar
,
PageContainer
}
from
'@ant-design/pro-layout'
;
import
ProTable
from
'@ant-design/pro-table'
;
import
ProDescriptions
from
'@ant-design/pro-descriptions'
;
import
ProDescriptions
from
'@ant-design/pro-descriptions'
;
import
{
AlertInstanceTableListItem
}
from
"@/pages/AlertInstance/data"
;
import
{
AlertInstanceTableListItem
}
from
"@/pages/AlertInstance/data"
;
import
{
handle
AddOrUpdate
,
handle
Remove
,
queryData
,
updateEnabled
}
from
"@/components/Common/crud"
;
import
{
handleRemove
,
queryData
,
updateEnabled
}
from
"@/components/Common/crud"
;
import
AlertInstanceChooseForm
from
"@/pages/AlertInstance/components/AlertInstanceChooseForm"
;
import
AlertInstanceChooseForm
from
"@/pages/AlertInstance/components/AlertInstanceChooseForm"
;
const
url
=
'/api/alertInstance'
;
const
url
=
'/api/alertInstance'
;
...
@@ -92,12 +91,16 @@ const AlertInstanceTableList: React.FC<{}> = (props: any) => {
...
@@ -92,12 +91,16 @@ const AlertInstanceTableList: React.FC<{}> = (props: any) => {
},{
},{
text
:
'WeChat'
,
text
:
'WeChat'
,
value
:
'WeChat'
,
value
:
'WeChat'
,
},{
text
:
'FeiShu'
,
value
:
'FeiShu'
,
}
}
],
],
filterMultiple
:
false
,
filterMultiple
:
false
,
valueEnum
:
{
valueEnum
:
{
'DingTalk'
:
{
text
:
'DingTalk'
},
'DingTalk'
:
{
text
:
'DingTalk'
},
'WeChat'
:
{
text
:
'WeChat'
},
'WeChat'
:
{
text
:
'WeChat'
},
'FeiShu'
:
{
text
:
'FeiShu'
},
},
},
},
},
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment