update 修复模型选人参数异常,调整加签请求路径
This commit is contained in:
parent
26c0cdaef6
commit
526ca728e1
@ -246,7 +246,7 @@ export const delegateTask = (data: any) => {
|
||||
*/
|
||||
export const getTaskUserIdsByAddMultiInstance = (taskId: string) => {
|
||||
return request({
|
||||
url: '/workflow/user/getTaskUserIdsByAddMultiInstance/' + taskId,
|
||||
url: '/workflow/task/getTaskUserIdsByAddMultiInstance/' + taskId,
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
@ -50,7 +50,7 @@
|
||||
<el-tabs tab-position="left" class="demo-tabs">
|
||||
<el-tab-pane label="身份存储">
|
||||
<el-form-item label="分配人员">
|
||||
<el-input v-model="formData.assignee">
|
||||
<el-input v-model="formData.assignee" @blur="blurAssignee(formData.assignee)">
|
||||
<template #append>
|
||||
<el-button icon="Search" type="primary" @click="openSingleUserSelect" />
|
||||
</template>
|
||||
@ -283,24 +283,23 @@ const dueDateRef = ref<InstanceType<typeof DueDate>>();
|
||||
|
||||
const isMultiple = ref(true);
|
||||
const openUserSelect = () => {
|
||||
if (!formData.value.candidateUsers) {
|
||||
formData.value.candidateUsers = '-1';
|
||||
}
|
||||
userSelectRef.value.open();
|
||||
};
|
||||
const openSingleUserSelect = () => {
|
||||
if (formData.value.assignee.includes('$')) {
|
||||
formData.value.assignee = '';
|
||||
}
|
||||
singleUserSelectRef.value.open();
|
||||
};
|
||||
const openRoleSelect = () => {
|
||||
if (!formData.value.candidateGroups) {
|
||||
formData.value.candidateGroups = '-1';
|
||||
}
|
||||
roleSelectRef.value.open();
|
||||
};
|
||||
const openDueDate = (e) => {
|
||||
dueDateRef.value.openDialog();
|
||||
};
|
||||
|
||||
const blurAssignee = (assignee) => {
|
||||
updateProperties({ 'flowable:assignee': assignee ? assignee : undefined });
|
||||
};
|
||||
const singleUserSelectCallBack = (data: UserVO[]) => {
|
||||
const user: UserVO = data.length !== 0 ? data[0] : undefined;
|
||||
updateProperties({ 'flowable:assignee': user?.userId });
|
||||
|
Loading…
x
Reference in New Issue
Block a user