From 39bb435602509b68e1ec32ddcf6fdd0ca0f63cc1 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期六, 12 十月 2024 14:00:38 +0800 Subject: [PATCH] 测试完成 --- dist.zip | 0 src/views/repositoryai/templateku/configurat/index.vue | 37 ++++++++++++++----------------------- src/views/patient/propaganda/particty.vue | 4 ++-- 3 files changed, 16 insertions(+), 25 deletions(-) diff --git a/dist.zip b/dist.zip index c084a36..087cb55 100644 --- a/dist.zip +++ b/dist.zip Binary files differ diff --git a/src/views/patient/propaganda/particty.vue b/src/views/patient/propaganda/particty.vue index 1c97145..782a240 100644 --- a/src/views/patient/propaganda/particty.vue +++ b/src/views/patient/propaganda/particty.vue @@ -1873,9 +1873,9 @@ this.objyl.suitway = this.objyl.suitway.join(","); } this.objyl.ivrLibaTemplateScriptVOList.forEach((item) => { - item.svyTaskTemplateTargetoptions = item.ivrLibaScriptTargetoptionList; + item.ivrTaskTemplateTargetoptions = item.ivrLibaScriptTargetoptionList; }); - this.objyl.svyTaskTemplateScriptVOS = + this.objyl.ivrTaskTemplateScriptVOList = this.objyl.ivrLibaTemplateScriptVOList; this.objyl.isoperation = 1; if (this.form.templateid) { diff --git a/src/views/repositoryai/templateku/configurat/index.vue b/src/views/repositoryai/templateku/configurat/index.vue index 5316fa5..a04f2f7 100644 --- a/src/views/repositoryai/templateku/configurat/index.vue +++ b/src/views/repositoryai/templateku/configurat/index.vue @@ -299,24 +299,7 @@ </el-select> </el-form-item ></el-col> </el-row> - <el-row :gutter="20"> - <el-col :span="12"> - <el-form-item label="闅忚鍓嶅鐞�" prop="name"> - <el-input - type="textarea" - show-word-limit - v-model="ruleForm.revisitBefore" - ></el-input></el-form-item - ></el-col> - <el-col :span="12"> - <el-form-item label="闅忚鍚庡鐞�" prop="region"> - <el-input - type="textarea" - show-word-limit - v-model="ruleForm.revisitAfter" - ></el-input> </el-form-item - ></el-col> - </el-row> + <el-row :gutter="20"> <el-col :span="8"> <el-form-item label="闈欓粯鏃堕棿(绉�)" prop="name"> @@ -1385,6 +1368,7 @@ } from "@/api/AiCentre/index"; import OptionalForm from "@/components/OptionalForm"; //姝e垯缁勪欢 import { getToken } from "@/utils/auth"; +import { deptTreeSelect } from "@/api/system/user"; export default { name: "Tpuconfigurat", @@ -1530,6 +1514,7 @@ this.gettabList(); this.getvFollowup(); this.auxiliary(); + this.getDeptTree(); this.mode = store.getters.mode; this.usable = store.getters.usable; this.required = store.getters.required; @@ -1569,11 +1554,12 @@ RoutingDataProcessing() { this.id = this.$route.query.id; this.task = this.$route.query.task; - - // console.log(this.task, "task"); - // if (this.task) { - // this.id = this.$route.query.id; - // } + }, + getDeptTree() { + // 绉戝鍒楄〃 + deptTreeSelect().then((response) => { + this.deptOptions = response.data; + }); }, // 鑾峰彇琛ㄥ崟鏁版嵁 getvFollowup() { @@ -1889,6 +1875,11 @@ isoperation: 1, }; } + const exists = this.dynamicTags.some(department => department.tagname === tagname); + if (exists) { + this.$modal.msgError("鏍囩閲嶅"); + return + } this.ruleForm.ivrLibaTemplateTagList.push(tagvalue); this.dynamicTags.push(tagvalue); }); -- Gitblit v1.9.3