diff --git a/src/api/process-boot/workflow/model.ts b/src/api/process-boot/workflow/model.ts deleted file mode 100644 index 6149f476..00000000 --- a/src/api/process-boot/workflow/model.ts +++ /dev/null @@ -1,118 +0,0 @@ -import createAxios from '@/utils/request' - -import { PROCESS_BOOT } from '@/utils/constantRequest' - -const MAPPING_PATH = PROCESS_BOOT + '/workflow/model' - -/** - * 查询流程模型数据 - */ -export const listWFModel = (data: any) => { - return createAxios({ - url: MAPPING_PATH + '/list', - method: 'POST', - data: data - }) -} - -/** - * 查询流程模型的历史数据 - */ -export const listHistoryWFModel = (data: any) => { - return createAxios({ - url: MAPPING_PATH + '/historyList', - method: 'POST', - data: data - }) -} - -/** - * 根据id查询模型详细信息 - */ -export const getModelById = (id: string) => { - return createAxios({ - url: MAPPING_PATH + '/getModelById?id=' + id, - method: 'GET' - }) -} - - -/** - * 根据id查询模型bpmn的xml - */ -export const getBpmnXmlById = (id: string) => { - return createAxios({ - url: MAPPING_PATH + '/getBpmnXmlById?id=' + id, - method: 'GET' - }) -} - - -/** - * 新增流程模型 - */ -export const addWFModel = (data: any) => { - return createAxios({ - url: MAPPING_PATH + '/add', - method: 'POST', - data: data - }) -} - - -/** - * 更新流程模型 - */ -export const updateWFModel = (data: any) => { - return createAxios({ - url: MAPPING_PATH + '/update', - method: 'POST', - data: data - }) -} - -/** - * 保存模型中的bpmn模型 - */ -export const saveBpmnXml = (data: any) => { - return createAxios({ - url: MAPPING_PATH + '/saveBpmnXml', - method: 'POST', - data: data - }) -} - - -/** - * 设为最新流程模型 - */ -export const latestModel = (id: string) => { - return createAxios({ - url: MAPPING_PATH + '/latest?id=' + id, - method: 'GET' - }) -} - -/** - * 部署流程模型 - */ -export const deployModel = (id: string) => { - return createAxios({ - url: MAPPING_PATH + '/deploy?id=' + id, - method: 'GET' - }) -} - - - -/** - * 删除流程模型 - */ -export const deleteWFModel = (data: any) => { - let ids = [data] - return createAxios({ - url: MAPPING_PATH + '/delete', - method: 'POST', - data: ids - }) -} diff --git a/src/api/supervision-boot/userReport/form.ts b/src/api/supervision-boot/userReport/form.ts new file mode 100644 index 00000000..704e411f --- /dev/null +++ b/src/api/supervision-boot/userReport/form.ts @@ -0,0 +1,16 @@ +import createAxios from '@/utils/request' + +import { SUPERVISION_BOOT } from '@/utils/constantRequest' + +const MAPPING_PATH = SUPERVISION_BOOT + '/workflow/wfForm' + +/** + * 查询流程表单数据 + */ +export const getUserReport = (data: any) => { + return createAxios({ + url: MAPPING_PATH + '/getUserReport', + method: 'POST', + data: data + }) +} diff --git a/src/api/workflow-boot/model.ts b/src/api/workflow-boot/model.ts deleted file mode 100644 index 94ab0acc..00000000 --- a/src/api/workflow-boot/model.ts +++ /dev/null @@ -1,47 +0,0 @@ -import createAxios from '@/utils/request' -import { WORKFLOW_BOOT } from '@/utils/constantRequest' - -const MAPPING_PATH = WORKFLOW_BOOT + '/flw/model' - -/** - * 新增流程 - */ -export const addModel = (data:any) => { - return createAxios({ - url: MAPPING_PATH + '/add', - method: 'POST', - data: data - }) -} - - -/** - * 获取执行监听器选择器 - */ -export const executionListenerSelector = () => { - return createAxios({ - url: MAPPING_PATH + '/executionListenerSelector', - method: 'GET' - }) -} - -/** - * 获取自定义事件执行监听器选择器 - */ -export const executionListenerSelectorForCustomEvent = () => { - return createAxios({ - url: MAPPING_PATH + '/executionListenerSelectorForCustomEvent', - method: 'GET' - }) -} - -/** - * 获取任务监听器选择器 - */ -export const taskListenerSelector = () => { - return createAxios({ - url: MAPPING_PATH + '/taskListenerSelector', - method: 'GET' - }) -} - diff --git a/src/api/workflow-boot/template.ts b/src/api/workflow-boot/template.ts deleted file mode 100644 index 96da15b8..00000000 --- a/src/api/workflow-boot/template.ts +++ /dev/null @@ -1,43 +0,0 @@ -import createAxios from '@/utils/request' -import { WORKFLOW_BOOT } from '@/utils/constantRequest' - -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_SN_PATH + '/add', - method: 'POST', - data: data - }) -} - - - -/** - * 获取流水号模板列表选择器 - */ -export const flwTemplateSnSelector = (data:any) => { - return createAxios({ - url: MAPPING_SN_PATH + '/flwTemplateSnSelector', - method: 'POST', - data: data - }) -} - -/** - * 获取打印模板列表选择器 - */ -export const flwTemplatePrintSelector = (data:any) => { - return createAxios({ - url: MAPPING_PRINT_PATH + '/flwTemplatePrintSelector', - method: 'POST', - data: data - }) -} - - diff --git a/src/utils/constantRequest.ts b/src/utils/constantRequest.ts index 93e9af87..8cd7c617 100644 --- a/src/utils/constantRequest.ts +++ b/src/utils/constantRequest.ts @@ -5,7 +5,7 @@ export const ADVANCE_BOOT = '/advance-boot' export const PROCESS_BOOT = '/process-boot' //工作流模块 -export const WORKFLOW_BOOT = '/workflow-boot' +export const BPM_BOOT = '/bpm-boot' -//于道工作流模块 -export const BPM_BOOT = '/bpm-boot' \ No newline at end of file +//冀北技术监督 +export const SUPERVISION_BOOT = '/supervision-boot' \ No newline at end of file diff --git a/src/views/pqs/supervise/interfere/components/undocumented/index.vue b/src/views/pqs/supervise/interfere/components/undocumented/index.vue index e8134f65..88cf0a13 100644 --- a/src/views/pqs/supervise/interfere/components/undocumented/index.vue +++ b/src/views/pqs/supervise/interfere/components/undocumented/index.vue @@ -1,30 +1,23 @@