Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
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
ReactWeb5
CivManage
Commits
4b621619
Commit
4b621619
authored
Oct 11, 2022
by
邓超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改全局表格hover样式,建表按钮样式调整
parent
cc117fd6
Pipeline
#61593
passed with stages
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
54 additions
and
38 deletions
+54
-38
itemCard.less
src/components/CheckGroup/itemCard.less
+1
-1
global.less
src/global.less
+6
-0
TableView.jsx
...ages/bsmanager/base/tablemanager/components/TableView.jsx
+46
-36
RoleManage.less
src/pages/userCenter/roleManage/RoleManage.less
+1
-1
No files found.
src/components/CheckGroup/itemCard.less
View file @
4b621619
...
...
@@ -56,7 +56,7 @@
.btnBox {
position: absolute;
top: 0
px
;
top: 0;
right: 0px;
// background-color: #fff;
width: 100%;
...
...
src/global.less
View file @
4b621619
...
...
@@ -101,8 +101,14 @@ iframe {
.ant-table-body {
border-right: 1px solid rgb(240, 240, 240);
.ant-table-row:hover>td {
background: #aed8fa !important;
}
}
.ant-table-cell {
overflow: hidden;
...
...
src/pages/bsmanager/base/tablemanager/components/TableView.jsx
View file @
4b621619
...
...
@@ -237,7 +237,7 @@ const EditableCell = ({
)
:
(
<
div
className=
"editable-cell-value-wrap"
title=
{
children
[
1
]
}
//
title={children[1]}
style=
{
{
width
:
`${width - 20}px`
,
height
:
'32px'
,
...
...
@@ -515,7 +515,7 @@ const TableView = props => {
title
:
'字段名称'
,
dataIndex
:
'Name'
,
width
:
200
,
ellipsis
:
true
,
//
ellipsis: true,
editable
:
true
,
align
:
'center'
,
render
:
(
text
,
record
)
=>
(
...
...
@@ -651,40 +651,50 @@ const TableView = props => {
centered
>
<
div
className=
{
styles
.
content
}
>
<
Form
form=
{
form
}
layout=
"inline"
>
<
Form
.
Item
label=
"表名"
name=
"tableName"
required
>
<
Input
addonBefore=
{
type
===
'add'
?
`${tableMap[tableType]}_`
:
null
}
placeholder=
"请填写表名"
/>
</
Form
.
Item
>
<
Form
.
Item
label=
"别名"
name=
"alias"
>
<
Input
placeholder=
"请填写别名"
/>
</
Form
.
Item
>
<
Form
.
Item
label=
"内置字段"
>
<
Switch
defaultChecked
checkedChildren=
"显示"
unCheckedChildren=
"隐藏"
onChange=
{
showDefaultFields
}
/>
</
Form
.
Item
>
<
Form
.
Item
>
<
Button
type=
"primary"
onClick=
{
()
=>
handleAdd
()
}
>
<
div
style=
{
{
display
:
'flex'
,
alignItems
:
'center'
}
}
>
<
PlusOutlined
style=
{
{
marginRight
:
'5px'
}
}
/>
<
span
>
新增
</
span
>
</
div
>
</
Button
>
</
Form
.
Item
>
<
Form
.
Item
>
<
Button
onClick=
{
()
=>
deleteFilleds
()
}
>
<
div
style=
{
{
display
:
'flex'
,
alignItems
:
'center'
}
}
>
<
MinusOutlined
style=
{
{
marginRight
:
'5px'
}
}
/>
<
span
>
批量删除
</
span
>
</
div
>
</
Button
>
</
Form
.
Item
>
<
Form
form=
{
form
}
>
<
div
style=
{
{
display
:
'flex'
,
justifyContent
:
'space-between'
}
}
>
<
div
style=
{
{
display
:
'flex'
}
}
>
<
Form
.
Item
label=
"表名"
name=
"tableName"
required
style=
{
{
marginBottom
:
'0'
}
}
>
<
Input
addonBefore=
{
type
===
'add'
?
`${tableMap[tableType]}_`
:
null
}
placeholder=
"请填写表名"
/>
</
Form
.
Item
>
<
Form
.
Item
label=
"别名"
name=
"alias"
style=
{
{
marginBottom
:
'0'
,
marginLeft
:
'10px'
}
}
>
<
Input
placeholder=
"请填写别名"
/>
</
Form
.
Item
>
</
div
>
<
div
style=
{
{
display
:
'flex'
}
}
>
<
Form
.
Item
label=
"内置字段"
style=
{
{
marginBottom
:
'0'
,
marginRight
:
'10px'
}
}
>
<
Switch
defaultChecked
checkedChildren=
"显示"
unCheckedChildren=
"隐藏"
onChange=
{
showDefaultFields
}
/>
</
Form
.
Item
>
<
Form
.
Item
style=
{
{
marginBottom
:
'0'
,
marginRight
:
'10px'
}
}
>
<
Button
type=
"primary"
onClick=
{
()
=>
handleAdd
()
}
>
<
div
style=
{
{
display
:
'flex'
,
alignItems
:
'center'
}
}
>
<
PlusOutlined
style=
{
{
marginRight
:
'5px'
}
}
/>
<
span
>
新增
</
span
>
</
div
>
</
Button
>
</
Form
.
Item
>
<
Form
.
Item
style=
{
{
marginBottom
:
'0'
}
}
>
<
Button
onClick=
{
()
=>
deleteFilleds
()
}
>
<
div
style=
{
{
display
:
'flex'
,
alignItems
:
'center'
}
}
>
<
MinusOutlined
style=
{
{
marginRight
:
'5px'
}
}
/>
<
span
>
批量删除
</
span
>
</
div
>
</
Button
>
</
Form
.
Item
>
</
div
>
</
div
>
</
Form
>
<
Spin
spinning=
{
loading
}
>
<
Table
...
...
src/pages/userCenter/roleManage/RoleManage.less
View file @
4b621619
...
...
@@ -132,7 +132,7 @@
.ant-tabs-content {
height: 100%;
position: relative;
}
}
...
...
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