| | |
| | | icon="el-icon-upload2" |
| | | size="medium" |
| | | @click="handleImport" |
| | | |
| | | >导入</el-button |
| | | > |
| | | </el-col> |
| | |
| | | <el-table-column prop="serial" label="患者id"> </el-table-column> |
| | | <el-table-column prop="name" label="姓名"> </el-table-column> |
| | | <el-table-column prop="sex" label="性别"> </el-table-column> |
| | | <el-table-column prop="idcardno" width="300" label="证件号码"> </el-table-column> |
| | | <el-table-column prop="idcardno" width="300" label="证件号码"> |
| | | </el-table-column> |
| | | <el-table-column prop="goday" label="出生日期"> </el-table-column> |
| | | <el-table-column prop="telcode" width="200" label="联系方式"> </el-table-column> |
| | | <el-table-column prop="createTime" width="200" label="创建日期"> |
| | | <el-table-column prop="telcode" width="200" label="联系方式"> |
| | | </el-table-column> |
| | | <el-table-column prop="createTime" width="200" label="创建日期"> |
| | | </el-table-column> |
| | | </el-table> |
| | | <!-- <pagination |
| | |
| | | { label: "身份证", width: "200", prop: "sfzh" }, |
| | | { label: "性别", width: "", prop: "sex" }, |
| | | { label: "年龄", width: "", prop: "age" }, |
| | | { label: "责任护士", width: "", prop: "nurseName" }, |
| | | { label: "主治医生", width: "", prop: "drname" }, |
| | | // { label: "责任护士", width: "", prop: "nurseName" }, |
| | | // { label: "主治医生", width: "", prop: "drname" }, |
| | | { label: "科室", width: "240", prop: "dept" }, |
| | | { label: "病区", width: "240", prop: "leavehospitaldistrictname" }, |
| | | ], |
| | |
| | | { label: "身份证", width: "200", prop: "sfzh" }, |
| | | { label: "性别", width: "", prop: "sex" }, |
| | | { label: "年龄", width: "", prop: "age" }, |
| | | { label: "责任护士", width: "", prop: "nurseName" }, |
| | | { label: "主治医生", width: "", prop: "drname" }, |
| | | // { label: "责任护士", width: "", prop: "nurseName" }, |
| | | // { label: "主治医生", width: "", prop: "drname" }, |
| | | { label: "科室", width: "180", prop: "deptName" }, |
| | | { label: "病区", width: "150", prop: "leavehospitaldistrictname" }, |
| | | ], |
| | |
| | | { label: "短信", value: 4 }, |
| | | { label: "微信公众", value: 5 }, |
| | | { label: "钉钉", value: 6 }, |
| | | { label: "智能机器人", value: 7 }, |
| | | // { label: "智能机器人", value: 7 }, |
| | | ], |
| | | upload: { |
| | | // 是否显示弹出层(用户导入) |
| | |
| | | this.belongDepts = store.getters.belongDepts; |
| | | this.form.typename = this.$route.query.typename; |
| | | this.form.serviceType = Number(this.$route.query.serviceType); |
| | | this.listDept(); |
| | | // this.listDept(); |
| | | this.Acquisitiontype(); |
| | | this.Getdetails(); |
| | | this.getheLibraryAssort(); |
| | |
| | | label: "微信小程序", |
| | | }, |
| | | |
| | | { |
| | | value: "8", |
| | | label: "智能机器人", |
| | | }, |
| | | // { |
| | | // value: "8", |
| | | // label: "智能机器人", |
| | | // }, |
| | | ]; |
| | | } else if (this.form.serviceType == 8) { |
| | | this.checkboxlist = [ |
| | |
| | | label: "微信小程序", |
| | | }, |
| | | |
| | | { |
| | | value: "8", |
| | | label: "智能机器人", |
| | | }, |
| | | // { |
| | | // value: "8", |
| | | // label: "智能机器人", |
| | | // }, |
| | | { |
| | | value: "9", |
| | | label: "钉钉", |
| | |
| | | this.$modal.msgError("未选择模板"); |
| | | return; |
| | | } |
| | | if (this.form.deptcode || this.form.leavehospitaldistrictcode) { |
| | | } else { |
| | | this.$modal.msgError("请选择科室或病区"); |
| | | return; |
| | | } |
| | | const filteredArray = this.variableList.filter( |
| | | (item) => |
| | | item.name !== "姓名" && item.name !== "电话" && item.name !== "地址" |
| | |
| | | this.form.isoperation = 2; |
| | | } else { |
| | | this.form.isoperation = 1; |
| | | this.form.sendState=1; |
| | | this.form.sendState = 1; |
| | | } |
| | | if (!this.form.type) { |
| | | this.form.type = this.$route.query.type; |
| | |
| | | { label: "身份证", width: "200", prop: "sfzh" }, |
| | | { label: "性别", width: "", prop: "sex" }, |
| | | { label: "年龄", width: "", prop: "age" }, |
| | | { label: "责任护士", width: "", prop: "nurseName" }, |
| | | { label: "医生", width: "", prop: "drname" }, |
| | | // { label: "责任护士", width: "", prop: "nurseName" }, |
| | | // { label: "医生", width: "", prop: "drname" }, |
| | | { label: "科室", width: "180", prop: "dept" }, |
| | | { label: "病区", width: "150", prop: "leavehospitaldistrictname" }, |
| | | ]; |
| | |
| | | handleExport() {}, |
| | | |
| | | // 选择患者表数据 |
| | | handleSelectionChange(selection,type) { |
| | | handleSelectionChange(selection, type) { |
| | | console.log("多选患者"); |
| | | this.SelectPatientslist = selection; |
| | | this.multiple = !selection.length; |
| | |
| | | item.sfzh = item.idcardno; |
| | | } |
| | | if (type) { |
| | | item.hospType=type |
| | | }else{ |
| | | item.hospType = type; |
| | | } else { |
| | | item.hospType = this.patientqueryParams.allhosp; |
| | | } |
| | | this.overallCase.push(item); |
| | |
| | | libtemplateid: null, |
| | | serviceType: Number(this.$route.query.serviceType), |
| | | kcb: "亲爱的患者-家属,您好!我们是无锡儿童医院的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访问卷。", |
| | | jsy: "生活上要劳逸结合,注意休息和营养,适当锻炼,戒烟限酒,保持心情舒畅,定期复诊。那本次回访就到这里,祝您身体健康!", |
| | | jsy: "感谢您参与本次随访。您的反馈帮助我们更好地了解宝宝的适应情况,并为您提供更精准的护理建议与健康指导。祝您和宝宝健康快乐", |
| | | }; |
| | | |
| | | if (this.id) { |
| | |
| | | }); |
| | | }, |
| | | // 获取科室列表 |
| | | listDept() { |
| | | listDept().then((res) => { |
| | | this.topicoptions = this.handleTree(res.data, "deptId"); |
| | | console.log(this.topicoptions, "topicoptions"); |
| | | }); |
| | | }, |
| | | // listDept() { |
| | | // listDept().then((res) => { |
| | | // this.topicoptions = this.handleTree(res.data, "deptId"); |
| | | // console.log(this.topicoptions, "topicoptions"); |
| | | // }); |
| | | // }, |
| | | // 新增派送患者 |
| | | AddDispatchpatients() { |
| | | // this.SelectPatientslist.forEach((item) => { |
| | |
| | | previewFn() { |
| | | this.Tasktemplate.id = null; |
| | | |
| | | this.Tasktemplate.templateid = this.libId; |
| | | this.Tasktemplate.isoperation = 1; |
| | | TaskQuestioncomit(this.Tasktemplate).then((response) => { |
| | | console.log(response); |
| | | this.previewtf = false; |
| | | this.form.templateid = response.data; |
| | | this.form.libtemplateid = this.libId; |
| | | this.form.templatename = this.libName; |
| | | this.$modal.msgSuccess("选择模板成功"); |
| | | }); |
| | | this.form.templateid = this.libId; |
| | | this.form.templatename = this.libName; |
| | | this.$modal.msgSuccess("选择模板成功"); |
| | | this.previewtf = false; |
| | | |
| | | // this.Tasktemplate.isoperation = 1; |
| | | // TaskQuestioncomit(this.Tasktemplate).then((response) => { |
| | | // console.log(response); |
| | | // this.previewtf = false; |
| | | // this.form.templateid = response.data; |
| | | // this.form.libtemplateid = this.libId; |
| | | // this.form.templatename = this.libName; |
| | | // }); |
| | | }, |
| | | // 处理服务形式 |
| | | formatFn(type) { |
| | |
| | | this.$refs.upload.submit(); |
| | | this.dractive++; |
| | | } else if (this.dractive == 2) { |
| | | this.handleSelectionChange(this.uploadingData,4); |
| | | this.handleSelectionChange(this.uploadingData, 4); |
| | | this.upload.open = false; |
| | | this.dractive = 1 |
| | | this.dractive = 1; |
| | | } |
| | | }, |
| | | |