|
@@ -55,18 +55,18 @@
|
55
|
55
|
<template slot-scope="scope" >
|
56
|
56
|
<a :title="scope.row.messageContent" v-if="scope.row.readStatus==='0'">
|
57
|
57
|
<span style="color: black " >
|
58
|
|
- {{ scope.row.messageContent.length>='100'?scope.row.messageContent.substring(0,15)+'..':scope.row.messageContent }}
|
|
58
|
+ {{ scope.row.messageContent.length>='1000'?scope.row.messageContent.substring(0,15)+'..':scope.row.messageContent }}
|
59
|
59
|
</span>
|
60
|
60
|
</a>
|
61
|
61
|
|
62
|
62
|
<a :title="scope.row.messageContent" v-if="scope.row.readStatus==='1'">
|
63
|
63
|
<span style="color:#AAAAAA" >
|
64
|
|
- {{ scope.row.messageContent.length>='100'?scope.row.messageContent.substring(0,15)+'..':scope.row.messageContent }}
|
|
64
|
+ {{ scope.row.messageContent.length>='1000'?scope.row.messageContent.substring(0,15)+'..':scope.row.messageContent }}
|
65
|
65
|
</span>
|
66
|
66
|
</a>
|
67
|
67
|
</template>
|
68
|
68
|
</el-table-column>
|
69
|
|
- <el-table-column prop="id" label="操作1" align="center">
|
|
69
|
+ <el-table-column prop="id" label="操作" align="center">
|
70
|
70
|
<template slot-scope="scope">
|
71
|
71
|
<!--无效的-->
|
72
|
72
|
<span v-if="scope.row.readStatus==='1'" style="color:#AAAAAA">
|
|
@@ -243,16 +243,16 @@ export default {
|
243
|
243
|
const ide= this.deleteIds
|
244
|
244
|
console.log('this.listQuery.id',ide)
|
245
|
245
|
if ( ide.length<=0) {
|
246
|
|
- this.$message.error('只能选择一行数据进行修改!')
|
|
246
|
+ this.$message.error('请您选择一条消息')
|
247
|
247
|
return
|
248
|
248
|
}
|
249
|
249
|
this.$store.dispatch('DelectRead', ide).then((res) => {
|
250
|
250
|
this.$message({
|
251
|
251
|
message: '成功',
|
252
|
252
|
type: 'success'
|
253
|
|
- });
|
254
|
|
- this.dataQuery()
|
255
|
|
- })
|
|
253
|
+ });
|
|
254
|
+ })
|
|
255
|
+ this.dataQuery()
|
256
|
256
|
},
|
257
|
257
|
//点击详情修改当前状态为已读
|
258
|
258
|
already(ide){
|