| | |
| | | <!--表格渲染--> |
| | | <el-table ref="table" v-loading="crud.loading" :data="crud.data" size="small" style="width: 100%;" @selection-change="crud.selectionChangeHandler"> |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column :show-overflow-tooltip="true" prop="userNickName" label="所属用户" fixed="left" width="100"> |
| | | <el-table-column :show-overflow-tooltip="true" prop="userNickName" label="所属用户" fixed="left"> |
| | | <template slot-scope="scope"> |
| | | <el-tag>{{ scope.row.userNickName }}</el-tag> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column :show-overflow-tooltip="true" prop="levelName" label="所属级别" fixed="left" width="100"> |
| | | <el-table-column :show-overflow-tooltip="true" prop="levelName" label="所属级别" fixed="left"> |
| | | <template slot-scope="scope"> |
| | | <el-tag>{{ scope.row.levelName }}</el-tag> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column :show-overflow-tooltip="true" prop="startDate" label="开始日期" width="100"> |
| | | <el-table-column :show-overflow-tooltip="true" prop="startDate" label="开始日期"> |
| | | <template slot-scope="scope"> |
| | | {{ crud.toDate(scope.row.startDate) }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column :show-overflow-tooltip="true" prop="endDate" label="结束日期" width="100"> |
| | | <el-table-column :show-overflow-tooltip="true" prop="endDate" label="结束日期"> |
| | | <template slot-scope="scope"> |
| | | {{ crud.toDate(scope.row.endDate) }} |
| | | </template> |