From 5339f63a6ab4611681b8ffd0a295193b1f5986b6 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期一, 27 五月 2024 14:16:20 +0800
Subject: [PATCH] 测试完成
---
src/views/repositoryai/templateku/configurat/index.vue | 36 ++++++++++++++++++++----------------
1 files changed, 20 insertions(+), 16 deletions(-)
diff --git a/src/views/repositoryai/templateku/configurat/index.vue b/src/views/repositoryai/templateku/configurat/index.vue
index a18c9ff..bbacac3 100644
--- a/src/views/repositoryai/templateku/configurat/index.vue
+++ b/src/views/repositoryai/templateku/configurat/index.vue
@@ -870,7 +870,9 @@
topicobj: {},
total: 1,
id: "",
- ruleForm: {},
+ ruleForm: {
+ templateName: "",
+ },
rules: {},
optionstag: [],
prefollowuplist: [],
@@ -972,7 +974,7 @@
RoutingDataProcessing() {
this.id = this.$route.query.id;
this.task = this.$route.query.task;
- console.log(this.task,'task');
+ console.log(this.task, "task");
if (this.task) {
this.id = this.$route.query.id;
}
@@ -980,22 +982,24 @@
// 鑾峰彇琛ㄥ崟鏁版嵁
getvFollowup() {
getvFollowup({ id: this.id }).then((res) => {
- this.ruleForm = res.data;
+ if (res == 200 && res.data) {
+ 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(",");
- this.ruleForm.submoduleID = this.ruleForm.submoduleID.split(",");
- this.ruleForm.submoduleID = this.ruleForm.submoduleID.map((res) => {
- return Number(res);
- });
- console.log(this.ruleForm.submoduleID, "this.ruleForm.submoduleID鍙�");
- this.dynamicTags = this.ruleForm.ivrLibaTemplateTagList;
+ this.tempDetpRelevanceslist = JSON.parse(this.ruleForm.deptNames);
+ this.ruleForm.suitway = this.ruleForm.suitway.split(",");
+ this.ruleForm.campus = this.ruleForm.campus.split(",");
+ this.ruleForm.submoduleID = this.ruleForm.submoduleID.split(",");
+ this.ruleForm.submoduleID = this.ruleForm.submoduleID.map((res) => {
+ return Number(res);
+ });
+ console.log(this.ruleForm.submoduleID, "this.ruleForm.submoduleID鍙�");
+ this.dynamicTags = this.ruleForm.ivrLibaTemplateTagList;
- this.dynamicTags = this.ruleForm.ivrLibaTemplateTagList.map(
- this.processElement
- );
- console.log(this.ruleForm.suitway);
+ this.dynamicTags = this.ruleForm.ivrLibaTemplateTagList.map(
+ this.processElement
+ );
+ console.log(this.ruleForm.suitway);
+ }
});
getillnesslist({
pageNum: 1,
--
Gitblit v1.9.3