| | |
| | | <!-- v-hasPermi="['project:medicalfund:export']" --> |
| | | <!-- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> --> |
| | | </el-row> |
| | | <el-table v-loading="loading" border :data="donateconsolationfundList"> |
| | | <el-table v-loading="loading" border :data="donateconsolationfundList" |
| | | :row-class-name="rowClassName" |
| | | > |
| | | <el-table-column |
| | | label="申请日期" |
| | | align="center" |
| | |
| | | v-if="scope.row.recordstatus == -1 || scope.row.recordstatus == 1" |
| | | size="mini" |
| | | type="text" |
| | | icon="el-icon-delete" |
| | | @click="handleDelete(scope.row)" |
| | | v-hasPermi="['project:medicalfund:delete']" |
| | | >删除</el-button |
| | | ><span class="button-delete" |
| | | ><i class="el-icon-delete"></i>删除</span |
| | | ></el-button |
| | | > |
| | | <el-button |
| | | size="mini" |
| | |
| | | type="text" |
| | | size="small" |
| | | > |
| | | 删除 |
| | | <span class="button-delete" |
| | | ><i class="el-icon-delete"></i>删除</span |
| | | > |
| | | </el-button> |
| | | <el-button |
| | | @click.native.prevent=" |
| | |
| | | a.download = item.name; |
| | | a.href = url; |
| | | a.dispatchEvent(event); |
| | | }, |
| | | rowClassName({ row, column, rowIndex, columnIndex }) { |
| | | //此判断为最后三行 |
| | | if (row.recordstatus == -1 && row.backflowlevel >= 0) { |
| | | return "error-row"; |
| | | } |
| | | } |
| | | }, |
| | | |
| | |
| | | </script> |
| | | <style scoped> |
| | | /* @import url(); 引入公共css类 */ |
| | | .button-delete{ |
| | | color: rgb(236, 69, 69); |
| | | } |
| | | ::v-deep.el-table .error-row { |
| | | background: #FCEBEB; |
| | | } |
| | | </style> |