|
@@ -349,8 +349,8 @@ export default {
|
|
this.$http.get('/czc-community/assets/house/find/' + value[value.length - 1]).then(({ status, data, msg }) => {
|
|
this.$http.get('/czc-community/assets/house/find/' + value[value.length - 1]).then(({ status, data, msg }) => {
|
|
if (status == 0) {
|
|
if (status == 0) {
|
|
this.formData.residentId = data.residentId;
|
|
this.formData.residentId = data.residentId;
|
|
- this.rentSaleType = data.salesType == 1 ? '可租可售' : data.salesType == 2 ? '只租' : '只售';
|
|
|
|
- this.houseType = data.buildingType == 1 ? '住宅' : '商用';
|
|
|
|
|
|
+ this.rentSaleType = data.salesType == 1 ? '可租可售' : data.salesType == 2 ? '只租' : data.salesType == 3 ? '只售' : '-';
|
|
|
|
+ this.houseType = data.buildingType == 1 ? '住宅' : data.buildingType == 2 ? '商用' : '-';
|
|
this.floor = data.floorNumber;
|
|
this.floor = data.floorNumber;
|
|
this.orientation = data.orientationOfRoom == 1 ? '东' : data.orientationOfRoom == 2 ? '南' : data.orientationOfRoom == 3 ? '西' : data.orientationOfRoom == 4 ? '北' : data.orientationOfRoom == 5 ? '东南' : data.orientationOfRoom == 6 ? '西南' : data.orientationOfRoom == 7 ? '西北' : data.orientationOfRoom == 8 ? '东北' : '-';
|
|
this.orientation = data.orientationOfRoom == 1 ? '东' : data.orientationOfRoom == 2 ? '南' : data.orientationOfRoom == 3 ? '西' : data.orientationOfRoom == 4 ? '北' : data.orientationOfRoom == 5 ? '东南' : data.orientationOfRoom == 6 ? '西南' : data.orientationOfRoom == 7 ? '西北' : data.orientationOfRoom == 8 ? '东北' : '-';
|
|
if (data.housingType != null) {
|
|
if (data.housingType != null) {
|
|
@@ -375,7 +375,8 @@ export default {
|
|
},
|
|
},
|
|
// 获取招租房屋
|
|
// 获取招租房屋
|
|
getOrgTreeList () {
|
|
getOrgTreeList () {
|
|
- this.$http.get('/czc-community/assets/tree/community/find', { buildingType: 1 }).then(({ status, data, msg }) => {
|
|
|
|
|
|
+ // { buildingType: 1 }
|
|
|
|
+ this.$http.get('/czc-community/assets/tree/community/find').then(({ status, data, msg }) => {
|
|
if (status == 0) {
|
|
if (status == 0) {
|
|
this.informTypes = data;
|
|
this.informTypes = data;
|
|
}
|
|
}
|