Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
李洋
/
消息系统
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
68b6a9be
authored
Feb 02, 2018
by
李洋
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1111
parent
964b032b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
public/js/Message/addtemplate.js
resources/views/message/addtemplate.blade.php
public/js/Message/addtemplate.js
View file @
68b6a9be
...
...
@@ -6,7 +6,7 @@ $('#msg-tpl-submit').click(function()
//1.消息渠道 和 模板描述
if
(
!
$
(
"input[id='chk-channels-inner']"
).
is
(
':checked'
)
&&
!
$
(
"input[id='chk-channels-sms']"
).
is
(
':checked'
)
&&
!
$
(
"input[id='chk-channels-email']"
).
is
(
':checked'
)
&&
!
$
(
"input[id='chk-channels-wechat-notify']"
).
is
(
':checked'
))
!
$
(
"input[id='chk-channels-email']"
).
is
(
':checked'
)
&&
!
$
(
"input[id='chk-channels-wechat-notify']"
).
is
(
':checked'
)
&&
!
$
(
"input[id='chk-channels-ding']"
).
is
(
':checked'
)
)
{
Prompt
(
'请勾选至少一个消息渠道'
,
5
);
return
false
;
...
...
@@ -83,7 +83,7 @@ $('#msg-tpl-submit').click(function()
}
}
//
短信
//
微信消息
if
(
$
(
"input[id='chk-channels-ding']"
).
is
(
':checked'
))
{
if
(
!
$
(
"#ding-tpl-content"
).
val
())
...
...
resources/views/message/addtemplate.blade.php
View file @
68b6a9be
...
...
@@ -115,7 +115,7 @@
<input
type=
"checkbox"
name=
"chk-channels"
id=
"chk-channels-sms"
value=
"2"
@
if
(!
empty
($
isContainSMS
))
checked
@
endif
/><label>
短息
</label>
<input
type=
"checkbox"
name=
"chk-channels"
id=
"chk-channels-email"
value=
"3"
@
if
(!
empty
($
isContainEmail
))
checked
@
endif
/><label>
邮箱
</label>
<input
type=
"checkbox"
name=
"chk-channels"
id=
"chk-channels-wechat-notify"
value=
"4"
@
if
(!
empty
($
isContainWechatNotify
))
checked
@
endif
/><label>
微信通知
</label>
<input
type=
"checkbox"
name=
"chk-channels"
id=
"chk-channels-ding"
value=
"
4
"
@
if
(!
empty
($
isContainDing
))
checked
@
endif
/><label>
钉钉通知
</label>
<input
type=
"checkbox"
name=
"chk-channels"
id=
"chk-channels-ding"
value=
"
5
"
@
if
(!
empty
($
isContainDing
))
checked
@
endif
/><label>
钉钉通知
</label>
</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