消息补充标题

This commit is contained in:
zer0Black
2022-07-09 13:05:51 +08:00
parent d382ce26e0
commit eb01aeb236
18 changed files with 164 additions and 74 deletions
+1
View File
@@ -414,6 +414,7 @@ module.exports = {
ForwardPush: 'Forward push',
PleaseSelectData: 'Please select data first',
MessageContent: 'Message Content',
MessageTitle: 'Message Title',
MessageType: 'Message Type',
NotificationTime: 'Notification Time',
MessageNotification: 'Message Notification',
+1
View File
@@ -419,6 +419,7 @@ module.exports = {
ForwardPush: '转发推送',
PleaseSelectData: '请先选择数据',
MessageContent: '消息内容',
MessageTitle: '消息标题',
MessageType: '消息类型',
NotificationTime: '通知时间',
MessageNotification: '消息通知',
@@ -6,12 +6,12 @@
<a-row :gutter="24">
<a-col :md="6" :sm="8" style="line-height: 48px">
<div class="box-title-text">
<div class="title-text" :title="$t('MessageContent')">
<span>{{this.$t('MessageContent')}}</span>
<div class="title-text" :title="$t('MessageTitle')">
<span>{{this.$t('MessageTitle')}}</span>
</div>
<a-input class="box-input"
:placeholder="$t('pleaseEnter')+$t('MessageContent')"
v-model="queryParam.msgContent">
:placeholder="$t('pleaseEnter')+$t('MessageTitle')"
v-model="queryParam.titile">
</a-input>
</div>
</a-col>
@@ -65,7 +65,7 @@
:pagination="ipagination"
:loading="loading"
@change="handleTableChange">
<span slot="msgContent" slot-scope="text,scope">
<span slot="msgTitile" slot-scope="text,scope">
<a :style="{'color':scope.readFlag == 0 ? 'red':'#00A0E9'}" :title="text" @click="msgContentClick(scope)">
{{text}}
</a>
@@ -119,11 +119,11 @@
},
columns: [
{
title: this.$t('MessageContent'),
title: this.$t('MessageTitle'),
align: 'center',
dataIndex: 'msgContent',
dataIndex: 'titile',
ellipsis: true,
scopedSlots: { customRender: 'msgContent' }
scopedSlots: { customRender: 'msgTitile' }
},
{
title: this.$t('MessageType'),