diff --git a/pages/index/index.js b/pages/index/index.js index ea9eca7..f9b9df5 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -305,7 +305,8 @@ Page({ /* 获取账套*/ getBookList:function(){ let d = { - loginDeptID : this.data.userInfoObj.loginDeptId + loginDeptID : this.data.userInfoObj.loginDeptId, + method:'GET' } UTIL.httpRequest(API.URL_GET_BOOKLISTBYDEPTID,d, { success: (res) => { @@ -331,7 +332,8 @@ Page({ bookName:this.data.bookList[e.detail.value].bookName }) let data={ - loginBookId:this.data.bookList[e.detail.value].id + loginBookId:this.data.bookList[e.detail.value].id, + method:'GET' } let _this = this UTIL.httpRequest(API.URL_GET_CHANGEBOOK,data, { @@ -453,7 +455,8 @@ Page({ bookId:"" }, () => { let data={ - loginDeptID : this.getRegionId('areas') + loginDeptID : this.getRegionId('areas'), + method:'GET' } let _this = this UTIL.httpRequest(API.URL_GET_CHANGEDEPT,data, {