[update 标准解读流程] 完善
This commit is contained in:
+16
-16
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user