|
@@ -634,7 +634,7 @@
|
|
|
import projectListDialog from './projectListDialog.vue';
|
|
import projectListDialog from './projectListDialog.vue';
|
|
|
|
|
|
|
|
import paymentList from './paymentList.vue';
|
|
import paymentList from './paymentList.vue';
|
|
|
- import { listOrganizations } from '@/api/system/organization';
|
|
|
|
|
|
|
+ import { listOrganizations, listOrganizationsNew } from '@/api/system/organization';
|
|
|
import { copyObj } from '@/utils/util';
|
|
import { copyObj } from '@/utils/util';
|
|
|
import { enterprisePage } from '@/api/contractManage/contractBook';
|
|
import { enterprisePage } from '@/api/contractManage/contractBook';
|
|
|
// import fileMain from '@/components/addDoc/index.vue';
|
|
// import fileMain from '@/components/addDoc/index.vue';
|
|
@@ -956,7 +956,9 @@
|
|
|
},
|
|
},
|
|
|
// 获取公司数据
|
|
// 获取公司数据
|
|
|
getGroupAll() {
|
|
getGroupAll() {
|
|
|
- listOrganizations().then((list) => {
|
|
|
|
|
|
|
+ const apiRequest = this.clientEnvironmentId == 6 ? listOrganizationsNew({deptIds: ['1998632792148717569', '1998632872721297409']}) : listOrganizations();
|
|
|
|
|
+ apiRequest.then((list) => {
|
|
|
|
|
+ console.log('listOrganizations', list);
|
|
|
this.groupData = list;
|
|
this.groupData = list;
|
|
|
this.groupTreeData = this.$util.toTreeData({
|
|
this.groupTreeData = this.$util.toTreeData({
|
|
|
data: list,
|
|
data: list,
|