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
4060c07f
Commit
4060c07f
authored
May 20, 2021
by
mayongxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge branch 'master' of
https://g.civnet.cn:8443/ReactWeb5/maintenance
parent
dcbc9618
Pipeline
#27937
passed with stages
in 25 minutes 45 seconds
Changes
5
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
10 deletions
+22
-10
index.tsx
src/components/Upload/index.tsx
+0
-0
WebDic.js
src/pages/dataCenter/dictionary/WebDic.js
+5
-0
BaseConfig.jsx
...ages/platformCenter/hostmanager/baseConfig/BaseConfig.jsx
+10
-3
UserManage.js
src/pages/userCenter/userManage/UserManage.js
+2
-2
config.js
src/routes/config.js
+5
-5
No files found.
src/components/Upload/index.tsx
View file @
4060c07f
This diff is collapsed.
Click to expand it.
src/pages/dataCenter/dictionary/WebDic.js
View file @
4060c07f
...
...
@@ -18,6 +18,7 @@ import { EditTwoTone, DeleteOutlined } from '@ant-design/icons';
import
{
get
,
CITY_SERVICE
}
from
'@/services'
;
import
styles
from
'./WebDic.less'
;
const
{
Search
}
=
Input
;
const
WebDic
=
()
=>
{
const
[
loading
,
setLoading
]
=
useState
(
false
);
const
[
level
,
setLevel
]
=
useState
(
0
);
// 设置级别,一级1,二级2,添加条目时使用
...
...
@@ -272,6 +273,9 @@ const WebDic = () => {
showQuickJumper
:
true
,
showSizeChanger
:
true
,
};
const
onSearch
=
(
key
)
=>
{
}
return
(
<
div
className
=
{
styles
.
WebDic
}
>
...
...
@@ -283,6 +287,7 @@ const WebDic = () => {
<
Button
type
=
"primary"
size
=
"small"
onClick
=
{()
=>
setItem
(
1
)}
>
添加
<
/Button
>
<
Search
style
=
{{
width
:
"300px"
,
marginLeft
:
"10px"
}}
onSearch
=
{
onSearch
}
/
>
<
/div
>
{
/* 一级条目 表格 */
}
<
Table
...
...
src/pages/platformCenter/hostmanager/baseConfig/BaseConfig.jsx
View file @
4060c07f
import
React
,
{
useState
,
useEffect
}
from
'react'
import
{
Descriptions
}
from
'antd'
import
{
Button
,
Descriptions
,
Input
}
from
'antd'
import
styles
from
'./BaseConfig.less'
import
{
S_GetDataBaseConfig
,
GetTCPConfigInfo
,
GetDataBaseConfig
,
GetBasicInfo
}
from
'@/services/platform/hostmanager'
...
...
@@ -72,9 +72,16 @@ const BaseConfig = () => {
}
return
(
<
div
className=
{
styles
.
base_container
}
>
<
div
style=
{
{
backgroundColor
:
"white"
,
padding
:
"10px"
,
width
:
"
400px
"
}
}
>
<
div
style=
{
{
backgroundColor
:
"white"
,
padding
:
"10px"
,
width
:
"
100%
"
}
}
>
<
Descriptions
title=
""
bordered
>
<
Descriptions
.
Item
label=
"站点编号"
span=
{
3
}
>
{
currentSiteInfo
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"站点编号"
span=
{
3
}
>
{
!
currentSiteInfo
?<
Input
value=
{
currentSiteInfo
}
disabled=
{
true
}
style=
{
{
with
:
"200px"
}
}
/>:<
div
>
<
Input
value=
{
currentSiteInfo
}
style=
{
{
with
:
"200px"
}
}
disabled=
{
true
}
/>
<
Button
>
生成编号
</
Button
>
</
div
>
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"服务器IP"
span=
{
3
}
>
{
currentDataBase
.
ip
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"数据库名称"
span=
{
3
}
>
{
currentDataBase
.
dbName
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"登录名"
span=
{
1
}
>
{
currentDataBase
.
userName
}
</
Descriptions
.
Item
>
...
...
src/pages/userCenter/userManage/UserManage.js
View file @
4060c07f
...
...
@@ -871,8 +871,8 @@ const UserManage = () => {
// message.error(err);
// });
DeleteUserNew
({
userID
:
`"
${
currentUser
.
userID
}
"`
,
ouID
:
`"
${
currentUser
.
OUID
}
"`
userID
:
currentUser
.
userID
,
ouID
:
currentUser
.
OUID
}).
then
(
res
=>
{
if
(
res
.
code
==
0
)
{
setDeleteUserVisible
(
false
);
...
...
src/routes/config.js
View file @
4060c07f
...
...
@@ -199,11 +199,11 @@ export default {
},
],
},
{
path
:
'/platformCenter/order'
,
name
:
'业务平台'
,
component
:
JumpContainer
,
},
//
{
//
path: '/platformCenter/order',
//
name: '业务平台',
//
component: JumpContainer,
//
},
{
path
:
'/platformCenter/notify'
,
name
:
'消息平台'
,
...
...
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