购买 龙盛佳苑 90-110㎡ 的房子,总价预计约为587-717万。
查看详情
From e77d1d606bfd25c56be160f7a83d6cdb8b0dd42d Mon Sep 17 00:00:00 2001
From: gaojuan
' + "租金:"+params[0].value + '元/月';
- return res;
+ if(params[0].value){
+ var res = params[0].name + '
' + "租金:"+params[0].value + '元/月';
+ return res;
+ }
+
}
},
grid:{
diff --git a/fangija-zsyf/views/changeHouse/index.html b/fangija-zsyf/views/changeHouse/index.html
index 2284b1a..a6ab26a 100644
--- a/fangija-zsyf/views/changeHouse/index.html
+++ b/fangija-zsyf/views/changeHouse/index.html
@@ -1353,10 +1353,21 @@ document.addEventListener('plusready', onPlusReady, false);
function onPlusReady() {
var self = plus.webview.currentWebview();
hsId = self.hsId
- // alert("index:"+hsId);
+ houseId = self.houseId
if(hsId){
//如果是修改置换建议,则默认将值填入
- axios.get(BASE_PATH + "/rest/changeHouse/loadHouseSubInfo",{
+ updateChangeSubtation(hsId);
+ }
+
+ if(houseId){
+ //小区报告页带入
+ fillHouseInfo(houseId);
+ }
+
+}
+//修改置换建议填充默认值
+function updateChangeSubtation(hsId){
+ axios.get(BASE_PATH + "/rest/changeHouse/loadHouseSubInfo",{
params:{
hsId:hsId
}
@@ -1398,7 +1409,22 @@ function onPlusReady() {
}).catch(function (error) {
console.log(error);
});
- }
+}
+
+function fillHouseInfo(houseId){
+ axios.get(BASE_PATH + "/rest/index/loadHouse",{
+ params:{
+ houseId:houseId
+ }
+ }).then(function (response) {
+ var data = response.data.data;
+ if(data){
+ addBaseHouseInfo(data);
+ baseInfo.houseId = hs.houseId
+ }
+ }).catch(function (error) {
+ console.log(error);
+ });
}
//填充房产价格信息
@@ -1819,7 +1845,6 @@ $("#citySearchInp").bind('keyup', function() {
});
function openAddHouse(){
- alert("ssss")
clicked('/views/house/add.html',true,false,{},{});
}
diff --git a/fangija-zsyf/views/changeHouse/result.html b/fangija-zsyf/views/changeHouse/result.html
index 221add4..2aeaa8a 100644
--- a/fangija-zsyf/views/changeHouse/result.html
+++ b/fangija-zsyf/views/changeHouse/result.html
@@ -399,8 +399,7 @@ $(document).on('infinite', '.infinite-scroll-bottom', function() {
});
function updateChangeHouse(){
- alert(hsId);
- clicked('views/changeHouse/index.html',true,false,{},{hsId:hsId});
+ clicked('/views/changeHouse/index.html',true,false,{},{hsId:hsId});
}
diff --git a/fangija-zsyf/views/component/baseInfoComponent.js b/fangija-zsyf/views/component/baseInfoComponent.js
index 060a22c..c83766b 100644
--- a/fangija-zsyf/views/component/baseInfoComponent.js
+++ b/fangija-zsyf/views/component/baseInfoComponent.js
@@ -303,5 +303,6 @@ function addSubstitution(sr, hs, house){
// onclick="openUrl('${basePath}/message/openView?url=${basePath}/mad/adUrlLoad?adid=${advertisement.id!?c}')"#if> ><#if advertisement.content??>${advertisement.content!}#if>
购买 龙盛佳苑 90-110㎡ 的房子,总价预计约为587-717万。
查看详情