|
@@ -162,7 +162,7 @@
|
|
<script>
|
|
<script>
|
|
import DepartModal from './modules/DepartModal'
|
|
import DepartModal from './modules/DepartModal'
|
|
import pick from 'lodash.pick'
|
|
import pick from 'lodash.pick'
|
|
- import {queryDepartTreeList, searchByKeywords, deleteByDepartId} from '@/api/api'
|
|
|
|
|
|
+ import {queryDepartTreeListNotOrg,queryDepartTreeList, searchByKeywords, deleteByDepartId} from '@/api/api'
|
|
import {httpAction, deleteAction} from '@/api/manage'
|
|
import {httpAction, deleteAction} from '@/api/manage'
|
|
import {JeecgListMixin} from '@/mixins/JeecgListMixin'
|
|
import {JeecgListMixin} from '@/mixins/JeecgListMixin'
|
|
import DepartAuthModal from './modules/DepartAuthModal'
|
|
import DepartAuthModal from './modules/DepartAuthModal'
|
|
@@ -280,7 +280,7 @@
|
|
var that = this
|
|
var that = this
|
|
that.treeData = []
|
|
that.treeData = []
|
|
that.departTree = []
|
|
that.departTree = []
|
|
- queryDepartTreeList().then((res) => {
|
|
|
|
|
|
+ queryDepartTreeListNotOrg().then((res) => {
|
|
if (res.success) {
|
|
if (res.success) {
|
|
for (let i = 0; i < res.result.length; i++) {
|
|
for (let i = 0; i < res.result.length; i++) {
|
|
let temp = res.result[i]
|
|
let temp = res.result[i]
|