mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 04:16:47 +08:00
fix:添加测评搜索bug
This commit is contained in:
@@ -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 = ()=> {
|
||||
|
||||
Reference in New Issue
Block a user