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
97fcbaf7
Commit
97fcbaf7
authored
Nov 29, 2022
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '修复消息平台台图标显示bug'
parent
0186e72c
Pipeline
#64654
passed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
33 deletions
+36
-33
schemeDetail.jsx
...latformCenter/messageManage/schemeDetail/schemeDetail.jsx
+36
-33
No files found.
src/pages/platformCenter/messageManage/schemeDetail/schemeDetail.jsx
View file @
97fcbaf7
...
@@ -170,7 +170,7 @@ const EditModal = props => {
...
@@ -170,7 +170,7 @@ const EditModal = props => {
isStart
:
template
.
IsStarted
===
'0'
?
'关闭'
:
'开启'
,
isStart
:
template
.
IsStarted
===
'0'
?
'关闭'
:
'开启'
,
to_person
:
template
.
PushGroup
,
to_person
:
template
.
PushGroup
,
push_mode
:
template
.
PushMode
===
null
?
''
:
template
.
PushMode
.
split
(
','
),
push_mode
:
template
.
PushMode
===
null
?
''
:
template
.
PushMode
.
split
(
','
),
webIcon
:
template
.
WebIcon
?
`
${
window
.
location
.
origin
}
/
${
template
.
WebIcon
}
`
:
''
,
webIcon
:
template
.
WebIcon
,
webTitile
:
template
.
WebTitile
,
webTitile
:
template
.
WebTitile
,
app_template
:
template
.
AppTemplateID
,
app_template
:
template
.
AppTemplateID
,
app_path
:
template
.
AppFunctionPath
,
app_path
:
template
.
AppFunctionPath
,
...
@@ -683,6 +683,7 @@ const EditModal = props => {
...
@@ -683,6 +683,7 @@ const EditModal = props => {
};
};
const
onOk
=
props
=>
{
const
onOk
=
props
=>
{
console
.
log
(
props
);
if
(
props
)
{
if
(
props
)
{
setImageUrl
(
`
${
window
.
location
.
origin
}
/
${
props
}
`
);
setImageUrl
(
`
${
window
.
location
.
origin
}
/
${
props
}
`
);
setIm
(
props
);
setIm
(
props
);
...
@@ -919,36 +920,13 @@ const EditModal = props => {
...
@@ -919,36 +920,13 @@ const EditModal = props => {
))
}
))
}
</
Select
>
</
Select
>
</
Item
>
</
Item
>
<
Item
label=
"功能路径"
name=
"web_path"
labelCol=
{
{
span
:
6
}
}
>
<
Item
label=
"标题"
name=
"webTitile"
labelCol=
{
{
span
:
6
}
}
>
{
/* <TextArea
<
Input
rows={1}
placeholder=
"请输入标题"
style={{ width: '97%' }}
disabled={!currentTrench.isWEBShow}
placeholder="请输入功能路径"
/> */
}
<
TreeSelect
showSearch
treeNodeFilterProp=
"title"
// filterTreeNode=
{
filterTreeNode11
}
style=
{
{
width
:
'97%'
}
}
style=
{
{
width
:
'97%'
}
}
value=
{
treeSelectValue
}
disabled=
{
!
currentTrench
.
isWEBShow
}
disabled=
{
!
currentTrench
.
isWEBShow
}
dropdownStyle=
{
{
maxHeight
:
400
,
overflow
:
'auto'
}
}
/>
placeholder=
"请选择功能路径"
allowClear
treeDefaultExpandAll
treeIcon
onChange=
{
treeSelectOnchange
}
onSearch=
{
onSearchWeb
}
>
{
menuWebList
?
(
menuWebList
.
map
(
i
=>
mapTree
(
i
))
)
:
(
<
Empty
image=
{
Empty
.
PRESENTED_IMAGE_SIMPLE
}
/>
)
}
</
TreeSelect
>
</
Item
>
</
Item
>
<
Item
<
Item
label=
"图标"
label=
"图标"
name=
"WebIcon"
name=
"WebIcon"
...
@@ -977,7 +955,7 @@ const EditModal = props => {
...
@@ -977,7 +955,7 @@ const EditModal = props => {
}
}
}
}
/>
/>
{
show
==
'visible'
?
(
{
show
==
'visible'
&&
currentTrench
.
isWEBShow
?
(
<>
<>
<
div
className=
{
styles
.
imgg
}
/>
<
div
className=
{
styles
.
imgg
}
/>
<
DeleteOutlined
<
DeleteOutlined
...
@@ -985,7 +963,7 @@ const EditModal = props => {
...
@@ -985,7 +963,7 @@ const EditModal = props => {
setImageUrl
(
''
);
setImageUrl
(
''
);
setIm
(
''
);
setIm
(
''
);
setKeepImgeUrl
(
''
);
setKeepImgeUrl
(
''
);
form
.
setFieldsValue
({
W
ebIcon
:
''
});
form
.
setFieldsValue
({
w
ebIcon
:
''
});
}
}
}
}
style=
{
{
style=
{
{
position
:
'absolute'
,
position
:
'absolute'
,
...
@@ -1022,9 +1000,34 @@ const EditModal = props => {
...
@@ -1022,9 +1000,34 @@ const EditModal = props => {
/>
/>
)
}
)
}
</
Item
>
</
Item
>
<
Item
label=
"功能路径"
name=
"web_path"
labelCol=
{
{
span
:
6
}
}
>
<
Item
label=
"标题"
name=
"webTitile"
labelCol=
{
{
span
:
6
}
}
>
{
/* <TextArea
<
Input
placeholder=
"请输入标题"
/>
rows={1}
style={{ width: '97%' }}
disabled={!currentTrench.isWEBShow}
placeholder="请输入功能路径"
/> */
}
<
TreeSelect
showSearch
treeNodeFilterProp=
"title"
// filterTreeNode=
{
filterTreeNode11
}
style=
{
{
width
:
'97%'
}
}
value=
{
treeSelectValue
}
disabled=
{
!
currentTrench
.
isWEBShow
}
dropdownStyle=
{
{
maxHeight
:
400
,
overflow
:
'auto'
}
}
placeholder=
"请选择功能路径"
allowClear
treeDefaultExpandAll
treeIcon
onChange=
{
treeSelectOnchange
}
onSearch=
{
onSearchWeb
}
>
{
menuWebList
?
(
menuWebList
.
map
(
i
=>
mapTree
(
i
))
)
:
(
<
Empty
image=
{
Empty
.
PRESENTED_IMAGE_SIMPLE
}
/>
)
}
</
TreeSelect
>
</
Item
>
</
Item
>
</
div
>
</
div
>
</
div
>
</
div
>
...
...
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