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
98950a7e
Commit
98950a7e
authored
Jun 06, 2022
by
邓超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改消息平台提交方案配置如果没有选择模板默认提交第一个模板
parent
46494dbc
Pipeline
#52041
passed with stages
in 10 minutes 46 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
schemeDetail.jsx
...latformCenter/messageManage/schemeDetail/schemeDetail.jsx
+8
-8
No files found.
src/pages/platformCenter/messageManage/schemeDetail/schemeDetail.jsx
View file @
98950a7e
...
...
@@ -214,7 +214,7 @@ const EditModal = props => {
ID
:
template
.
ID
,
ThemeName
:
template
.
ThemeName
,
MsgType
:
fv
.
name
,
PublicTemplateID
:
fv
.
wx_template
.
toString
(),
PublicTemplateID
:
fv
.
wx_template
.
toString
()
?
fv
.
wx_template
.
toString
()
:
WX_ITEMS
[
0
].
Id
,
PublicConfig
:
template
.
PublicConfig
,
PublicPath
:
fv
.
h5_path
,
MsgTemplateName
:
template
.
MsgTemplateName
,
...
...
@@ -231,9 +231,9 @@ const EditModal = props => {
PushMode
:
push_mode
.
join
(
','
),
PushPath
:
template
.
PushPath
,
IsStarted
:
isUse
,
MsgTemplateID
:
fv
.
message_template
,
AppTemplateID
:
fv
.
app_template
,
WebTemplateID
:
fv
.
web_template
,
MsgTemplateID
:
fv
.
message_template
?
fv
.
message_template
:
MES_ITEMS
[
0
].
Id
,
AppTemplateID
:
fv
.
app_template
?
fv
.
app_template
:
APP_ITEMS
[
0
].
Id
,
WebTemplateID
:
fv
.
web_template
?
fv
.
web_template
:
WEB_ITEMS
[
0
].
Id
,
PushGroup
:
fv
.
to_person
?
fv
.
to_person
.
toString
()
:
''
,
WorkWeiXinTemplateId
:
aa
,
};
...
...
@@ -277,7 +277,7 @@ const EditModal = props => {
let
b
=
{
ThemeName
:
'定时推送'
,
MsgType
:
fv
.
name
,
PublicTemplateID
:
fv
.
wx_template
?
fv
.
wx_template
.
toString
()
:
null
,
PublicTemplateID
:
fv
.
wx_template
?
fv
.
wx_template
.
toString
()
:
WX_ITEMS
[
0
].
Id
,
PublicConfig
:
template
.
PublicConfig
,
PublicPath
:
fv
.
h5_path
,
MsgTemplateName
:
template
.
MsgTemplateName
,
...
...
@@ -294,9 +294,9 @@ const EditModal = props => {
PushMode
:
push_mode
.
join
(
','
),
PushPath
:
template
.
PushPath
,
IsStarted
:
isUse
,
MsgTemplateID
:
fv
.
message_template
,
AppTemplateID
:
fv
.
app_template
,
WebTemplateID
:
fv
.
web_template
,
MsgTemplateID
:
fv
.
message_template
?
fv
.
message_template
:
MES_ITEMS
[
0
].
Id
,
AppTemplateID
:
fv
.
app_template
?
fv
.
app_template
:
APP_ITEMS
[
0
].
Id
,
WebTemplateID
:
fv
.
web_template
?
fv
.
web_template
:
WEB_ITEMS
[
0
].
Id
,
PushGroup
:
fv
.
to_person
?
fv
.
to_person
.
toString
()
:
''
,
WorkWeiXinTemplateId
:
bb
,
};
...
...
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