|
@@ -3,7 +3,7 @@
|
|
<el-card>
|
|
<el-card>
|
|
<div slot="header" class="clearfix">
|
|
<div slot="header" class="clearfix">
|
|
<span>消息提醒</span>
|
|
<span>消息提醒</span>
|
|
- <el-button style="float: right; padding: 3px 0" type="text" @click="showList">更多<i class="el-icon-arrow-right" /></el-button>
|
|
|
|
|
|
+ <el-button class="header-more-btn" type="text" @click="showList">更多<i class="el-icon-arrow-right" /></el-button>
|
|
</div>
|
|
</div>
|
|
<el-tabs v-model="curTab" class="message-content" @tab-click="getTablelist">
|
|
<el-tabs v-model="curTab" class="message-content" @tab-click="getTablelist">
|
|
<el-tab-pane :label="'待办('+ messageCount.todo + ')'" name="Todo">
|
|
<el-tab-pane :label="'待办('+ messageCount.todo + ')'" name="Todo">
|
|
@@ -23,7 +23,7 @@
|
|
<el-table-column show-overflow-tooltip>
|
|
<el-table-column show-overflow-tooltip>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<div>{{ scope.row.title }} <span v-if="scope.row.messageLevel + '' === '1'" class="priority-box priority-level1">{{ formatDictData('', scope.row.messageLevel) }}</span> </div>
|
|
<div>{{ scope.row.title }} <span v-if="scope.row.messageLevel + '' === '1'" class="priority-box priority-level1">{{ formatDictData('', scope.row.messageLevel) }}</span> </div>
|
|
- <div>{{ scope.row.createOrgName }}</div>
|
|
|
|
|
|
+ <div class="message-system">{{ scope.row.createOrgName }}</div>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column prop="createTime" width="150" />
|
|
<el-table-column prop="createTime" width="150" />
|
|
@@ -104,10 +104,10 @@ export default {
|
|
watch: {
|
|
watch: {
|
|
newMessage(message) {
|
|
newMessage(message) {
|
|
if (this.curTab === 'Todo') {
|
|
if (this.curTab === 'Todo') {
|
|
- // this.getTablelist()
|
|
|
|
- if (this.todoType === '' || (message.messageType + '') === this.todoType) {
|
|
|
|
- this.todoData.unshift(message)
|
|
|
|
- }
|
|
|
|
|
|
+ this.getTablelist()
|
|
|
|
+ // if (this.todoType === '' || (message.messageType + '') === this.todoType) {
|
|
|
|
+ // this.todoData.unshift(message)
|
|
|
|
+ // }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -223,7 +223,11 @@ export default {
|
|
|
|
|
|
.msg-icon {
|
|
.msg-icon {
|
|
color: #0056dd;
|
|
color: #0056dd;
|
|
- background: rgba(0,86,221,0.1);
|
|
|
|
|
|
+ background: rgba(0,86,221,0.15);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .message-system {
|
|
|
|
+ font-size: 12px;
|
|
}
|
|
}
|
|
|
|
|
|
::v-deep {
|
|
::v-deep {
|
|
@@ -240,8 +244,16 @@ export default {
|
|
height: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- .el-table .cell {
|
|
|
|
|
|
+ .el-table {
|
|
|
|
+ &::before {
|
|
|
|
+ background-color: transparent !important;
|
|
|
|
+ }
|
|
|
|
+ td {
|
|
|
|
+ border-bottom: none;
|
|
|
|
+ }
|
|
|
|
+ .cell {
|
|
padding-left: 0 !important;
|
|
padding-left: 0 !important;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|