Browse Source

temp save

liujq 4 years ago
parent
commit
ee6752f82a

+ 1 - 1
src/layout/components/Sidebar/Logo.vue

@@ -24,7 +24,7 @@ export default {
   },
   data() {
     return {
-      title: '房票管理系统',
+      title: '洪楼管理系统',
       logo: require('@/assets/logo.jpg'),
     }
   }

+ 8 - 6
src/views/house/components/popup/IndexEdit.vue

@@ -257,21 +257,21 @@ 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: '%'},
-        { label: '占地面积', key: 'acreage', class: 'c-3', type: 'inputFont', appendFont: '平方米'},
-        { label: '建筑面积', key: 'built_up_area', class: 'c-3', type: 'inputFont', appendFont: '平方米'},
+        { label: '占地面积', key: 'acreage', class: 'c-3', type: 'inputFont', appendFont: ''},
+        { label: '建筑面积', key: 'built_up_area', class: 'c-3', type: 'inputFont', appendFont: ''},
         { label: '总户数', key: 'household', class: 'c-3', type: 'inputFont', appendFont: '户'},
         { label: '物业公司', key: 'property_type', class: 'c-3'},
         { label: '物业费', key: 'property_fee', class: 'c-3'},
         { label: '车位数量', key: 'parking', class: 'c-3'},
         { label: '产品类型', key: 'product_type', type: 'select', options: this.$dictData.product_type, multiple: true, changeHandle: this.productTypeChange},
         // { label: '房型', key: 'house_type', type: 'select', options: this.$dictData.house_type, multiple: true},
-        // { label: '面积', label2: '多个面积英文逗号,分开(如:100,120)', key: 'house_area', type: 'inputFont', appendFont: '平方米'},
+        // { label: '面积', label2: '多个面积英文逗号,分开(如:100,120)', key: 'house_area', type: 'inputFont', appendFont: ''},
         // { label: '均价范围1', key: 'price_min', class: 'c-3', type: 'inputFont', appendFont: '元(最小)'},
         // { label: '均价范围2', key: 'price_max', class: 'c-3', type: 'inputFont', appendFont: '元(最大)'},
         { label: '就读学校', key: 'school_id_list', type: 'selectRemote', multiple: true,
@@ -346,12 +346,14 @@ export default {
             if (this.curObj.id) apiStr = 'admestateedit'
             this.$api.house[apiStr](newForm).then(data => {
               this.$msgs(newForm.id ? '编辑成功' : '新增成功')
+              this.productData = []
               this.$emit('close', newForm)
             })
           }
         })
       } else {
         this.$emit('close')
+        this.productData = []
         this.setDefaultValue()
       }
     },