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
68d377b7
Commit
68d377b7
authored
Oct 26, 2022
by
邓超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改密码回显
parent
d038ac70
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
38 additions
and
32 deletions
+38
-32
NodeModal.jsx
...Edit/workFlowComponents/flowChartComponents/NodeModal.jsx
+8
-8
InitDataBase.jsx
src/pages/database/InitDataBase/InitDataBase.jsx
+4
-3
AddModal.jsx
src/pages/database/databaseConfig/mysqltable/AddModal.jsx
+2
-2
AddModal.jsx
src/pages/database/databaseConfig/oracle/AddModal.jsx
+2
-2
AddModal.jsx
src/pages/database/databaseConfig/sqlServer/AddModal.jsx
+2
-2
DatabaseInitialization.jsx
...atabase/databaseInitialization/DatabaseInitialization.jsx
+2
-2
AddModal.jsx
...s/platformCenter/gis/schemeConfig/VectorData/AddModal.jsx
+2
-2
IotConfig.jsx
src/pages/platformCenter/hostmanager/IotConfig/IotConfig.jsx
+1
-1
messageConfig.jsx
...latformCenter/hostmanager/messageConfig/messageConfig.jsx
+1
-1
AddAllModal.jsx
src/pages/platformCenter/videoManager/AddAllModal.jsx
+1
-1
AddModal.jsx
src/pages/platformCenter/videoManager/AddModal.jsx
+3
-2
DHModal.jsx
src/pages/platformCenter/videoManager/DHModal.jsx
+3
-2
HKModal.jsx
src/pages/platformCenter/videoManager/HKModal.jsx
+3
-2
index.jsx
src/pages/platformCenter/videoManager/index.jsx
+1
-1
index.less
src/pages/platformCenter/videoManager/index.less
+3
-1
No files found.
src/pages/bsmanager/workOrder/workflowEdit/workFlowComponents/flowChartComponents/NodeModal.jsx
View file @
68d377b7
...
...
@@ -183,7 +183,7 @@ const NodeModal = props => {
<>
<
Drawer
title=
"节点配置"
width=
{
4
50
}
width=
{
5
50
}
onClose=
{
handleCancel
}
visible=
{
visible
}
bodyStyle=
{
{
paddingBottom
:
20
}
}
...
...
@@ -208,11 +208,11 @@ const NodeModal = props => {
>
节点信息
</
Divider
>
<
Form
form=
{
form
}
labelCol=
{
{
span
:
6
}
}
wrapperCol=
{
{
span
:
17
}
}
>
<
Form
form=
{
form
}
labelCol=
{
{
span
:
5
}
}
wrapperCol=
{
{
span
:
19
}
}
>
<
Form
.
Item
label=
"
序号
"
label=
"
排序
"
name=
"SerialNo"
rules=
{
[{
required
:
true
,
message
:
'请输入
序号
'
}]
}
rules=
{
[{
required
:
true
,
message
:
'请输入
排序
'
}]
}
>
<
Input
placeholder=
"请输入序号"
/>
</
Form
.
Item
>
...
...
@@ -238,14 +238,14 @@ const NodeModal = props => {
>
<
Select
placeholder=
"请选择节点类型"
>
<
Option
value=
"1"
>
开始节点
</
Option
>
<
Option
value=
"0"
>
普通
节点
</
Option
>
<
Option
value=
"0"
>
经办
节点
</
Option
>
<
Option
value=
"2"
>
结束节点
</
Option
>
</
Select
>
</
Form
.
Item
>
<
Form
.
Item
label=
"检查前面在办"
name=
"aheadHandle"
>
<
Select
>
<
Option
value=
{
1
}
>
前面有在办不能
移交
</
Option
>
<
Option
value=
{
0
}
>
前面有在办也能移交
</
Option
>
<
Option
value=
{
0
}
>
前面有在办可以
移交
</
Option
>
<
Option
value=
{
1
}
>
前面有在办不能移交(汇合节点)
</
Option
>
</
Select
>
</
Form
.
Item
>
<
Form
.
Item
label=
"节点办理方式"
name=
"NodeHandling"
>
...
...
@@ -268,7 +268,7 @@ const NodeModal = props => {
承办管理
</
Divider
>
<
Button
style=
{
{
marginBottom
:
'10px'
,
marginLeft
:
'
3
35px'
}
}
style=
{
{
marginBottom
:
'10px'
,
marginLeft
:
'
4
35px'
}
}
onClick=
{
()
=>
{
setShowRoal
(
true
);
}
}
...
...
src/pages/database/InitDataBase/InitDataBase.jsx
View file @
68d377b7
...
...
@@ -101,8 +101,9 @@ const InitDataBase = props => {
Object
.
keys
(
dbForm
).
forEach
(
k
=>
{
obj
[
k
]
=
res
[
k
];
});
form
.
setFieldsValue
(
obj
);
setDbForm
(
val
=>
({
...
val
,
...
obj
}));
console
.
log
(
obj
,
'objohjfaosdjf'
);
form
.
setFieldsValue
({
...
obj
,
password
:
atob
(
obj
.
password
)
});
setDbForm
(
val
=>
({
...
val
,
...
obj
,
password
:
atob
(
obj
.
password
)
}));
setAllSqulDir
(
res
.
allSqlDir
);
if
(
res
.
allSqlDir
.
some
(
item
=>
item
===
inUse
))
{
setDefaultSqlDir
(
res
.
tableSQLDirName
);
...
...
@@ -235,7 +236,7 @@ const InitDataBase = props => {
ip
:
obj
.
ip
,
dbName
:
obj
.
dbName
,
userName
:
obj
.
userName
,
password
:
obj
.
password
,
password
:
btoa
(
obj
.
password
)
,
});
// setUpData(upData + 1);
getConnRecordData
();
...
...
src/pages/database/databaseConfig/mysqltable/AddModal.jsx
View file @
68d377b7
...
...
@@ -84,7 +84,7 @@ const AddModal = props => {
form
.
setFieldsValue
({
port
:
3306
});
break
;
case
'edit'
:
form
.
setFieldsValue
({
...
formObj
});
form
.
setFieldsValue
({
...
formObj
,
password
:
atob
(
formObj
.
password
)
});
if
(
!
formObj
.
port
)
{
form
.
setFieldsValue
({
port
:
3306
});
}
...
...
@@ -145,7 +145,7 @@ const AddModal = props => {
<
Input
placeholder=
"请输入用户名"
allowClear
/>
</
Item
>
<
Item
label=
"密码"
name=
"password"
rules=
{
[{
required
:
true
,
message
:
'请输入密码'
}]
}
>
<
Input
placeholder=
"请输入密码"
allowClear
/>
<
Input
.
Password
placeholder=
"请输入密码"
allowClear
/>
</
Item
>
</
Form
>
)
}
...
...
src/pages/database/databaseConfig/oracle/AddModal.jsx
View file @
68d377b7
...
...
@@ -83,7 +83,7 @@ const AddModal = props => {
form
.
resetFields
();
break
;
case
'edit'
:
form
.
setFieldsValue
({
...
formObj
});
form
.
setFieldsValue
({
...
formObj
,
password
:
atob
(
formObj
.
password
)
});
break
;
default
:
break
;
...
...
@@ -135,7 +135,7 @@ const AddModal = props => {
<
Input
placeholder=
"请输入用户名"
allowClear
/>
</
Item
>
<
Item
label=
"密码"
name=
"password"
rules=
{
[{
required
:
true
,
message
:
'请输入密码'
}]
}
>
<
Input
placeholder=
"请输入密码"
allowClear
/>
<
Input
.
Password
placeholder=
"请输入密码"
allowClear
/>
</
Item
>
</
Form
>
)
}
...
...
src/pages/database/databaseConfig/sqlServer/AddModal.jsx
View file @
68d377b7
...
...
@@ -83,7 +83,7 @@ const AddModal = props => {
form
.
resetFields
();
break
;
case
'edit'
:
form
.
setFieldsValue
({
...
formObj
});
form
.
setFieldsValue
({
...
formObj
,
password
:
atob
(
formObj
.
password
)
});
break
;
default
:
break
;
...
...
@@ -138,7 +138,7 @@ const AddModal = props => {
<
Input
placeholder=
"请输入用户名"
allowClear
/>
</
Item
>
<
Item
label=
"密码"
name=
"password"
rules=
{
[{
required
:
true
,
message
:
'请输入密码'
}]
}
>
<
Input
placeholder=
"请输入密码"
allowClear
/>
<
Input
.
Password
placeholder=
"请输入密码"
allowClear
/>
</
Item
>
</
Form
>
)
}
...
...
src/pages/database/databaseInitialization/DatabaseInitialization.jsx
View file @
68d377b7
...
...
@@ -308,7 +308,7 @@ const DatabaseInitialization = props => {
ip
:
resdata
.
data
.
ip
,
dbName
:
resdata
.
data
.
dbName
,
userName
:
resdata
.
data
.
userName
,
password
:
btoa
(
resdata
.
data
.
password
)
,
password
:
resdata
.
data
.
password
,
}).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
if
(
res
.
data
.
DbInfo
.
ip
==
'127.0.0.1'
||
!
res
.
data
.
DbInfo
.
ip
)
{
...
...
@@ -337,7 +337,7 @@ const DatabaseInitialization = props => {
ip
:
resdata
.
data
.
ip
,
dbName
:
resdata
.
data
.
dbName
,
userName
:
resdata
.
data
.
userName
,
password
:
resdata
.
data
.
password
,
password
:
atob
(
resdata
.
data
.
password
)
,
});
GetDbChangeFirst
(
kk
);
// 有License的情况下首次进入展示数据
...
...
src/pages/platformCenter/gis/schemeConfig/VectorData/AddModal.jsx
View file @
68d377b7
...
...
@@ -33,7 +33,7 @@ const AddModal = props => {
gsAppName
:
obj
.
servicename
,
gsUser
:
obj
.
user
,
gsWorkspaceName
:
obj
.
workname
,
gsPwd
:
obj
.
password
,
gsPwd
:
btoa
(
obj
.
password
)
,
mapServerName
:
obj
.
name
,
solution
:
solutionNames
,
};
...
...
@@ -149,7 +149,7 @@ const AddModal = props => {
GISServerPort
:
obj
.
port
,
gsAppName
:
obj
.
servicename
,
gsUser
:
obj
.
user
,
gsPwd
:
obj
.
password
,
gsPwd
:
btoa
(
obj
.
password
)
,
isGeoServer
:
true
,
_version
:
9999
,
};
...
...
src/pages/platformCenter/hostmanager/IotConfig/IotConfig.jsx
View file @
68d377b7
...
...
@@ -100,7 +100,7 @@ const IotConfig = () => {
const
getCurrentConfig
=
()
=>
{
GetDataBaseConfig
().
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
GetDbProduct
({
...
res
.
data
,
password
:
btoa
(
res
.
data
.
password
)
}).
then
(
ress
=>
{
GetDbProduct
({
...
res
.
data
}).
then
(
ress
=>
{
console
.
log
(
ress
.
data
.
Project
);
if
(
ress
.
data
.
Project
.
length
>
0
)
{
console
.
log
(
ress
.
data
.
Project
[
ress
.
data
.
Project
.
length
-
1
].
projectName
);
...
...
src/pages/platformCenter/hostmanager/messageConfig/messageConfig.jsx
View file @
68d377b7
...
...
@@ -105,7 +105,7 @@ const MessageConfig = () => {
GetDataBaseConfig
().
then
(
resdata
=>
{
if
(
resdata
.
code
===
0
)
{
setCurrentDataBase
(
resdata
.
data
);
setCurrentDataBase
(
{
...
resdata
.
data
,
password
:
atob
(
resdata
.
data
.
password
)
}
);
GetBasicInfo
().
then
(
reslist
=>
{
if
(
reslist
.
code
===
0
)
{
setcurrentSiteInfo
(
reslist
.
data
);
...
...
src/pages/platformCenter/videoManager/AddAllModal.jsx
View file @
68d377b7
...
...
@@ -56,7 +56,7 @@ const AddModal = props => {
}
getValue
.
VideoManufacturer
=
Type
;
addInsertVideoConfig
(
getValue
).
then
(
res
=>
{
addInsertVideoConfig
(
{
...
getValue
,
LoginPwd
:
btoa
(
getValue
.
LoginPwd
)
}
).
then
(
res
=>
{
if
(
res
.
msg
===
'Ok'
)
{
onCancel
();
setLoad
(
false
);
...
...
src/pages/platformCenter/videoManager/AddModal.jsx
View file @
68d377b7
...
...
@@ -32,7 +32,7 @@ const AddModal = props => {
if
(
kind
===
'add'
)
{
form
.
resetFields
();
}
else
{
form
.
setFieldsValue
({
...
obj
});
form
.
setFieldsValue
({
...
obj
,
LoginPwd
:
obj
.
LoginPwd
?
atob
(
obj
.
LoginPwd
)
:
''
});
}
},
[
visible
]);
const
onSubmit
=
()
=>
{
...
...
@@ -52,7 +52,7 @@ const AddModal = props => {
}
getValue
.
VideoManufacturer
=
type
;
if
(
kind
===
'add'
)
{
addInsertVideoConfig
(
getValue
).
then
(
res
=>
{
addInsertVideoConfig
(
{
...
getValue
,
LoginPwd
:
btoa
(
getValue
.
LoginPwd
)
}
).
then
(
res
=>
{
if
(
res
.
msg
===
'Ok'
)
{
onCancel
();
setLoad
(
false
);
...
...
@@ -77,6 +77,7 @@ const AddModal = props => {
editInsertVideoConfig
({
...
getValue
,
Id
:
obj
.
Id
,
LoginPwd
:
btoa
(
getValue
.
LoginPwd
),
}).
then
(
res
=>
{
if
(
res
.
msg
===
'Ok'
)
{
onCancel
();
...
...
src/pages/platformCenter/videoManager/DHModal.jsx
View file @
68d377b7
...
...
@@ -32,7 +32,7 @@ const AddDHModal = props => {
if
(
kind
===
'add'
)
{
form
.
resetFields
();
}
else
{
form
.
setFieldsValue
({
...
obj
});
form
.
setFieldsValue
({
...
obj
,
LoginPwd
:
obj
.
LoginPwd
?
atob
(
obj
.
LoginPwd
)
:
''
});
}
},
[
visible
]);
const
onSubmit
=
()
=>
{
...
...
@@ -52,7 +52,7 @@ const AddDHModal = props => {
}
getValue
.
VideoManufacturer
=
type
;
if
(
kind
===
'add'
)
{
addInsertVideoConfig
(
getValue
).
then
(
res
=>
{
addInsertVideoConfig
(
{
...
getValue
,
LoginPwd
:
btoa
(
getValue
.
LoginPwd
)
}
).
then
(
res
=>
{
if
(
res
.
msg
===
'Ok'
)
{
onCancel
();
setLoad
(
false
);
...
...
@@ -77,6 +77,7 @@ const AddDHModal = props => {
editInsertVideoConfig
({
...
getValue
,
Id
:
obj
.
Id
,
LoginPwd
:
btoa
(
getValue
.
LoginPwd
),
}).
then
(
res
=>
{
if
(
res
.
msg
===
'Ok'
)
{
onCancel
();
...
...
src/pages/platformCenter/videoManager/HKModal.jsx
View file @
68d377b7
...
...
@@ -31,7 +31,7 @@ const AddHKModal = props => {
if
(
kind
===
'add'
)
{
form
.
resetFields
();
}
else
{
form
.
setFieldsValue
({
...
obj
});
form
.
setFieldsValue
({
...
obj
,
LoginPwd
:
obj
.
LoginPwd
?
atob
(
obj
.
LoginPwd
)
:
''
});
}
},
[
visible
]);
const
onSubmit
=
()
=>
{
...
...
@@ -51,7 +51,7 @@ const AddHKModal = props => {
}
getValue
.
VideoManufacturer
=
type
;
if
(
kind
===
'add'
)
{
addInsertVideoConfig
(
getValue
).
then
(
res
=>
{
addInsertVideoConfig
(
{
...
getValue
,
LoginPwd
:
btoa
(
getValue
.
LoginPwd
)
}
).
then
(
res
=>
{
if
(
res
.
msg
===
'Ok'
)
{
onCancel
();
setLoad
(
false
);
...
...
@@ -76,6 +76,7 @@ const AddHKModal = props => {
editInsertVideoConfig
({
...
getValue
,
Id
:
obj
.
Id
,
LoginPwd
:
btoa
(
getValue
.
LoginPwd
),
}).
then
(
res
=>
{
if
(
res
.
msg
===
'Ok'
)
{
onCancel
();
...
...
src/pages/platformCenter/videoManager/index.jsx
View file @
68d377b7
...
...
@@ -486,7 +486,7 @@ const videoManager = () => {
rowKey=
{
record
=>
record
.
Id
}
columns=
{
columns
}
dataSource=
{
tableData
}
scroll=
{
{
y
:
'calc(100% -
21
0px)'
,
x
:
'max-content'
}
}
scroll=
{
{
y
:
'calc(100% -
5
0px)'
,
x
:
'max-content'
}
}
onRow=
{
record
=>
({
onDoubleClick
:
event
=>
{
event
.
stopPropagation
();
...
...
src/pages/platformCenter/videoManager/index.less
View file @
68d377b7
...
...
@@ -7,7 +7,9 @@
.tablebox {
height: calc(100% - 54px);
.ant-table-container {
height: 100%;
}
.ant-table-wrapper {
height: 100%;
.ant-table {
...
...
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