考试列表改为试卷列表,课程分类搜索

This commit is contained in:
zhangyc
2022-12-13 14:14:19 +08:00
parent 405b1b1c02
commit 171ad0af18
8 changed files with 77 additions and 36 deletions

View File

@@ -14,6 +14,7 @@
<div class="tmplh_inp">
<div class="inpbox">
<div class="inpbox1">
<!--
<a-select
v-model:value="valueproj"
value-key="value"
@@ -21,7 +22,27 @@
{ label: '请选择内容分类', value: '' },
...calssifyList,
]"
/>
/>-->
<a-tree-select
:getPopupContainer="
(triggerNode) => {
return triggerNode.parentNode || document.body;
}
"
v-model:value="valueproj"
show-search
:dropdown-style="{ maxHeight: '400px', overflow: 'auto' }"
placeholder="请选择内容分类"
allow-clear
tree-default-expand-all
:tree-data="options2222"
>
<template #title="{ value: val, title }">
<b v-if="val === '11111'" style="color: #08c">sss</b>
<template v-else>{{ title }}</template>
</template>
</a-tree-select>
</div>
<div class="inpbox1">
<a-input
@@ -140,7 +161,7 @@ export default {
setup() {
const state = reactive({
calssifyList: [], //分类字典
valueproj: "",
valueproj:null,
valuecreater: "",
valuename: "",
currentPage: 1,