| | |
| | | :limit.sync="queryParams.pageSize" |
| | | @pagination="getList" |
| | | /> |
| | | <!-- 添加或修改捐献基础对话框 --> |
| | | <el-dialog |
| | | :title="title" |
| | | align="center" |
| | | :visible.sync="open" |
| | | :close-on-click-modal="false" |
| | | width="1100px" |
| | | > |
| | | <el-form |
| | | ref="form" |
| | | :model="form" |
| | | :rules="rules" |
| | | label-width="130px" |
| | | label-position="right" |
| | | > |
| | | <div |
| | | style=" |
| | | border-bottom: 1px solid #ddd; |
| | | border-top: 1px solid #ddd; |
| | | padding-right: 60px; |
| | | " |
| | | > |
| | | <el-row style="margin-top: 40px"> |
| | | <el-col :span="8"> |
| | | <el-form-item label="捐献编号" prop="donorno"> |
| | | <el-input v-model="form.donorno" disabled /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="8"> |
| | | <el-form-item |
| | | align="left" |
| | | label="医疗机构" |
| | | prop="treatmenthospitalno" |
| | | > |
| | | <org-selecter |
| | | ref="addOrgSelect" |
| | | :org-type="'3'" |
| | | v-model="form.treatmenthospitalno" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="8"> |
| | | <el-form-item label="科室" prop="treatmentdeptno"> |
| | | <el-input |
| | | v-model="form.treatmentdeptname" |
| | | placeholder="请输入科室" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item align="left" label="姓名" prop="name"> |
| | | <el-input v-model="form.name" placeholder="必填项" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <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" |
| | | :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="nativeplace"> |
| | | <el-input v-model="form.nativeplace" placeholder="请输入国籍" /> |
| | | </el-form-item> |
| | | </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-col :span="6"> |
| | | <el-form-item label="证件类型" prop="idcardtype"> |
| | | <el-select |
| | | v-model="form.idcardtype" |
| | | placeholder="请选择证件类型" |
| | | > |
| | | <el-option |
| | | v-for="dict in dict.type.sys_IDType" |
| | | :key="dict.value" |
| | | :label="dict.label" |
| | | :value="parseInt(dict.value)" |
| | | ></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="证件号码" prop="idcardno"> |
| | | <el-input |
| | | style="width: 174px" |
| | | ref="updateBSvalue" |
| | | class="sfzcode" |
| | | v-model="form.idcardno" |
| | | placeholder="请输入证件号码" |
| | | @blur="updateMessage" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="性别" prop="sex"> |
| | | <el-select v-model="form.sex" placeholder="请输入性别"> |
| | | <el-option |
| | | v-for="dict in dict.type.sys_user_sex" |
| | | :key="dict.label" |
| | | :label="dict.label" |
| | | :value="parseInt(dict.value)" |
| | | ></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="年龄" prop="age"> |
| | | <el-input v-model="form.age" placeholder="请输入年龄" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="出生日期" prop="birthday"> |
| | | <el-date-picker |
| | | clearable |
| | | size="small" |
| | | v-model="form.birthday" |
| | | type="date" |
| | | style="width: 174px" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | placeholder="选择出生日期" |
| | | > |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | </el-col> |
| | | <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" |
| | | :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="form.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-row> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="住址" prop="residenceaddress"> |
| | | <div> |
| | | <li_area_select |
| | | ref="residenceSelect" |
| | | v-model="residenceAddresss" |
| | | ></li_area_select> |
| | | <!-- <div>{{defultAddress}}</div> --> |
| | | </div> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="11" :push="1"> |
| | | <el-input |
| | | v-model="form.residenceaddress" |
| | | placeholder="请输入内容" |
| | | /> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="现所在地" prop="registeraddress"> |
| | | <div> |
| | | <li_area_select |
| | | ref="registerSelect" |
| | | v-model="registerAddresss" |
| | | ></li_area_select> |
| | | <!-- <div>{{defultAddress}}</div> --> |
| | | </div> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="11" :push="1"> |
| | | <el-input |
| | | v-model="form.registeraddress" |
| | | placeholder="请输入内容" |
| | | /> |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | | |
| | | <div |
| | | style=" |
| | | border-bottom: 1px solid #ddd; |
| | | margin-top: 20px; |
| | | padding-right: 60px; |
| | | " |
| | | > |
| | | <el-row> |
| | | <el-col :span="8"> |
| | | <el-form-item label="住院号" prop="inpatientno"> |
| | | <el-input v-model="form.inpatientno" placeholder="住院号" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="16"> |
| | | <el-form-item label="疾病诊断" prop="diagnosisname"> |
| | | <el-input |
| | | v-model="form.diagnosisname" |
| | | placeholder="请输入疾病诊断名称" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <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" |
| | | :key="dict.value" |
| | | :label="dict.value" |
| | | >{{ dict.label }}</el-radio |
| | | > |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12" :pull="1"> |
| | | <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" |
| | | :key="dict.value" |
| | | :label="dict.value" |
| | | >{{ dict.label }}</el-radio |
| | | > |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-form-item label="疾病类型" align="left"> |
| | | <el-checkbox-group v-model="form.diseasetype"> |
| | | <el-checkbox |
| | | v-for="dict in dict.type.sys_DiseaseType" |
| | | :key="dict.value" |
| | | :label="dict.value" |
| | | > |
| | | {{ dict.label }} |
| | | </el-checkbox> |
| | | </el-checkbox-group> |
| | | </el-form-item> |
| | | <el-form-item label="其他" prop="diseasetypeOther"> |
| | | <el-input |
| | | v-model="form.diseasetypeOther" |
| | | placeholder="请输入其他" |
| | | /> |
| | | </el-form-item> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item align="left" label="传染病"> |
| | | <el-checkbox-group v-model="form.infectious"> |
| | | <el-checkbox |
| | | v-for="dict in dict.type.sys_Infectious" |
| | | :key="dict.value" |
| | | :label="dict.value" |
| | | > |
| | | {{ dict.label }} |
| | | </el-checkbox> |
| | | </el-checkbox-group> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item align="left" label="其他" prop="infectiousOther"> |
| | | <el-input |
| | | v-model="form.infectiousOther" |
| | | placeholder="请输入其他" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="9"> |
| | | <el-form-item align="left" label="病人状况"> |
| | | <el-checkbox-group v-model="form.patientstate"> |
| | | <el-checkbox |
| | | v-for="dict in dict.type.sys_patientstate" |
| | | :key="dict.value" |
| | | :label="dict.value" |
| | | > |
| | | {{ dict.label }} |
| | | </el-checkbox> |
| | | </el-checkbox-group> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="15" align="left"> |
| | | <el-form-item label="其他情况"> |
| | | <el-checkbox-group v-model="form.othercases"> |
| | | <el-checkbox |
| | | v-for="dict in dict.type.sys_OtherCases" |
| | | :key="dict.value" |
| | | :label="dict.value" |
| | | > |
| | | {{ dict.label }} |
| | | </el-checkbox> |
| | | </el-checkbox-group> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | | |
| | | <div |
| | | style=" |
| | | border-bottom: 1px solid #ddd; |
| | | padding-right: 60px; |
| | | margin-top: 20px; |
| | | " |
| | | > |
| | | <el-row> |
| | | <div display="flex"> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item |
| | | label="亲属状况" |
| | | prop="kinship" |
| | | class="relation" |
| | | align="left" |
| | | > |
| | | <el-checkbox-group v-model="form.kinship"> |
| | | <el-checkbox |
| | | v-for="dict in dict.type.sys_Kinship" |
| | | :key="dict.value" |
| | | :label="dict.value" |
| | | > |
| | | {{ dict.label }} |
| | | </el-checkbox> |
| | | </el-checkbox-group> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="其他" prop="kinshipOther"> |
| | | <el-input |
| | | v-model="form.kinshipOther" |
| | | placeholder="请输入其他" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-form-item align="left" label="本人意愿 "> |
| | | <el-checkbox-group v-model="form.selfwill"> |
| | | <el-checkbox |
| | | v-for="dict in dict.type.sys_SelfWill" |
| | | :key="dict.value" |
| | | :label="dict.value" |
| | | > |
| | | {{ dict.label }} |
| | | </el-checkbox> |
| | | </el-checkbox-group> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="主要亲属" prop="majorrelatives"> |
| | | <el-input |
| | | v-model="form.majorrelatives" |
| | | placeholder="请输入主要亲属" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="8"> |
| | | <el-form-item label="与捐赠者关系" prop="familyrelations"> |
| | | <el-select |
| | | v-model="form.familyrelations" |
| | | placeholder="请选择与捐赠者关系" |
| | | > |
| | | <el-option |
| | | v-for="dict in dict.type.sys_FamilyRelation" |
| | | :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="12"> |
| | | <el-form-item align="left" label="信息来源"> |
| | | <el-checkbox-group v-model="form.infosources"> |
| | | <el-checkbox |
| | | v-for="dict in dict.type.sys_InfoSources" |
| | | :key="dict.value" |
| | | :label="dict.value" |
| | | > |
| | | {{ dict.label }} |
| | | </el-checkbox> |
| | | </el-checkbox-group> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="8"> |
| | | <el-form-item label="其他" prop="infosourcesOther"> |
| | | <el-input |
| | | v-model="form.infosourcesOther" |
| | | placeholder="请输入信息来源其他" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="8"> |
| | | <el-form-item label="信息员" prop="infoname"> |
| | | <el-input v-model="form.infoname" placeholder="请输入信息员" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="8"> |
| | | <el-form-item label="联系电话" prop="infophone"> |
| | | <el-input |
| | | v-model="form.infophone" |
| | | placeholder="请输入信息员联系电话" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="8"> |
| | | <el-form-item align="left" label="红十字会" prop="redorganno"> |
| | | <org-selecter |
| | | ref="addCrossOrgSelect" |
| | | :org-type="'2'" |
| | | v-model="form.redorganno" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="8"> |
| | | <el-form-item label="联系人" prop="contactperson"> |
| | | <el-input |
| | | v-model="form.contactperson" |
| | | placeholder="请输入联系人" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="8"> |
| | | <el-form-item label="联系时间" prop="contacttime"> |
| | | <el-date-picker |
| | | clearable |
| | | size="small" |
| | | style="width: 190px" |
| | | v-model="form.contacttime" |
| | | 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="24"> |
| | | <el-form-item |
| | | align="left" |
| | | label="获取组织" |
| | | prop="acquisitiontissuename" |
| | | > |
| | | <org-selecter |
| | | style="width: 260px" |
| | | ref="orgSelecter" |
| | | :org-type="'1'" |
| | | v-model="form.acquisitiontissueno" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="8"> |
| | | <el-form-item label="报告人" prop="reporterno"> |
| | | <el-select |
| | | ref="getReportname" |
| | | v-model="form.reporterno" |
| | | placeholder="请选择" |
| | | > |
| | | <el-option |
| | | v-for="item in reporters" |
| | | :key="item.reportNo" |
| | | :label="item.reportName" |
| | | :value="item.reportNo" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="8"> |
| | | <el-form-item label="联系电话" prop="reporterphone"> |
| | | <el-input |
| | | v-model="form.reporterphone" |
| | | placeholder="请输入联系电话" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="8"> |
| | | <el-form-item label="报告时间" align="left" prop="reporttime"> |
| | | <el-date-picker |
| | | clearable |
| | | size="small" |
| | | style="width: 190px" |
| | | v-model="form.reporttime" |
| | | type="datetime" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | placeholder="选择报告时间" |
| | | > |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | | <!-- <div style="padding-right: 60px; margin-top: 20px"> |
| | | <el-row> |
| | | <el-form-item label="附件" align="left" prop="annexfile"> |
| | | <annex-upload ref="annex" :infoid="form.id" :donorno="form.donorno" :flowname="flowname" |
| | | :annexno="annexno" /> |
| | | </el-form-item> |
| | | </el-row> |
| | | </div> --> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button v-show="showSaveBtn" type="primary" @click="submitForm" |
| | | >保存并前往案例工作台</el-button |
| | | > |
| | | <el-button |
| | | v-show="showTerminationBtn" |
| | | type="primary" |
| | | @click="submitForm" |
| | | >终止案例</el-button |
| | | > |
| | | <el-button @click="cancel">取 消</el-button> |
| | | <!-- <el-button @click="handleapproval">提交审核</el-button> --> |
| | | </div> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | | <script> |
| | |
| | | ReportName |
| | | }, |
| | | name: "Donatebaseinfo", |
| | | dicts: [ |
| | | "sys_Reporter", |
| | | "sys_redcrossagency", |
| | | "sys_nation", |
| | | "sys_occupation", |
| | | "sys_education", |
| | | "sys_OrganizationType", |
| | | "sys_HospitalNature", |
| | | "sys_RegionalLevel", |
| | | "country", |
| | | "sys_user_sex", |
| | | "sys_IDType", |
| | | "sys_AgeUnit", |
| | | "sys_BloodType", |
| | | "sys_0_1", |
| | | "sys_patientstate", |
| | | "sys_DonationCategory", |
| | | "sys_Kinship", |
| | | "sys_Infectious", |
| | | "sys_bloodtype_rhd", |
| | | "sys_InfoSources", |
| | | "sys_OtherCases", |
| | | "sys_DonationStatus", |
| | | "sys_DiseaseType", |
| | | "sys_SelfWill", |
| | | "sys_FamilyRelation", |
| | | "sys_donornode", |
| | | "sys_EthicalReview", |
| | | "sys_BaseAssessConclusion" |
| | | ], |
| | | dicts: ["sys_donornode", "sys_EthicalReview", "sys_BaseAssessConclusion"], |
| | | data() { |
| | | return { |
| | | tempRecordState: null, |
| | |
| | | open: false, |
| | | // 获取组织名称时间范围 |
| | | daterangeReporttime: [], |
| | | //用户信息 |
| | | currentuser: {}, |
| | | |
| | | // 查询参数 |
| | | queryParams: { |
| | |
| | | reporters: [], |
| | | users: [], |
| | | |
| | | // 表单校验 |
| | | rules: { |
| | | name: [ |
| | | { required: true, message: "请输入捐献者姓名", trigger: "blur" } |
| | | ], |
| | | birthday: [ |
| | | { required: true, message: "请选择出生日期", trigger: "blur" } |
| | | ], |
| | | idcardtype: [ |
| | | { required: true, message: "请选择证件类型", trigger: "blur" } |
| | | ], |
| | | residenceaddress: [ |
| | | { required: true, message: "请输入住址", trigger: "blur" } |
| | | ], |
| | | contacttime: [ |
| | | { |
| | | required: true, |
| | | message: "请输入红十字会联系时间", |
| | | trigger: "blur" |
| | | } |
| | | ], |
| | | idcardno: [ |
| | | { required: true, message: "请正确输入证件号码", trigger: "blur" } |
| | | ], |
| | | sex: [{ required: true, message: "性别不能为空", trigger: "blur" }], |
| | | age: [{ required: true, message: "请输入年龄", trigger: "blur" }], |
| | | treatmenthospitalno: [ |
| | | { required: true, message: "请选择医疗机构", trigger: "blur" } |
| | | ], |
| | | // treatmenthospitalno: [{ required: true, message: "请选择医疗机构", trigger: "change" }], |
| | | bloodtype: [ |
| | | { required: true, message: "请选择ABO血型", trigger: "blur" } |
| | | ], |
| | | rhyin: [{ required: true, message: "请选择RHD血型", trigger: "blur" }], |
| | | diseasetype: [ |
| | | { required: true, message: "请选择RHD血型", trigger: "blur" } |
| | | ], |
| | | |
| | | inpatientno: [ |
| | | { required: true, message: "输入住院号", trigger: "blur" } |
| | | ], |
| | | |
| | | diagnosisname: [ |
| | | { required: true, message: "疾病诊断不能为空", trigger: "blur" } |
| | | ], |
| | | infoname: [ |
| | | { required: true, message: "请输入信息员姓名", trigger: "blur" } |
| | | ], |
| | | infophone: [ |
| | | { required: true, message: "请输入信息员联系电话", trigger: "blur" } |
| | | ], |
| | | redorganno: [ |
| | | { required: true, message: "请选择红十字会机构", trigger: "blur" } |
| | | ], |
| | | contactperson: [ |
| | | { |
| | | required: true, |
| | | message: "红十字会联系人不能为空", |
| | | trigger: "blur" |
| | | } |
| | | ], |
| | | // contactnumber: [{required: true,message: "请输入红十字会联系电话",trigger: "change"}], |
| | | acquisitiontissueno: [ |
| | | { required: true, message: "器官获取组织不能为空", trigger: "blur" } |
| | | ], |
| | | reporterno: [ |
| | | { required: true, message: "请选择报告人", trigger: "blur" } |
| | | ], |
| | | reporttime: [ |
| | | { required: true, message: "请输入报告时间", trigger: "blur" } |
| | | ], |
| | | reporterphone: [ |
| | | { required: true, message: "请输入报告人联系电话", trigger: "blur" } |
| | | ] |
| | | }, |
| | | //是否显示保存按钮 |
| | | showSaveBtn: true, |
| | | showTerminationBtn: false, |
| | |
| | | reportervalue: "", |
| | | headers: { |
| | | Authorization: "Bearer " + getToken() |
| | | }, |
| | | provinceData: [ |
| | | { label: "全部", value: "" }, |
| | | { label: "杭州市", value: "1" }, |
| | | { label: "宁波市", value: "2" }, |
| | | { label: "温州市", value: "3" }, |
| | | { label: "嘉兴市", value: "4" }, |
| | | { label: "湖州市", value: "5" }, |
| | | { label: "绍兴市", value: "6" }, |
| | | { label: "金华市", value: "7" }, |
| | | { label: "衢州市", value: "8" }, |
| | | { label: "舟山市", value: "9" }, |
| | | { label: "台州市", value: "A" }, |
| | | { label: "丽水市", value: "B" } |
| | | ] |
| | | } |
| | | }; |
| | | }, |
| | | created() { |
| | |
| | | // let idd = this.$route.query.userid |
| | | // console.log('chuanzhi',idd); |
| | | |
| | | this.getCurrentUser(); |
| | | this.getuserlist(); |
| | | this.selectReporters(); |
| | | |
| | | this.LoadReportList(); |
| | | |
| | | if (this.$route.params.starttime != null && this.$route.params.endtime) { |
| | |
| | | if (this.$route.params.reporterno != "") { |
| | | this.reporterno = this.$route.params.reporterno; |
| | | } |
| | | this.queryParams.terminationcase = this.$route.params.terminationcase; |
| | | |
| | | if ( |
| | | this.$route.params.tempRecordState != "" && |
| | |
| | | } |
| | | |
| | | if (this.$route.params.city != "") { |
| | | this.queryParams.city = this.$route.params.city; |
| | | this.queryParams.regionalLevel = this.$route.params.city; |
| | | } else { |
| | | this.queryParams.city = ""; |
| | | this.queryParams.regionalLevel = ""; |
| | | } |
| | | |
| | | this.getTimeList(); |
| | |
| | | }, |
| | | |
| | | methods: { |
| | | getCurrentUser() { |
| | | getUserProfile().then(response => { |
| | | this.currentuser = response.data; |
| | | }); |
| | | }, |
| | | |
| | | LoadReportList() { |
| | | listDonationProcess().then(res => { |
| | | let list = res.rows; |
| | |
| | | this.starttime = "1998-01-01 00:00:00"; |
| | | this.endtime = "2998-01-01 00:00:00"; |
| | | } |
| | | }, |
| | | |
| | | selectReporters() { |
| | | //专职人员 |
| | | listReportname("zzry").then(res => { |
| | | this.reporters = res.data; |
| | | }); |
| | | }, |
| | | |
| | | getuserlist() { |
| | | //用户列表 |
| | | listUser().then(res => { |
| | | this.users = res.data; |
| | | }); |
| | | }, |
| | | |
| | | handleapproval(row) { |
| | |
| | | this.single = selection.length !== 1; |
| | | this.multiple = !selection.length; |
| | | }, |
| | | /** 新增按钮操作 */ |
| | | handleAdd() { |
| | | // this.$router.push({ |
| | | // path: "/organ/donationdetails/", |
| | | // query: { |
| | | // organType: "add", |
| | | // } |
| | | // }); |
| | | this.reset(); |
| | | //设置报告人和部门/组 |
| | | this.form.reporterno = this.currentuser.userName; |
| | | this.form.reportername = this.currentuser.nickName; |
| | | this.form.deptid = this.currentuser.deptid; |
| | | |
| | | this.showSaveBtn = true; |
| | | //this.$refs.annex.getAnnexList(); |
| | | this.open = true; |
| | | // this.$nextTick(function() { |
| | | // this.$refs.annex.getAnnexList(); |
| | | // }); |
| | | |
| | | this.title = "人体器官潜在捐献者登记表"; |
| | | }, |
| | | /** 修改按钮操作 */ |
| | | |
| | | handleUpdate(row) { |