|
@@ -256,7 +256,7 @@ export default {
|
|
|
params.school_id_list = []
|
|
|
}
|
|
|
this.formData = [
|
|
|
- { label: '楼盘名称', key: 'estate_name' },
|
|
|
+ { label: '楼盘名称', key: 'estate_name', rules: 1 },
|
|
|
{ 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},
|
|
@@ -291,9 +291,9 @@ export default {
|
|
|
remoteParams: { skey: 'school_name', api: `house.admschoollist`, opKey: 'school_name', opVal: 'id' },
|
|
|
remoteOptions: remoteOptionsSchoolList
|
|
|
},
|
|
|
- { label: '楼盘地址', key: 'address' },
|
|
|
+ { label: '楼盘地址', key: 'address', rules: 1 },
|
|
|
{ label: '不利因素', key: 'minus_points' },
|
|
|
- { label: '楼盘图', key: 'pri_image', class: 'c-3', type: 'upload' },
|
|
|
+ { label: '楼盘图', key: 'pri_image', class: 'c-3', type: 'upload', rules: 1 },
|
|
|
{ label: '简评', key: 'remarked', class: 'c-3s', type: 'textarea' },
|
|
|
]
|
|
|
this.setDefaultValue(params)
|