fix:添加测评搜索bug

This commit is contained in:
Ggysh-7
2022-11-25 23:02:21 +08:00
parent 33f5f9cb4f
commit 65b5dfbd1d
3 changed files with 14 additions and 7 deletions

View File

@@ -124,6 +124,10 @@ import { reactive, toRefs } from "vue";
dataIndex: "theme_desc",
key: "content",
align: "center",
maxWidth: "13%",
overflow: 'hidden',
whiteSpace: 'nowrap',
textOverflow: 'ellipsis',
},
{
title: "状态",
@@ -160,6 +164,7 @@ import { reactive, toRefs } from "vue";
state.selectedRowKeys = []
state.evListData = {}
state.inputV1 = ""
state.searching = false
};
const afterVisibleChange = (bol) => {
if ( bol == true ) {
@@ -168,7 +173,6 @@ import { reactive, toRefs } from "vue";
};
const checkFinish =() =>{
ctx.emit("getEvListData", state.evListData);
console.log('儿子',state.evListData);
closeDrawer();
}
const changePagination = (page) => {
@@ -251,8 +255,13 @@ import { reactive, toRefs } from "vue";
}
//搜索测评列表
const searchList = ()=> {
state.searching = true
getAllEvalText()
if(state.inputV1 !== ''){
state.searching = true
getAllEvalText()
}else {
state.searching = false
resetData()
}
}
//重置测评列表
const resetData = ()=> {