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

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

@@ -16,7 +16,7 @@
<div class="inpbox1">
<!--
<a-select
v-model:value="categoryId"
v-model:value="valueproj"
:options="[
{ label: '请选择内容分类', value: '' },
...calssifyList,
@@ -28,11 +28,12 @@
return triggerNode.parentNode || document.body;
}
"
v-model:value="categoryId"
v-model:value="valueproj"
show-search
:dropdown-style="{ maxHeight: '400px', overflow: 'auto' }"
placeholder="请选择内容分类"
allow-clear
tree-default-expand-all
:tree-data="options2222"
>
@@ -213,7 +214,7 @@ export default {
},
],
calssifyList: [], //分类字典
categoryId: "",
valueproj:null,
valuecreater: "",
valuename: "",
// currentFacePage: 1,
@@ -488,7 +489,7 @@ export default {
state.loading=true
let objn = {
auditStatus: 1,
categoryId: state.categoryId,
categoryId: state.valueproj,
createName: state.valuecreater,
name: state.valuename,
pageNo: state.currentPage,
@@ -557,7 +558,7 @@ export default {
const searchList = () => {
let objn = {
auditStatus: 1,
categoryId: state.categoryId,
categoryId: state.valueproj,
createName: state.valuecreater,
name: state.valuename,
pageNo: state.currentPage,
@@ -622,7 +623,7 @@ export default {
state.tableData1 = array;
};
const reset = () => {
state.categoryId = "";
state.valueproj = "";
state.valuecreater = null;
state.valuename = null;
getFaceList();