| | |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-row> |
| | | <!-- <el-row> |
| | | <el-col :span="20" |
| | | ><el-form-item label="适用科室" prop="region"> |
| | | <el-select |
| | |
| | | </el-option> |
| | | </el-select> </el-form-item |
| | | ></el-col> |
| | | </el-row> |
| | | </el-row> --> |
| | | <el-row> |
| | | <el-col :span="12" |
| | | ><el-form-item label="开场白" prop="revisitBefore"> |
| | |
| | | illnesslistget, |
| | | getillness, |
| | | getgenerallist, |
| | | depthospgetsondel |
| | | } from "@/api/AiCentre/index"; |
| | | import OptionalForm from "@/components/OptionalForm"; //正则组件 |
| | | import { getToken } from "@/utils/auth"; |
| | |
| | | ruleForm: { |
| | | templateName: "", |
| | | revisitBefore: |
| | | "亲爱的患者/家属,您好!我们是浙中医大二院的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访。", |
| | | "亲爱的患者/家属,您好!我们是无锡儿童医院的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访。", |
| | | revisitAfter: |
| | | "请您注意休息和营养,生活上要劳逸结合,适当锻炼,戒烟限酒,保持心情舒畅,定期复诊。那本次回访就到这里,祝您身体健康!", |
| | | ivrLibaTemplateTagList: [], |
| | |
| | | this.tempDetpRelevanceslist = []; |
| | | this.tempbelongWards = []; |
| | | |
| | | if (this.id) { |
| | | depthospgetsonlist(this.queryParamsdept).then((res) => { |
| | | if (res.code == 200) { |
| | | let arr = res.rows; |
| | | console.log(arr, "arr"); |
| | | // if (this.id) { |
| | | // depthospgetsonlist(this.queryParamsdept).then((res) => { |
| | | // if (res.code == 200) { |
| | | // let arr = res.rows; |
| | | // console.log(arr, "arr"); |
| | | |
| | | arr.forEach((item) => { |
| | | if (item.deptType == 1) { |
| | | console.log(this.deptlist, "11"); |
| | | this.deptlist.push(item); |
| | | console.log("22"); |
| | | this.tempDetpRelevanceslist.push(item.deptCode); |
| | | } else if (item.deptType == 2) { |
| | | this.hosplist.push(item); |
| | | this.tempbelongWards.push(item.deptCode); |
| | | console.log("33"); |
| | | } |
| | | }); |
| | | } |
| | | }); |
| | | } |
| | | // arr.forEach((item) => { |
| | | // if (item.deptType == 1) { |
| | | // console.log(this.deptlist, "11"); |
| | | // this.deptlist.push(item); |
| | | // console.log("22"); |
| | | // this.tempDetpRelevanceslist.push(item.deptCode); |
| | | // } else if (item.deptType == 2) { |
| | | // this.hosplist.push(item); |
| | | // this.tempbelongWards.push(item.deptCode); |
| | | // console.log("33"); |
| | | // } |
| | | // }); |
| | | // } |
| | | // }); |
| | | // } |
| | | |
| | | // 疾病 |
| | | getillnesslist({ |