[update 标准解读流程] 完善

This commit is contained in:
danshihao
2024-07-15 17:33:12 +08:00
parent 12b169eb2d
commit 177c28861b
8 changed files with 42 additions and 33 deletions
@@ -149,7 +149,7 @@ import {
interpretFlowSave,
interpretFlowReject,
interpretFlowTransfer,
getLookData
getLookData, interpretFlowCountersign
} from '@api/workCenter'
import InterpretationInitiate from '@views/workCenter/standardInterpretationProcess/modules/InterpretationInitiate'
import UserSelectModal from '@comp/selection/UserSelectModal'
@@ -495,7 +495,7 @@ export default {
userSelectCallback (userId) {
switch (this.selectUserType) {
case '1':
this.countersignCallback()
this.countersignCallback(userId)
break
case '2':
this.continueTurnToCallback(userId)
@@ -506,23 +506,23 @@ export default {
if (this.loading) return
this.loading = true
const params = {
projectId: this.projectId,
taskId: this.$route.query.taskId,
userId
}
// interpretFlowTransfer(params).then(res => {
// if (res.success) {
// this.$message.success(res.message)
// this.goBack()
// } else {
// this.$message.warn(res.message)
// }
// }).catch(() => {
// this.loading = false
// }).finally(() => {
// setTimeout(() => {
// this.loading = false
// }, 1000)
// })
interpretFlowCountersign(params).then(res => {
if (res.success) {
this.$message.success(res.message)
} else {
this.$message.warn(res.message)
}
}).catch(() => {
this.loading = false
}).finally(() => {
setTimeout(() => {
this.loading = false
}, 1000)
})
},
// 转办
continueTurnToCallback (userId) {