mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 22:06:45 +08:00
讲师费管理,选择培训发生组织 , 重新处理 过滤处理
This commit is contained in:
@@ -26,10 +26,10 @@
|
||||
<a-select
|
||||
v-model:value="searchParam.trainOrgId"
|
||||
style="width: 200px"
|
||||
:options="copyOrgListSearch"
|
||||
:options="orgListSearch"
|
||||
allowClear
|
||||
showSearch
|
||||
@search="handleOrgSearch"
|
||||
:filter-option="handleOrgSearch"
|
||||
placeholder="请选择培训发生组织"
|
||||
>
|
||||
</a-select>
|
||||
@@ -592,8 +592,6 @@ export default {
|
||||
tableDataSee: [],
|
||||
SeeLoading: false,
|
||||
orgList: [],
|
||||
//TODO4
|
||||
copyOrgListSearch:[],
|
||||
orgListSearch: [],
|
||||
selectsIds: '',
|
||||
visibleConfirm: false,
|
||||
@@ -693,8 +691,6 @@ export default {
|
||||
state.orgListSearch.unshift({
|
||||
label: '全部', value: ''
|
||||
})
|
||||
state.copyOrgListSearch = state.orgListSearch;
|
||||
console.log("queryTrainOrgPor copyOrgListSearch",state.copyOrgListSearch)
|
||||
})
|
||||
}
|
||||
//费用类型
|
||||
@@ -1564,16 +1560,10 @@ export default {
|
||||
}
|
||||
|
||||
//TODO4 筛查
|
||||
const handleOrgSearch = (value) => {
|
||||
let filterParam = value.trim();
|
||||
console.log("handleOrgSearch value",value)
|
||||
console.log("handleOrgSearch filterParam",filterParam)
|
||||
let temp = JSON.parse(JSON.stringify(state.orgListSearch));
|
||||
console.log("handleOrgSearch temp",temp)
|
||||
state.copyOrgListSearch = temp.filter((item)=>
|
||||
item.label.includes(filterParam)
|
||||
);
|
||||
console.log("handleOrgSearch copyOrgListSearch",state.copyOrgListSearch)
|
||||
const handleOrgSearch = (input , option) => {
|
||||
console.log("handleOrgSearch input",input)
|
||||
console.log("handleOrgSearch option",option)
|
||||
console.log("orgListSearch data",orgListSearch)
|
||||
}
|
||||
|
||||
const handleImport = () => {
|
||||
|
||||
Reference in New Issue
Block a user