diff --git a/src/components/DetailComponent/ApprovalDetail.vue b/src/components/DetailComponent/ApprovalDetail.vue index c2e7ed7..88c36b1 100644 --- a/src/components/DetailComponent/ApprovalDetail.vue +++ b/src/components/DetailComponent/ApprovalDetail.vue @@ -416,7 +416,7 @@ const addUser = async () => { instanceId: props.data.processInstanceId, // message:props.data.remark, projectId: route.query.projectId, - state: props.data.state, + state: route.query.step, userIds: carbonCopyUserList.value }) console.log('res', res) @@ -424,7 +424,7 @@ const addUser = async () => { ElNotification({ title: '提示', message: '抄送成功', - type: 'error' + type: 'success' }) tableIns.value.refresh() } else { diff --git a/src/components/DetailComponent/SummaryDetail.vue b/src/components/DetailComponent/SummaryDetail.vue index 661568c..8928883 100644 --- a/src/components/DetailComponent/SummaryDetail.vue +++ b/src/components/DetailComponent/SummaryDetail.vue @@ -227,9 +227,8 @@ const carbonCopyUserPickerOk = (userList) => { const addUser = async () => { const res = await applyCcSend({ instanceId: props.data.processInstanceId, - // message:props.data.remark, projectId: route.query.projectId, - state: props.data.state, + state: route.query.step, userIds: carbonCopyUserList.value }) console.log('res', res) @@ -237,7 +236,7 @@ const addUser = async () => { ElNotification({ title: '提示', message: '抄送成功', - type: 'error' + type: 'success' }) tableIns.value.refresh() } else {