From 855cab115375d543a332bd498aca38b3fc97cd9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=91=E5=9D=A4?= Date: Sun, 11 May 2025 11:49:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=8E=B7=E5=8F=96=E7=9A=84?= =?UTF-8?q?=E5=AE=A2=E6=88=B7=E4=BF=A1=E6=81=AF=E4=B8=BA=E8=87=AA=E5=B7=B1?= =?UTF-8?q?=E7=9A=84=E5=AE=A2=E6=88=B7=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/crm/customer-complaints/create.vue | 2 +- src/views/crm/customer-suggestion/create.vue | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/crm/customer-complaints/create.vue b/src/views/crm/customer-complaints/create.vue index c9508ec48..a0b1f4adb 100644 --- a/src/views/crm/customer-complaints/create.vue +++ b/src/views/crm/customer-complaints/create.vue @@ -259,7 +259,7 @@ onMounted(async () => { await getApprovalDetail() // 查询客户列表 - customerList.value = await CustomerApi.getCustomerSimpleList() + customerList.value = await CustomerApi.getSelfCustomerSimpleList() }) /** 审批相关:预测流程节点会因为输入的参数值而产生新的预测结果值,所以需重新预测一次, formData.value可改成实际业务中的特定字段 diff --git a/src/views/crm/customer-suggestion/create.vue b/src/views/crm/customer-suggestion/create.vue index e6a21de1b..11c763dfb 100644 --- a/src/views/crm/customer-suggestion/create.vue +++ b/src/views/crm/customer-suggestion/create.vue @@ -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()) })