| | |
| | | /> |
| | | <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> |
| | |
| | | listDonorchargeorgan, |
| | | addDonorchargeorgan, |
| | | updateDonorchargeorgan, |
| | | delDonorchargeorgan, |
| | | exportOrganfee |
| | | } from "@/api/project/donorcharge"; |
| | | import { listOrganization } from "@/api/project/organization"; |
| | |
| | | }) |
| | | .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; |