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
b9dd692f
Commit
b9dd692f
authored
Aug 03, 2022
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '数据库初始化日志优化升级'
parent
b66e2495
Pipeline
#56790
waiting for manual action with stages
Changes
5
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
11 deletions
+16
-11
InitDataBase.jsx
src/pages/database/InitDataBase/InitDataBase.jsx
+2
-2
InitDataBase.less
src/pages/database/InitDataBase/InitDataBase.less
+7
-2
initModal.jsx
src/pages/database/InitDataBase/initModal.jsx
+4
-4
DatabaseInitialization.jsx
...atabase/databaseInitialization/DatabaseInitialization.jsx
+0
-0
AddModal.jsx
src/pages/userCenter/siteManage/AddModal.jsx
+3
-3
No files found.
src/pages/database/InitDataBase/InitDataBase.jsx
View file @
b9dd692f
...
@@ -866,7 +866,7 @@ const InitDataBase = props => {
...
@@ -866,7 +866,7 @@ const InitDataBase = props => {
</
Button
>
</
Button
>
</
Space
>
</
Space
>
<
Space
>
<
Space
>
<
Button
{
/*
<Button
type="primary"
type="primary"
// onClick={() => {
// onClick={() => {
// getInitList();
// getInitList();
...
@@ -877,7 +877,7 @@ const InitDataBase = props => {
...
@@ -877,7 +877,7 @@ const InitDataBase = props => {
}}
}}
>
>
数据库初始化
数据库初始化
</
Button
>
</Button>
*/
}
</
Space
>
</
Space
>
</
Space
>
</
Space
>
</
div
>
</
div
>
...
...
src/pages/database/InitDataBase/InitDataBase.less
View file @
b9dd692f
...
@@ -52,7 +52,7 @@ InitDataBaseContainer {
...
@@ -52,7 +52,7 @@ InitDataBaseContainer {
.initItemData1 {
.initItemData1 {
height: calc(100vh - 190px);
height: calc(100vh - 190px);
overflow: scroll;
//
overflow: scroll;
.btnBox {
.btnBox {
display: flex !important;
display: flex !important;
justify-content: flex-end;
justify-content: flex-end;
...
@@ -62,6 +62,11 @@ InitDataBaseContainer {
...
@@ -62,6 +62,11 @@ InitDataBaseContainer {
margin-bottom: 10px;
margin-bottom: 10px;
margin-left: 8px;
margin-left: 8px;
}
}
// .ant-checkbox-wrapper {
// width: 298px;
// margin-bottom: 10px;
// margin-left: 8px;
// }
.view:hover {
.view:hover {
cursor: not-allowed;
cursor: not-allowed;
}
}
...
@@ -75,7 +80,7 @@ InitDataBaseContainer {
...
@@ -75,7 +80,7 @@ InitDataBaseContainer {
justify-content: flex-end;
justify-content: flex-end;
}
}
.ant-checkbox-wrapper {
.ant-checkbox-wrapper {
width:
350
px;
width:
269
px;
margin-bottom: 10px;
margin-bottom: 10px;
margin-left: 8px;
margin-left: 8px;
}
}
...
...
src/pages/database/InitDataBase/initModal.jsx
View file @
b9dd692f
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
* @Description:
* @Description:
* @Author: leizhe
* @Author: leizhe
* @Date: 2022-07-13 16:13:03
* @Date: 2022-07-13 16:13:03
* @LastEditTime: 2022-0
7-28 19:24:59
* @LastEditTime: 2022-0
8-01 09:59:17
* @LastEditors: leizhe
* @LastEditors: leizhe
*/
*/
import
React
,
{
useState
,
useEffect
}
from
'react'
;
import
React
,
{
useState
,
useEffect
}
from
'react'
;
...
@@ -323,12 +323,12 @@ const InitModal = props => {
...
@@ -323,12 +323,12 @@ const InitModal = props => {
<
/Button>
,
<
/Button>
,
]
}
]
}
>
>
<
div
className=
{
styles
.
initItemData1
}
>
<
div
>
{
visible
&&
(
{
visible
&&
(
<
div
>
<
div
className=
{
styles
.
initItemData1
}
>
{
title
&&
{
title
&&
title
.
map
((
item
,
index
)
=>
(
title
.
map
((
item
,
index
)
=>
(
<
div
className=
{
styles
.
cardItemData
}
key=
{
index
}
>
<
div
key=
{
index
}
>
<
Divider
<
Divider
orientation=
"center"
orientation=
"center"
style=
{
{
style=
{
{
...
...
src/pages/database/databaseInitialization/DatabaseInitialization.jsx
View file @
b9dd692f
This diff is collapsed.
Click to expand it.
src/pages/userCenter/siteManage/AddModal.jsx
View file @
b9dd692f
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Description:
* @Description:
* @Author: leizhe
* @Author: leizhe
* @Date: 2022-01-13 17:26:14
* @Date: 2022-01-13 17:26:14
* @LastEditTime: 2022-0
3-22 16:22:07
* @LastEditTime: 2022-0
8-02 14:10:39
* @LastEditors: leizhe
* @LastEditors: leizhe
*/
*/
import
React
,
{
useState
}
from
'react'
;
import
React
,
{
useState
}
from
'react'
;
...
@@ -27,7 +27,7 @@ const AddModal = props => {
...
@@ -27,7 +27,7 @@ const AddModal = props => {
})
})
.
then
(
res
=>
{
.
then
(
res
=>
{
setLoading
(
false
);
setLoading
(
false
);
if
(
res
.
msg
===
''
)
{
if
(
res
.
code
===
0
)
{
form
.
resetFields
();
form
.
resetFields
();
notification
.
success
({
notification
.
success
({
message
:
'通知'
,
message
:
'通知'
,
...
@@ -39,7 +39,7 @@ const AddModal = props => {
...
@@ -39,7 +39,7 @@ const AddModal = props => {
notification
.
error
({
notification
.
error
({
message
:
'提示'
,
message
:
'提示'
,
duration
:
3
,
duration
:
3
,
description
:
res
.
m
essage
,
description
:
res
.
m
sg
,
});
});
}
}
})
})
...
...
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