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
fd420009
Commit
fd420009
authored
Jan 08, 2021
by
tianfen
Browse files
Options
Browse Files
Download
Plain Diff
fix: fix
parents
26510127
d7363ce2
Pipeline
#21974
skipped with stages
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
75 additions
and
13 deletions
+75
-13
colContent.jsx
src/components/Colophon/colContent.jsx
+36
-0
index.jsx
src/components/Colophon/index.jsx
+1
-1
InitDataBase.jsx
src/pages/database/InitDataBase.jsx
+10
-10
ChangePasswordModal.jsx
src/pages/userCenter/userManage/ChangePasswordModal.jsx
+13
-1
EditUserModal.jsx
src/pages/userCenter/userManage/EditUserModal.jsx
+15
-1
No files found.
src/components/Colophon/colContent.jsx
View file @
fd420009
...
@@ -30,6 +30,42 @@ const ColConen = () => {
...
@@ -30,6 +30,42 @@ const ColConen = () => {
};
};
const
arr
=
[
const
arr
=
[
{
key
:
'4'
,
label
:
'v6.0.20210108 '
,
content
:
(
<
div
className=
{
styles
.
hr
}
>
<
div
className=
{
styles
.
topBox
}
>
<
div
className=
{
styles
.
topl
}
>
v6.0.20210108
</
div
>
<
div
className=
{
styles
.
topr
}
>
2021-01-08
</
div
>
</
div
>
<
hr
/>
<
h3
>
图片管理
</
h3
>
<
ul
>
<
li
>
【优化】 筛选展示图片的类型
</
li
>
</
ul
>
<
h3
>
用户管理
</
h3
>
<
ul
>
<
li
>
【优化】 优化了table展示图标
</
li
>
</
ul
>
<
h3
>
站点管理
</
h3
>
<
ul
>
<
li
>
【新增】 新增搜索过滤功能
</
li
>
<
li
>
【修改】 修改了页面展示形式
</
li
>
</
ul
>
<
h3
>
Web配置
</
h3
>
<
ul
>
<
li
>
【新增】 产品配置模块
</
li
>
<
li
>
【优化】 优化菜单描述
</
li
>
</
ul
>
<
h3
>
移动应用配置
</
h3
>
<
ul
>
<
li
>
【优化】 增加展示应用类别
</
li
>
<
li
>
【优化】 优化菜单描述
</
li
>
</
ul
>
</
div
>
),
},
{
{
key
:
'3'
,
key
:
'3'
,
label
:
'v5.0.20201231 '
,
label
:
'v5.0.20201231 '
,
...
...
src/components/Colophon/index.jsx
View file @
fd420009
...
@@ -13,7 +13,7 @@ const Colophon = props => {
...
@@ -13,7 +13,7 @@ const Colophon = props => {
};
};
return
(
return
(
<
div
className=
{
styles
.
desc
}
onClick=
{
handleClick
}
>
<
div
className=
{
styles
.
desc
}
onClick=
{
handleClick
}
>
<
div
>
版本v
5.0.20201231
</
div
>
<
div
>
版本v
6.0.20210108
</
div
>
<
div
onClick=
{
e
=>
e
.
stopPropagation
()
}
>
<
div
onClick=
{
e
=>
e
.
stopPropagation
()
}
>
<
Modal
<
Modal
width=
{
1200
}
width=
{
1200
}
...
...
src/pages/database/InitDataBase.jsx
View file @
fd420009
...
@@ -141,15 +141,7 @@ const InitDataBase = props => {
...
@@ -141,15 +141,7 @@ const InitDataBase = props => {
doInitLog
();
doInitLog
();
},
100
);
},
100
);
}
}
const
timer
=
setInterval
(()
=>
{
if
(
scroll
.
current
.
scrollHeight
===
scroll
.
current
.
clientHeight
+
scroll
.
current
.
scrollTop
)
{
clearInterval
(
timer
);
}
scroll
.
current
.
scrollTo
(
0
,
scroll
.
current
.
scrollHeight
-
570
);
},
1000
);
initDBv4
({
initDBv4
({
_version
:
9999
,
_version
:
9999
,
_dc
:
Date
.
now
(),
_dc
:
Date
.
now
(),
...
@@ -171,6 +163,15 @@ const InitDataBase = props => {
...
@@ -171,6 +163,15 @@ const InitDataBase = props => {
setCardLoading
(
false
);
setCardLoading
(
false
);
console
.
log
(
err
);
console
.
log
(
err
);
});
});
const
timer
=
setInterval
(()
=>
{
if
(
scroll
.
current
.
scrollHeight
===
scroll
.
current
.
clientHeight
+
scroll
.
current
.
scrollTop
)
{
clearInterval
(
timer
);
}
scroll
.
current
.
scrollTo
(
0
,
scroll
.
current
.
scrollHeight
-
570
);
},
1000
);
};
};
const
onValuesChange
=
(
value
,
b
)
=>
{
const
onValuesChange
=
(
value
,
b
)
=>
{
form
.
setFieldsValue
(
value
);
form
.
setFieldsValue
(
value
);
...
@@ -333,7 +334,6 @@ const InitDataBase = props => {
...
@@ -333,7 +334,6 @@ const InitDataBase = props => {
};
};
// 弹窗确认回调
// 弹窗确认回调
const
modalOkCallback
=
()
=>
{
const
modalOkCallback
=
()
=>
{
console
.
log
(
form
.
getFieldsValue
());
const
obj
=
form
.
getFieldsValue
();
const
obj
=
form
.
getFieldsValue
();
// 更新描述
// 更新描述
updateConnDesc
({
updateConnDesc
({
...
...
src/pages/userCenter/userManage/ChangePasswordModal.jsx
View file @
fd420009
...
@@ -44,6 +44,11 @@ const ChangePasswordModal = props => {
...
@@ -44,6 +44,11 @@ const ChangePasswordModal = props => {
description
:
res
.
message
,
description
:
res
.
message
,
});
});
}
}
passwordForm
.
setFieldsValue
({
oldPassword
:
currentUser
.
password
,
newPassword
:
''
,
passwordConfirm
:
''
,
});
})
})
.
catch
(
err
=>
{
.
catch
(
err
=>
{
message
.
error
(
err
);
message
.
error
(
err
);
...
@@ -73,7 +78,14 @@ const ChangePasswordModal = props => {
...
@@ -73,7 +78,14 @@ const ChangePasswordModal = props => {
title=
"修改密码"
title=
"修改密码"
visible=
{
visible
}
visible=
{
visible
}
onOk=
{
submitChangePassword
}
onOk=
{
submitChangePassword
}
onCancel=
{
onCancel
}
onCancel=
{
()
=>
{
passwordForm
.
setFieldsValue
({
oldPassword
:
currentUser
.
password
,
newPassword
:
''
,
passwordConfirm
:
''
,
});
onCancel
();
}
}
okText=
"确认"
okText=
"确认"
cancelText=
"取消"
cancelText=
"取消"
>
>
...
...
src/pages/userCenter/userManage/EditUserModal.jsx
View file @
fd420009
...
@@ -80,6 +80,12 @@ const EditUserModal = props => {
...
@@ -80,6 +80,12 @@ const EditUserModal = props => {
description
:
res
.
message
,
description
:
res
.
message
,
});
});
}
}
editUserForm
.
setFieldsValue
({
loginName
:
voca
.
stripTags
(
currentUser
.
loginName
),
userName
:
voca
.
stripTags
(
currentUser
.
userName
),
phone
:
''
,
email
:
''
,
});
})
})
.
catch
(
err
=>
{
.
catch
(
err
=>
{
message
.
error
(
err
);
message
.
error
(
err
);
...
@@ -91,7 +97,15 @@ const EditUserModal = props => {
...
@@ -91,7 +97,15 @@ const EditUserModal = props => {
title=
"编辑用户"
title=
"编辑用户"
visible=
{
visible
}
visible=
{
visible
}
onOk=
{
submitEditUser
}
onOk=
{
submitEditUser
}
onCancel=
{
onCancel
}
onCancel=
{
()
=>
{
onCancel
();
editUserForm
.
setFieldsValue
({
loginName
:
voca
.
stripTags
(
currentUser
.
loginName
),
userName
:
voca
.
stripTags
(
currentUser
.
userName
),
phone
:
''
,
email
:
''
,
});
}
}
okText=
"确认"
okText=
"确认"
cancelText=
"取消"
cancelText=
"取消"
>
>
...
...
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