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