From 5ca55b30f25fea81421c73b96b9ee422aedd676f Mon Sep 17 00:00:00 2001 From: yujk <990961482@qq.com> Date: Fri, 15 Apr 2022 16:52:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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, {