修改获取的客户信息为自己的客户信息

pull/781/head
苑坤 2025-05-11 11:49:24 +08:00
parent 463aacb7a9
commit 855cab1153
2 changed files with 3 additions and 2 deletions

View File

@ -259,7 +259,7 @@ onMounted(async () => {
await getApprovalDetail()
//
customerList.value = await CustomerApi.getCustomerSimpleList()
customerList.value = await CustomerApi.getSelfCustomerSimpleList()
})
/** , formData.value

View File

@ -103,6 +103,7 @@ import * as ProcessInstanceApi from '@/api/bpm/processInstance'
import { CandidateStrategy, NodeId } from '@/components/SimpleProcessDesignerV2/src/consts'
import { ApprovalNodeInfo } from '@/api/bpm/processInstance'
import {defaultProps, handleTree} from "@/utils/tree";
import {getSelfCustomerSimpleList} from "@/api/crm/customer";
defineOptions({ name: 'CustomerSuggestionCreate' })
@ -249,7 +250,7 @@ onMounted(async () => {
await getApprovalDetail()
//
customerList.value = await CustomerApi.getCustomerSimpleList()
customerList.value = await CustomerApi.getSelfCustomerSimpleList()
//
deptList.value = handleTree(await DeptApi.getSimpleDeptList())
})