mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-24 02:02:55 +08:00
考试列表改为试卷列表,课程分类搜索
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user