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
0adf9d2f
Commit
0adf9d2f
authored
Nov 30, 2022
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '消息平台界面优化'
parent
efc0a225
Pipeline
#64683
passed with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
58 additions
and
45 deletions
+58
-45
ProjectManage.jsx
...tformCenter/messageManage/projectManage/ProjectManage.jsx
+21
-12
schemeDetail.jsx
...latformCenter/messageManage/schemeDetail/schemeDetail.jsx
+33
-29
schemeDetail.less
...atformCenter/messageManage/schemeDetail/schemeDetail.less
+4
-4
No files found.
src/pages/platformCenter/messageManage/projectManage/ProjectManage.jsx
View file @
0adf9d2f
...
@@ -14,6 +14,7 @@ import {
...
@@ -14,6 +14,7 @@ import {
message
,
message
,
Tooltip
,
Tooltip
,
Spin
,
Spin
,
notification
,
}
from
'antd'
;
}
from
'antd'
;
import
{
import
{
PlusCircleOutlined
,
PlusCircleOutlined
,
...
@@ -364,21 +365,29 @@ const ProjectManage = props => {
...
@@ -364,21 +365,29 @@ const ProjectManage = props => {
setTreeLoading
(
true
);
setTreeLoading
(
true
);
GetMessageConfigList
(
params
).
then
(
res
=>
{
GetMessageConfigList
(
params
).
then
(
res
=>
{
setTreeLoading
(
false
);
setTreeLoading
(
false
);
let
mesList
=
[];
if
(
res
.
code
===
0
)
{
if
(
res
.
code
===
0
)
{
res
.
data
.
MessageConfigModels
.
map
(
item
=>
{
let
mesList
=
[];
mesList
.
push
({
if
(
res
.
code
===
0
)
{
name
:
item
.
MessageConfig
.
MsgType
,
res
.
data
.
MessageConfigModels
.
map
(
item
=>
{
type
:
item
.
MessageConfig
.
ThemeName
,
mesList
.
push
({
send_pattern
:
item
.
MessageConfig
.
PushMode
,
name
:
item
.
MessageConfig
.
MsgType
,
receive_person
:
item
.
MessageConfig
.
PushGroup
,
type
:
item
.
MessageConfig
.
ThemeName
,
is_use
:
item
.
MessageConfig
.
IsStarted
,
send_pattern
:
item
.
MessageConfig
.
PushMode
,
...
item
.
MessageConfig
,
receive_person
:
item
.
MessageConfig
.
PushGroup
,
item
,
is_use
:
item
.
MessageConfig
.
IsStarted
,
...
item
.
MessageConfig
,
item
,
});
});
});
});
setDataList
(
mesList
);
setDataList
(
mesList
);
}
}
else
{
notification
.
error
({
message
:
'提示'
,
duration
:
3
,
description
:
res
.
msg
,
});
}
}
});
});
};
};
...
...
src/pages/platformCenter/messageManage/schemeDetail/schemeDetail.jsx
View file @
0adf9d2f
...
@@ -720,12 +720,16 @@ const EditModal = props => {
...
@@ -720,12 +720,16 @@ const EditModal = props => {
{
listType
.
map
(
item
=>
(
{
listType
.
map
(
item
=>
(
<
div
key=
{
item
.
title
}
className=
{
styles
.
cardListItem
}
>
<
div
key=
{
item
.
title
}
className=
{
styles
.
cardListItem
}
>
{
item
.
title
!=
'自定义'
&&
item
.
title
!=
'定时推送'
?
(
{
item
.
title
!=
'自定义'
&&
item
.
title
!=
'定时推送'
?
(
<
Button
<
span
type=
{
item
.
title
===
btnType
?
'primary'
:
'default'
}
style=
{
{
style=
{
{
cursor
:
'not-allowed'
,
marginRight
:
'1rem'
,
width
:
'88px'
}
}
display
:
'inline-block'
,
width
:
'88px'
,
marginLeft
:
'16px'
,
}
}
>
>
{
item
.
title
}
{
item
.
title
}
:
</
Butto
n
>
</
spa
n
>
)
:
(
)
:
(
<
Button
<
Button
type=
{
item
.
title
===
btnType
?
'primary'
:
'default'
}
type=
{
item
.
title
===
btnType
?
'primary'
:
'default'
}
...
@@ -750,7 +754,7 @@ const EditModal = props => {
...
@@ -750,7 +754,7 @@ const EditModal = props => {
{
btnType
===
'定时推送'
?
(
{
btnType
===
'定时推送'
?
(
<
Card
title=
"推送计划"
style=
{
{
width
:
'100%'
,
marginTop
:
'1rem'
}
}
>
<
Card
title=
"推送计划"
style=
{
{
width
:
'100%'
,
marginTop
:
'1rem'
}
}
>
<
div
style=
{
{
display
:
'flex'
,
alignItems
:
'center'
}
}
>
<
div
style=
{
{
display
:
'flex'
,
alignItems
:
'center'
}
}
>
<
Item
labelCol=
{
{
span
:
6
}
}
>
<
Item
labelCol=
{
{
span
:
5
}
}
>
<
div
style=
{
{
display
:
'flex'
}
}
>
<
div
style=
{
{
display
:
'flex'
}
}
>
<
Item
<
Item
label=
"推送组"
label=
"推送组"
...
@@ -810,7 +814,7 @@ const EditModal = props => {
...
@@ -810,7 +814,7 @@ const EditModal = props => {
)
}
)
}
<
div
className=
{
styles
.
push_trench
}
>
<
div
className=
{
styles
.
push_trench
}
>
<
Row
>
<
Row
>
<
Col
xxl=
{
8
}
xl=
{
12
}
sm=
{
24
}
xs=
{
40
}
>
<
Col
xxl=
{
8
}
xl=
{
12
}
sm=
{
24
}
xs=
{
24
}
>
{
{
<
div
className=
{
styles
.
trench_card
}
>
<
div
className=
{
styles
.
trench_card
}
>
<
div
className=
{
styles
.
card_title
}
>
<
div
className=
{
styles
.
card_title
}
>
...
@@ -821,7 +825,7 @@ const EditModal = props => {
...
@@ -821,7 +825,7 @@ const EditModal = props => {
/>
/>
</
div
>
</
div
>
<
div
className=
{
styles
.
card_body
}
>
<
div
className=
{
styles
.
card_body
}
>
<
Item
label=
"模板"
name=
"web_template"
labelCol=
{
{
span
:
6
}
}
>
<
Item
label=
"模板"
name=
"web_template"
labelCol=
{
{
span
:
5
}
}
>
<
Select
style=
{
{
width
:
'97%'
}
}
disabled=
{
!
currentTrench
.
isWEBShow
}
>
<
Select
style=
{
{
width
:
'97%'
}
}
disabled=
{
!
currentTrench
.
isWEBShow
}
>
{
WEB_ITEMS
.
map
((
item
,
idx
)
=>
(
{
WEB_ITEMS
.
map
((
item
,
idx
)
=>
(
<
Select
.
Option
value=
{
item
.
Id
}
key=
{
idx
}
>
<
Select
.
Option
value=
{
item
.
Id
}
key=
{
idx
}
>
...
@@ -831,8 +835,8 @@ const EditModal = props => {
...
@@ -831,8 +835,8 @@ const EditModal = props => {
</
Select
>
</
Select
>
</
Item
>
</
Item
>
<
Row
>
<
Row
>
<
Col
span=
{
1
6
}
>
<
Col
span=
{
1
5
}
>
<
Item
label=
"标题"
name=
"webTitile"
labelCol=
{
{
span
:
9
}
}
>
<
Item
label=
"标题"
name=
"webTitile"
labelCol=
{
{
span
:
8
}
}
>
<
Input
<
Input
placeholder=
"请输入标题"
placeholder=
"请输入标题"
style=
{
{
width
:
'97%'
}
}
style=
{
{
width
:
'97%'
}
}
...
@@ -844,14 +848,14 @@ const EditModal = props => {
...
@@ -844,14 +848,14 @@ const EditModal = props => {
<
Item
<
Item
label=
"图标"
label=
"图标"
name=
"WebIcon"
name=
"WebIcon"
style=
{
{
height
:
'
11
2px'
}
}
style=
{
{
height
:
'
8
2px'
}
}
labelCol=
{
{
span
:
6
}
}
labelCol=
{
{
span
:
12
}
}
>
>
{
imageUrl
?
(
{
imageUrl
?
(
<
div
<
div
style=
{
{
style=
{
{
width
:
'
10
4px'
,
width
:
'
7
4px'
,
height
:
'
10
4px'
,
height
:
'
7
4px'
,
border
:
'1px solid #d9d9d9'
,
border
:
'1px solid #d9d9d9'
,
borderRadius
:
'2px'
,
borderRadius
:
'2px'
,
padding
:
'8px'
,
padding
:
'8px'
,
...
@@ -882,8 +886,8 @@ const EditModal = props => {
...
@@ -882,8 +886,8 @@ const EditModal = props => {
style=
{
{
style=
{
{
position
:
'absolute'
,
position
:
'absolute'
,
fontSize
:
'18px'
,
fontSize
:
'18px'
,
left
:
'
24
px'
,
left
:
'
12
px'
,
top
:
'
4
5px'
,
top
:
'
2
5px'
,
color
:
'white'
,
color
:
'white'
,
zIndex
:
'999'
,
zIndex
:
'999'
,
}
}
}
}
...
@@ -893,8 +897,8 @@ const EditModal = props => {
...
@@ -893,8 +897,8 @@ const EditModal = props => {
style=
{
{
style=
{
{
position
:
'absolute'
,
position
:
'absolute'
,
fontSize
:
'18px'
,
fontSize
:
'18px'
,
left
:
'
54
px'
,
left
:
'
40
px'
,
top
:
'
4
5px'
,
top
:
'
2
5px'
,
color
:
'white'
,
color
:
'white'
,
zIndex
:
'999'
,
zIndex
:
'999'
,
}
}
}
}
...
@@ -906,14 +910,14 @@ const EditModal = props => {
...
@@ -906,14 +910,14 @@ const EditModal = props => {
</
div
>
</
div
>
)
:
(
)
:
(
<
Image
<
Image
width=
"
10
4px"
width=
"
7
4px"
// height=
{100}
// height=
{100}
src=
"error"
src=
"error"
onClick=
{
onClick=
{
currentTrench
.
isWEBShow
currentTrench
.
isWEBShow
?
()
=>
{
?
()
=>
{
pictruePreview
();
pictruePreview
();
}
}
:
''
:
''
}
}
fallback=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMIAAADDCAYAAADQvc6UAAABRWlDQ1BJQ0MgUHJvZmlsZQAAKJFjYGASSSwoyGFhYGDIzSspCnJ3UoiIjFJgf8LAwSDCIMogwMCcmFxc4BgQ4ANUwgCjUcG3awyMIPqyLsis7PPOq3QdDFcvjV3jOD1boQVTPQrgSkktTgbSf4A4LbmgqISBgTEFyFYuLykAsTuAbJEioKOA7DkgdjqEvQHEToKwj4DVhAQ5A9k3gGyB5IxEoBmML4BsnSQk8XQkNtReEOBxcfXxUQg1Mjc0dyHgXNJBSWpFCYh2zi+oLMpMzyhRcASGUqqCZ16yno6CkYGRAQMDKMwhqj/fAIcloxgHQqxAjIHBEugw5sUIsSQpBobtQPdLciLEVJYzMPBHMDBsayhILEqEO4DxG0txmrERhM29nYGBddr//5/DGRjYNRkY/l7////39v///y4Dmn+LgeHANwDrkl1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NmoFCJAhELNNtScABFyNiqFCBChULMNNSdAhJyNSiECRCjUbEPNCRAhZ6NSiAARCjXbUHMCRMjZqBQiQIRCzTbUnAARcjYqhQgQoVCzDTUnQIScjUohAkQo1GxDzQkQIWejUogAEQo121BzAkTI2agUIkCEQs021JwAEXI2KoUIEKFQsw01J0CEnI1KIQJEKNRsQ80JECFno1KIABEKNdtQcwJEyNmoFCJAhELNNtScABFyNiqFCBChULMNNSdAhJyNSiECRCjUbEPNCRAhZ6NSiAARCjXbUHMCRMjZqBQiQIRCzTbUnAARcjYqhQgQoVCzDTUnQIScjUohAkQo1GxDzQkQIWejUogAEQo121BzAkTI2agUIkCEQs021JwAEXI2KoUIEKFQsw01J0CEnI1KIQJEKNRsQ80JECFno1KIABEKNdtQcwJEyNmoFCJAhELNNtScABFyNiqFCBChULMNNSdAhJyNSiEC/wGgKKC4YMA4TAAAAABJRU5ErkJggg=="
fallback=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMIAAADDCAYAAADQvc6UAAABRWlDQ1BJQ0MgUHJvZmlsZQAAKJFjYGASSSwoyGFhYGDIzSspCnJ3UoiIjFJgf8LAwSDCIMogwMCcmFxc4BgQ4ANUwgCjUcG3awyMIPqyLsis7PPOq3QdDFcvjV3jOD1boQVTPQrgSkktTgbSf4A4LbmgqISBgTEFyFYuLykAsTuAbJEioKOA7DkgdjqEvQHEToKwj4DVhAQ5A9k3gGyB5IxEoBmML4BsnSQk8XQkNtReEOBxcfXxUQg1Mjc0dyHgXNJBSWpFCYh2zi+oLMpMzyhRcASGUqqCZ16yno6CkYGRAQMDKMwhqj/fAIcloxgHQqxAjIHBEugw5sUIsSQpBobtQPdLciLEVJYzMPBHMDBsayhILEqEO4DxG0txmrERhM29nYGBddr//5/DGRjYNRkY/l7////39v///y4Dmn+LgeHANwDrkl1AuO+pmgAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAwqADAAQAAAABAAAAwwAAAA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cjYqhQgQoVCzDTUnQIScjUohAkQo1GxDzQkQIWejUogAEQo121BzAkTI2agUIkCEQs021JwAEXI2KoUIEKFQsw01J0CEnI1KIQJEKNRsQ80JECFno1KIABEKNdtQcwJEyNmoFCJAhELNNtScABFyNiqFCBChULMNNSdAhJyNSiECRCjUbEPNCRAhZ6NSiAARCjXbUHMCRMjZqBQiQIRCzTbUnAARcjYqhQgQoVCzDTUnQIScjUohAkQo1GxDzQkQIWejUogAEQo121BzAkTI2agUIkCEQs021JwAEXI2KoUIEKFQsw01J0CEnI1KIQJEKNRsQ80JECFno1KIABEKNdtQcwJEyNmoFCJAhELNNtScABFyNiqFCBChULMNNSdAhJyNSiEC/wGgKKC4YMA4TAAAAABJRU5ErkJggg=="
...
@@ -922,7 +926,7 @@ const EditModal = props => {
...
@@ -922,7 +926,7 @@ const EditModal = props => {
</
Item
>
</
Item
>
</
Col
>
</
Col
>
</
Row
>
</
Row
>
<
Item
label=
"功能路径"
name=
"web_path"
labelCol=
{
{
span
:
6
}
}
>
<
Item
label=
"功能路径"
name=
"web_path"
labelCol=
{
{
span
:
5
}
}
>
{
/* <TextArea
{
/* <TextArea
rows={1}
rows={1}
style={{ width: '97%' }}
style={{ width: '97%' }}
...
@@ -966,7 +970,7 @@ const EditModal = props => {
...
@@ -966,7 +970,7 @@ const EditModal = props => {
/>
/>
</
div
>
</
div
>
<
div
className=
{
styles
.
card_body
}
>
<
div
className=
{
styles
.
card_body
}
>
<
Item
label=
"模板"
name=
"app_template"
labelCol=
{
{
span
:
6
}
}
>
<
Item
label=
"模板"
name=
"app_template"
labelCol=
{
{
span
:
5
}
}
>
<
Select
style=
{
{
width
:
'97%'
}
}
disabled=
{
!
currentTrench
.
isAPPShow
}
>
<
Select
style=
{
{
width
:
'97%'
}
}
disabled=
{
!
currentTrench
.
isAPPShow
}
>
{
APP_ITEMS
.
map
((
item
,
idx
)
=>
(
{
APP_ITEMS
.
map
((
item
,
idx
)
=>
(
<
Select
.
Option
value=
{
item
.
Id
}
key=
{
idx
}
>
<
Select
.
Option
value=
{
item
.
Id
}
key=
{
idx
}
>
...
@@ -975,7 +979,7 @@ const EditModal = props => {
...
@@ -975,7 +979,7 @@ const EditModal = props => {
))
}
))
}
</
Select
>
</
Select
>
</
Item
>
</
Item
>
<
Item
label=
"功能路径"
name=
"app_path"
labelCol=
{
{
span
:
6
}
}
>
<
Item
label=
"功能路径"
name=
"app_path"
labelCol=
{
{
span
:
5
}
}
>
{
/* <TextArea
{
/* <TextArea
rows={1}
rows={1}
style={{ width: '97%' }}
style={{ width: '97%' }}
...
@@ -1018,7 +1022,7 @@ const EditModal = props => {
...
@@ -1018,7 +1022,7 @@ const EditModal = props => {
/>
/>
</
div
>
</
div
>
<
div
className=
{
styles
.
card_body
}
>
<
div
className=
{
styles
.
card_body
}
>
<
Item
label=
"模板"
name=
"wx_template"
labelCol=
{
{
span
:
6
}
}
>
<
Item
label=
"模板"
name=
"wx_template"
labelCol=
{
{
span
:
5
}
}
>
<
Select
style=
{
{
width
:
'97%'
}
}
disabled=
{
!
currentTrench
.
isWXShow
}
>
<
Select
style=
{
{
width
:
'97%'
}
}
disabled=
{
!
currentTrench
.
isWXShow
}
>
{
WX_ITEMS
.
map
((
item
,
idx
)
=>
(
{
WX_ITEMS
.
map
((
item
,
idx
)
=>
(
<
Select
.
Option
value=
{
item
.
Id
}
key=
{
idx
}
>
<
Select
.
Option
value=
{
item
.
Id
}
key=
{
idx
}
>
...
@@ -1027,14 +1031,14 @@ const EditModal = props => {
...
@@ -1027,14 +1031,14 @@ const EditModal = props => {
))
}
))
}
</
Select
>
</
Select
>
</
Item
>
</
Item
>
<
Item
label=
"H5路由"
name=
"h5_path"
labelCol=
{
{
span
:
6
}
}
>
<
Item
label=
"H5路由"
name=
"h5_path"
labelCol=
{
{
span
:
5
}
}
>
<
Input
<
Input
style=
{
{
width
:
'97%'
}
}
style=
{
{
width
:
'97%'
}
}
disabled=
{
!
currentTrench
.
isWXShow
}
disabled=
{
!
currentTrench
.
isWXShow
}
placeholder=
"请输入功能路径"
placeholder=
"请输入功能路径"
/>
/>
</
Item
>
</
Item
>
<
Item
label=
"小程序路由"
name=
"miniprogram_path"
labelCol=
{
{
span
:
6
}
}
>
<
Item
label=
"小程序路由"
name=
"miniprogram_path"
labelCol=
{
{
span
:
5
}
}
>
<
Input
<
Input
style=
{
{
width
:
'97%'
}
}
style=
{
{
width
:
'97%'
}
}
disabled=
{
!
currentTrench
.
isWXShow
}
disabled=
{
!
currentTrench
.
isWXShow
}
...
@@ -1057,7 +1061,7 @@ const EditModal = props => {
...
@@ -1057,7 +1061,7 @@ const EditModal = props => {
/>
/>
</
div
>
</
div
>
<
div
className=
{
styles
.
card_body
}
>
<
div
className=
{
styles
.
card_body
}
>
<
Item
label=
"模板"
name=
"message_template"
labelCol=
{
{
span
:
6
}
}
>
<
Item
label=
"模板"
name=
"message_template"
labelCol=
{
{
span
:
5
}
}
>
<
Select
style=
{
{
width
:
'97%'
}
}
disabled=
{
!
currentTrench
.
isMessageShow
}
>
<
Select
style=
{
{
width
:
'97%'
}
}
disabled=
{
!
currentTrench
.
isMessageShow
}
>
{
MES_ITEMS
.
map
((
item
,
idx
)
=>
(
{
MES_ITEMS
.
map
((
item
,
idx
)
=>
(
<
Select
.
Option
value=
{
item
.
Id
}
key=
{
idx
}
>
<
Select
.
Option
value=
{
item
.
Id
}
key=
{
idx
}
>
...
@@ -1081,7 +1085,7 @@ const EditModal = props => {
...
@@ -1081,7 +1085,7 @@ const EditModal = props => {
/>
/>
</
div
>
</
div
>
<
div
className=
{
styles
.
card_body
}
>
<
div
className=
{
styles
.
card_body
}
>
<
Item
label=
"模板"
name=
"enterprise_template"
labelCol=
{
{
span
:
6
}
}
>
<
Item
label=
"模板"
name=
"enterprise_template"
labelCol=
{
{
span
:
5
}
}
>
<
Select
<
Select
style=
{
{
width
:
'97%'
}
}
style=
{
{
width
:
'97%'
}
}
disabled=
{
!
currentTrench
.
isEnterpriseWXShow
}
disabled=
{
!
currentTrench
.
isEnterpriseWXShow
}
...
...
src/pages/platformCenter/messageManage/schemeDetail/schemeDetail.less
View file @
0adf9d2f
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
margin-top: 10px;
margin-top: 10px;
width: 100%;
width: 100%;
padding: 10px;
padding: 10px;
height: 1
6
rem;
height: 1
4
rem;
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
overflow: hidden;
overflow: hidden;
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
margin-right: 0.5rem;
margin-right: 0.5rem;
}
}
.ant-form-item {
.ant-form-item {
margin-left:
1.3rem
;
margin-left:
0
;
}
}
}
}
}
}
...
@@ -84,8 +84,8 @@
...
@@ -84,8 +84,8 @@
position: relative;
position: relative;
top: -95px;
top: -95px;
left: -9px;
left: -9px;
height:
10
4px;
height:
7
4px;
width:
10
4px;
width:
7
4px;
background: rgba(0, 0, 0, 0.5);
background: rgba(0, 0, 0, 0.5);
border-radius: 2px;
border-radius: 2px;
z-index: 1;
z-index: 1;
...
...
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