mirror of https://gitee.com/stylefeng/guns
parent
f4da698d54
commit
426d04ab36
|
@ -16,8 +16,9 @@ layui.use(['table', 'form', 'func', 'HttpRequest', 'util'], function () {
|
|||
return [[
|
||||
{type: 'checkbox'},
|
||||
{field: 'messageId', hide: true, title: '主键id'},
|
||||
{field: 'businessTypeValue', sort: true, title: '业务类型'},
|
||||
{field: 'messageTitle', sort: true, title: '消息标题'},
|
||||
// {field: 'messageType', sort: true, title: '消息类型'},
|
||||
{field: 'messageType', sort: true, title: '消息类型'},
|
||||
// {field: 'priorityLevelValue', sort: true, title: '优先级'},
|
||||
{field: 'priorityLevelValue', sort: true, title: '优先级'},
|
||||
{field: 'readFlagValue', sort: true, title: '阅读状态'
|
||||
|
|
|
@ -126,11 +126,11 @@
|
|||
try {
|
||||
let msg = JSON.parse(data)
|
||||
notice.info({
|
||||
title: msg.messageTitle,
|
||||
title: '['+msg.businessTypeValue+']'+msg.messageTitle,
|
||||
message: msg.messageContent,
|
||||
timeout: false
|
||||
});
|
||||
$('#messageDot').hide();
|
||||
$('#messageDot').show();
|
||||
} catch (e) {
|
||||
}
|
||||
},
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<a class="message-list-item" href="javascript:Message.openViewDlg('${msg.messageId}');">
|
||||
<i class="layui-icon layui-icon-speaker message-item-icon"></i>
|
||||
<div class="message-item-right">
|
||||
<h2 class="message-item-title">${msg.messageTitle}</h2>
|
||||
<h2 class="message-item-title">[${msg.businessTypeValue}]${msg.messageTitle}</h2>
|
||||
<p class="message-item-text">${msg.messageSendTime,"yyyy-MM-dd HH:mm:ss"}</p>
|
||||
</div>
|
||||
</a>
|
||||
|
|
|
@ -7,6 +7,12 @@
|
|||
<div class="layui-card-body">
|
||||
<div class="layui-form-item layui-row">
|
||||
<input name="messageId" type="hidden"/>
|
||||
<div class="layui-inline layui-col-md12">
|
||||
<label class="layui-form-label">业务类型</label>
|
||||
<div class="layui-input-block">
|
||||
<input id="businessTypeValue" name="businessTypeValue" placeholder="请输入业务类型" type="text" class="layui-input" lay-verify="" required viewForm="textinput"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-inline layui-col-md12">
|
||||
<label class="layui-form-label">消息标题</label>
|
||||
<div class="layui-input-block">
|
||||
|
|
Loading…
Reference in New Issue