feat:增加组织树及学员搜索

This commit is contained in:
lixg
2022-11-28 10:22:48 +08:00
15 changed files with 613 additions and 507 deletions

View File

@@ -48,7 +48,7 @@
</div>
</div>
<div class="tmplh_btn">
<div class="btn btn1" @click="search">
<div class="btn btn1" @click="getFaceList">
<div class="search"></div>
<div class="btnText btnText1">搜索</div>
</div>
@@ -426,9 +426,9 @@ export default {
label: "rose",
},
],
valueproj: null,
valuecreater: null,
valuename: null,
valueproj: "",
valuecreater: "",
valuename: "",
// currentFacePage: 1,
currentPage: 1,
total: null,
@@ -526,14 +526,14 @@ export default {
iframeUrl: iframeUrl,
});
const getFaceList = (obj) => {
let objn = obj || {
const getFaceList = () => {
let objn = {
auditStatus: 1,
// beginTime: 0,
categoryId: 0,
createName: "",
createName: state.valuecreater,
// endTime: 0,
name: "",
name: state.valuename,
pageNo: state.currentPage,
pageSize: 10,
projectName: "",
@@ -586,21 +586,6 @@ export default {
state.valuename = null;
getFaceList();
};
const search = () => {
let obj = {
auditStatus: 1,
// beginTime: 0,
// categoryId: state.valueproj,
categoryId: 0,
createName: state.valuecreater,
// endTime: 0,
name: state.valuename,
pageNo: state.currentPage,
pageSize: 10,
projectName: "",
};
getFaceList(obj);
};
const changePagination = (pagina) => {
state.currentPage = pagina;
getFaceList();
@@ -646,7 +631,6 @@ export default {
...toRefs(state),
getFaceList,
setFaceData,
search,
reset,
changePagination,
showAudit,