Commit b571d345 by kyle

恢复默认,城市也清空

parent 39fa14ce
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
差额 = 可实现的 - 你想要的 差额 = 可实现的 - 你想要的
</view> </view>
<view style="background: rgba(36,255,0,3%);padding: 6rpx 10rpx;border-radius: 12rpx;line-height: 1.5;"> <view style="background: rgba(36,255,0,3%);padding: 6rpx 10rpx;border-radius: 12rpx;line-height: 1.5;">
<view v-show="resultInfos.code == 'A001' || resultInfos.code =='A002'" style="display: flex;"> <view v-if="resultInfos.code == 'A001' || resultInfos.code =='A002'" style="display: flex;">
<text class="seriesNo">1</text> <text class="seriesNo">1</text>
<view>如您想实现<strong>{{resultInfos.nyear}}</strong>年后在<strong>{{resultInfos.provinceName}}-{{resultInfos.cityName}}</strong>地区购买 <view>如您想实现<strong>{{resultInfos.nyear}}</strong>年后在<strong>{{resultInfos.provinceName}}-{{resultInfos.cityName}}</strong>地区购买
<strong>{{resultInfos.preOrderSize}}</strong>㎡的房产,那么您还需要提高首付款到 <strong>{{resultInfos.preOrderSize}}</strong>㎡的房产,那么您还需要提高首付款到
...@@ -280,7 +280,7 @@ ...@@ -280,7 +280,7 @@
cityName:null, cityName:null,
preOrderSize:null,//预购面积 preOrderSize:null,//预购面积
targetPrice:null,//目标价格(现值) targetPrice:null,//目标价格(现值)
downPaymentMin:null,//首付款最低成数(百分位) downPaymentMin:30,//首付款最低成数(百分位)
newLoanYear:null,//新房贷款年限【必须大于0】 newLoanYear:null,//新房贷款年限【必须大于0】
firstHouseAmount:null,//初期购房资金(单位万) firstHouseAmount:null,//初期购房资金(单位万)
housePurchaseType:2,//购房用途 housePurchaseType:2,//购房用途
...@@ -525,7 +525,7 @@ ...@@ -525,7 +525,7 @@
acceptableLossRate: 0.1, acceptableLossRate: 0.1,
downPaymentMin: 30, downPaymentMin: 30,
houseDepreciationRate: 0.02, houseDepreciationRate: 0.02,
housePriceGrowthRate: 0.0625, housePriceGrowthRate: 0.0532,
incomeRate: 0, incomeRate: 0,
tnvestmentRate: 0.0374 tnvestmentRate: 0.0374
} }
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
return { return {
cityId:null, cityId:null,
paramsLists:[ paramsLists:[
{id:'01',name:'房价增长率',value:6.25,type:'data-picker',remark:'',alias:'housePriceGrowthRate',isShow:true }, {id:'01',name:'房价增长率',value:5.32,type:'data-picker',remark:'',alias:'housePriceGrowthRate',isShow:true },
{id:'02',name:'房屋折旧率',value:2,type:'number',remark:'',alias:'houseDepreciationRate',isShow:true}, {id:'02',name:'房屋折旧率',value:2,type:'number',remark:'',alias:'houseDepreciationRate',isShow:true},
{id:'03',name:'首付款最低成数',value:30,type:'number',remark:'',alias:'downPaymentMin',isShow:true}, {id:'03',name:'首付款最低成数',value:30,type:'number',remark:'',alias:'downPaymentMin',isShow:true},
{id:'05',name:'资产投资回报率',value:3.74,type:'number',remark:'',alias:'tnvestmentRate',isShow:true}, {id:'05',name:'资产投资回报率',value:3.74,type:'number',remark:'',alias:'tnvestmentRate',isShow:true},
...@@ -85,7 +85,9 @@ ...@@ -85,7 +85,9 @@
this.queryCommercialHousingPrice() this.queryCommercialHousingPrice()
}, },
resetParams(){ resetParams(){
this.editParamLists = JSON.parse(JSON.stringify(this.paramsLists)) this.editParamLists = JSON.parse(JSON.stringify(this.paramsLists));
this.cityId=null;
this.cityInfo = {cityId:null,provinceId:null,cityName:null,provinceName:null};
}, },
provCityQry(){ provCityQry(){
api.provCityQry({insurerId:888}).then((res)=>{ api.provCityQry({insurerId:888}).then((res)=>{
......
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