WXL
2024-06-27 76c30727c77065c808b1c0fb3146080e423e5fe6
src/views/repositoryai/templateku/configurat/index.vue
@@ -539,7 +539,7 @@
                        ><el-form-item label="无匹配话术">
                          <el-input
                            type="textarea"
                            style="width: 400px;"
                            style="width: 400px"
                            placeholder="请输入"
                            v-model="topicobj.noMatchText"
                            show-word-limit
@@ -586,7 +586,7 @@
                      <el-col :span="20"
                        ><el-form-item label="听不清话术">
                          <el-input
                          style="width: 400px;"
                            style="width: 400px"
                            type="textarea"
                            placeholder="请输入"
                            v-model="topicobj.noClearlyText"
@@ -635,7 +635,7 @@
                        ><el-form-item label="静默话术">
                          <el-input
                            type="textarea"
                            style="width: 400px;"
                            style="width: 400px"
                            placeholder="请输入"
                            v-model="topicobj.slienceText"
                            show-word-limit
@@ -999,8 +999,9 @@
    },
    // 获取表单数据
    getvFollowup() {
      if (this.id) {
      getvFollowup({ id: this.id }).then((res) => {
        if (res.code == 200 && this.id) {
          if (res.code == 200) {
          console.log(2211);
          this.ruleForm = res.data;
          this.tempDetpRelevanceslist = JSON.parse(this.ruleForm.deptNames);
@@ -1010,7 +1011,10 @@
          this.ruleForm.submoduleID = this.ruleForm.submoduleID.map((res) => {
            return Number(res);
          });
          console.log(this.ruleForm.submoduleID, "this.ruleForm.submoduleID取");
            console.log(
              this.ruleForm.submoduleID,
              "this.ruleForm.submoduleID取"
            );
          this.dynamicTags = this.ruleForm.ivrLibaTemplateTagList;
          this.dynamicTags = this.ruleForm.ivrLibaTemplateTagList.map(
@@ -1019,6 +1023,7 @@
          console.log(this.ruleForm.suitway);
        }
      });
      }
      getillnesslist({
        pageNum: 1,
        pageSize: 100,
@@ -1039,7 +1044,9 @@
      // 分类
      getFollowupclassify({}).then((res) => {
        this.indexAssortlist = res.rows;
        if (this.$route.query.assortid) {
        this.ruleForm.assortid = Number(this.$route.query.assortid);
        }
      });
      // 科室
      listDept(this.queryParams).then((response) => {
@@ -1086,8 +1093,17 @@
            return item;
          });
      });
      compileFollowup(this.ruleForm).then((res) => {
        this.$modal.msgSuccess("编辑成功");
        this.confirmillness(res.data);
        this.$router.go(-1);
      });
    },
    confirmillness(guid) {
      this.illnesslist.forEach((item, index) => {
        if (guid) {
          item.outid = guid;
        }
        if (!item.id) {
          addtargetillness(item).then((res) => {});
        }
@@ -1095,10 +1111,8 @@
      if (this.illnesslistapi.length) {
        deltargetillness(this.illnesslistapi.join(",")).then((res) => {});
      }
      compileFollowup(this.ruleForm).then((res) => {
      this.illnessVisible = false;
        this.$modal.msgSuccess("编辑成功");
        this.$router.go(-1);
      });
    },
    // 科室处理
    Departmenttreatment() {