| | |
| | | <template> |
| | | <div class="content-main"> |
| | | <div class="top-bar"> |
| | | <el-form ref="form" :inline="true" :model="searchData"> |
| | | <el-form ref="form" :inline="true" :model="searchData" style="margin-top: 10px;"> |
| | | <el-form-item label="标题:" class="sermargin"> |
| | | <el-input |
| | | size="small" |
| | | v-model="searchData.title" |
| | | class="input-form" |
| | | placeholder="请输入标题" |
| | |
| | | </el-form-item> |
| | | <el-form-item label="内容:" style="margin-right: 30px;"> |
| | | <el-input |
| | | size="small" |
| | | v-model="searchData.content" |
| | | class="input-form" |
| | | placeholder="请输入内容" |
| | |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button type="primary" @click="search">查询</el-button> |
| | | <el-button type="primary" plain @click="reset">重置</el-button> |
| | | <el-button size="small" type="primary" @click="search">查询</el-button> |
| | | <el-button size="small" type="primary" plain @click="reset">重置</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | <el-form> |
| | | <el-button class="deleteBtn" plain type="primary" @click="deleteMessage" >删除</el-button> |
| | | <el-button type="primary" @click="readMessage" style="width: 110px;" >标为已读</el-button> |
| | | <el-form style="margin-top: 10px;"> |
| | | <el-button size="small" class="deleteBtn" plain type="primary" @click="deleteMessage" >删除</el-button> |
| | | <el-button size="small" type="primary" @click="readMessage" style="width: 110px;" >标为已读</el-button> |
| | | </el-form> |
| | | </div> |
| | | <div class="library-table"> |
| | |
| | | <el-table |
| | | ref="toDoTable" |
| | | :max-height="800" |
| | | :cell-style="{textAlign: 'center'}" |
| | | :header-cell-style="{border:'0px',background:'#f5f7fa',color:'#606266',boxShadow: 'inset 0 1px 0 #ebeef5',textAlign: 'center'}" |
| | | :cell-style="{textAlign: 'left'}" |
| | | :header-cell-style="{border:'0px',background:'#f5f7fa',color:'#606266',boxShadow: 'inset 0 1px 0 #ebeef5',textAlign: 'left'}" |
| | | :data="toDoTable" |
| | | @selection-change="handleSelectionChange" |
| | | style="width: 100%" |