【修改】试卷任务增加修改操作,试卷换题增加关键字搜索条件,mysql出题增加数据库名字段
This commit is contained in:
@@ -202,6 +202,12 @@
|
||||
clearable
|
||||
style="flex: 1; min-width: 180px;"
|
||||
/>
|
||||
<el-input
|
||||
v-model="queryParams.keywords"
|
||||
placeholder="试题关键字"
|
||||
clearable
|
||||
style="flex: 1; min-width: 180px;"
|
||||
/>
|
||||
<el-button type="primary" @click="handleQuery"><Icon icon="ep:search" class="mr-5px" />搜索</el-button>
|
||||
<el-button @click="resetSearch"> <Icon icon="ep:refresh" class="mr-5px" />重置</el-button>
|
||||
<el-button @click="resetRandom" > 随机换题</el-button>
|
||||
@@ -223,7 +229,7 @@
|
||||
<dict-tag :type="DICT_TYPE.EXAM_QUE_DIFF" :value="scope.row.quLevel" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- <el-table-column label="知识点" align="center" prop="pointNames" :show-overflow-tooltip="true" /> -->
|
||||
<el-table-column label="关键字" align="center" prop="keywords" :show-overflow-tooltip="true" />
|
||||
<!-- <el-table-column label="审核状态" align="center" prop="audit" :show-overflow-tooltip="true">
|
||||
<template #default="scope">
|
||||
<dict-tag :type="DICT_TYPE.QUESTION_AUDIT" :value="scope.row.audit" />
|
||||
@@ -416,6 +422,7 @@ const queryParams = reactive({
|
||||
status:"0",
|
||||
specialtyName:"",
|
||||
courseName:"",
|
||||
keywords:""
|
||||
})
|
||||
const emit = defineEmits(['done']);
|
||||
const visible = defineModel({ type: Boolean }); // 对应 v-model
|
||||
@@ -471,6 +478,7 @@ const resetSearch = () => {
|
||||
queryParams.pointNames = '';
|
||||
queryParams.quLevel = '';
|
||||
queryParams.quNum = '';
|
||||
queryParams.keywords= "",
|
||||
queryParams.pageNo = 1;
|
||||
getList();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user