File tree Expand file tree Collapse file tree 1 file changed +7
-14
lines changed
litemall-admin/src/views/profile Expand file tree Collapse file tree 1 file changed +7
-14
lines changed Original file line number Diff line number Diff line change 44 <!-- 查询和其他操作 -->
55 <div class =" filter-container" >
66 <el-input v-model =" listQuery.title" clearable class =" filter-item" style =" width : 200px ;" placeholder =" 请输入标题关键字" />
7- <el-select v-model =" listQuery.type" class =" filter-item" placeholder =" 请选择通知类型" >
8- <el-option v-for =" item in options" :key =" item.value" :label =" item.label" :value =" item.value" />
9- </el-select >
107 <el-button class =" filter-item" type =" primary" icon =" el-icon-search" @click =" handleFilter" >查找</el-button >
118 </div >
129
1512 <el-button class =" filter-item" type =" danger" icon =" el-icon-delete" @click =" handleBatchDelete" >批量删除</el-button >
1613 </div >
1714
15+ <el-tabs v-model =" listQuery.type" @tab-click =" handleFilter" >
16+ <el-tab-pane label =" 未读通知" name =" unread" />
17+ <el-tab-pane label =" 已读通知" name =" read" />
18+ <el-tab-pane label =" 所有通知" name =" all" />
19+ </el-tabs >
20+
1821 <!-- 查询结果 -->
19- <el-table v-loading =" listLoading" :data =" list" element-loading-text =" 正在查询中。。。" border fit highlight-current-row @selection-change =" handleSelectionChange" >
22+ <el-table v-loading =" listLoading" :data =" list" element-loading-text =" 正在查询中。。。" fit highlight-current-row @selection-change =" handleSelectionChange" >
2023 <el-table-column type =" selection" width =" 55" />
2124
2225 <el-table-column align =" center" label =" 通知标题" prop =" noticeTitle" />
@@ -70,16 +73,6 @@ export default {
7073 sort: ' add_time' ,
7174 order: ' desc'
7275 },
73- options: [{
74- value: ' all' ,
75- label: ' 所有'
76- }, {
77- value: ' read' ,
78- label: ' 已读'
79- }, {
80- value: ' unread' ,
81- label: ' 未读'
82- }],
8376 multipleSelection: [],
8477 notice: {
8578 title: ' ' ,
You can’t perform that action at this time.
0 commit comments