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
5953834c
Commit
5953834c
authored
May 09, 2023
by
邓超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 参数配置功能优化
parent
0eba078b
Pipeline
#72009
passed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
10 deletions
+11
-10
ParmarsModal.jsx
...pages/productCenter/webConfig/menuconfig/ParmarsModal.jsx
+9
-8
TreeSelect.jsx
src/pages/productCenter/webConfig/menuconfig/TreeSelect.jsx
+2
-2
No files found.
src/pages/productCenter/webConfig/menuconfig/ParmarsModal.jsx
View file @
5953834c
...
...
@@ -91,7 +91,7 @@ const EditableCell = ({
}
return
(
<
Input
readOnly=
{
record
.
nam
e
&&
dataIndex
!==
'defaultValue'
}
readOnly=
{
record
.
releaseDat
e
&&
dataIndex
!==
'defaultValue'
}
ref=
{
inputRef
}
onPressEnter=
{
save
}
onBlur=
{
save
}
...
...
@@ -222,17 +222,18 @@ const ParmarsModal = props => {
render
:
(
text
,
record
,
index
)
=>
<
span
>
{
index
+
1
}
</
span
>,
},
{
title
:
'
参数名
'
,
dataIndex
:
'
field
'
,
width
:
1
50
,
title
:
'
配置项
'
,
dataIndex
:
'
name
'
,
width
:
2
50
,
editable
:
true
,
},
{
title
:
'参数名
描述
'
,
dataIndex
:
'
name
'
,
width
:
2
50
,
title
:
'参数名'
,
dataIndex
:
'
field
'
,
width
:
1
50
,
editable
:
true
,
},
{
title
:
'参数值'
,
dataIndex
:
'defaultValue'
,
...
...
@@ -241,7 +242,7 @@ const ParmarsModal = props => {
},
{
title
:
'参数
值描述
'
,
title
:
'参数
配置说明
'
,
dataIndex
:
'paramDesc'
,
width
:
250
,
editable
:
true
,
...
...
src/pages/productCenter/webConfig/menuconfig/TreeSelect.jsx
View file @
5953834c
...
...
@@ -2,7 +2,7 @@ import React, { useState, useEffect, forwardRef, useImperativeHandle } from 'rea
import
{
GetWebMenuInfo
}
from
'@/services/webConfig/api'
;
import
{
message
,
Input
,
Tree
,
Empty
,
Tooltip
}
from
'antd'
;
import
lodash
from
'lodash'
;
import
{
FolderFilled
,
FileOutlined
,
InfoCircleOutlined
}
from
'@ant-design/icons'
;
import
{
FolderFilled
,
FileOutlined
,
InfoCircleOutlined
,
HomeOutlined
}
from
'@ant-design/icons'
;
import
styles
from
'./TreeSelect.less'
;
const
TreeSelect
=
(
props
,
ref
)
=>
{
const
{
value
,
onChange
,
menuChange
,
code
,
initCurrentMenu
}
=
props
;
...
...
@@ -97,7 +97,7 @@ const TreeSelect = (props, ref) => {
</
Tooltip
>
</
div
>
),
icon
:
<
FileOutlined
/>,
icon
:
item
.
isHomePage
?
<
HomeOutlined
/>
:
<
FileOutlined
/>,
})),
})),
});
...
...
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