取消刷新行情

This commit is contained in:
2018-04-18 20:04:48 +08:00
parent 8dca0b8478
commit ed4e29b20c
5 changed files with 9 additions and 3 deletions
+2 -1
View File
@@ -495,8 +495,9 @@ function collectCity(city, type){
$.confirm(title, function () { $.confirm(title, function () {
docollectCity(city, type) 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/house/houseManageList.html').reload();
plus.webview.getWebviewById('views/user/userInfo.html').reload(); plus.webview.getWebviewById('views/user/userInfo.html').reload();
+2 -1
View File
@@ -1670,7 +1670,8 @@
"views/house/add.html": { "views/house/add.html": {
"resources": [], "resources": [],
"refer": [ "refer": [
"views/evaluate/evaluateReport.html" "views/evaluate/evaluateReport.html",
"views/user/codeSms.html"
], ],
"priority": 0 "priority": 0
}, },
@@ -96,6 +96,8 @@ Vue.component('city_increase_ranking',{
}).catch(function(error){ }).catch(function(error){
console.log(error) console.log(error)
}) })
},function(){
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
}); });
plus.webview.getWebviewById('views/house/houseManageList.html').reload(); plus.webview.getWebviewById('views/house/houseManageList.html').reload();
@@ -105,6 +105,8 @@ Vue.component('city_potential_ranking',{
}).catch(function(error){ }).catch(function(error){
console.log(error) console.log(error)
}) })
},function(){
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
}); });
plus.webview.getWebviewById('views/house/houseManageList.html').reload(); plus.webview.getWebviewById('views/house/houseManageList.html').reload();
+1 -1
View File
@@ -1406,7 +1406,6 @@ function loadAllCityData(){
} }
}) })
.then(function (response) { .then(function (response) {
allCityVue.nowYear = year; allCityVue.nowYear = year;
allCityVue.nowMonth = month; allCityVue.nowMonth = month;
allCityVue.cityCount = response.data.data.cityCount; allCityVue.cityCount = response.data.data.cityCount;
@@ -1416,6 +1415,7 @@ function loadAllCityData(){
allCityVue.avgUownRate = response.data.data.avgUownRate; allCityVue.avgUownRate = response.data.data.avgUownRate;
}) })
.catch(function (error) { .catch(function (error) {
alert("error:"+error)
console.log(error); console.log(error);
}); });