mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-06 17:36:44 +08:00
授课记录和讲师列表新增增加搜索
This commit is contained in:
@@ -1532,7 +1532,7 @@ export default {
|
||||
}
|
||||
|
||||
const handleOrgSearch2 = (value) => {
|
||||
let temp = JSON.parse(JSON.stringify(state.orgListSearch));
|
||||
let temp = JSON.parse(JSON.stringify(state.orgListSearch.filter(item => item.value !== '')));
|
||||
//选择数据
|
||||
state.filterOrgListSearch2 = temp.filter(item => item.label.includes(value))
|
||||
}
|
||||
|
||||
@@ -1663,10 +1663,8 @@ export default {
|
||||
}
|
||||
|
||||
const handleOrgSearch2 = (value) => {
|
||||
console.log("handleOrgSearch value: ",value)
|
||||
console.log("handleOrgSearch state.orgListSearch: ",JSON.parse(JSON.stringify(state.orgListSearch)))
|
||||
//克隆数据
|
||||
let temp = JSON.parse(JSON.stringify(state.orgListSearch));
|
||||
let temp = JSON.parse(JSON.stringify(state.orgListSearch.filter(item => item.value !== '')));
|
||||
//选择数据
|
||||
state.filterOrgListSearch2 = temp.filter(item => item.label.includes(value))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user