From 363dfde0866e677f64b9120f6f43c39d26012299 Mon Sep 17 00:00:00 2001 From: hongawen <83944980@qq.com> Date: Mon, 6 May 2024 16:14:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/workflow-boot/template.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/api/workflow-boot/template.ts b/src/api/workflow-boot/template.ts index fbc3fed0..96da15b8 100644 --- a/src/api/workflow-boot/template.ts +++ b/src/api/workflow-boot/template.ts @@ -1,14 +1,16 @@ import createAxios from '@/utils/request' import { WORKFLOW_BOOT } from '@/utils/constantRequest' -const MAPPING_PATH = WORKFLOW_BOOT + '/flw/templateSn' +const MAPPING_SN_PATH = WORKFLOW_BOOT + '/flw/templateSn' + +const MAPPING_PRINT_PATH = WORKFLOW_BOOT + '/flw/templatePrint' /** * 新增流程 */ export const addModel = (data:any) => { return createAxios({ - url: MAPPING_PATH + '/add', + url: MAPPING_SN_PATH + '/add', method: 'POST', data: data }) @@ -21,7 +23,7 @@ export const addModel = (data:any) => { */ export const flwTemplateSnSelector = (data:any) => { return createAxios({ - url: MAPPING_PATH + '/flwTemplateSnSelector', + url: MAPPING_SN_PATH + '/flwTemplateSnSelector', method: 'POST', data: data }) @@ -32,7 +34,7 @@ export const flwTemplateSnSelector = (data:any) => { */ export const flwTemplatePrintSelector = (data:any) => { return createAxios({ - url: MAPPING_PATH + '/flwTemplatePrintSelector', + url: MAPPING_PRINT_PATH + '/flwTemplatePrintSelector', method: 'POST', data: data })