Merge branch 'YOUFANGAPP1.1' of 192.168.0.27:dev0/youfang-app into YOUFANGAPP1.1

This commit is contained in:
zongzhimin
2018-04-13 19:26:56 +08:00
13 changed files with 165 additions and 41 deletions
+2 -1
View File
@@ -126,7 +126,7 @@ $.config = {router: false}
document.addEventListener('plusready', onPlusReady, false);
function onPlusReady() {
var self = plus.webview.currentWebview();
id = self.id
id = self.houseId
axios.get('/rest/rent/queryHouseRent',{params:{id:id}}).then(function(response){
// var data = response.data.data.houses;
// $.each(data,function(i){
@@ -284,6 +284,7 @@ function onPlusReady() {
}
axios.post("/rest/rent/changeStatus",d).then(function(response){
plus.webview.getWebviewById('views/house/detail.html').reload();
back(),plus.nativeUI.closeWaiting();
}).catch(function(error){
console.log(error)