|
@@ -56,14 +56,14 @@ export default {
|
|
|
this.formData = [
|
|
|
{ label: '标题', key: 'title', rules: 1 },
|
|
|
{ label: '分类', key: 'information_category', rules: 1, type: 'select', class: 'c-2', options: this.$dictData.information_category, changeHandle: this.cateChange },
|
|
|
- { label: '作者', key: 'author', class: 'c-2' },
|
|
|
- { label: '主图', key: 'pri_image', type: 'cuImg',
|
|
|
+ { label: '作者', key: 'author', class: 'c-2', rules: 1 },
|
|
|
+ { label: '主图', key: 'pri_image', type: 'cuImg', rules: 1,
|
|
|
options: {
|
|
|
w: 500,
|
|
|
h: 350,
|
|
|
}, class: 'c-2' },
|
|
|
- { label: '状态', key: 'hide_status', type: 'select', class: 'c-2', options: this.$dictData.hide_status },
|
|
|
- { label: '时间', key: 'create_at', type: 'datePicker', type2: 'date', class: 'c-2'},
|
|
|
+ { label: '状态', key: 'hide_status', rules: 1, type: 'select', class: 'c-2', options: this.$dictData.hide_status },
|
|
|
+ { label: '时间', key: 'create_at', rules: 1, type: 'datePicker', type2: 'date', class: 'c-2'},
|
|
|
{ label: '精选', key: 'select_status', type: 'select', class: 'c-2', options: this.$dictData.select_status },
|
|
|
{ label: '楼盘', key: 'estate_id_list', type: 'selectRemote', multiple: true, changeHandle: this.deviceChange,
|
|
|
remoteParams: { skey: 'estate_name', api: `house.admestatelist?search_EQ_status=1`, opKey: 'estate_name', opVal: 'id' },
|