Merge branch 'YOUFANGAPP1.1' of 192.168.0.27:dev0/youfang-app into YOUFANGAPP1.1
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user