mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-11-09 12:30:49 +08:00
feat(notice): 投递明细/失败重发/只读场景总览
This commit is contained in:
@@ -79,6 +79,62 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="detail-field-item detail-field-full">
|
||||
<div class="detail-field-label">投递明细</div>
|
||||
<div class="detail-field-value">
|
||||
{notempty name="target_rows"}
|
||||
<table class="layui-table" style="margin:0;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>明细ID</th>
|
||||
<th>接收人</th>
|
||||
<th>渠道</th>
|
||||
<th>状态</th>
|
||||
<th>重试次数</th>
|
||||
<th>错误信息</th>
|
||||
<th>发送时间</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{volist name="target_rows" id="tvo"}
|
||||
<tr>
|
||||
<td>{$tvo.id}</td>
|
||||
<td>{$tvo.admin_nickname}</td>
|
||||
<td>{$tvo.channel_name}</td>
|
||||
<td><span class="{$tvo.status_class}">{$tvo.status_name}</span></td>
|
||||
<td>{$tvo.retry_count}</td>
|
||||
<td>
|
||||
{notempty name="tvo.error_message"}
|
||||
{$tvo.error_message|htmlspecialchars}
|
||||
{else/}
|
||||
-
|
||||
{/notempty}
|
||||
</td>
|
||||
<td>
|
||||
{if condition="$tvo.send_time gt 0"}
|
||||
{$tvo.send_time|date="Y-m-d H:i:s"}
|
||||
{else/}
|
||||
-
|
||||
{/if}
|
||||
</td>
|
||||
<td>
|
||||
{if condition="$tvo.status eq 3"}
|
||||
<button type="button" class="layui-btn layui-btn-warm layui-btn-xs notice-resend-btn" data-target-id="{$tvo.id}">重发</button>
|
||||
{else/}
|
||||
-
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{/volist}
|
||||
</tbody>
|
||||
</table>
|
||||
{else/}
|
||||
<span class="layui-text-em">暂无投递明细</span>
|
||||
{/notempty}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- 右侧基础信息 -->
|
||||
|
||||
Reference in New Issue
Block a user