WXL
2024-07-26 b14bdee1aaf639dd14440b42c6a0ce2e12549ee7
src/views/knowledge/questionbank/index.vue
@@ -180,8 +180,8 @@
                label="题目标题"
                fixed
                align="center"
                key="script"
                prop="script"
                key="scriptTopic"
                prop="scriptTopic"
                width="200"
                :show-overflow-tooltip="true"
              />
@@ -233,8 +233,8 @@
                :show-overflow-tooltip="true"
              >
                <template slot-scope="scope">
                  <span v-for="item in scope.row.tag.split(',')"
                    >{{ item }}、
                  <span v-for="item in scope.row.svyLibScriptTagList"
                    >{{ item.tagname }}、
                  </span>
                </template>
              </el-table-column>
@@ -395,7 +395,10 @@
          <span>{{ topicform.scriptContent }}</span>
        </div>
        <div class="dev-xx" v-if="topicform.valueType == 1">
        <div
          class="dev-xx"
          v-if="topicform.scriptType != 3 && topicform.scriptType != 4"
        >
          <el-radio-group v-model="topicform.asrtext">
            <el-radio
              v-for="(topicforms, index) in topicform.svyLibScriptOptions"
@@ -461,7 +464,7 @@
      haoquestionnaire: "",
      idds: "",
      topicform: {
        questionText: "",
        scriptContent: "",
      },
      amendtag: false, //是否修改类别
      dialogFormVisible: false, //修改添加类别弹框
@@ -549,7 +552,7 @@
    // 疾病-----------------------
    illnessUpdate(row) {
      this.illnessVisible = true;
      this.indexid = row.topicid;
      this.indexid = row.id;
      this.illnesslistapi = [];
      const illnessqueryParams = {
        pageNum: 1,
@@ -559,7 +562,7 @@
        console.log(response);
        this.optionsillness = response.rows;
      });
      getillness({ outid: row.topicid, type: 4 }).then((res) => {
      getillness({ outid: row.id, type: 4 }).then((res) => {
        this.illnesslist = res.rows;
        console.log(res);
      });
@@ -720,7 +723,7 @@
    // 表单重置
    reset() {
      this.form = {
        topicid: undefined,
        id: undefined,
        deptId: undefined,
        userName: undefined,
        nickName: undefined,
@@ -750,7 +753,7 @@
    },
    // 多选框选中数据
    handleSelectionChange(selection) {
      this.ids = selection.map((item) => item.topicid);
      this.ids = selection.map((item) => item.id);
      this.single = selection.length != 1;
      this.multiple = !selection.length;
    },
@@ -770,7 +773,8 @@
    /** 删除按钮操作 */
    handleDelete(row) {
      const topicids = row.topicid || this.ids;
      console.log(this.ids);
      const topicids = row.id || this.ids;
      this.$modal
        .confirm('是否确认删除用户编号为"' + topicids + '"的数据项?')
        .then(function () {