|  |  |  | 
|---|
|  |  |  | pageNum: 1, | 
|---|
|  |  |  | pageSize: 10, | 
|---|
|  |  |  | cry: 0, | 
|---|
|  |  |  | searchscope: 2, | 
|---|
|  |  |  | searchscope: 3, | 
|---|
|  |  |  | scopetype: [], | 
|---|
|  |  |  | leaveldeptcodes: [], | 
|---|
|  |  |  | leavehospitaldistrictcodes: [], | 
|---|
|  |  |  | 
|---|
|  |  |  | pageNum: 1, | 
|---|
|  |  |  | pageSize: 10, | 
|---|
|  |  |  | cry: 1, | 
|---|
|  |  |  | searchscope:2, | 
|---|
|  |  |  | searchscope:3, | 
|---|
|  |  |  | scopetype: [], | 
|---|
|  |  |  | leaveldeptcodes: [], | 
|---|
|  |  |  | leavehospitaldistrictcodes: [], | 
|---|
|  |  |  | 
|---|
|  |  |  | queryParams: { | 
|---|
|  |  |  | pageNum: 1, | 
|---|
|  |  |  | pageSize: 10, | 
|---|
|  |  |  | searchscope: 2, | 
|---|
|  |  |  | searchscope: 3, | 
|---|
|  |  |  | scopetype: [], | 
|---|
|  |  |  | leaveldeptcodes: [], | 
|---|
|  |  |  | leavehospitaldistrictcodes: [], | 
|---|
|  |  |  | 
|---|
|  |  |  | // 门诊记录 | 
|---|
|  |  |  | listPatouthosp({ patid: this.id }).then((response) => { | 
|---|
|  |  |  | if (response.code == 200) { | 
|---|
|  |  |  | // this.serviceData = response.rows; | 
|---|
|  |  |  | this.serviceData = []; | 
|---|
|  |  |  | this.serviceData = response.rows; | 
|---|
|  |  |  | // this.serviceData = []; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | } else if (type == 1) { | 
|---|
|  |  |  | 
|---|
|  |  |  | this.userform = response.rows[0]; | 
|---|
|  |  |  | // this.dynamicTags = response.rows[0].tagList; | 
|---|
|  |  |  | this.dynamicTags = response.rows[0].tagList.map(this.processElement); | 
|---|
|  |  |  | console.log(this.dynamicTags); | 
|---|
|  |  |  | this.getcontactlist(); | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | // 病史信息 | 
|---|
|  |  |  | getmedicalhistory({ pid: this.id }).then((res) => { | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | // 联系信息 | 
|---|
|  |  |  | this.getcontactlist(); | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | // 保存患者档案 | 
|---|
|  |  |  | savefile() { | 
|---|
|  |  |  | 
|---|
|  |  |  | label-width="98px" | 
|---|
|  |  |  | > | 
|---|
|  |  |  | <el-form-item label="问卷名称"> | 
|---|
|  |  |  | <el-input v-model="topqueryParams.svyname"></el-input> | 
|---|
|  |  |  | <el-input | 
|---|
|  |  |  | v-model="topqueryParams.svyname" | 
|---|
|  |  |  | @keyup.enter.native="handleQuerymb" | 
|---|
|  |  |  | ></el-input> | 
|---|
|  |  |  | </el-form-item> | 
|---|
|  |  |  | <!-- <el-form-item label="适用形式" prop="status"> | 
|---|
|  |  |  | <el-select v-model="topqueryParams.topica" placeholder="请选择"> | 
|---|
|  |  |  | 
|---|
|  |  |  | templatename: "", | 
|---|
|  |  |  | templateid: null, | 
|---|
|  |  |  | libtemplateid: null, | 
|---|
|  |  |  | kcb: "亲爱的患者/家属,我们是"+localStorage.getItem("orgname")+"的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,观看这份宣教资讯。", | 
|---|
|  |  |  | kcb: | 
|---|
|  |  |  | "亲爱的患者/家属,我们是" + | 
|---|
|  |  |  | localStorage.getItem("orgname") + | 
|---|
|  |  |  | "的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,观看这份宣教资讯。", | 
|---|
|  |  |  | jsy: "请您注意休息和营养,生活上要劳逸结合,适当锻炼,戒烟限酒,保持心情舒畅,定期复诊。那本次宣教内容就到这里,祝您身体健康!", | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | taskoptions: [ | 
|---|
|  |  |  | 
|---|
|  |  |  | templatename: "", | 
|---|
|  |  |  | templateid: null, | 
|---|
|  |  |  | libtemplateid: null, | 
|---|
|  |  |  | kcb: "亲爱的患者/家属,我们是"+localStorage.getItem("orgname")+"的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访问卷。", | 
|---|
|  |  |  | kcb: | 
|---|
|  |  |  | "亲爱的患者/家属,我们是" + | 
|---|
|  |  |  | localStorage.getItem("orgname") + | 
|---|
|  |  |  | "的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访问卷。", | 
|---|
|  |  |  | jsy: "请您注意休息和营养,生活上要劳逸结合,适当锻炼,戒烟限酒,保持心情舒畅,定期复诊。那本次回访就到这里,祝您身体健康!", | 
|---|
|  |  |  | }; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | icdcode: item.icd10code, | 
|---|
|  |  |  | }).then((res) => { | 
|---|
|  |  |  | item.icdname = res.rows[0].icdname; | 
|---|
|  |  |  | this.diagglist.push(item); | 
|---|
|  |  |  | this.diagglist.push(item); | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | this.illnesscodes.push(item.icd10code); | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | 
|---|
|  |  |  | if (result.length) { | 
|---|
|  |  |  | taskdiaghospgetsondel(result).then((res) => { | 
|---|
|  |  |  | if (res.code) { | 
|---|
|  |  |  | this.diagglist=this.diagglist.filter(item => item.icd10code != row); | 
|---|
|  |  |  | this.diagglist = this.diagglist.filter( | 
|---|
|  |  |  | (item) => item.icd10code != row | 
|---|
|  |  |  | ); | 
|---|
|  |  |  | this.$modal.msgSuccess("删除成功"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }); | 
|---|