修改获取的客户信息为自己的客户信息
parent
463aacb7a9
commit
855cab1153
|
|
@ -259,7 +259,7 @@ onMounted(async () => {
|
|||
await getApprovalDetail()
|
||||
|
||||
// 查询客户列表
|
||||
customerList.value = await CustomerApi.getCustomerSimpleList()
|
||||
customerList.value = await CustomerApi.getSelfCustomerSimpleList()
|
||||
})
|
||||
|
||||
/** 审批相关:预测流程节点会因为输入的参数值而产生新的预测结果值,所以需重新预测一次, formData.value可改成实际业务中的特定字段
|
||||
|
|
|
|||
|
|
@ -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())
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue