소스 검색

优化

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, {


불러오는 중...
취소
저장