Merge branch 'feature-particulate-renpy' of http://git.hivekion.com:3000/xiaoguangbin/AnalysisSystemForRadionuclide_vue into feature-particulate-renpy

This commit is contained in:
orgin 2023-08-02 11:15:01 +08:00
commit b1b36d7b05
2 changed files with 16 additions and 4 deletions

View File

@ -234,7 +234,12 @@ export default {
} else { } else {
this.queryParam.stationIds =[] this.queryParam.stationIds =[]
} }
} },
filterOption(input, option) {
return (
option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
);
},
}, },
computed: { computed: {
formItems() { formItems() {
@ -259,6 +264,7 @@ export default {
name: 'stationIds', name: 'stationIds',
props: { props: {
allChecked: this.allChecked, allChecked: this.allChecked,
filterOption:this.filterOption,
placeholder: 'select stations', placeholder: 'select stations',
mode: 'multiple', mode: 'multiple',
maxTagCount: 1, maxTagCount: 1,

View File

@ -178,7 +178,12 @@ export default {
} else { } else {
this.queryParam.stationIds =[] this.queryParam.stationIds =[]
} }
} },
filterOption(input, option) {
return (
option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
);
},
}, },
computed: { computed: {
formItems() { formItems() {
@ -203,6 +208,7 @@ export default {
name: 'stationIds', name: 'stationIds',
props: { props: {
allChecked: this.allChecked, allChecked: this.allChecked,
filterOption:this.filterOption,
placeholder: 'select stations', placeholder: 'select stations',
mode: 'multiple', mode: 'multiple',
maxTagCount: 1, maxTagCount: 1,