添加钉钉通知

This commit is contained in:
linxiaozhi
2019-02-15 11:50:09 +08:00
parent fbd64d38a2
commit 5a7904a831
15 changed files with 186 additions and 6 deletions

View File

@@ -99,6 +99,7 @@
<div class="layui-input-inline ">
<input type="radio" name="notify_type" lay-verify="required" value="0" title="邮件" checked>
<input type="radio" name="notify_type" lay-verify="required" value="1" title="短信" >
<input type="radio" name="notify_type" lay-verify="required" value="2" title="钉钉" >
</div>
<div class="layui-form-mid layui-word-aux"></div>
</div>

View File

@@ -100,6 +100,7 @@
<div class="layui-input-inline ">
<input type="radio" name="notify_type" lay-verify="required" value="0" title="邮件" {{if eq .task.NotifyType 0}}checked{{end}}>
<input type="radio" name="notify_type" lay-verify="required" value="1" title="短信" {{if eq .task.NotifyType 1}}checked{{end}}>
<input type="radio" name="notify_type" lay-verify="required" value="2" title="钉钉" {{if eq .task.NotifyType 2}}checked{{end}}>
</div>
<div class="layui-form-mid layui-word-aux"></div>
</div>

View File

@@ -99,7 +99,7 @@
{{if eq .task.IsNotify 1}}
<tr>
<td>通知类型</td>
<td>{{if eq .task.NotifyType 1}}短信{{end}} {{if eq .task.NotifyType 0}}邮件{{end}}</td>
<td>{{if eq .task.NotifyType 1}}短信{{end}} {{if eq .task.NotifyType 0}}邮件{{end}} {{if eq .task.NotifyType 2}}钉钉{{end}}</td>
<td></td>
</tr>

View File

@@ -99,6 +99,7 @@
<div class="layui-input-inline ">
<input type="radio" name="notify_type" lay-verify="required" value="0" title="邮件" {{if eq .task.NotifyType 0}}checked{{end}}>
<input type="radio" name="notify_type" lay-verify="required" value="1" title="短信" {{if eq .task.NotifyType 1}}checked{{end}}>
<input type="radio" name="notify_type" lay-verify="required" value="2" title="钉钉" {{if eq .task.NotifyType 2}}checked{{end}}>
</div>
<div class="layui-form-mid layui-word-aux"></div>
</div>