diff --git a/src/api/work/work.js b/src/api/work/work.js
new file mode 100644
index 0000000..f4f0c13
--- /dev/null
+++ b/src/api/work/work.js
@@ -0,0 +1,79 @@
+import request from '@/router/axios';
+
+export const startList = (current, size, params) => {
+ return request({
+ url: '/api/blade-flow/work/start-list',
+ method: 'get',
+ params: {
+ ...params,
+ current,
+ size,
+ }
+ })
+}
+
+export const claimList = (current, size, params) => {
+ return request({
+ url: '/api/blade-flow/work/claim-list',
+ method: 'get',
+ params: {
+ ...params,
+ current,
+ size,
+ }
+ })
+}
+
+export const todoList = (current, size, params) => {
+ return request({
+ url: '/api/blade-flow/work/todo-list',
+ method: 'get',
+ params: {
+ ...params,
+ current,
+ size,
+ }
+ })
+}
+
+export const sendList = (current, size, params) => {
+ return request({
+ url: '/api/blade-flow/work/send-list',
+ method: 'get',
+ params: {
+ ...params,
+ current,
+ size,
+ }
+ })
+}
+
+
+export const doneList = (current, size, params) => {
+ return request({
+ url: '/api/blade-flow/work/done-list',
+ method: 'get',
+ params: {
+ ...params,
+ current,
+ size,
+ }
+ })
+}
+
+export const claimTask = (params) => {
+ return request({
+ url: '/api/blade-flow/work/claim-task',
+ method: 'post',
+ params
+ })
+}
+
+
+export const completeTask = (data) => {
+ return request({
+ url: '/api/blade-flow/work/complete-task',
+ method: 'post',
+ data
+ })
+}
diff --git a/src/views/flow/follow.vue b/src/views/flow/follow.vue
index a934eb0..1e93381 100644
--- a/src/views/flow/follow.vue
+++ b/src/views/flow/follow.vue
@@ -154,4 +154,8 @@
diff --git a/src/views/flow/manager.vue b/src/views/flow/manager.vue
index c070e08..a8ec6fa 100644
--- a/src/views/flow/manager.vue
+++ b/src/views/flow/manager.vue
@@ -6,9 +6,6 @@
v-model="form"
:page="page"
:permission="permissionList"
- @row-del="rowDel"
- @row-update="rowUpdate"
- @row-save="rowSave"
@search-change="searchChange"
@search-reset="searchReset"
@selection-change="selectionChange"
@@ -27,18 +24,21 @@
size="small"
v-if="permission.flow_manager_state"
plain
+ class="none-border"
@click.stop="handleState(scope.row,scope.index)">变更状态
流程图
删除
@@ -290,7 +290,11 @@
this.flowBox = true;
},
onLoad(page, params = {}) {
- managerList(page.currentPage, page.pageSize, params).then(res => {
+ const values = {
+ ...params,
+ category: (params.category) ? `flow_${params.category}` : null
+ }
+ managerList(page.currentPage, page.pageSize, values).then(res => {
const data = res.data.data;
this.page.total = data.total;
this.data = data.records;
@@ -301,4 +305,8 @@
diff --git a/src/views/flow/model.vue b/src/views/flow/model.vue
index ce0774a..95ce20a 100644
--- a/src/views/flow/model.vue
+++ b/src/views/flow/model.vue
@@ -30,24 +30,28 @@
size="small"
v-if="permission.flow_model_update"
plain
+ class="none-border"
@click.stop="handleUpdate(scope.row,scope.index)">配置
部署
下载
删除
@@ -289,4 +293,8 @@
diff --git a/src/views/work/claim.vue b/src/views/work/claim.vue
new file mode 100644
index 0000000..ef0af4d
--- /dev/null
+++ b/src/views/work/claim.vue
@@ -0,0 +1,179 @@
+
+
+
+
+ 签收
+
+ 详情
+
+ 跟踪
+
+
+
+ v{{row.processDefinitionVersion}}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/work/done.vue b/src/views/work/done.vue
new file mode 100644
index 0000000..dc9a76d
--- /dev/null
+++ b/src/views/work/done.vue
@@ -0,0 +1,169 @@
+
+
+
+
+ 详情
+
+ 跟踪
+
+
+
+ v{{row.processDefinitionVersion}}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/work/process/leave/detail.vue b/src/views/work/process/leave/detail.vue
new file mode 100644
index 0000000..ac1e65a
--- /dev/null
+++ b/src/views/work/process/leave/detail.vue
@@ -0,0 +1,65 @@
+
+
+
+
+
+
+
diff --git a/src/views/work/process/leave/form.vue b/src/views/work/process/leave/form.vue
new file mode 100644
index 0000000..ac1e65a
--- /dev/null
+++ b/src/views/work/process/leave/form.vue
@@ -0,0 +1,65 @@
+
+
+
+
+
+
+
diff --git a/src/views/work/process/leave/handle.vue b/src/views/work/process/leave/handle.vue
new file mode 100644
index 0000000..ac1e65a
--- /dev/null
+++ b/src/views/work/process/leave/handle.vue
@@ -0,0 +1,65 @@
+
+
+
+
+
+
+
diff --git a/src/views/work/send.vue b/src/views/work/send.vue
new file mode 100644
index 0000000..977ba5e
--- /dev/null
+++ b/src/views/work/send.vue
@@ -0,0 +1,178 @@
+
+
+
+
+ 详情
+
+ 跟踪
+
+
+
+ v{{row.processDefinitionVersion}}
+
+
+ {{row.processIsFinished==='finished' ? '已完成' : '未完成'}}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/work/start.vue b/src/views/work/start.vue
new file mode 100644
index 0000000..ca06389
--- /dev/null
+++ b/src/views/work/start.vue
@@ -0,0 +1,185 @@
+
+
+
+
+ 发起
+
+ 流程图
+
+
+
+ v{{row.version}}
+
+
+ {{row.suspensionState===1?'激活':'挂起'}}
+
+
+ {{row.categoryName}}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/work/todo.vue b/src/views/work/todo.vue
new file mode 100644
index 0000000..9cafbbc
--- /dev/null
+++ b/src/views/work/todo.vue
@@ -0,0 +1,179 @@
+
+
+
+
+ 处理
+
+ 详情
+
+ 跟踪
+
+
+
+ v{{row.processDefinitionVersion}}
+
+
+
+
+
+
+
+
+
+
+
+