Merge remote-tracking branch 'upstream/master'

# Conflicts:
#	src/views/bpm/processInstance/detail/index.vue
This commit is contained in:
kehaiyou 2023-09-29 12:38:53 +08:00
commit a438353308
5 changed files with 15 additions and 10 deletions

View File

@ -7,8 +7,8 @@
:rules="formRules"
label-width="110px"
>
<el-form-item label="接收人" prop="receiveId">
<el-select v-model="formData.receiveId" clearable style="width: 100%">
<el-form-item label="接收人" prop="delegateUserId">
<el-select v-model="formData.delegateUserId" clearable style="width: 100%">
<el-option
v-for="item in userList"
:key="item.id"
@ -37,10 +37,10 @@ const dialogVisible = ref(false) // 弹窗的是否展示
const formLoading = ref(false) //
const formData = ref({
id: '',
receiveId: undefined
delegateUserId: undefined
})
const formRules = ref({
receiveId: [{ required: true, message: '接收人不能为空', trigger: 'change' }]
delegateUserId: [{ required: true, message: '接收人不能为空', trigger: 'change' }]
})
const formRef = ref() // Ref
@ -79,7 +79,7 @@ const submitForm = async () => {
const resetForm = () => {
formData.value = {
id: '',
receiveId: undefined
delegateUserId: undefined
}
formRef.value?.resetFields()
}

View File

@ -92,7 +92,7 @@
<!-- 弹窗转派审批人 -->
<TaskUpdateAssigneeForm ref="taskUpdateAssigneeFormRef" @success="getDetail" />
<!-- 弹窗回退节点 -->
<TaskRollbackDialog ref="taskRollbackRef" @success="getDetail" />
<TaskReturnDialog ref="taskReturnDialogRef" @success="getDetail" />
<!-- 委派将任务委派给别人处理处理完成后会重新回到原审批人手中-->
<TaskDelegateForm ref="taskDelegateForm" @success="getDetail" />
</ContentWrap>
@ -107,7 +107,7 @@ import * as TaskApi from '@/api/bpm/task'
import TaskUpdateAssigneeForm from './TaskUpdateAssigneeForm.vue'
import ProcessInstanceBpmnViewer from './ProcessInstanceBpmnViewer.vue'
import ProcessInstanceTaskList from './ProcessInstanceTaskList.vue'
import TaskRollbackDialog from './TaskRollbackDialogForm.vue'
import TaskReturnDialog from './TaskReturnDialogForm.vue'
import TaskDelegateForm from './taskDelegateForm.vue'
import { registerComponent } from '@/utils/routerHelper'
@ -179,10 +179,10 @@ const handleDelegate = async (task) => {
}
//退
const taskRollbackRef = ref()
const taskReturnDialogRef = ref()
/** 处理审批退回的操作 */
const handleBack = async (task) => {
taskRollbackRef.value.open(task.id)
taskReturnDialogRef.value.open(task.id)
}
/** 获得详情 */

View File

@ -24,7 +24,7 @@
</template>
{{ user.totalPoint || 0 }}
</el-descriptions-item>
<!-- TODO 芋艿后续接入余额支付金额 -->
<!-- TODO @疯狂 wallet 读取下对应字段 -->
<el-descriptions-item>
<template #label>
<descriptions-item-label label=" 当前余额 " icon="svg-icon:member_balance" />

View File

@ -39,6 +39,7 @@
<el-tab-pane label="成长值" name="experience" lazy>
<UserExperienceRecordList :user-id="id"
/></el-tab-pane>
<!-- TODO @jason增加一个余额变化 -->
<el-tab-pane label="余额" name="fourth">余额(WIP)</el-tab-pane>
<el-tab-pane label="收货地址" name="address" lazy>
<UserAddressList :user-id="id" />
@ -48,7 +49,9 @@
</el-tab-pane>
<el-tab-pane label="售后管理" name="fourth">售后管理(WIP)</el-tab-pane>
<el-tab-pane label="收藏记录" name="fourth">收藏记录(WIP)</el-tab-pane>
<!-- TODO @疯狂优惠劵的读取 -->
<el-tab-pane label="优惠劵" name="fourth">优惠劵(WIP)</el-tab-pane>
<!-- TODO @疯狂增加获得分校用户直接查询出所有需要体现出是一级还是二级用户编号昵称级别绑定时间 -->
</el-tabs>
</el-card>
</el-row>

View File

@ -128,6 +128,8 @@
>
编辑
</el-button>
<!-- todo @jason增加一个修改余额 -->
<!-- todo @疯狂增加一个修改积分表单是radio 增加/减少input 具体的变化积分 -->
<!-- todo 放到更多菜单中 -->
<el-button
link