Commit 76ab5a8d authored by Hsinli's avatar Hsinli

addd

parent ed4863ae
Pipeline #13170 passed with stage
in 4 seconds
...@@ -130,7 +130,7 @@ class NewHouseService extends Service { ...@@ -130,7 +130,7 @@ class NewHouseService extends Service {
async formatNewHouse(data) { async formatNewHouse(data) {
const { ctx } = this; const { ctx } = this;
const decorationType = { 1: '毛坯', 2: '简装', 3: '精装' } const decorationType = { 1: '毛坯', 2: '简装', 3: '精装' }
const archType = { 1: '板楼', 2: '塔楼', 3: '别墅', 4: '塔板结合', 5: '高层', 6: '花园洋房', 7: '多层' };//建筑类型 1 板楼 2塔楼 3别墅, 4塔板结合,5高层, 6花园洋房, 7多层 const archType = { 1: '板楼', 2: '塔楼', 3: '别墅', 4: '塔板结合', 5: '高层', 6: '花园洋房', 7: '多层' };
let ret = {}; let ret = {};
if (Object.keys(data).length > 0) { if (Object.keys(data).length > 0) {
let nearBy = ''; let nearBy = '';
...@@ -242,6 +242,7 @@ class NewHouseService extends Service { ...@@ -242,6 +242,7 @@ class NewHouseService extends Service {
power_supply_type: data.residential_power_suppler_type,//供电方式 power_supply_type: data.residential_power_suppler_type,//供电方式
near_by: nearBy,//周边规划 near_by: nearBy,//周边规划
}, },
//2.2版本是新拉的数据是多个售卖资格
permit: (data.selling_qualification === null || !data.selling_qualification) ? [] : JSON.parse(data.selling_qualification) permit: (data.selling_qualification === null || !data.selling_qualification) ? [] : JSON.parse(data.selling_qualification)
// permit: { // permit: {
// pre_sale_permit: data.pre_sale_permit,//预售证 // pre_sale_permit: data.pre_sale_permit,//预售证
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment