diff --git a/project/sass/apps/Announce/AppAnnounce/components/List.vue b/project/sass/apps/Announce/AppAnnounce/components/List.vue index f711b551..a0abd6bc 100644 --- a/project/sass/apps/Announce/AppAnnounce/components/List.vue +++ b/project/sass/apps/Announce/AppAnnounce/components/List.vue @@ -119,7 +119,18 @@ { prop: 'sendType', label: '群发类型', formart: v => v === '0' ? '立即发送' : '定时发送', align: 'center' }, { slot: 'user', label: '创建人', openType: 'userName', align: 'center' }, { prop: 'createTime', label: '群发时间', align: 'center' }, - { prop: 'status', label: '状态', formart: v => this.dict.getLabel('mstStatus', v), align: 'center' }, + { + prop: 'status', + align: 'center', + label: '状态', + render: (h, {row}) => { + return h('span', { + style: { + color: this.dict.getColor('mstStatus', row.status) + } + }, this.dict.getLabel('mstStatus', row.status)) + } + }, { prop: 'completionRate', label: '任务完成率', align: 'center' } ] }