Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
szse
Overview
Overview
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
zhaochengxiang
szse
Commits
0b2d0608
Commit
0b2d0608
authored
Jan 15, 2022
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加说明
parent
3feb6361
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
4 deletions
+18
-4
ImportActionIndex.jsx
src/view/Manage/Model/Component/ImportActionIndex.jsx
+9
-2
ImportActionTable.jsx
src/view/Manage/Model/Component/ImportActionTable.jsx
+9
-2
No files found.
src/view/Manage/Model/Component/ImportActionIndex.jsx
View file @
0b2d0608
import
React
,
{
useState
,
useCallback
,
useRef
,
useEffect
}
from
'react'
;
import
React
,
{
useState
,
useCallback
,
useRef
,
useEffect
}
from
'react'
;
import
{
Input
,
Form
,
Typography
,
Button
,
Select
,
Row
,
Col
,
Popover
,
Checkbox
,
Tooltip
,
Table
,
Space
}
from
'antd'
;
import
{
Input
,
Form
,
Typography
,
Button
,
Select
,
Row
,
Col
,
Popover
,
Checkbox
,
Tooltip
,
Table
,
Space
}
from
'antd'
;
import
{
DeleteOutlined
,
CloseOutlined
,
CheckOutlined
,
PlusOutlined
,
MinusOutlined
}
from
'@ant-design/icons'
;
import
{
DeleteOutlined
,
CloseOutlined
,
CheckOutlined
,
PlusOutlined
,
MinusOutlined
,
QuestionCircleOutlined
}
from
'@ant-design/icons'
;
import
{
DndProvider
,
useDrag
,
useDrop
}
from
'react-dnd'
;
import
{
DndProvider
,
useDrag
,
useDrop
}
from
'react-dnd'
;
import
{
HTML5Backend
}
from
'react-dnd-html5-backend'
;
import
{
HTML5Backend
}
from
'react-dnd-html5-backend'
;
import
update
from
'immutability-helper'
;
import
update
from
'immutability-helper'
;
...
@@ -695,7 +695,14 @@ const ImportActionIndex = (props) => {
...
@@ -695,7 +695,14 @@ const ImportActionIndex = (props) => {
return
(
return
(
<
div
className=
'model-import-action-index'
>
<
div
className=
'model-import-action-index'
>
<
div
className=
'd-flex mb-3'
style=
{
{
justifyContent
:
'space-between'
}
}
>
<
div
className=
'd-flex mb-3'
style=
{
{
justifyContent
:
'space-between'
}
}
>
<
h2
style=
{
{
marginBottom
:
0
}
}
>
数据表索引
</
h2
>
<
Space
>
<
h2
style=
{
{
marginBottom
:
0
}
}
>
数据表索引
</
h2
>
{
editable
&&
<
Popover
content=
'点击行进行编辑,表格可以通过拖拽来排序'
>
<
QuestionCircleOutlined
className=
'pointer'
/>
</
Popover
>
}
</
Space
>
<
Space
>
<
Space
>
{
{
editable
&&
<
Tooltip
title=
{
addTip
}
>
editable
&&
<
Tooltip
title=
{
addTip
}
>
...
...
src/view/Manage/Model/Component/ImportActionTable.jsx
View file @
0b2d0608
import
React
,
{
useState
,
useCallback
,
useRef
,
useEffect
}
from
'react'
;
import
React
,
{
useState
,
useCallback
,
useRef
,
useEffect
}
from
'react'
;
import
{
Input
,
Form
,
Typography
,
Radio
,
Button
,
Select
,
Row
,
Col
,
Popover
,
Checkbox
,
Tooltip
,
Table
,
Pagination
,
Space
}
from
'antd'
;
import
{
Input
,
Form
,
Typography
,
Radio
,
Button
,
Select
,
Row
,
Col
,
Popover
,
Checkbox
,
Tooltip
,
Table
,
Pagination
,
Space
}
from
'antd'
;
import
{
CloseOutlined
,
CheckOutlined
,
PlusOutlined
,
MinusOutlined
}
from
'@ant-design/icons'
;
import
{
CloseOutlined
,
CheckOutlined
,
PlusOutlined
,
MinusOutlined
,
QuestionCircleOutlined
}
from
'@ant-design/icons'
;
import
{
DndProvider
,
useDrag
,
useDrop
}
from
'react-dnd'
;
import
{
DndProvider
,
useDrag
,
useDrop
}
from
'react-dnd'
;
import
{
HTML5Backend
}
from
'react-dnd-html5-backend'
;
import
{
HTML5Backend
}
from
'react-dnd-html5-backend'
;
import
update
from
'immutability-helper'
;
import
update
from
'immutability-helper'
;
...
@@ -1066,7 +1066,14 @@ const ImportActionTable = (props) => {
...
@@ -1066,7 +1066,14 @@ const ImportActionTable = (props) => {
return (
return (
<div className='model-import-action-table'>
<div className='model-import-action-table'>
<div className='d-flex mb-3' style={{ justifyContent: 'space-between', alignItems: 'center' }}>
<div className='d-flex mb-3' style={{ justifyContent: 'space-between', alignItems: 'center' }}>
<h2 style={{ marginBottom: 0 }}>数据表结构</h2>
<Space>
<h2 style={{ marginBottom: 0 }}>数据表结构</h2>
{
editable && <Popover content='点击行进行编辑,表格可以通过拖拽来排序'>
<QuestionCircleOutlined className='pointer' />
</Popover>
}
</Space>
<Space>
<Space>
{
{
editable && <Tooltip title={addTip}>
editable && <Tooltip title={addTip}>
...
...
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