| | |
| | | placeholder="请选择证件类型" |
| | | > |
| | | <el-option |
| | | v-for="dict in dict.type.sys_IDType" |
| | | v-for="dict in dict.type.sys_IDType || []" |
| | | :key="dict.value" |
| | | :label="dict.label" |
| | | :value="parseInt(dict.value)" |
| | |
| | | <el-form-item label="性别" prop="sex"> |
| | | <el-select v-model="form.sex" placeholder="请输入性别"> |
| | | <el-option |
| | | v-for="dict in dict.type.sys_user_sex" |
| | | v-for="dict in dict.type.sys_user_sex || []" |
| | | :key="dict.label" |
| | | :label="dict.label" |
| | | :value="parseInt(dict.value)" |
| | |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="年龄" prop="age"> |
| | | <el-input v-model="form.age" placeholder="请输入年龄" /> |
| | | <el-input |
| | | disabled |
| | | v-model="form.andAge" |
| | | placeholder="请输入年龄" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <!-- <el-col :span="6"> |
| | | <el-form-item label="民族" prop="nation"> |
| | | <el-select v-model="form.nation" placeholder="请选择民族"> |
| | | <el-option |
| | | v-for="dict in dict.type.sys_nation" |
| | | v-for="dict in dict.type.sys_nation || []" |
| | | :key="dict.value" |
| | | :label="dict.label" |
| | | :value="dict.value" |
| | |
| | | <el-form-item label="籍贯" prop="nativeplace"> |
| | | <el-input v-model="form.nativeplace" placeholder="请输入国籍" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-col> --> |
| | | <el-col :span="6"> |
| | | <el-form-item label="国籍" prop="nationality"> |
| | | <el-input v-model="form.nationality" placeholder="请输入国籍" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <!-- <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="职业" prop="occupation"> |
| | | <el-select v-model="form.occupation" placeholder="请选择职业"> |
| | | <el-option |
| | | v-for="dict in dict.type.sys_occupation" |
| | | v-for="dict in dict.type.sys_occupation || []" |
| | | :key="dict.value" |
| | | :label="dict.label" |
| | | :value="dict.value" |
| | |
| | | <el-form-item label="学历" prop="education"> |
| | | <el-select v-model="form.education" placeholder="请选择学历"> |
| | | <el-option |
| | | v-for="dict in dict.type.sys_education" |
| | | v-for="dict in dict.type.sys_education || []" |
| | | :key="dict.value" |
| | | :label="dict.label" |
| | | :value="dict.value" |
| | |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> --> |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item |
| | | label="所在医疗机构" |
| | | prop="currentMedicalInstitution" |
| | | > |
| | | <el-input |
| | | v-model="form.currentMedicalInstitution" |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="10"> |
| | | <el-form-item |
| | | label-width="130px" |
| | | label="所在医疗机构科室" |
| | | prop="currentDept" |
| | | > |
| | | <el-input v-model="form.currentDept" placeholder="请输入" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="首次医疗机构" prop="firstMedicalInstitution"> |
| | | <el-input |
| | | v-model="form.firstMedicalInstitution" |
| | | placeholder="请输入" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="10"> |
| | | <el-form-item |
| | | label-width="130px" |
| | | label="首次医疗机构科室" |
| | | prop="firstDept" |
| | | > |
| | | <el-input v-model="form.firstDept" placeholder="请输入" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="住址" prop="residenceaddress"> |
| | | <el-form-item label="住址(与身份证一致)" prop="residenceaddress"> |
| | | <div> |
| | | <li_area_select |
| | | ref="residenceSelect" |
| | |
| | | <el-form-item align="left" label="血型" prop="bloodtype"> |
| | | <el-radio-group v-model="form.bloodtype"> |
| | | <el-radio |
| | | v-for="dict in dict.type.sys_BloodType" |
| | | v-for="dict in dict.type.sys_BloodType || []" |
| | | :key="dict.value" |
| | | :label="dict.value" |
| | | >{{ dict.label }}</el-radio |
| | |
| | | <el-form-item label="Rh(D)" align="left" prop="rhyin"> |
| | | <el-radio-group v-model="form.rhyin"> |
| | | <el-radio |
| | | v-for="dict in dict.type.sys_bloodtype_rhd" |
| | | v-for="dict in dict.type.sys_bloodtype_rhd || []" |
| | | :key="dict.value" |
| | | :label="dict.value" |
| | | >{{ dict.label }}</el-radio |
| | |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-form-item label="疾病类型" align="left"> |
| | | <el-form-item label="疾病类型" align="left" prop="diseasetype"> |
| | | <el-checkbox-group v-model="form.diseasetype"> |
| | | <el-checkbox |
| | | v-for="dict in dict.type.sys_DiseaseType" |
| | | v-for="dict in dict.type.sys_DiseaseType || []" |
| | | :key="dict.value" |
| | | :label="dict.value" |
| | | > |
| | |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item align="left" label="传染病"> |
| | | <el-form-item align="left" label="传染病" prop="infectious"> |
| | | <el-checkbox-group v-model="form.infectious"> |
| | | <el-checkbox |
| | | v-for="dict in dict.type.sys_Infectious" |
| | | v-for="dict in dict.type.sys_Infectious || []" |
| | | :key="dict.value" |
| | | :label="dict.value" |
| | | > |
| | |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="9"> |
| | | <el-form-item align="left" label="病人状况"> |
| | | <el-form-item align="left" label="病人状况" prop="patientstate"> |
| | | <el-checkbox-group v-model="form.patientstate"> |
| | | <el-checkbox |
| | | v-for="dict in dict.type.sys_patientstate" |
| | | v-for="dict in dict.type.sys_patientstate || []" |
| | | :key="dict.value" |
| | | :label="dict.value" |
| | | > |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="15" align="left"> |
| | | <el-form-item label="其他情况"> |
| | | <el-form-item label="其他情况" prop="othercases"> |
| | | <el-checkbox-group v-model="form.othercases"> |
| | | <el-checkbox |
| | | v-for="dict in dict.type.sys_OtherCases" |
| | | v-for="dict in dict.type.sys_OtherCases || []" |
| | | :key="dict.value" |
| | | :label="dict.value" |
| | | > |
| | |
| | | > |
| | | <el-checkbox-group v-model="form.kinship"> |
| | | <el-checkbox |
| | | v-for="dict in dict.type.sys_kinship" |
| | | v-for="dict in dict.type.sys_kinship || []" |
| | | :key="dict.value" |
| | | :label="dict.value" |
| | | > |
| | |
| | | <el-form-item align="left" label="本人意愿 "> |
| | | <el-checkbox-group v-model="form.selfwill"> |
| | | <el-checkbox |
| | | v-for="dict in dict.type.sys_SelfWill" |
| | | v-for="dict in dict.type.sys_SelfWill || []" |
| | | :key="dict.value" |
| | | :label="dict.value" |
| | | > |
| | |
| | | placeholder="请选择与捐赠者关系" |
| | | > |
| | | <el-option |
| | | v-for="dict in dict.type.sys_FamilyRelation" |
| | | v-for="dict in dict.type.sys_FamilyRelation || []" |
| | | :key="dict.value" |
| | | :label="dict.label" |
| | | :value="dict.value" |
| | |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item align="left" label="信息来源"> |
| | | <el-form-item align="left" label="信息来源" prop="infosources"> |
| | | <el-checkbox-group v-model="form.infosources"> |
| | | <el-checkbox |
| | | v-for="dict in dict.type.sys_InfoSources" |
| | | v-for="dict in dict.type.sys_InfoSources || []" |
| | | :key="dict.value" |
| | | :label="dict.value" |
| | | > |
| | |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="8"> |
| | | <!-- <el-col :span="8"> |
| | | <el-form-item label="信息员" prop="infoname"> |
| | | <el-input v-model="form.infoname" placeholder="请输入信息员" /> |
| | | </el-form-item> |
| | |
| | | placeholder="请输入信息员联系电话" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-col> --> |
| | | </el-row> |
| | | <el-row> |
| | | <!-- <el-row> |
| | | <el-col :span="8"> |
| | | <el-form-item align="left" label="红十字会" prop="redorganno"> |
| | | <org-selecter |
| | |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-row> --> |
| | | </el-form> |
| | | <div class="dialog-footer"> |
| | | <el-button |
| | |
| | | placeholder="请选择院级评估结论" |
| | | > |
| | | <el-option |
| | | v-for="dict in dict.type.sys_BaseAssessConclusion" |
| | | v-for="dict in dict.type.sys_BaseAssessConclusion || []" |
| | | :key="dict.value" |
| | | :label="dict.label" |
| | | :value="dict.value" |
| | |
| | | placeholder="请选择省级评估结论" |
| | | > |
| | | <el-option |
| | | v-for="dict in dict.type.sys_BaseAssessConclusion" |
| | | v-for="dict in dict.type.sys_BaseAssessConclusion || []" |
| | | :key="dict.value" |
| | | :label="dict.label" |
| | | :value="dict.value" |
| | |
| | | placeholder="请选择核心成员结论" |
| | | > |
| | | <el-option |
| | | v-for="dict in dict.type.sys_CoreAssessConclusion" |
| | | v-for="dict in dict.type.sys_CoreAssessConclusion || []" |
| | | :key="dict.value" |
| | | :label="dict.label" |
| | | :value="dict.value" |
| | |
| | | > |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="捐赠者民族" prop="nation"> |
| | | <el-select v-model="affirmform.nation" placeholder="请选择民族"> |
| | | <el-option |
| | | v-for="dict in dict.type.sys_nation || []" |
| | | :key="dict.value" |
| | | :label="dict.label" |
| | | :value="dict.value" |
| | | ></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="捐赠者学历" prop="education"> |
| | | <el-select |
| | | v-model="affirmform.education" |
| | | placeholder="请选择学历" |
| | | > |
| | | <el-option |
| | | v-for="dict in dict.type.sys_education || []" |
| | | :key="dict.value" |
| | | :label="dict.label" |
| | | :value="dict.value" |
| | | ></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="捐赠者职业" prop="occupation"> |
| | | <el-select |
| | | v-model="affirmform.occupation" |
| | | placeholder="请选择职业" |
| | | > |
| | | <el-option |
| | | v-for="dict in dict.type.sys_occupation || []" |
| | | :key="dict.value" |
| | | :label="dict.label" |
| | | :value="dict.value" |
| | | ></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="亲属姓名" prop="name"> |
| | | <el-input v-model="affirmform.name" placeholder="请输入姓名" /> |
| | | </el-form-item> |
| | |
| | | placeholder="请选择与捐赠者关系" |
| | | > |
| | | <el-option |
| | | v-for="dict in dict.type.sys_FamilyRelation" |
| | | v-for="dict in dict.type.sys_FamilyRelation || []" |
| | | :key="dict.value" |
| | | :label="dict.label" |
| | | :value="dict.value" |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="身份证号" prop="idcardno"> |
| | | <el-form-item label="亲属身份证" prop="idcardno"> |
| | | <el-input |
| | | ref="updateBSvalue" |
| | | class="sfzcode" |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="联系电话" prop="phone"> |
| | | <el-form-item label="亲属电话" prop="phone"> |
| | | <el-input |
| | | v-model="affirmform.phone" |
| | | placeholder="请输入联系电话" |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <!-- <el-col :span="12"> |
| | | <el-form-item label="亲属籍贯" prop="residenceaddresss"> |
| | | <div> |
| | | <li_area_select |
| | | v-model="defultAddresss" |
| | | ref="residenceaddresss" |
| | | ></li_area_select> |
| | | <!-- <div>{{defultAddress}}</div> --> |
| | | </div> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-col> --> |
| | | <el-col :span="12"> |
| | | <el-form-item label="现住地址" prop="residenceaddress"> |
| | | <el-input |
| | |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="签字亲属" prop="kinshipconfirmationsign"> |
| | | <el-form-item label="亲属关系" prop="kinshipconfirmationsign"> |
| | | <el-checkbox-group v-model="kinship"> |
| | | <el-checkbox |
| | | v-for="item in dict.type.sys_kinshipConfirm" |
| | | :label="item.value" |
| | | :value="item.value" |
| | | v-for="dict in dict.type.sys_kinshipConfirm || []" |
| | | :label="dict.value" |
| | | :value="dict.value" |
| | | > |
| | | {{ |
| | | item.label == "成年子女" |
| | | ? item.label + "(人)" |
| | | : item.label |
| | | dict.label == "成年子女" |
| | | ? dict.label + "(人)" |
| | | : dict.label |
| | | }} |
| | | </el-checkbox> |
| | | </el-checkbox-group> |
| | |
| | | >{{ item }} |
| | | </el-checkbox> |
| | | </el-checkbox-group> |
| | | <el-input |
| | | v-if="organdecision.includes('其他')" |
| | | v-model="affirmform.organdecisionOther" |
| | | placeholder="请输入其他捐献决定的具体内容" |
| | | style="margin-top: 10px; width: 300px;" |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-row> |
| | | <el-row> |
| | |
| | | size="small" |
| | | v-model="affirmform.signdate" |
| | | type="date" |
| | | value-format="yyyy-MM-dd hh:mm:ss" |
| | | value-format="yyyy-MM-dd" |
| | | placeholder="选择签字日期" |
| | | > |
| | | </el-date-picker> |
| | |
| | | <el-form-item label="审查结论"> |
| | | <el-radio-group v-model="ethicform.expertconclusion"> |
| | | <el-radio |
| | | v-for="dict in dict.type.sys_EthicalReview" |
| | | v-for="dict in dict.type.sys_EthicalReview || []" |
| | | :key="dict.value" |
| | | :label="parseInt(dict.value)" |
| | | >{{ dict.label }}</el-radio |
| | |
| | | <el-form-item label-width="100px" label="分配器官"> |
| | | <el-checkbox-group v-model="organList.organallocated"> |
| | | <el-checkbox |
| | | v-for="dict in dict.type.sys_Organ" |
| | | v-for="dict in dict.type.sys_Organ || []" |
| | | :key="dict.value" |
| | | :label="dict.value" |
| | | @change="changeorganState(dict.value)" |
| | |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | <!-- <el-table-column |
| | | label="器官编号" |
| | | align="center" |
| | | width="90" |
| | | prop="organno" |
| | | /> |
| | | /> --> |
| | | <el-table-column |
| | | label="分配系统编号" |
| | | align="center" |
| | |
| | | <el-table-column |
| | | label="移植医院" |
| | | align="center" |
| | | width="230" |
| | | width="280" |
| | | prop="transplanthospitalno" |
| | | > |
| | | <template slot-scope="scope"> |
| | |
| | | > |
| | | <el-radio-group v-model="witnessform.donationcategory"> |
| | | <el-radio |
| | | v-for="dict in dict.type.sys_DonationCategory" |
| | | v-for="dict in dict.type.sys_DonationCategory || []" |
| | | :key="dict.value" |
| | | :label="dict.value" |
| | | >{{ dict.label }}</el-radio |
| | |
| | | v-model="witnessform.operationendtime" |
| | | type="datetime" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | placeholder="选择手术结束时间" |
| | | > |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item |
| | | align="left" |
| | | label="协调员:进手术室时间" |
| | | label-width="160px" |
| | | prop="coordinatorInOperating" |
| | | > |
| | | <el-date-picker |
| | | clearable |
| | | v-model="witnessform.coordinatorInOperating" |
| | | type="datetime" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | placeholder="选择手术开始时间" |
| | | > |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item |
| | | align="left" |
| | | label="出手术室时间" |
| | | label-width="120px" |
| | | prop="coordinatorOutOperating" |
| | | > |
| | | <el-date-picker |
| | | clearable |
| | | v-model="witnessform.coordinatorOutOperating" |
| | | type="datetime" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | placeholder="选择手术结束时间" |
| | | > |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item |
| | | align="left" |
| | | label="签字日期" |
| | | label-width="120px" |
| | | prop="coordinatorSignTime" |
| | | > |
| | | <el-date-picker |
| | | clearable |
| | | v-model="witnessform.coordinatorSignTime" |
| | | type="datetime" |
| | | value-format="yyyy-MM-dd" |
| | | placeholder="选择手术结束时间" |
| | | > |
| | | </el-date-picker> |
| | |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item |
| | | label="主动脉:灌注时间" |
| | | label="主动脉:插管时间" |
| | | align="left" |
| | | label-width="140px" |
| | | prop="aortacannulatime" |
| | |
| | | v-model="witnessform.aortacannulatime" |
| | | type="datetime" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | placeholder="选择主动脉灌注时间" |
| | | placeholder="选择主动脉插管时间" |
| | | > |
| | | </el-date-picker> |
| | | </el-form-item> |
| | |
| | | <el-row> |
| | | <el-col> |
| | | <el-form-item> |
| | | <el-table v-loading="loading" border :data="procureddata"> |
| | | <el-table |
| | | v-loading="loading" |
| | | border |
| | | :key="tableKey" |
| | | :data="procureddata" |
| | | > |
| | | <el-table-column |
| | | label="器官名称" |
| | | align="center" |
| | |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | <!-- <el-table-column |
| | | label="器官编号" |
| | | align="center" |
| | | width="90" |
| | | prop="organno" |
| | | /> |
| | | /> --> |
| | | <!-- <el-table-column |
| | | label="系统编号" |
| | | align="center" |
| | |
| | | </template> |
| | | </el-table-column> --> |
| | | <el-table-column |
| | | label="器官离体时间" |
| | | label="获取开始时间" |
| | | align="center" |
| | | width="200" |
| | | prop="organgettime" |
| | |
| | | v-model="scope.row.organgettime" |
| | | type="datetime" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | placeholder="请输入器官离体时间" |
| | | placeholder="请输入获取开始时间" |
| | | > |
| | | </el-date-picker> |
| | | </template> |
| | |
| | | <el-table-column |
| | | label="获取医院" |
| | | align="center" |
| | | width="230" |
| | | width="280" |
| | | prop="gainhospitalno" |
| | | > |
| | | <template slot-scope="scope"> |
| | |
| | | <el-form-item align="left" label="默哀缅怀仪式"> |
| | | <el-radio-group v-model="witnessform.isspendremember"> |
| | | <el-radio |
| | | v-for="dict in dict.type.sys_0_1" |
| | | v-for="dict in dict.type.sys_0_1 || []" |
| | | :key="dict.value" |
| | | :label="parseInt(dict.value)" |
| | | >{{ dict.label }}</el-radio |
| | |
| | | <el-form-item align="left" label="恢复遗体仪容"> |
| | | <el-radio-group v-model="witnessform.isrestoreremains"> |
| | | <el-radio |
| | | v-for="dict in dict.type.sys_0_1" |
| | | v-for="dict in dict.type.sys_0_1 || []" |
| | | :key="dict.value" |
| | | :label="parseInt(dict.value)" |
| | | >{{ dict.label }}</el-radio |
| | |
| | | <el-form-item label-width="100px" label="移植器官"> |
| | | <el-checkbox-group v-model="organList.organtransplant"> |
| | | <el-checkbox |
| | | v-for="dict in dict.type.sys_Organ" |
| | | v-for="dict in dict.type.sys_Organ || []" |
| | | :key="dict.value" |
| | | :label="dict.value" |
| | | @change="changeorgantransplant(dict.value)" |
| | |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | <!-- <el-table-column |
| | | label="器官编号" |
| | | align="center" |
| | | width="90" |
| | | prop="organno" |
| | | /> |
| | | /> --> |
| | | <el-table-column |
| | | label="系统编号" |
| | | align="center" |
| | |
| | | <el-table-column |
| | | label="移植医院" |
| | | align="center" |
| | | width="220" |
| | | width="280" |
| | | prop="hospitalno" |
| | | |
| | | > |
| | | <template slot-scope="scope"> |
| | | <org-selecter |
| | |
| | | <el-form-item align="left" label="遗体捐献" prop="isbodydonation"> |
| | | <el-radio-group v-model="accomplishform.isbodydonation"> |
| | | <el-radio |
| | | v-for="dict in dict.type.sys_0_1" |
| | | v-for="dict in dict.type.sys_0_1 || []" |
| | | :key="dict.value" |
| | | :label="dict.value" |
| | | >{{ dict.label }}</el-radio |
| | |
| | | @tab-click="selecttab" |
| | | > |
| | | <el-tab-pane |
| | | v-for="dict in dict.type.materials_DBD" |
| | | v-for="dict in dict.type.materials_DBD || []" |
| | | :label="dict.label" |
| | | :name="dict.value" |
| | | ></el-tab-pane> |
| | |
| | | AnnexUpload, |
| | | ReportName |
| | | }, |
| | | |
| | | dicts: [ |
| | | "sys_nation", |
| | | "sys_occupation", |
| | | "sys_education", |
| | | "sys_Organ", |
| | | "sys_user_sex", |
| | | "sys_IDType", |
| | | "sys_BloodType", |
| | | "sys_0_1", |
| | | "sys_patientstate", |
| | | "sys_DonationCategory", |
| | | "sys_kinship", |
| | | "sys_Infectious", |
| | | "sys_bloodtype_rhd", |
| | | "sys_InfoSources", |
| | | "sys_OtherCases", |
| | | "sys_DiseaseType", |
| | | "sys_SelfWill", |
| | | "sys_FamilyRelation", |
| | | "sys_OrganDecision", |
| | | "sys_CoreAssessConclusion", |
| | | "sys_BaseAssessConclusion", |
| | | "sys_EthicalReview", |
| | | "materials_DBD", |
| | | "sys_kinshipConfirm" |
| | | ], |
| | | data() { |
| | | return { |
| | | infoid: 736, |
| | | drawer: false, |
| | | form: {}, |
| | | form: { |
| | | donorno: "", |
| | | reporterno: "", |
| | | reporterphone: "", |
| | | name: "", |
| | | idcardtype: "", |
| | | idcardno: "", |
| | | birthday: "", |
| | | sex: "", |
| | | age: "", |
| | | treatmenthospitalno: "", |
| | | treatmentdeptname: "", |
| | | inpatientno: "", |
| | | diagnosisname: "", |
| | | nation: "", |
| | | nativeplace: "", |
| | | nationality: "", |
| | | occupation: "", |
| | | education: "", |
| | | residenceaddress: "", |
| | | registeraddress: "", |
| | | bloodtype: "", |
| | | rhyin: "", |
| | | diseasetype: [], |
| | | diseasetypeOther: "", |
| | | infectious: [], |
| | | infectiousOther: "", |
| | | patientstate: [], |
| | | othercases: [], |
| | | kinship: [], |
| | | kinshipOther: "", |
| | | selfwill: [], |
| | | majorrelatives: "", |
| | | familyrelations: "", |
| | | infosources: [], |
| | | infosourcesOther: "", |
| | | acquisitiontissueno: "", |
| | | infoname: "", |
| | | infophone: "", |
| | | redorganno: "", |
| | | contactperson: "", |
| | | contacttime: "", |
| | | reporttime: "" |
| | | }, |
| | | organOrder: [ |
| | | "肝脏", |
| | | "左肾", |
| | | "右肾", |
| | | "心脏", |
| | | "左肺", |
| | | "右肺", |
| | | "胰腺", |
| | | "小肠", |
| | | "左眼角膜", |
| | | "右眼角膜" |
| | | ], // 指定的器官顺序 |
| | | isSorting: false, // 标志位,表示是否正在排序 |
| | | tableKey: 0, |
| | | istb: false, |
| | | activeName: "", |
| | | tableDatafile: [ |
| | |
| | | kinship: [] |
| | | }, |
| | | organdecision: [], |
| | | organdecisionOther: "", // 其他选项的具体描述 |
| | | kinship: [], |
| | | ethicform: { |
| | | infoid: null |
| | | }, |
| | | |
| | | kinshiplist: ["配偶", "父亲", "母亲", "子女", "受托人"], |
| | | organselection: [ |
| | | "肝脏", |
| | | "双肾脏", |
| | | "左肾", |
| | | "右肾", |
| | | "心脏", |
| | | "肺脏", |
| | | "胰腺", |
| | |
| | | name: [ |
| | | { required: true, message: "请输入捐献者姓名", trigger: "blur" } |
| | | ], |
| | | nationality: [ |
| | | { required: true, message: "请输入国籍", trigger: "blur" } |
| | | ], |
| | | currentMedicalInstitution: [ |
| | | { required: true, message: "请输入所在医疗机构", trigger: "blur" } |
| | | ], |
| | | currentDept: [ |
| | | { required: true, message: "所在医疗机构科室", trigger: "blur" } |
| | | ], |
| | | firstMedicalInstitution: [ |
| | | { required: true, message: "请输入首次医疗机构", trigger: "blur" } |
| | | ], |
| | | firstDept: [ |
| | | { required: true, message: "请输入首次医疗机构科室", trigger: "blur" } |
| | | ], |
| | | birthday: [ |
| | | { required: true, message: "请选择出生日期", trigger: "blur" } |
| | | ], |
| | |
| | | residenceaddress: [ |
| | | { required: true, message: "请输入住址", trigger: "blur" } |
| | | ], |
| | | contacttime: [ |
| | | { |
| | | required: true, |
| | | message: "请输入红十字会联系时间", |
| | | trigger: "blur" |
| | | } |
| | | registerAddresss: [ |
| | | { required: true, message: "请输入现居住地址", trigger: "blur" } |
| | | ], |
| | | diseasetype: [ |
| | | { required: true, message: "请选择疾病类型", trigger: "blur" } |
| | | ], |
| | | infectious: [ |
| | | { required: true, message: "请选择传染病类型", trigger: "blur" } |
| | | ], |
| | | patientstate: [ |
| | | { required: true, message: "请选择病人状况", trigger: "blur" } |
| | | ], |
| | | kinship: [ |
| | | { required: true, message: "请选择亲属情况", trigger: "blur" } |
| | | ], |
| | | majorrelatives: [ |
| | | { required: true, message: "请输入主要亲属", trigger: "blur" } |
| | | ], |
| | | familyrelations: [ |
| | | { required: true, message: "请选择亲属与捐献者关系", trigger: "blur" } |
| | | ], |
| | | infosources: [ |
| | | { required: true, message: "请选择信息来源", trigger: "blur" } |
| | | ], |
| | | idcardno: [ |
| | | { required: true, message: "请正确输入证件号码", trigger: "blur" } |
| | |
| | | infophone: [ |
| | | { required: true, message: "请输入信息员联系电话", trigger: "blur" } |
| | | ], |
| | | redorganno: [ |
| | | { required: true, message: "请选择红十字会机构", trigger: "blur" } |
| | | ], |
| | | contactperson: [ |
| | | { |
| | | required: true, |
| | | message: "红十字会联系人不能为空", |
| | | trigger: "blur" |
| | | } |
| | | ], |
| | | acquisitiontissueno: [ |
| | | { required: true, message: "器官获取组织不能为空", trigger: "blur" } |
| | | ], |
| | |
| | | { required: true, message: "亲属姓名不能为空", trigger: "blur" } |
| | | ], |
| | | phone: [ |
| | | { required: true, message: "家属联系电话不为空", trigger: "blur" } |
| | | ], |
| | | nation: [ |
| | | { required: true, message: "亲属姓名不能为空", trigger: "blur" } |
| | | ], |
| | | education: [ |
| | | { required: true, message: "家属联系电话不为空", trigger: "blur" } |
| | | ], |
| | | occupation: [ |
| | | { required: true, message: "家属联系电话不为空", trigger: "blur" } |
| | | ], |
| | | signfamilyrelations: [ |
| | |
| | | }, |
| | | |
| | | created() { |
| | | console.log("加载的字典数据:", this.dict.type); |
| | | this.Getnetworkheader(); |
| | | this.getdataList(); |
| | | this.infoid = this.$route.query.id; |
| | |
| | | mounted() { |
| | | // this.id = this.$route.query.id; |
| | | this.Getbasicinformation(); |
| | | |
| | | this.listDonateannex(); |
| | | //获取报告人列表:专职人员 |
| | | listReportname("zzry").then(res => { |
| | |
| | | listReportname("fzr").then(res => { |
| | | this.leaderlist = res.data; |
| | | }); |
| | | // this.customOrganSort(); |
| | | }, |
| | | watch: { |
| | | // 监听 procureddata 的变化,数据更新后重新排序 |
| | | procureddata: { |
| | | handler(newVal) { |
| | | if (this.isSorting) { |
| | | return; |
| | | } |
| | | this.customOrganSort(); |
| | | }, |
| | | deep: true // 深度监听,因为数组内容可能变化 |
| | | }, |
| | | allocateddata: { |
| | | handler(newVal) { |
| | | if (this.isSorting) { |
| | | return; |
| | | } |
| | | this.allocateddataSort(); |
| | | }, |
| | | deep: true // 深度监听,因为数组内容可能变化 |
| | | } |
| | | }, |
| | | |
| | | methods: { |
| | |
| | | } |
| | | }); |
| | | |
| | | |
| | | // 表单数据 |
| | | getDonatebaseinfo(this.infoid).then(response => { |
| | | this.form = response.data; |
| | | this.form.andAge = `${ |
| | | this.form.age && this.form.age !== 0 |
| | | ? `${this.form.age}${this.form.ageunit}` |
| | | : "" |
| | | } ${ |
| | | this.form.age2 && this.form.age2 !== 0 |
| | | ? `${this.form.age2}${this.form.ageunit2}` |
| | | : "" |
| | | }`.trim(); |
| | | |
| | | if (response.data.terminationCase) { |
| | | this.showTerminationBtn = response.data.terminationCase; |
| | | } else { |
| | | this.showTerminationBtn = 0; |
| | | } |
| | | |
| | | |
| | | this.actives = response.data.workflow; |
| | | this.workflow = response.data.workflow; |
| | | response.data.sex = parseInt(response.data.sex); |
| | | this.form.id = response.data.id; |
| | | |
| | | |
| | | this.form.diseasetype = this.form.diseasetype.split(","); |
| | | this.form.infectious = this.form.infectious.split(","); |
| | |
| | | this.form.infosources = this.form.infosources.split(","); |
| | | this.form.kinship = this.form.kinship.split(","); |
| | | this.form.patientstate = this.form.patientstate.split(","); |
| | | |
| | | |
| | | this.open = true; |
| | | this.title = "人体器官潜在捐献者登记表"; |
| | |
| | | this.residenceAddresss.qu = response.data.residencetownname; |
| | | this.registerAddresss.qu = response.data.registertownname; |
| | | |
| | | |
| | | // 获取二级表 |
| | | this.GetAttacheddata(); |
| | | }); |
| | |
| | | let searchParam = { |
| | | infoid: this.infoid |
| | | }; |
| | | console.log(this.procureddata, "procureddata"); |
| | | if (this.actives == 1) { |
| | | this.activetele = "医学评估"; |
| | | |
| | |
| | | if (this.transplantdata[0] && !this.istb) { |
| | | return; |
| | | } |
| | | console.log("完成登记"); |
| | | console.log("完成登记加载数据..."); |
| | | |
| | | listDonatecomporgan(searchParam).then(res => { |
| | | if (res.code == 200) { |
| | | console.log("listDonatecomporgan 数据:", res.rows); |
| | | |
| | | if (res.rows[0]) { |
| | | this.transplantdata = res.rows; |
| | | // this.transplantdata.infoid = this.infoid; |
| | |
| | | // 获取完成登记信息 |
| | | listDonatecompletioninfo(searchParam).then(response => { |
| | | if (response.code == 200 && response.rows.length) { |
| | | console.log("listDonatecompletioninfo 数据:", response.rows[0]); |
| | | |
| | | this.accomplishform = response.rows[0]; |
| | | this.accomplishform.infoid = this.infoid; |
| | | } else { |
| | |
| | | if (!this.allocateddata[0]) { |
| | | listDonateorgan(searchParam).then(res => { |
| | | if (res.code == 200) { |
| | | console.log("listDonateorgan 数据:", res.rows); |
| | | if (res.rows[0]) { |
| | | this.allocateddata = res.rows; |
| | | console.log("this.allocateddata", this.allocateddata); |
| | | this.allocateddataform.allocateddata = this.allocateddata; |
| | | } |
| | | this.organList.organallocated = []; |
| | |
| | | } else if (this.actives == 2) { |
| | | this.affirmform.infoid = this.infoid; |
| | | this.affirmform.organdecision = this.organdecision.join(","); |
| | | if (!this.organdecision.includes("其他")) { |
| | | this.affirmform.organdecisionOther = ""; |
| | | } |
| | | this.affirmform.kinship = this.kinship.join(","); |
| | | this.$refs["affirmform"].validate(valid => { |
| | | if (valid) { |
| | |
| | | } |
| | | }); |
| | | } |
| | | }, |
| | | |
| | | customOrganSort() { |
| | | console.log("调用"); |
| | | |
| | | // 1. 加锁,阻止监听器执行 |
| | | this.isSorting = true; |
| | | // 自定义排序函数 |
| | | this.procureddata.sort((a, b) => { |
| | | const indexA = this.organOrder.indexOf(a.organname); |
| | | const indexB = this.organOrder.indexOf(b.organname); |
| | | |
| | | // 如果两个都在列表中,按列表中的顺序排序 |
| | | if (indexA !== -1 && indexB !== -1) { |
| | | return indexA - indexB; |
| | | } |
| | | // 如果 a 在列表中,b 不在,a 排前面 |
| | | if (indexA !== -1) { |
| | | return -1; |
| | | } |
| | | // 如果 b 在列表中,a 不在,b 排前面 |
| | | if (indexB !== -1) { |
| | | return 1; |
| | | } |
| | | // 两个都不在列表中,保持原顺序(或按其他规则,比如按字母排序,这里按原始顺序) |
| | | return 0; |
| | | }); |
| | | console.log(this.procureddata, "顺序"); |
| | | this.tableKey += 1; // 改变 key 迫使表格重新渲染 |
| | | // 你可以使用 this.$forceUpdate() 或者重新赋值数组来触发更新 |
| | | this.procureddata = [...this.procureddata]; |
| | | this.$nextTick(() => { |
| | | this.isSorting = false; |
| | | }); |
| | | }, |
| | | allocateddataSort() { |
| | | console.log("调用"); |
| | | |
| | | // 1. 加锁,阻止监听器执行 |
| | | this.isSorting = true; |
| | | // 自定义排序函数 |
| | | this.allocateddata.sort((a, b) => { |
| | | const indexA = this.organOrder.indexOf(a.organname); |
| | | const indexB = this.organOrder.indexOf(b.organname); |
| | | |
| | | // 如果两个都在列表中,按列表中的顺序排序 |
| | | if (indexA !== -1 && indexB !== -1) { |
| | | return indexA - indexB; |
| | | } |
| | | // 如果 a 在列表中,b 不在,a 排前面 |
| | | if (indexA !== -1) { |
| | | return -1; |
| | | } |
| | | // 如果 b 在列表中,a 不在,b 排前面 |
| | | if (indexB !== -1) { |
| | | return 1; |
| | | } |
| | | // 两个都不在列表中,保持原顺序(或按其他规则,比如按字母排序,这里按原始顺序) |
| | | return 0; |
| | | }); |
| | | console.log(this.allocateddata, "顺序"); |
| | | this.tableKey += 1; // 改变 key 迫使表格重新渲染 |
| | | // 你可以使用 this.$forceUpdate() 或者重新赋值数组来触发更新 |
| | | this.allocateddata = [...this.allocateddata]; |
| | | this.$nextTick(() => { |
| | | this.isSorting = false; |
| | | }); |
| | | }, |
| | | // 切换tab |
| | | on_click(e) { |
| | |
| | | // 获取附件数据并分类二级列 |
| | | listDonateannex() { |
| | | let parmi = {}; |
| | | console.log(222); |
| | | |
| | | parmi.infoid = this.infoid.toString(); |
| | | listDonateannex(parmi).then(res => { |
| | | console.log(333); |
| | | this.donatelist = res.rows; |
| | | }); |
| | | }, |
| | |
| | | row.caseno = null; |
| | | row.applicanttime = null; |
| | | } |
| | | }, |
| | | |
| | | dicts: [ |
| | | "sys_nation", |
| | | "sys_occupation", |
| | | "sys_education", |
| | | "sys_Organ", |
| | | "sys_user_sex", |
| | | "sys_IDType", |
| | | "sys_BloodType", |
| | | "sys_0_1", |
| | | "sys_patientstate", |
| | | "sys_DonationCategory", |
| | | "sys_kinship", |
| | | "sys_Infectious", |
| | | "sys_bloodtype_rhd", |
| | | "sys_InfoSources", |
| | | "sys_OtherCases", |
| | | "sys_DiseaseType", |
| | | "sys_SelfWill", |
| | | "sys_FamilyRelation", |
| | | "sys_OrganDecision", |
| | | "sys_CoreAssessConclusion", |
| | | "sys_BaseAssessConclusion", |
| | | "sys_EthicalReview", |
| | | "materials_DBD", |
| | | "sys_kinshipConfirm" |
| | | ] |
| | | } |
| | | }; |
| | | </script> |
| | | |