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
ecf42b2d
Commit
ecf42b2d
authored
Jan 20, 2021
by
Maofei94
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 产品配置修改
parent
a30dedd7
Pipeline
#22709
passed with stages
in 18 minutes 34 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
editForm.jsx
src/pages/webConfig/components/editForm.jsx
+1
-1
AddForm.jsx
src/pages/webConfig/menuconfig/AddForm.jsx
+1
-1
editForm.jsx
src/pages/webConfig/menuconfig/editForm.jsx
+1
-1
utils.js
src/pages/webConfig/utils.js
+2
-2
No files found.
src/pages/webConfig/components/editForm.jsx
View file @
ecf42b2d
...
@@ -56,7 +56,7 @@ const EditForm = props => {
...
@@ -56,7 +56,7 @@ const EditForm = props => {
},
},
]
}
]
}
>
>
<
Input
placeholder=
"请输入产品名称"
allowClear
/>
<
Input
placeholder=
"请输入产品名称"
allowClear
disabled
/>
</
Item
>
</
Item
>
<
Item
<
Item
label=
"产品别名:"
label=
"产品别名:"
...
...
src/pages/webConfig/menuconfig/AddForm.jsx
View file @
ecf42b2d
...
@@ -66,7 +66,7 @@ const AddForm = props => {
...
@@ -66,7 +66,7 @@ const AddForm = props => {
{
productList
&&
{
productList
&&
productList
.
map
(
item
=>
(
productList
.
map
(
item
=>
(
<
Option
value=
{
item
.
ProductName
}
key=
{
item
.
Id
}
>
<
Option
value=
{
item
.
ProductName
}
key=
{
item
.
Id
}
>
{
item
.
Product
Name
}
{
item
.
Product
Alias
}
</
Option
>
</
Option
>
))
}
))
}
</
Select
>
</
Select
>
...
...
src/pages/webConfig/menuconfig/editForm.jsx
View file @
ecf42b2d
...
@@ -77,7 +77,7 @@ const EditForm = props => {
...
@@ -77,7 +77,7 @@ const EditForm = props => {
{
productList
&&
{
productList
&&
productList
.
map
(
item
=>
(
productList
.
map
(
item
=>
(
<
Option
value=
{
item
.
ProductName
}
key=
{
item
.
Id
}
>
<
Option
value=
{
item
.
ProductName
}
key=
{
item
.
Id
}
>
{
item
.
Product
Name
}
{
item
.
Product
Alias
}
</
Option
>
</
Option
>
))
}
))
}
</
Select
>
</
Select
>
...
...
src/pages/webConfig/utils.js
View file @
ecf42b2d
...
@@ -191,11 +191,11 @@ export const getDefaultGetWebconfig = ({
...
@@ -191,11 +191,11 @@ export const getDefaultGetWebconfig = ({
placeholder
:
'请选择产品类型'
,
placeholder
:
'请选择产品类型'
,
options
:
products
.
map
(
t
=>
({
options
:
products
.
map
(
t
=>
({
value
:
t
.
ProductName
,
value
:
t
.
ProductName
,
children
:
t
.
Product
Name
,
children
:
t
.
Product
Alias
,
key
:
t
.
Id
,
key
:
t
.
Id
,
})),
})),
onDropdownVisibleChange
:
onGetProduct
,
onDropdownVisibleChange
:
onGetProduct
,
showSearch
:
tru
e
,
showSearch
:
fals
e
,
filterOption
:
(
input
,
option
)
=>
filterOption
:
(
input
,
option
)
=>
option
.
children
.
toLowerCase
().
indexOf
(
input
.
toLowerCase
())
>=
0
,
option
.
children
.
toLowerCase
().
indexOf
(
input
.
toLowerCase
())
>=
0
,
rules
:
[
rules
:
[
...
...
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