diff --git a/src/api/system/category/process.js b/src/api/system/category/process.js index a94f864..50a76f6 100644 --- a/src/api/system/category/process.js +++ b/src/api/system/category/process.js @@ -18,4 +18,30 @@ export function FetchInitFlowByCategoryId(params) { }) } -export default { FetchInitCategoryFlowBase, FetchInitFlowByCategoryId } +// 门类管理-更改流程管理状态 +export function FetchChangeCategoryState(data) { + return request({ + url: 'api/category/changeCategoryState', + method: 'post', + data + }) +} + +// 门类流程设计-工作流选择 +export function FetchFlowbinding(data) { + return request({ + url: 'api/category/flowbinding', + method: 'post', + data + }) +} + +// 根据门类id和流程基础id获取信息 +export function FetchgetCategoryFlow(params) { + return request({ + url: 'api/category/getCategoryFlow', + method: 'get', + params + }) +} +export default { FetchInitCategoryFlowBase, FetchInitFlowByCategoryId, FetchChangeCategoryState, FetchFlowbinding, FetchgetCategoryFlow } diff --git a/src/store/modules/api.js b/src/store/modules/api.js index 6ee578a..962bc27 100644 --- a/src/store/modules/api.js +++ b/src/store/modules/api.js @@ -1,7 +1,5 @@ // 适配 Nginx 反向代理 const baseUrl = process.env.VUE_APP_BASE_API === '/' ? window.g.ApiUrl : process.env.VUE_APP_BASE_API -console.log(process.env.VUE_APP_BASE_API) -console.log('window.g.ApiUrl', window.g.ApiUrl) const api = { state: { // 部署包上传 diff --git a/src/views/system/archivesCategory/processManage/index.vue b/src/views/system/archivesCategory/processManage/index.vue index 70cd872..a2995e2 100644 --- a/src/views/system/archivesCategory/processManage/index.vue +++ b/src/views/system/archivesCategory/processManage/index.vue @@ -2,45 +2,15 @@
01-归档审批流程
-{{ item.flowName }}
+