diff --git a/src/api/customer/bench.ts b/src/api/customer/bench.ts index 6d52e9e..4809b3c 100644 --- a/src/api/customer/bench.ts +++ b/src/api/customer/bench.ts @@ -36,14 +36,3 @@ method: 'post', }) } - -// 导出列表 -export function exportCustomerList(data: Omit) { - return request({ - url: `${prefix}/supplier/listExport`, - method: 'post', - responseType: 'blob', - data, - }) -} - diff --git a/src/api/customer/bench.ts b/src/api/customer/bench.ts index 6d52e9e..4809b3c 100644 --- a/src/api/customer/bench.ts +++ b/src/api/customer/bench.ts @@ -36,14 +36,3 @@ method: 'post', }) } - -// 导出列表 -export function exportCustomerList(data: Omit) { - return request({ - url: `${prefix}/supplier/listExport`, - method: 'post', - responseType: 'blob', - data, - }) -} - diff --git a/src/views/system/process/process.vue b/src/views/system/process/process.vue index 7a453f7..a40536d 100644 --- a/src/views/system/process/process.vue +++ b/src/views/system/process/process.vue @@ -276,18 +276,15 @@ multiSelectData.value = val } +// 获取关联业务列表 +const fetchBusinessList = () => { + getBusinessList().then((res) => { + businessList.value = res.data + }) +} + onMounted(() => { - getBusinessList() // 获取关联业务列表 - businessList.value = [ - { - formId: '111', - formName: '111', - }, - { - formId: '222', - formName: '222', - }, - ] + fetchBusinessList() })