| | |
| | | <el-row :gutter="8"> |
| | | <el-col :span="6"> |
| | | <el-form-item label="捐献进度" prop="recordstate"> |
| | | <el-select v-model="queryParams.recordstate" placeholder="请选择捐献进度" clearable size="small"> |
| | | <el-option v-for="dict in dict.type.sys_DonationStatus" :key="dict.value" :label="dict.label" |
| | | <el-select v-model="queryParams.workflow" placeholder="请选择捐献进度" clearable size="small"> |
| | | <el-option v-for="dict in dict.type.sys_donornode" :key="dict.value" :label="dict.label" |
| | | :value="dict.value" /> |
| | | </el-select> |
| | | </el-form-item> |
| | |
| | | </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-column label="姓名" align="center" prop="name" /> |
| | | |
| | | <el-table-column label="性别" align="center" prop="sex"> |
| | | <el-table v-loading="loading" border :data="donationCaseTableData"> |
| | | <el-table-column label="案例时间" align="center" prop="donatetime" width="150"> |
| | | <template slot-scope="scope"> |
| | | <dict-tag :options="dict.type.sys_user_sex" :value="scope.row.sex" /> |
| | | <span>{{ parseTime(scope.row.donatetime, "{y}-{m}-{d}") }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="医疗机构" width="200px" align="center" prop="treatmenthospitalname" /> |
| | | <el-table-column label="姓名" align="center" prop="name" width="120" /> |
| | | <el-table-column label="性别" align="center" prop="sex" width="100"> |
| | | <template slot-scope="scope"> |
| | | <dict-tag :options="dict.type.sys_user_sex" :value="parseInt(scope.row.sex)" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="年龄" align="center" prop="age" width="100" /> |
| | | <el-table-column label="报告人" align="center" prop="reportername" width="120" /> |
| | | <el-table-column label="案例归属" align="center" width="200px" prop="deptname" /> |
| | | <el-table-column label="医疗机构" 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> |
| | | |
| | | <!-- 添加或修改器官分配对话框 --> |
| | |
| | | <org-selecter ref="tranHosSelect" :org-type="'4'" v-model="form.transplanthospitalno" style="width: 100%" /> |
| | | </el-form-item> </el-col></el-row><el-row> |
| | | <el-col :span="8"> |
| | | <el-form-item label="受体姓名" prop="name"> |
| | | <el-input v-model="form.name" placeholder="姓名" /> |
| | | <el-form-item label="受体姓氏" prop="name"> |
| | | <el-input v-model="form.name" placeholder="姓氏" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="8"> |
| | |
| | | "sys_user_sex", |
| | | "sys_IDType", |
| | | "sys_AgeUnit", |
| | | "sys_DonationStatus", |
| | | "sys_donornode", |
| | | ], |
| | | data() { |
| | | //这里存放数据 |
| | |
| | | // 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() { |