From 8a36d04f8f7be451a643ff2d7e732f9591338566 Mon Sep 17 00:00:00 2001 From: ycy <2861518472@qq.com> Date: Wed, 22 May 2024 16:31:34 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=88=20perf:=20=E6=B3=A8=E9=87=8A?= =?UTF-8?q?=E6=8E=89=E5=A4=9A=E4=B8=8E=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/bpm/definition/index.ts | 2 +- src/views/bpm/category/index.vue | 8 ++--- src/views/bpm/definition/index.vue | 2 +- src/views/bpm/form/index.vue | 4 +-- src/views/bpm/group/index.vue | 4 +-- src/views/bpm/model/index.vue | 6 ++-- src/views/bpm/oa/leave/index.vue | 5 ++-- .../bpm/processInstance/create/index.vue | 9 +++--- src/views/bpm/processInstance/index.vue | 8 ++--- .../bpm/processInstance/manager/index.vue | 2 +- src/views/bpm/processListener/index.vue | 6 ++-- src/views/bpm/task/copy/index.vue | 6 ++-- src/views/bpm/task/done/index.vue | 6 ++-- src/views/bpm/task/manager/index.vue | 4 +-- src/views/bpm/task/todo/index.vue | 6 ++-- src/views/crm/backlog/index.vue | 2 +- src/views/crm/business/index.vue | 6 ++-- src/views/crm/business/status/index.vue | 30 +++++++++---------- src/views/crm/clue/index.vue | 6 ++-- src/views/crm/contact/index.vue | 6 ++-- src/views/crm/contract/config/index.vue | 4 +-- src/views/crm/contract/index.vue | 4 +-- src/views/crm/customer/index.vue | 4 +-- src/views/crm/customer/limitConfig/index.vue | 4 +-- src/views/crm/customer/pool/index.vue | 6 ++-- src/views/crm/customer/poolConfig/index.vue | 4 +-- src/views/crm/product/category/index.vue | 2 +- src/views/crm/product/index.vue | 2 +- src/views/crm/receivable/index.vue | 6 ++-- src/views/crm/receivable/plan/index.vue | 6 ++-- src/views/erp/finance/account/index.vue | 8 ++--- src/views/erp/finance/payment/index.vue | 6 ++-- src/views/erp/finance/receipt/index.vue | 6 ++-- src/views/erp/home/index.vue | 2 +- src/views/erp/product/category/index.vue | 9 ++++-- src/views/erp/product/product/index.vue | 2 +- src/views/erp/product/unit/index.vue | 2 +- src/views/erp/purchase/in/index.vue | 4 +-- src/views/erp/purchase/order/index.vue | 4 +-- src/views/erp/purchase/return/index.vue | 4 +-- src/views/erp/purchase/supplier/index.vue | 4 +-- src/views/erp/sale/customer/index.vue | 4 +-- src/views/erp/sale/order/index.vue | 4 +-- src/views/erp/sale/out/index.vue | 4 +-- src/views/erp/sale/return/index.vue | 4 +-- src/views/erp/stock/check/index.vue | 6 ++-- src/views/erp/stock/in/index.vue | 4 +-- src/views/erp/stock/move/index.vue | 6 ++-- src/views/erp/stock/out/index.vue | 6 ++-- src/views/erp/stock/record/index.vue | 28 ++++++++--------- src/views/erp/stock/stock/index.vue | 26 ++++++++-------- src/views/erp/stock/warehouse/index.vue | 2 +- src/views/infra/apiAccessLog/index.vue | 4 +-- src/views/infra/apiErrorLog/index.vue | 4 +-- src/views/infra/codegen/index.vue | 6 ++-- src/views/infra/config/index.vue | 4 +-- src/views/infra/demo/demo01/index.vue | 4 +-- src/views/infra/demo/demo02/index.vue | 12 +++++--- src/views/infra/demo/demo03/erp/index.vue | 6 ++-- src/views/infra/demo/demo03/inner/index.vue | 4 +-- src/views/infra/demo/demo03/normal/index.vue | 4 +-- src/views/infra/druid/index.vue | 4 +-- src/views/infra/file/index.vue | 4 +-- src/views/infra/fileConfig/index.vue | 4 +-- src/views/infra/job/index.vue | 4 +-- src/views/infra/job/logger/index.vue | 4 +-- src/views/infra/redis/index.vue | 6 ++-- src/views/infra/server/index.vue | 2 +- src/views/infra/skywalking/index.vue | 2 +- src/views/infra/swagger/index.vue | 2 +- src/views/infra/webSocket/index.vue | 4 +-- src/views/mall/home/index.vue | 10 +++---- src/views/mall/product/brand/index.vue | 4 +-- src/views/mall/product/category/index.vue | 2 +- src/views/mall/product/comment/index.vue | 6 ++-- src/views/mall/product/property/index.vue | 4 +-- src/views/mall/product/spu/index.vue | 2 +- 77 files changed, 218 insertions(+), 209 deletions(-) diff --git a/src/api/bpm/definition/index.ts b/src/api/bpm/definition/index.ts index cb6d427..dab34a3 100644 --- a/src/api/bpm/definition/index.ts +++ b/src/api/bpm/definition/index.ts @@ -1,6 +1,6 @@ import request from '@/config/axios' -export const getProcessDefinition = async (id: number, key: string) => { +export const getProcessDefinition = async (id: number, key?: string) => { return await request.get({ url: '/bpm/process-definition/get', params: { id, key } diff --git a/src/views/bpm/category/index.vue b/src/views/bpm/category/index.vue index 46fa6cf..399ed57 100644 --- a/src/views/bpm/category/index.vue +++ b/src/views/bpm/category/index.vue @@ -1,5 +1,5 @@