diff --git a/admin/src/views/flow_apply/components/apply_submit.vue b/admin/src/views/flow_apply/components/apply_submit.vue index e88936e..86046e6 100644 --- a/admin/src/views/flow_apply/components/apply_submit.vue +++ b/admin/src/views/flow_apply/components/apply_submit.vue @@ -20,12 +20,12 @@ { return next_nodes.value.find((item) => item.type == 'bpmn:userTask') }) -const approver = ref([]) +const approverUserList = ref([]) const formRules = { applyUserId: [ { @@ -93,6 +93,7 @@ const formRules = { } function open(row) { console.log('open') + Object.assign(formData, new formDataState()) formData.id = row.id dialogVisible.value = true @@ -107,7 +108,7 @@ function open(row) { if (item.type == 'bpmn:userTask') { flow_history_get_approver(item).then((user) => { console.log('user', user) - approver.value = user + approverUserList.value = user }) } }) diff --git a/admin/src/views/flow_history/components/todo/approve.vue b/admin/src/views/flow_history/components/todo/approve.vue new file mode 100644 index 0000000..ea5ee89 --- /dev/null +++ b/admin/src/views/flow_history/components/todo/approve.vue @@ -0,0 +1,165 @@ + + + + + + + + + diff --git a/admin/src/views/flow_history/index.vue b/admin/src/views/flow_history/index.vue index f9cf4d4..46835e5 100644 --- a/admin/src/views/flow_history/index.vue +++ b/admin/src/views/flow_history/index.vue @@ -3,26 +3,26 @@ - + - + - + - + - + - + 查询 diff --git a/admin/src/views/flow_history/todo.vue b/admin/src/views/flow_history/todo.vue index b488673..661f3f9 100644 --- a/admin/src/views/flow_history/todo.vue +++ b/admin/src/views/flow_history/todo.vue @@ -3,28 +3,17 @@
- - - - - + - + - - - - - - - - - + + 查询 重置 @@ -42,35 +31,34 @@
- - + + > + + - - + + @@ -79,23 +67,25 @@
- + +