|
@@ -42,26 +42,26 @@ export default {
|
|
|
this.searchData = [
|
|
|
{ label: '所属区域', key: 'area_type', type: 'select', options: this.$dictData.area_type},
|
|
|
{ label: '楼盘名称', key: 'estate_name' },
|
|
|
- // { label: '就读学校', key: 'search_EQ_companyId', type: 'selectRemote',
|
|
|
- // remoteParams: { skey: 'search_LIKE_companyName', api: `config.merchantlist?search_EQ_orgType=90&search_EQ_status=1`, opKey: 'companyName', opVal: 'id' }
|
|
|
- // },
|
|
|
- // { label: '地铁线路', key: 'metro_line', type: 'select', options: this.$dictData.metro_line, changeHandle: this.subwayLineChange},
|
|
|
- // { label: '地铁站名', key: 'metro_type', type: 'select', class: 'c-3', options: subwayNameDD},
|
|
|
- // { label: '周边医院', key: 'hospital_type', type: 'select', class: 'c-3', options: this.$dictData.hospital_type },
|
|
|
- // { label: '周边商圈', key: 'high_street', type: 'select', class: 'c-3', options: this.$dictData.high_street },
|
|
|
- // { label: '周边公园', key: 'park_type', type: 'select', class: 'c-3', options: this.$dictData.park_type },
|
|
|
+ { label: '就读学校', key: 'school_id', type: 'selectRemote',
|
|
|
+ remoteParams: { skey: 'school_name', api: `house.admschoollist`, opKey: 'school_name', opVal: 'id' }
|
|
|
+ },
|
|
|
+ { label: '地铁线路', key: 'metro_line', type: 'select', options: this.$dictData.metro_line, changeHandle: this.subwayLineChange},
|
|
|
+ { label: '地铁站名', key: 'metro_type', type: 'select', class: 'c-3', options: subwayNameDD},
|
|
|
+ { label: '周边医院', key: 'hospital_type', type: 'select', class: 'c-3', options: this.$dictData.hospital_type },
|
|
|
+ { label: '周边商圈', key: 'high_street', type: 'select', class: 'c-3', options: this.$dictData.high_street },
|
|
|
+ { label: '周边公园', key: 'park_type', type: 'select', class: 'c-3', options: this.$dictData.park_type },
|
|
|
]
|
|
|
} else {
|
|
|
this.searchData = [
|
|
|
{ label: '所属区域', key: 'area_type', type: 'select', options: this.$dictData.area_type},
|
|
|
{ label: '楼盘名称', key: 'estate_name' },
|
|
|
- // { label: '就读学校', key: 'search_EQ_companyId', type: 'selectRemote',
|
|
|
- // remoteParams: { skey: 'search_LIKE_companyName', api: `config.merchantlist?search_EQ_orgType=90&search_EQ_status=1`, opKey: 'companyName', opVal: 'id' }
|
|
|
- // },
|
|
|
- // { label: '地铁线路', key: 'metro_line', type: 'select', options: this.$dictData.metro_line, changeHandle: this.subwayLineChange},
|
|
|
- // { label: '周边医院', key: 'hospital_type', type: 'select', class: 'c-3', options: this.$dictData.hospital_type },
|
|
|
- // { label: '周边商圈', key: 'high_street', type: 'select', class: 'c-3', options: this.$dictData.high_street },
|
|
|
- // { label: '周边公园', key: 'park_type', type: 'select', class: 'c-3', options: this.$dictData.park_type },
|
|
|
+ { label: '就读学校', key: 'school_id', type: 'selectRemote',
|
|
|
+ remoteParams: { skey: 'school_name', api: `house.admschoollist`, opKey: 'school_name', opVal: 'id' }
|
|
|
+ },
|
|
|
+ { label: '地铁线路', key: 'metro_line', type: 'select', options: this.$dictData.metro_line, changeHandle: this.subwayLineChange},
|
|
|
+ { label: '周边医院', key: 'hospital_type', type: 'select', class: 'c-3', options: this.$dictData.hospital_type },
|
|
|
+ { label: '周边商圈', key: 'high_street', type: 'select', class: 'c-3', options: this.$dictData.high_street },
|
|
|
+ { label: '周边公园', key: 'park_type', type: 'select', class: 'c-3', options: this.$dictData.park_type },
|
|
|
]
|
|
|
}
|
|
|
this.setDefaultValue(params, 'searchData')
|