|
|
@@ -44,6 +44,7 @@ Page({ |
|
|
|
], |
|
|
|
//事务总表对象 |
|
|
|
item:{}, |
|
|
|
detpId:187, |
|
|
|
itemId:13, |
|
|
|
active:0, |
|
|
|
result:[], |
|
|
@@ -62,8 +63,7 @@ Page({ |
|
|
|
* 生命周期函数--监听页面加载 |
|
|
|
*/ |
|
|
|
onLoad(options) { |
|
|
|
this.setData({itemId:options.id}); |
|
|
|
console.log(options) |
|
|
|
this.setData({itemId:options.id,deptId:options.deptId}); |
|
|
|
//this.getApprovalItemList(); |
|
|
|
this.groupList(); |
|
|
|
this.townList(); |
|
|
@@ -256,7 +256,7 @@ Page({ |
|
|
|
}, |
|
|
|
groupList:function(){ |
|
|
|
let data = { |
|
|
|
deptId : 187, |
|
|
|
deptId : this.data.deptId, |
|
|
|
deptLevel:1 |
|
|
|
} |
|
|
|
UTIL.httpRequest(API.URL_GET_USERLIST,data ,{ |
|
|
@@ -270,7 +270,7 @@ Page({ |
|
|
|
}, |
|
|
|
villageList:function(){ |
|
|
|
let data = { |
|
|
|
deptId : 187, |
|
|
|
deptId : this.data.deptId, |
|
|
|
deptLevel:2 |
|
|
|
} |
|
|
|
UTIL.httpRequest(API.URL_GET_USERLIST,data ,{ |
|
|
|