WXL
2023-12-15 4e32f1188e9d0cafd3511994d2d13617ca6e08f9
src/views/knowledge/education/compilequer/index.vue
@@ -103,13 +103,15 @@
                v-if="inputVisible"
                @change="handleInputConfirm"
                filterable
                  allow-create
                  default-first-option
                placeholder="请选择"
              >
                <el-option
                  v-for="item in options"
                  :key="item.label"
                  :label="item.label"
                  :value="item.label"
                  v-for="item in optionstag"
                  :key="item.tagname"
                    :label="item.tagname"
                    :value="item.tagname"
                >
                </el-option>
              </el-select>
@@ -303,6 +305,8 @@
import { quillEditor } from "vue-quill-editor";
// import * as Quill from "quill";
import Quill from "quill";
import { listtag } from "@/api/system/label";
// 这里引入修改过的video模块并注册
import Video from "./video";
@@ -471,6 +475,7 @@
          label: "护理宣教",
        },
      ],
      optionstag:[],
      xjxsoptions: [
        {
          value: "选项1",
@@ -531,7 +536,9 @@
    };
  },
  created() {},
  created() {
    this.gettabList();
  },
  watch: {
    content(newVal, oldVal) {
      //this.$emit('input', newVal);
@@ -595,6 +602,18 @@
      //   console.log(rows);
      //   this.list = rows;
    },
    /** 查询标签列表 */
    gettabList() {
      const tagqueryParams = {
        pageNum: 1,
        pageSize: 1000,
        tagcategoryid: "0",
      };
      listtag(tagqueryParams).then((response) => {
        console.log(response);
        this.optionstag = response.rows;
      });
    },
    // 新增变量
    addvariable() {
      this.variablelist.push({