| | |
| | | icon="el-icon-plus" |
| | | size="mini" |
| | | @click="handleAdd" |
| | | v-hasPermi="['system:donateorganstatics:add']" |
| | | >新增</el-button |
| | | > |
| | | </el-col> |
| | |
| | | size="mini" |
| | | :disabled="single" |
| | | @click="handleUpdate" |
| | | v-hasPermi="['system:donateorganstatics:edit']" |
| | | >修改</el-button |
| | | > |
| | | </el-col> |
| | |
| | | size="mini" |
| | | :disabled="multiple" |
| | | @click="handleDelete" |
| | | v-hasPermi="['system:donateorganstatics:remove']" |
| | | >删除</el-button |
| | | > |
| | | </el-col> |
| | |
| | | size="mini" |
| | | :loading="exportLoading" |
| | | @click="handleExport" |
| | | v-hasPermi="['system:donateorganstatics:export']" |
| | | >导出</el-button |
| | | > |
| | | </el-col> |
| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="性别" align="center" prop="sex" /> |
| | | <el-table-column label="年龄" align="center" prop="age" /> |
| | | <el-table-column label="年龄" align="center" prop="age" width="100"> |
| | | <template slot-scope="scope"> |
| | | {{ |
| | | `${ |
| | | scope.row.age && scope.row.age !== 0 |
| | | ? `${scope.row.age}${scope.row.ageunit}` |
| | | : "" |
| | | } ${ |
| | | scope.row.age2 && scope.row.age2 !== 0 |
| | | ? `${scope.row.age2}${scope.row.ageunit2}` |
| | | : "" |
| | | }`.trim() |
| | | }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="捐献类别 根据字典sys_DonationCategory" |
| | | align="center" |
| | |
| | | type="text" |
| | | icon="el-icon-edit" |
| | | @click="handleUpdate(scope.row)" |
| | | v-hasPermi="['system:donateorganstatics:edit']" |
| | | >修改</el-button |
| | | > |
| | | <el-button |
| | |
| | | type="text" |
| | | icon="el-icon-delete" |
| | | @click="handleDelete(scope.row)" |
| | | v-hasPermi="['system:donateorganstatics:remove']" |
| | | >删除</el-button |
| | | > |
| | | </template> |