|
|
@@ -489,18 +489,19 @@ export default {
|
|
|
|
|
|
/** 查询部门下拉树结构 */
|
|
|
getDeptTree() {
|
|
|
- // deptTreeSelect().then(response => {
|
|
|
- // this.deptOptions = response.data;
|
|
|
- // this.defaultKeys.push(response.data[0].id);
|
|
|
- // this.queryParams.orgId = response.data[0].id;
|
|
|
- // this.handleQuery();
|
|
|
- // });
|
|
|
- businessTreeSelect().then((response) => {
|
|
|
+ deptTreeSelect().then(response => {
|
|
|
this.deptOptions = response.data;
|
|
|
this.defaultKeys.push(response.data[0].id);
|
|
|
this.queryParams.orgId = response.data[0].id;
|
|
|
this.handleQuery();
|
|
|
});
|
|
|
+ //因为没有显示全部机构
|
|
|
+ // businessTreeSelect().then((response) => {
|
|
|
+ // this.deptOptions = response.data;
|
|
|
+ // this.defaultKeys.push(response.data[0].id);
|
|
|
+ // this.queryParams.orgId = response.data[0].id;
|
|
|
+ // this.handleQuery();
|
|
|
+ // });
|
|
|
},
|
|
|
tenantIdnormalizer(node, instanceId) {
|
|
|
if (node.children && !node.children.length) {
|