|
@@ -193,8 +193,8 @@ export default {
|
|
|
},
|
|
|
roomAreaUploadBefore(file) {
|
|
|
const isJPGPNG = file.type === 'image/jpeg' || file.type === 'image/png'
|
|
|
- // const isLt2M = file.size / 1024 / 1024 < 2
|
|
|
- const isLT150k = file.size / 1024 / 1024 < 0.4
|
|
|
+ const isLt2M = file.size / 1024 / 1024 < 2
|
|
|
+ // const isLT150k = file.size / 1024 / 1024 < 0.4
|
|
|
if (!isJPGPNG) {
|
|
|
this.$message.error('上传图片只能是 JPG PNG 格式!')
|
|
|
}
|
|
@@ -258,9 +258,9 @@ export default {
|
|
|
{ label: '所属区域', key: 'area_type', type: 'select', class: 'c-3', options: this.$dictData.area_type },
|
|
|
{ label: '地铁线路', key: 'metro_line', type: 'select', class: 'c-3', options: this.$dictData.metro_line, changeHandle: this.metroLineChange, multiple: true },
|
|
|
{ label: '地铁站名', key: 'metro_type', type: 'select', class: 'c-3', options: metroTypeArr, multiple: true},
|
|
|
- { label: '周边医院', key: 'hospital_type', type: 'select', class: 'c-3', options: this.$dictData.hospital_type, multiple: true },
|
|
|
- { label: '周边商圈', key: 'high_street', type: 'select', class: 'c-3', options: this.$dictData.high_street, multiple: true },
|
|
|
- { label: '周边公园', key: 'park_type', type: 'select', class: 'c-3', options: this.$dictData.park_type, multiple: true },
|
|
|
+ // { label: '周边医院', key: 'hospital_type', type: 'select', class: 'c-3', options: this.$dictData.hospital_type, multiple: true },
|
|
|
+ // { label: '周边商圈', key: 'high_street', type: 'select', class: 'c-3', options: this.$dictData.high_street, multiple: true },
|
|
|
+ // { label: '周边公园', key: 'park_type', type: 'select', class: 'c-3', options: this.$dictData.park_type, multiple: true },
|
|
|
{ label: '建设时间', key: 'build_time', class: 'c-3', type: 'datePicker', type2: 'month', valueFormat: 'yyyy-MM'},
|
|
|
{ label: '竣工时间', key: 'complete_time', class: 'c-3', type: 'datePicker', type2: 'month', valueFormat: 'yyyy-MM'},
|
|
|
{ label: '容积率', key: 'plot_ratio', class: 'c-3', type: 'inputFont', appendFont: '%'},
|