| | |
| | | id: "", |
| | | ruleForm: { |
| | | templateName: "", |
| | | ivrLibaTemplateTagList: [], |
| | | ivrLibaTemplateScriptVOList: [], |
| | | tempDetpRelevances: [], |
| | | }, |
| | | rules: {}, |
| | | optionstag: [], |
| | |
| | | // 获取表单数据 |
| | | getvFollowup() { |
| | | getvFollowup({ id: this.id }).then((res) => { |
| | | if (res == 200 && res.data) { |
| | | if (res.code == 200 && this.id) { |
| | | console.log(2211); |
| | | this.ruleForm = res.data; |
| | | |
| | | this.tempDetpRelevanceslist = JSON.parse(this.ruleForm.deptNames); |
| | | this.ruleForm.suitway = this.ruleForm.suitway.split(","); |
| | | this.ruleForm.campus = this.ruleForm.campus.split(","); |
| | |
| | | }).then((response) => { |
| | | this.optionsillness = response.rows; |
| | | }); |
| | | getillness({ outid: this.id, type: 3 }).then((res) => { |
| | | this.illnesslist = res.rows; |
| | | }); |
| | | if (this.id) { |
| | | getillness({ outid: this.id, type: 3 }).then((res) => { |
| | | this.illnesslist = res.rows; |
| | | }); |
| | | } |
| | | listDept(this.queryParams).then((response) => { |
| | | this.deptList = this.handleTree(response.data, "deptId"); |
| | | }); |