|  |  |  | 
|---|
|  |  |  | illnesslistget, | 
|---|
|  |  |  | getillness, | 
|---|
|  |  |  | getgenerallist, | 
|---|
|  |  |  | depthospgetsondel | 
|---|
|  |  |  | } from "@/api/AiCentre/index"; | 
|---|
|  |  |  | import OptionalForm from "@/components/OptionalForm"; //正则组件 | 
|---|
|  |  |  | import { getToken } from "@/utils/auth"; | 
|---|
|  |  |  | 
|---|
|  |  |  | ruleForm: { | 
|---|
|  |  |  | templateName: "", | 
|---|
|  |  |  | revisitBefore: | 
|---|
|  |  |  | "亲爱的患者/家属,您好!我们是浙中医大二院的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访。", | 
|---|
|  |  |  | "亲爱的患者/家属,我们是"+localStorage.getItem("orgname")+"的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访。", | 
|---|
|  |  |  | revisitAfter: | 
|---|
|  |  |  | "请您注意休息和营养,生活上要劳逸结合,适当锻炼,戒烟限酒,保持心情舒畅,定期复诊。那本次回访就到这里,祝您身体健康!", | 
|---|
|  |  |  | ivrLibaTemplateTagList: [], | 
|---|
|  |  |  | 
|---|
|  |  |  | this.auxiliary(); | 
|---|
|  |  |  | this.getDeptTree(); | 
|---|
|  |  |  | this.mode = store.getters.mode; | 
|---|
|  |  |  | console.log(this.mode,'this.mode'); | 
|---|
|  |  |  | this.usable = store.getters.usable; | 
|---|
|  |  |  | this.required = store.getters.required; | 
|---|
|  |  |  | this.valuetype = store.getters.valuetype; | 
|---|
|  |  |  | 
|---|
|  |  |  | console.log(2211); | 
|---|
|  |  |  | this.ruleForm = res.data; | 
|---|
|  |  |  | if (this.ruleForm.deptNames) | 
|---|
|  |  |  | // this.tempDetpRelevanceslist = JSON.parse(this.ruleForm.deptNames); | 
|---|
|  |  |  | console.log(this.ruleForm.suitway,'suitway'); | 
|---|
|  |  |  | this.ruleForm.suitway = this.ruleForm.suitway.split(","); | 
|---|
|  |  |  | console.log(this.ruleForm.suitway,'suitway'); | 
|---|
|  |  |  | if (this.ruleForm.campus) | 
|---|
|  |  |  | this.ruleForm.campus = this.ruleForm.campus.split(","); | 
|---|
|  |  |  | this.ruleForm.submoduleID = this.ruleForm.submoduleID.split(","); | 
|---|
|  |  |  | 
|---|
|  |  |  | if (!this.ruleForm.assortid) { | 
|---|
|  |  |  | this.ruleForm.assortid = -1; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | this.ruleForm.labelInfo = JSON.stringify(this.dynamicTags); | 
|---|
|  |  |  | // this.ruleForm.labelInfo = JSON.stringify(this.dynamicTags); | 
|---|
|  |  |  | if (Array.isArray(this.ruleForm.suitway)) | 
|---|
|  |  |  | this.ruleForm.suitway = this.ruleForm.suitway.join(","); | 
|---|
|  |  |  | if (Array.isArray(this.ruleForm.campus)) | 
|---|
|  |  |  | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | handleDelete(row) { | 
|---|
|  |  |  | this.$modal | 
|---|
|  |  |  | .confirm('是否确认删除问题:"' + row.scriptTopic + '"?') | 
|---|
|  |  |  | .confirm('是否确认删除问题:"' + row.scriptTopic + '?') | 
|---|
|  |  |  | .then(() => { | 
|---|
|  |  |  | this.ruleForm.ivrLibaTemplateScriptVOList.splice( | 
|---|
|  |  |  | this.ruleForm.ivrLibaTemplateScriptVOList.indexOf(row), | 
|---|