WXL
2024-10-12 39bb435602509b68e1ec32ddcf6fdd0ca0f63cc1
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"; //正则组件
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);
        });