| | |
| | | align="center" |
| | | show-overflow-tooltip |
| | | /> |
| | | <el-table-column prop="name" label="受体姓氏" width="120" align="center" /> |
| | | <el-table-column prop="name" label="受体" width="120" align="center" /> |
| | | |
| | | <el-table-column label="器官状态" width="120" align="center"> |
| | | <template slot-scope="scope"> |
| | |
| | | /> |
| | | <el-table-column |
| | | label="操作" |
| | | width="160" |
| | | width="210" |
| | | align="center" |
| | | fixed="right" |
| | | > |
| | |
| | | @click="handleCharge(scope.row)" |
| | | v-hasPermi="['project:donorchargeorgan:edit']" |
| | | >已收费</el-button |
| | | > |
| | | <el-button |
| | | type="text" |
| | | icon="el-icon-delete" |
| | | @click="handleDelete(scope.row)" |
| | | v-hasPermi="['project:donorchargeorgan:edit']" |
| | | >删除</el-button |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | |
| | | v-model="editForm.caseno" |
| | | maxlength="50" |
| | | placeholder="请输入器官分配编号" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="受体" prop="name"> |
| | | <el-input |
| | | v-model="editForm.name" |
| | | maxlength="50" |
| | | placeholder="请输入受体" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="受体姓氏" prop="name"> |
| | | <el-form-item label="受体" prop="name"> |
| | | <el-input |
| | | v-model="addForm.name" |
| | | maxlength="50" |
| | | placeholder="请输入受体姓氏" |
| | | placeholder="请输入受体" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | listDonorchargeorgan, |
| | | addDonorchargeorgan, |
| | | updateDonorchargeorgan, |
| | | delDonorchargeorgan, |
| | | exportOrganfee |
| | | } from "@/api/project/donorcharge"; |
| | | import { listOrganization } from "@/api/project/organization"; |
| | |
| | | /** 新增器官费用的空表单 */ |
| | | function emptyAddForm() { |
| | | return { |
| | | infoid: null, |
| | | donorname: null, |
| | | hospitalno: null, |
| | | hospitalname: null, |
| | |
| | | hospitalname: null, |
| | | payOrganName: null, |
| | | caseno: null, |
| | | name: null, |
| | | organState: null, |
| | | organchargedesc: null |
| | | }, |
| | |
| | | }) |
| | | .catch(() => {}); |
| | | }, |
| | | /** 删除按钮操作 */ |
| | | handleDelete(row) { |
| | | this.$modal |
| | | .confirm('是否确认删除器官费用编号为"' + row.id + '"的数据项?') |
| | | .then(() => delDonorchargeorgan(row.id)) |
| | | .then(() => { |
| | | this.$modal.msgSuccess("删除成功"); |
| | | if (this.currentRow && this.currentRow.id === row.id) { |
| | | this.currentRow = null; |
| | | } |
| | | this.getList(); |
| | | }) |
| | | .catch(() => {}); |
| | | }, |
| | | /** 表格当前行变化 */ |
| | | handleCurrentChange(row) { |
| | | this.currentRow = row; |
| | |
| | | return; |
| | | } |
| | | this.addForm = { |
| | | infoid: |
| | | row.infoid === null || row.infoid === undefined ? null : row.infoid, |
| | | donorname: row.donorname || null, |
| | | hospitalno: |
| | | row.hospitalno === null || row.hospitalno === undefined |
| | |
| | | hospitalname: row.hospitalname || null, |
| | | payOrganName: row.payOrganName || "", |
| | | caseno: row.caseno || "", |
| | | name: row.name || "", |
| | | organState: |
| | | row.organState === null || row.organState === undefined |
| | | ? null |