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 })