|
@@ -5,6 +5,7 @@ import RegionSelector from '@/components/filter-items/RegionSelector'
|
|
|
import AmountRangeSelector from '@/components/filter-items/AmountRangeSelector.vue'
|
|
|
import AttachmentSelector from '@/components/filter-items/AttachmentSelector.vue'
|
|
|
import InfoTypeDropdown from '@/components/filter-items/InfoTypeDropdown.vue'
|
|
|
+import { attachmentData, infoSource, viewStatusData } from '@/assets/js/selector.js'
|
|
|
import SelectorWithBasePower from '@/components/filter-items/SelectorWithBasePower.vue'
|
|
|
import SearchTimeScopeSelector from '@/components/selector/SearchTimeScopeSelector.vue'
|
|
|
import $bus from '@/utils/bus'
|
|
@@ -18,7 +19,8 @@ const moreFiltersNeedVipKeyList = [
|
|
|
'price',
|
|
|
'buyerClass',
|
|
|
'subtype',
|
|
|
- 'source'
|
|
|
+ 'source',
|
|
|
+ 'isRead'
|
|
|
]
|
|
|
function noPower() {
|
|
|
$bus.$emit('search:filter:no-power')
|
|
@@ -138,7 +140,10 @@ function createSubscribeMoreSchema() {
|
|
|
_type: 'component',
|
|
|
expand: {
|
|
|
component: AttachmentSelector,
|
|
|
- hooks: {}
|
|
|
+ hooks: {},
|
|
|
+ props: {
|
|
|
+ options: attachmentData
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -151,10 +156,26 @@ function createSubscribeMoreSchema() {
|
|
|
component: AttachmentSelector,
|
|
|
hooks: {},
|
|
|
props: {
|
|
|
+ options: infoSource,
|
|
|
placeholder: '信息来源'
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ {
|
|
|
+ key: 'isRead',
|
|
|
+ label: '查看状态',
|
|
|
+ defaultVal: '',
|
|
|
+ _name: 'type',
|
|
|
+ _type: 'component',
|
|
|
+ expand: {
|
|
|
+ component: AttachmentSelector,
|
|
|
+ hooks: {},
|
|
|
+ props: {
|
|
|
+ options: viewStatusData,
|
|
|
+ placeholder: '查看状态'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
]
|
|
|
|
|
|
SubscribeMoreSchema.forEach((schema) => {
|