|
|
@@ -135,7 +135,7 @@
|
|
|
import { getOrderInfoById, getRepairOrderInfoById, approveOrder } from '../../../api/order/detail'
|
|
|
import type { SysDictData } from '../../../types/dict'
|
|
|
import { getDictDataByType } from '../../../api/dict/index'
|
|
|
- import { getUserList } from '../../../api/user/list'
|
|
|
+ import { getLeaderList } from '../../../api/user/list'
|
|
|
import type { UserInfo } from '../../../types/user'
|
|
|
import {checkPermi} from '../../../utils/storage'
|
|
|
|
|
|
@@ -195,7 +195,7 @@
|
|
|
const loadTeamLeaderList = async (): Promise<void> => {
|
|
|
try {
|
|
|
const deptId = detailData.value.gxtCenterId
|
|
|
- const result = await getUserList(deptId)
|
|
|
+ const result = await getLeaderList(deptId)
|
|
|
const resultObj = result as UTSJSONObject
|
|
|
|
|
|
if (resultObj['code'] == 200) {
|