WXL
2024-06-17 43988e7dae93378116a8c5f1fc76f5568d8fd4b2
src/views/repositoryai/templateku/configurat/index.vue
@@ -546,7 +546,7 @@
                          </el-input> </el-form-item
                      ></el-col>
                    </el-row>
                    <el-row :gutter="10">
                    <!-- <el-row :gutter="10">
                      <el-col :span="12"
                        ><el-form-item label="处理">
                          <el-input
@@ -558,7 +558,7 @@
                          >
                          </el-input> </el-form-item
                      ></el-col>
                    </el-row>
                    </el-row> -->
                    <el-row :gutter="10">
                      <el-col :span="16">
@@ -593,7 +593,7 @@
                          </el-input> </el-form-item
                      ></el-col>
                    </el-row>
                    <el-row :gutter="10">
                    <!-- <el-row :gutter="10">
                      <el-col :span="12"
                        ><el-form-item label="处理">
                          <el-input
@@ -605,7 +605,7 @@
                          >
                          </el-input> </el-form-item
                      ></el-col>
                    </el-row>
                    </el-row> -->
                    <el-row :gutter="10">
                      <el-col :span="16">
@@ -640,7 +640,7 @@
                          </el-input> </el-form-item
                      ></el-col>
                    </el-row>
                    <el-row :gutter="10">
                    <!-- <el-row :gutter="10">
                      <el-col :span="12"
                        ><el-form-item label="处理">
                          <el-input
@@ -652,7 +652,7 @@
                          >
                          </el-input> </el-form-item
                      ></el-col>
                    </el-row>
                    </el-row> -->
                    <el-row :gutter="10">
                      <el-col :span="16">
@@ -715,7 +715,7 @@
            </div>
          </div>
          <!-- 多选 -->
          <div
          <!-- <div
            class="topic-dev"
            v-for="(item, index) in valssu"
            :key="item.aaa"
@@ -734,7 +734,7 @@
                </el-checkbox>
              </el-checkbox-group>
            </div>
          </div>
          </div> -->
          <!-- 填空
          <div class="topic-dev" v-for="item in valssu" :key="item.aaa">
            <div class="dev-text">
@@ -756,7 +756,7 @@
      title="添加题目"
      :visible.sync="drawer"
      custom-class="demo-drawer"
      width="50%"
      size="50%"
    >
      <div class="preview-left">
        <el-form
@@ -820,6 +820,12 @@
            </template>
          </el-table-column>
        </el-table>
        <pagination
          :total="total"
          :page.sync="queryParams.pageNum"
          :limit.sync="queryParams.pageSize"
          @pagination="getaddtopiclist"
        />
      </div>
    </el-drawer>
  </div>
@@ -867,7 +873,11 @@
      indexAssortlist: [],
      inputValue: "",
      inputValueillness: "",
      topicobj: {},
      topicobj: {
        noMatchText: "",
        noClearlyText: "",
        slienceText: "",
      },
      total: 1,
      id: "",
      ruleForm: {
@@ -964,6 +974,7 @@
    this.courtyardlist = store.getters.courtyardlist;
    this.precedencetype = store.getters.precedencetype;
  },
  mounted() {},
  methods: {
    //公共方法--------------------
@@ -977,10 +988,11 @@
    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;
      }
      // console.log(this.task, "task");
      // if (this.task) {
      //   this.id = this.$route.query.id;
      // }
    },
    // 获取表单数据
    getvFollowup() {
@@ -1024,6 +1036,18 @@
      // 分类
      getFollowupclassify({}).then((res) => {
        this.indexAssortlist = res.rows;
        this.ruleForm.assortid = Number(this.$route.query.assortid);
      });
      // 科室
      listDept(this.queryParams).then((response) => {
        this.deptList = this.handleTree(response.data, "deptId");
      });
      // 疾病
      getillnesslist({
        pageNum: 1,
        pageSize: 100,
      }).then((response) => {
        this.optionsillness = response.rows;
      });
      getgenerallist({
        pageNum: 1,
@@ -1226,6 +1250,14 @@
    },
    addtopic(row) {
      console.log(row);
      if (
        this.ruleForm.ivrLibaTemplateScriptVOList.some(
          (obj) => obj.questiontitle == row.questiontitle
        )
      ) {
        this.$modal.msgError("该题目已存在");
        return;
      }
      getverbaltrick({ id: row.id }).then((res) => {
        console.log(res, "详情");
        res.data.isoperation = 1;
@@ -1235,6 +1267,7 @@
        });
        this.ruleForm.ivrLibaTemplateScriptVOList.push(res.data);
        this.sortFn();
        this.$modal.msgSuccess("添加成功");
      });
    },
    handleDelete(row) {