|
@@ -83,11 +83,11 @@ export default {
|
|
|
}
|
|
|
if (params.school_type === '2') {
|
|
|
this.formData = [
|
|
|
- { label: '学校名称', key: 'school_name', class: 'c-2' },
|
|
|
+ { label: '学校名称', key: 'school_name' },
|
|
|
{ label: '所属区域', key: 'area_type', type: 'select', class: 'c-2', options: this.$dictData.area_type },
|
|
|
{ label: '学校属性', key: 'school_attrib', type: 'select', class: 'c-2', options: this.$dictData.school_attrib },
|
|
|
{ label: '学校类型', key: 'school_type', type: 'select', class: 'c-2', options: this.$dictData.school_type, changeHandle: this.typeChange },
|
|
|
- { label: '学校分类', key: 'school_cate', type: 'select', class: 'c-2', options: this.$dictData.school_cate },
|
|
|
+ // { label: '学校分类', key: 'school_cate', type: 'select', class: 'c-2', options: this.$dictData.school_cate },
|
|
|
{ label: '学校预警', key: 'school_warn', type: 'select', class: 'c-2', options: this.$dictData.school_warn },
|
|
|
{ label: '主图', key: 'pri_image', type: 'upload', class: 'c-2' },
|
|
|
{ label: '学区范围图', key: 'district_img', type: 'upload', class: 'c-2' },
|
|
@@ -102,11 +102,11 @@ export default {
|
|
|
]
|
|
|
} else {
|
|
|
this.formData = [
|
|
|
- { label: '学校名称', key: 'school_name', class: 'c-2' },
|
|
|
+ { label: '学校名称', key: 'school_name' },
|
|
|
{ label: '所属区域', key: 'area_type', type: 'select', class: 'c-2', options: this.$dictData.area_type },
|
|
|
{ label: '学校属性', key: 'school_attrib', type: 'select', class: 'c-2', options: this.$dictData.school_attrib },
|
|
|
{ label: '学校类型', key: 'school_type', type: 'select', class: 'c-2', options: this.$dictData.school_type, changeHandle: this.typeChange },
|
|
|
- { label: '学校分类', key: 'school_cate', type: 'select', class: 'c-2', options: this.$dictData.school_cate },
|
|
|
+ // { label: '学校分类', key: 'school_cate', type: 'select', class: 'c-2', options: this.$dictData.school_cate },
|
|
|
{ label: '学校预警', key: 'school_warn', type: 'select', class: 'c-2', options: this.$dictData.school_warn },
|
|
|
{ label: '主图', key: 'pri_image', type: 'upload', class: 'c-2' },
|
|
|
{ label: '学区范围图', key: 'district_img', type: 'upload', class: 'c-2' },
|