|
@@ -1506,60 +1506,7 @@
|
|
|
class="question-select-dialog"
|
|
|
>
|
|
|
<div class="question-select-content">
|
|
|
- <!-- 搜索栏 -->
|
|
|
- <!-- <div class="search-bar">
|
|
|
- <div class="search-inputs">
|
|
|
- <el-input
|
|
|
- v-model="questionSearchKeyword"
|
|
|
- placeholder="请输入关键词搜索题目"
|
|
|
- clearable
|
|
|
- @clear="handleQuestionSearch"
|
|
|
- @keyup.enter="handleQuestionSearch"
|
|
|
- style="width: 300px; margin-right: 10px;"
|
|
|
- >
|
|
|
- <template #append>
|
|
|
- <el-button @click="handleQuestionSearch">
|
|
|
- <el-icon><Search /></el-icon>
|
|
|
- </el-button>
|
|
|
- </template>
|
|
|
- </el-input>
|
|
|
- <el-select
|
|
|
- v-model="questionListQuery.question_form"
|
|
|
- placeholder="题目类型"
|
|
|
- clearable
|
|
|
- @change="handleQuestionSearch"
|
|
|
- style="width: 120px;"
|
|
|
- >
|
|
|
- <el-option label="开放问题" :value="0" />
|
|
|
- <el-option label="单选题" :value="1" />
|
|
|
- </el-select>
|
|
|
- </div>
|
|
|
- </div> -->
|
|
|
-
|
|
|
- <!-- 题目列表 -->
|
|
|
- <!-- <div class="question-lists">
|
|
|
- <el-table
|
|
|
- :data="questionList"
|
|
|
- style="width: 100%"
|
|
|
- @selection-change="handleQuestionSelectionChange"
|
|
|
- >
|
|
|
- <el-table-column type="selection" width="55" />
|
|
|
- <el-table-column prop="question" label="题目标题" />
|
|
|
- <el-table-column prop="question_form_name" label="题目类型" width="100"/>
|
|
|
- </el-table>
|
|
|
- <div class="pagination-container">
|
|
|
- <el-pagination
|
|
|
- v-model:current-page="questionListQuery.page"
|
|
|
- v-model:page-size="questionListQuery.pageSize"
|
|
|
- :total="totalQuestions"
|
|
|
- :page-sizes="[10, 20, 50, 100]"
|
|
|
- layout="total, sizes, prev, pager, next"
|
|
|
- @size-change="handleQuestionSizeChange"
|
|
|
- @current-change="handleQuestionPageChange"
|
|
|
- />
|
|
|
- </div>
|
|
|
- </div> -->
|
|
|
- <div v-loading="treeLoading">
|
|
|
+ <div >
|
|
|
<el-tree
|
|
|
ref="treeRef"
|
|
|
:data="treeData"
|
|
@@ -1568,6 +1515,7 @@
|
|
|
default-expand-all
|
|
|
highlight-current
|
|
|
@node-click="handleNodeClick"
|
|
|
+ v-loading="treeLoading"
|
|
|
>
|
|
|
<template #default="{ node, data }">
|
|
|
<div class="custom-tree-node">
|