|
@@ -9,9 +9,17 @@ import {
|
|
|
createSearchBidMoreSchema
|
|
|
} from '@/views/search/bidding/constant/search-filters'
|
|
|
|
|
|
+const {
|
|
|
+ isVip,
|
|
|
+ isOld,
|
|
|
+ filterState,
|
|
|
+ doQuery,
|
|
|
+ showFilter
|
|
|
+} = SearchBidModel
|
|
|
+
|
|
|
const conf = ref({
|
|
|
- vipUser: false,
|
|
|
- oldUser: true
|
|
|
+ vipUser: isVip.value,
|
|
|
+ oldUser: isOld.value
|
|
|
})
|
|
|
const SearchBidBaseSchema = createSearchBidBaseSchema(conf.value)
|
|
|
const SearchBidMoreSchema = createSearchBidMoreSchema()
|
|
@@ -36,18 +44,11 @@ const customMoreSchema = {
|
|
|
|
|
|
function noPower() {
|
|
|
$bus.$emit('search:filter:no-power')
|
|
|
- console.log('showDialog')
|
|
|
}
|
|
|
|
|
|
console.log(SearchBidBaseSchema)
|
|
|
console.log(SearchBidMoreSchema)
|
|
|
|
|
|
-const {
|
|
|
- filterState,
|
|
|
- doQuery,
|
|
|
- showFilter
|
|
|
-} = SearchBidModel
|
|
|
-
|
|
|
function doChangeFilter() {
|
|
|
doQuery()
|
|
|
}
|
|
@@ -107,6 +108,6 @@ function doChangeFilter() {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
</style>
|