| | |
| | | </el-form> |
| | | |
| | | <el-row :gutter="20"> |
| | | <el-col :span="8"> |
| | | <el-col :span="24"> |
| | | <el-card shadow="never"> |
| | | <!-- 捐献案例列表 --> |
| | | <el-table v-loading="loading" border :data="donationCaseTableData" @row-click="selectDonotor"> |
| | | <el-table v-loading="loading" border :data="donationCaseTableData" > |
| | | <el-table-column label="姓名" align="center" prop="name" /> |
| | | |
| | | <el-table-column label="性别" align="center" prop="sex"> |
| | |
| | | <dict-tag :options="dict.type.sys_user_sex" :value="scope.row.sex" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="案例归属" align="center" prop="deptname" /> |
| | | |
| | | <el-table-column label="医疗机构" width="200px" align="center" prop="treatmenthospitalname" /> |
| | | <el-table-column |
| | | label="操作" |
| | | align="center" |
| | | class-name="small-padding fixed-width" |
| | | width="200" |
| | | fixed="right" |
| | | > |
| | | <template slot-scope="scope"> |
| | | |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | | icon="el-icon-edit" |
| | | @click="selectDonotor(scope.row)" |
| | | >捐献详情</el-button |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <!-- hide-on-single-page --> |
| | | <pagination v-show="total > 0" small layout="prev, pager, next" :total="total" :page.sync="queryParams.pageNum" |
| | | :limit.sync="queryParams.pageSize" @pagination="getBaseInfoList" /> |
| | | </el-card> |
| | | </el-col> |
| | | <el-col :span="16"> |
| | | <!-- <div class="grid-content bg-purple-dark" style="width:100%;height:800px;background-color:purple"> |
| | | </div> --> |
| | | <!-- <el-col :span="16"> |
| | | <el-card shadow="never"> |
| | | <el-form ref="infoForm" :model="organalForm" label-width="80px"> |
| | | <el-row> |
| | |
| | | </el-form-item> |
| | | </el-form> |
| | | </el-card> |
| | | </el-col> |
| | | </el-col> --> |
| | | </el-row> |
| | | |
| | | <!-- 添加或修改器官分配对话框 --> |
| | |
| | | // this.queryParams.residencetown = this.$refs.areaSelect.getQu(); |
| | | listDonatebaseinfo(this.queryParams).then((response) => { |
| | | this.donationCaseTableData = response.rows; |
| | | console.log(this.donationCaseTableData,"Donation"); |
| | | this.total = response.total; |
| | | this.loading = false; |
| | | }); |
| | |
| | | }, |
| | | //点击捐献案例列表触发方法 |
| | | selectDonotor(row, column, event) { |
| | | this.selectedRow = row; |
| | | this.curdonorno = row.donorno; |
| | | this.curdonorname = row.name; |
| | | this.curage = row.age; |
| | | this.curInfoid = row.id; |
| | | this.distributionForm.donorno = row.donorno; |
| | | this.GetDonortedList(); |
| | | this.$router.push({ |
| | | path: "/organ/donationdetails/", |
| | | query: { |
| | | id: row.id, |
| | | organType: "edit", |
| | | } |
| | | }); |
| | | // this.selectedRow = row; |
| | | // this.curdonorno = row.donorno; |
| | | // this.curdonorname = row.name; |
| | | // this.curage = row.age; |
| | | // this.curInfoid = row.id; |
| | | // this.distributionForm.donorno = row.donorno; |
| | | // this.GetDonortedList(); |
| | | }, |
| | | //获取病人已捐献的器官列表 |
| | | GetDonortedList() { |