From b2278ee7b3934157b2400d75c39957a8885ade9f Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期一, 27 五月 2024 17:34:53 +0800 Subject: [PATCH] 测试完成 --- src/views/repositoryai/templateku/configurat/index.vue | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/views/repositoryai/templateku/configurat/index.vue b/src/views/repositoryai/templateku/configurat/index.vue index bbacac3..b1c97df 100644 --- a/src/views/repositoryai/templateku/configurat/index.vue +++ b/src/views/repositoryai/templateku/configurat/index.vue @@ -872,6 +872,9 @@ id: "", ruleForm: { templateName: "", + ivrLibaTemplateTagList: [], + ivrLibaTemplateScriptVOList: [], + tempDetpRelevances: [], }, rules: {}, optionstag: [], @@ -982,9 +985,9 @@ // 鑾峰彇琛ㄥ崟鏁版嵁 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(","); @@ -1007,9 +1010,11 @@ }).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"); }); -- Gitblit v1.9.3