【update】-我的消息已读、未读颜色的修改;标签管理bug的修改
This commit is contained in:
@@ -60,6 +60,15 @@
|
||||
:loading="loading"
|
||||
:rowClassName="rowClassName"
|
||||
@change="handleTableChange">
|
||||
<!--已读、未读状态-->
|
||||
<template v-slot:readFlag="{text, record}">
|
||||
<a-tooltip overlay-class-name="tooltip-style">
|
||||
<template slot="title">{{ text}}</template>
|
||||
<div class="table-text" :class="{'agree-color': record.readFlag + '' === '1', 'reject-color': record.readFlag + '' === '0'}">
|
||||
{{ text }}
|
||||
</div>
|
||||
</a-tooltip>
|
||||
</template>
|
||||
|
||||
<!-- 操作 -->
|
||||
<template v-slot:action="{text, record}">
|
||||
@@ -153,7 +162,7 @@ export default {
|
||||
align: 'center',
|
||||
width: 120,
|
||||
dataIndex: 'readFlag_dictText',
|
||||
scopedSlots: { customRender: 'text' }
|
||||
scopedSlots: { customRender: 'readFlag' }
|
||||
},
|
||||
{
|
||||
// 操作
|
||||
@@ -317,4 +326,8 @@ export default {
|
||||
/deep/ .row-unread > td {
|
||||
background-color: #F9F9F9;
|
||||
}
|
||||
// 未读
|
||||
.reject-color {
|
||||
color: @primary-color;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -491,7 +491,7 @@ export default {
|
||||
}
|
||||
})
|
||||
// 树形结构
|
||||
if (this.form.fieldShowType === FieldType.TREE.value) {
|
||||
if (this.form.fieldShowType === FieldType.TREE.value || this.form.fieldShowType === FieldType.TREE_SINGLE.value || this.form.fieldShowType === FieldType.TREE_MODAL_SELECT.value) {
|
||||
this.contentOption = [...this.contentOptionTree]
|
||||
this.isTagContent = true
|
||||
} else if (this.form.fieldShowType === FieldType.OPTION_SINGLE.value || this.form.fieldShowType === FieldType.OPTION_MORE.value) {
|
||||
|
||||
Reference in New Issue
Block a user