!257 feat: 【工作流】--委派 解决构建失败等问题

Merge pull request !257 from clockdotnet/master-vxe
pull/260/head
芋道源码 2023-10-01 16:14:14 +00:00 committed by Gitee
commit 17dd0f1a29
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 12 additions and 10 deletions

View File

@ -191,7 +191,7 @@
</XModal>
<!-- 弹窗回退节点 -->
<TaskReturnDialog ref="taskReturnDialogRef" @success="getDetail" />
<TaskReturnDialogForm ref="taskReturnDialogRef" @success="getDetail" />
<!-- 委派将任务委派给别人处理处理完成后会重新回到原审批人手中-->
<TaskDelegateForm ref="taskDelegateForm" @success="getDetail" />
</ContentWrap>
@ -209,8 +209,8 @@ import { setConfAndFields2 } from '@/utils/formCreate'
import type { ApiAttrs } from '@form-create/element-ui/types/config'
import { useUserStore } from '@/store/modules/user'
import { MyProcessViewer } from '@/components/bpmnProcessDesigner/package'
import TaskReturnDialog from './detail/TaskReturnDialogForm.vue'
import TaskDelegateForm from './detail/taskDelegateForm.vue'
import TaskReturnDialogForm from './detail/TaskReturnDialogForm.vue'
import TaskDelegateForm from './detail/TaskDelegateForm.vue'
defineOptions({ name: 'BpmProcessInstanceDetail' })

View File

@ -1,5 +1,5 @@
<template>
<Dialog v-model="dialogVisible" title="委派任务" width="500">
<XModal v-model="dialogVisible" title="委派任务" width="500">
<el-form
ref="formRef"
v-loading="formLoading"
@ -25,7 +25,7 @@
<el-button :disabled="formLoading" type="primary" @click="submitForm"> </el-button>
<el-button @click="dialogVisible = false"> </el-button>
</template>
</Dialog>
</XModal>
</template>
<script lang="ts" setup>
import * as TaskApi from '@/api/bpm/task'

View File

@ -1,5 +1,5 @@
<template>
<Dialog v-model="dialogVisible" title="回退" width="500">
<XModal v-model="dialogVisible" title="回退" width="500">
<el-form
ref="formRef"
v-loading="formLoading"
@ -25,11 +25,13 @@
<el-button :disabled="formLoading" type="primary" @click="submitForm"> </el-button>
<el-button @click="dialogVisible = false"> </el-button>
</template>
</Dialog>
</XModal>
</template>
<script lang="ts" name="TaskRollbackDialogForm" setup>
<script lang="ts" setup>
import * as TaskApi from '@/api/bpm/task'
defineOptions({ name: 'BpmTaskReturnDialogForm' })
const message = useMessage() //
const dialogVisible = ref(false) //
const formLoading = ref(false) //

View File

@ -37,8 +37,8 @@
<UserSignList :user-id="id" />
</el-tab-pane>
<el-tab-pane label="成长值" name="experience" lazy>
<UserExperienceRecordList :user-id="id"
/></el-tab-pane>
<UserExperienceRecordList :user-id="id" />
</el-tab-pane>
<el-tab-pane label="余额" name="fourth">余额(WIP)</el-tab-pane>
<el-tab-pane label="收货地址" name="address" lazy>
<UserAddressList :user-id="id" />