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

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() await getApprovalDetail()
// 查询客户列表 // 查询客户列表
customerList.value = await CustomerApi.getCustomerSimpleList() customerList.value = await CustomerApi.getSelfCustomerSimpleList()
}) })
/** 审批相关:预测流程节点会因为输入的参数值而产生新的预测结果值,所以需重新预测一次, formData.value可改成实际业务中的特定字段 /** 审批相关:预测流程节点会因为输入的参数值而产生新的预测结果值,所以需重新预测一次, formData.value可改成实际业务中的特定字段

View File

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