|
@@ -51,10 +51,20 @@
|
|
<el-table-column width="100" label="ID">
|
|
<el-table-column width="100" label="ID">
|
|
<span slot-scope="scope">{{ scope.row.id }}</span>
|
|
<span slot-scope="scope">{{ scope.row.id }}</span>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="标题"
|
|
|
|
- ><span slot-scope="scope">
|
|
|
|
|
|
+ <el-table-column label="标题">
|
|
|
|
+ <span v-if="scope.row.hasRecalled == true" slot-scope="scope">
|
|
|
|
+ <img
|
|
|
|
+ :class="
|
|
|
|
+ scope.row.hasRead
|
|
|
|
+ ? 'mhome-message-read'
|
|
|
|
+ : 'mhome-message-unread'
|
|
|
|
+ "
|
|
|
|
+ />
|
|
|
|
+ <span class="mhome-message-title">{{ scope.row.title }}</span>
|
|
|
|
+ </span>
|
|
|
|
+ <span v-else slot-scope="scope">
|
|
<router-link
|
|
<router-link
|
|
- :disabled="scope.row.hasRecalled == true"
|
|
|
|
|
|
+ v-if="scope.row.hasRecalled == true"
|
|
:to="'/home/site-message/' + scope.row.id"
|
|
:to="'/home/site-message/' + scope.row.id"
|
|
style="display: flex"
|
|
style="display: flex"
|
|
>
|
|
>
|
|
@@ -67,8 +77,8 @@
|
|
/>
|
|
/>
|
|
<span class="mhome-message-title">{{ scope.row.title }}</span>
|
|
<span class="mhome-message-title">{{ scope.row.title }}</span>
|
|
</router-link>
|
|
</router-link>
|
|
- </span></el-table-column
|
|
|
|
- >
|
|
|
|
|
|
+ </span>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column width="180" prop="publishTime" label="发送时间">
|
|
<el-table-column width="180" prop="publishTime" label="发送时间">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|