|
|
@@ -273,7 +273,7 @@ Page({
|
|
|
const model = this.selectComponent("#model" + dropdownItem);
|
|
|
if (!model) return;
|
|
|
const active = this.data.active;
|
|
|
- model.init(active.type == '人员' ? '0' : '1', active.id);
|
|
|
+ model.init(active.departmentid ? '1' : '0', active.departmentid || active.userid);
|
|
|
},
|
|
|
onReady() {
|
|
|
this.selectComponent("#ListBox").setHeight(".head", this);
|