add 增加转办等消息提示
This commit is contained in:
@@ -53,6 +53,8 @@ export interface TaskOperationBo {
|
|||||||
userIds?: string[];
|
userIds?: string[];
|
||||||
//任务ID(必填)
|
//任务ID(必填)
|
||||||
taskId: string | number;
|
taskId: string | number;
|
||||||
|
//消息类型
|
||||||
|
messageType?: string[];
|
||||||
//意见或备注信息(可选)
|
//意见或备注信息(可选)
|
||||||
message?: string;
|
message?: string;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -113,7 +113,8 @@ const handleTransferTask = async (data) => {
|
|||||||
const taskOperationBo = reactive<TaskOperationBo>({
|
const taskOperationBo = reactive<TaskOperationBo>({
|
||||||
userId: data[0].userId,
|
userId: data[0].userId,
|
||||||
taskId: task.value.id,
|
taskId: task.value.id,
|
||||||
message: ''
|
message: '',
|
||||||
|
messageType: ['1']
|
||||||
});
|
});
|
||||||
await proxy?.$modal.confirm('是否确认提交?');
|
await proxy?.$modal.confirm('是否确认提交?');
|
||||||
loading.value = true;
|
loading.value = true;
|
||||||
@@ -139,7 +140,8 @@ const addMultiInstanceUser = async (data) => {
|
|||||||
const taskOperationBo = reactive<TaskOperationBo>({
|
const taskOperationBo = reactive<TaskOperationBo>({
|
||||||
userIds: data.map((e) => e.userId),
|
userIds: data.map((e) => e.userId),
|
||||||
taskId: task.value.id,
|
taskId: task.value.id,
|
||||||
message: ''
|
message: '',
|
||||||
|
messageType: ['1']
|
||||||
});
|
});
|
||||||
await proxy?.$modal.confirm('是否确认提交?');
|
await proxy?.$modal.confirm('是否确认提交?');
|
||||||
loading.value = true;
|
loading.value = true;
|
||||||
@@ -163,7 +165,8 @@ const deleteMultiInstanceUser = async (row) => {
|
|||||||
const taskOperationBo = reactive<TaskOperationBo>({
|
const taskOperationBo = reactive<TaskOperationBo>({
|
||||||
userIds: [row.userId],
|
userIds: [row.userId],
|
||||||
taskId: task.value.id,
|
taskId: task.value.id,
|
||||||
message: ''
|
message: '',
|
||||||
|
messageType: ['1']
|
||||||
});
|
});
|
||||||
await taskOperation(taskOperationBo, 'reductionSignature').finally(() => {
|
await taskOperation(taskOperationBo, 'reductionSignature').finally(() => {
|
||||||
loading.value = false;
|
loading.value = false;
|
||||||
|
|||||||
@@ -397,7 +397,8 @@ const addMultiInstanceUser = async (data) => {
|
|||||||
const taskOperationBo = reactive<TaskOperationBo>({
|
const taskOperationBo = reactive<TaskOperationBo>({
|
||||||
userIds: data.map((e) => e.userId),
|
userIds: data.map((e) => e.userId),
|
||||||
taskId: taskId.value,
|
taskId: taskId.value,
|
||||||
message: form.value.message
|
message: form.value.message,
|
||||||
|
messageType: ['1']
|
||||||
});
|
});
|
||||||
await proxy?.$modal.confirm('是否确认提交?');
|
await proxy?.$modal.confirm('是否确认提交?');
|
||||||
loading.value = true;
|
loading.value = true;
|
||||||
@@ -421,7 +422,8 @@ const deleteMultiInstanceUser = async (row) => {
|
|||||||
const taskOperationBo = reactive<TaskOperationBo>({
|
const taskOperationBo = reactive<TaskOperationBo>({
|
||||||
userIds: [row.userId],
|
userIds: [row.userId],
|
||||||
taskId: taskId.value,
|
taskId: taskId.value,
|
||||||
message: form.value.message
|
message: form.value.message,
|
||||||
|
messageType: ['1']
|
||||||
});
|
});
|
||||||
await taskOperation(taskOperationBo, 'reductionSignature').finally(() => {
|
await taskOperation(taskOperationBo, 'reductionSignature').finally(() => {
|
||||||
loading.value = false;
|
loading.value = false;
|
||||||
@@ -441,7 +443,8 @@ const handleTransferTask = async (data) => {
|
|||||||
const taskOperationBo = reactive<TaskOperationBo>({
|
const taskOperationBo = reactive<TaskOperationBo>({
|
||||||
userId: data[0].userId,
|
userId: data[0].userId,
|
||||||
taskId: taskId.value,
|
taskId: taskId.value,
|
||||||
message: form.value.message
|
message: form.value.message,
|
||||||
|
messageType: ['1']
|
||||||
});
|
});
|
||||||
await proxy?.$modal.confirm('是否确认提交?');
|
await proxy?.$modal.confirm('是否确认提交?');
|
||||||
loading.value = true;
|
loading.value = true;
|
||||||
@@ -468,7 +471,8 @@ const handleDelegateTask = async (data) => {
|
|||||||
const taskOperationBo = reactive<TaskOperationBo>({
|
const taskOperationBo = reactive<TaskOperationBo>({
|
||||||
userId: data[0].userId,
|
userId: data[0].userId,
|
||||||
taskId: taskId.value,
|
taskId: taskId.value,
|
||||||
message: form.value.message
|
message: form.value.message,
|
||||||
|
messageType: ['1']
|
||||||
});
|
});
|
||||||
await proxy?.$modal.confirm('是否确认提交?');
|
await proxy?.$modal.confirm('是否确认提交?');
|
||||||
loading.value = true;
|
loading.value = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user