| | |
| | | <!-- <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="组长" prop="zuzhang"> |
| | | <el-input |
| | | <el-input |
| | | v-model="queryParams.zuzhang" |
| | | /> |
| | | </el-form-item> |
| | |
| | | <el-table border v-loading="loading" :data="newdonateorganList" @selection-change="handleSelectionChange" |
| | | highlight-current-row style="width: 100%"> |
| | | <!-- <el-table-column type="selection" width="55" align="center" /> --> |
| | | <!-- <el-table-column |
| | | <!-- <el-table-column |
| | | label="捐献编号" |
| | | width="160" |
| | | align="center" |
| | |
| | | <template slot-scope="scope"> |
| | | <dict-tag :options="dict.type.sys_organstate" :value="scope.row.organstate" /> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table-column> |
| | | <el-table-column label="器官名称" align="center" prop="organname" width="100" /> |
| | | <el-table-column label="系统编号" align="center" prop="ageunit" width="100" /> |
| | | <el-table-column label="受体姓名" align="center" prop="name" width="100" /> |
| | | <el-table-column label="证件类型" align="center" prop="age" width="100" /> |
| | | <el-table-column label="证件号" align="center" prop="idcardno" width="100" /> |
| | | <el-table-column label="年龄" align="center" prop="age" width="100" /> |
| | | <el-table-column label="受体姓氏" align="center" prop="name" width="100" /> |
| | | <el-table-column label="证件类型" align="center" prop="age" width="100" /> |
| | | <el-table-column label="证件号" align="center" prop="idcardno" width="100" /> |
| | | <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.ageunit:''}` : "" |
| | | } ${ |
| | | scope.row.age2 && scope.row.age2 !== 0 |
| | | ? `${scope.row.age2}${scope.row.ageunit2}` |
| | | : "" |
| | | }`.trim() |
| | | }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="性别" align="center" prop="sex" width="100"> |
| | | <template slot-scope="scope"> |
| | | <dict-tag :options="dict.type.sys_user_sex" :value="scope.row.sex" /> |
| | |
| | | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleAdd(scope.row)" |
| | | v-hasPermi="['project:donateorgan:edit']">新增</el-button> |
| | | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleEdit(scope.row)" |
| | | v-hasPermi="['project:donateorgan:remove']">修改</el-button> |
| | | v-hasPermi="['project:donateorgan:remove']">修改</el-button> |
| | | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" |
| | | v-hasPermi="['project:donateorgan:remove']">删除</el-button> |
| | | v-hasPermi="['project:donateorgan:remove']">删除</el-button> |
| | | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleRedo(scope.row)" |
| | | v-hasPermi="['project:donateorgan:remove']">重新分配</el-button> |
| | | v-hasPermi="['project:donateorgan:remove']">重新分配</el-button> |
| | | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleSave(scope.row)" |
| | | v-hasPermi="['project:donateorgan:remove']">保存</el-button> |
| | | </template> |
| | |
| | | }); |
| | | }, |
| | | |
| | | |
| | | |
| | | /** 删除按钮操作 */ |
| | | handleDelete(row) { |
| | | const ids = row.id || this.ids; |