瀏覽代碼

优化

master
yujk 3 年之前
父節點
當前提交
5ca55b30f2
共有 1 個文件被更改,包括 6 次插入3 次删除
  1. +6
    -3
      pages/index/index.js

+ 6
- 3
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, {


Loading…
取消
儲存