Commit 68b6a9be by 李洋

1111

parent 964b032b
...@@ -6,7 +6,7 @@ $('#msg-tpl-submit').click(function() ...@@ -6,7 +6,7 @@ $('#msg-tpl-submit').click(function()
//1.消息渠道 和 模板描述 //1.消息渠道 和 模板描述
if(!$("input[id='chk-channels-inner']").is(':checked') && !$("input[id='chk-channels-sms']").is(':checked') && 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); Prompt('请勾选至少一个消息渠道', 5);
return false; return false;
...@@ -83,7 +83,7 @@ $('#msg-tpl-submit').click(function() ...@@ -83,7 +83,7 @@ $('#msg-tpl-submit').click(function()
} }
} }
//短信 //微信消息
if($("input[id='chk-channels-ding']").is(':checked')) if($("input[id='chk-channels-ding']").is(':checked'))
{ {
if(!$("#ding-tpl-content").val()) if(!$("#ding-tpl-content").val())
......
...@@ -115,7 +115,7 @@ ...@@ -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-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-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-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>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment