From ed4e29b20c8b91d67f5c9095ec8c88d571aa1e77 Mon Sep 17 00:00:00 2001 From: gaojuan Date: Wed, 18 Apr 2018 20:04:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E5=88=B7=E6=96=B0=E8=A1=8C?= =?UTF-8?q?=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fangija-zsyf/js/quotations/cityDetail.js | 3 ++- fangija-zsyf/manifest.json | 3 ++- fangija-zsyf/views/component/cityIncreaseRankingComponent.js | 2 ++ fangija-zsyf/views/component/cityPotentialRankingComponent.js | 2 ++ fangija-zsyf/views/house/houseDetail.html | 2 +- 5 files changed, 9 insertions(+), 3 deletions(-) diff --git a/fangija-zsyf/js/quotations/cityDetail.js b/fangija-zsyf/js/quotations/cityDetail.js index 38c9176..1e54162 100644 --- a/fangija-zsyf/js/quotations/cityDetail.js +++ b/fangija-zsyf/js/quotations/cityDetail.js @@ -495,8 +495,9 @@ function collectCity(city, type){ $.confirm(title, function () { docollectCity(city, type) - plus.webview.getWebviewById('views/house/houseDetail.html').reload(); + }); + plus.webview.getWebviewById('views/house/houseDetail.html').reload(); plus.webview.getWebviewById('views/house/houseManageList.html').reload(); plus.webview.getWebviewById('views/user/userInfo.html').reload(); diff --git a/fangija-zsyf/manifest.json b/fangija-zsyf/manifest.json index 03e0556..3d55e64 100644 --- a/fangija-zsyf/manifest.json +++ b/fangija-zsyf/manifest.json @@ -1670,7 +1670,8 @@ "views/house/add.html": { "resources": [], "refer": [ - "views/evaluate/evaluateReport.html" + "views/evaluate/evaluateReport.html", + "views/user/codeSms.html" ], "priority": 0 }, diff --git a/fangija-zsyf/views/component/cityIncreaseRankingComponent.js b/fangija-zsyf/views/component/cityIncreaseRankingComponent.js index cda4e19..20f7f8d 100644 --- a/fangija-zsyf/views/component/cityIncreaseRankingComponent.js +++ b/fangija-zsyf/views/component/cityIncreaseRankingComponent.js @@ -96,6 +96,8 @@ Vue.component('city_increase_ranking',{ }).catch(function(error){ console.log(error) }) + },function(){ + plus.webview.getWebviewById('views/house/houseDetail.html').reload(); }); plus.webview.getWebviewById('views/house/houseManageList.html').reload(); diff --git a/fangija-zsyf/views/component/cityPotentialRankingComponent.js b/fangija-zsyf/views/component/cityPotentialRankingComponent.js index 703d0da..c71d9d0 100644 --- a/fangija-zsyf/views/component/cityPotentialRankingComponent.js +++ b/fangija-zsyf/views/component/cityPotentialRankingComponent.js @@ -105,6 +105,8 @@ Vue.component('city_potential_ranking',{ }).catch(function(error){ console.log(error) }) + },function(){ + plus.webview.getWebviewById('views/house/houseDetail.html').reload(); }); plus.webview.getWebviewById('views/house/houseManageList.html').reload(); diff --git a/fangija-zsyf/views/house/houseDetail.html b/fangija-zsyf/views/house/houseDetail.html index b2baada..c43cea7 100644 --- a/fangija-zsyf/views/house/houseDetail.html +++ b/fangija-zsyf/views/house/houseDetail.html @@ -1406,7 +1406,6 @@ function loadAllCityData(){ } }) .then(function (response) { - allCityVue.nowYear = year; allCityVue.nowMonth = month; allCityVue.cityCount = response.data.data.cityCount; @@ -1416,6 +1415,7 @@ function loadAllCityData(){ allCityVue.avgUownRate = response.data.data.avgUownRate; }) .catch(function (error) { + alert("error:"+error) console.log(error); });