|
@@ -60,7 +60,7 @@ export function useSearchFilterModel(conf) {
|
|
|
// 搜索范围
|
|
|
selectType: ['title', 'content'],
|
|
|
// 信息类型
|
|
|
- subType: {},
|
|
|
+ subtype: {},
|
|
|
// 发布时间
|
|
|
publishTime: '',
|
|
|
// 换手率
|
|
@@ -127,9 +127,9 @@ export function useSearchFilterModel(conf) {
|
|
|
}
|
|
|
// 格式化物业专版的筛选条件
|
|
|
function getFormatAPIPropertyParams() {
|
|
|
- const { publishTime, regionMap, notKey, subType, expireTime } = filterState.value
|
|
|
+ const { publishTime, regionMap, notKey, subtype, expireTime } = filterState.value
|
|
|
const { area, city } = areaObjTwoToSingle(regionMap)
|
|
|
- const rSubtype = infoTypeMapFormat(subType)
|
|
|
+ const rSubtype = infoTypeMapFormat(subtype)
|
|
|
let rPublishTime = ''
|
|
|
if(publishTime && publishTime.indexOf('-') > -1) {
|
|
|
const arr = publishTime.split('-')
|
|
@@ -162,7 +162,7 @@ export function useSearchFilterModel(conf) {
|
|
|
period: filterState.value.period?.join(),
|
|
|
propertyForm: filterState.value.propertyForm?.join(),
|
|
|
selectType: filterState.value.selectType?.join(','),
|
|
|
- subType: rSubtype,
|
|
|
+ subtype: rSubtype,
|
|
|
publishTime: rPublishTime ,
|
|
|
changeHand: filterState.value.changeHand ? Number(filterState.value.changeHand) : 0,
|
|
|
fileExists: filterState.value.fileExists,
|