v1.9 解决流程没有办理的bug

This commit is contained in:
wuxw 2025-09-03 16:37:16 +08:00
parent e48bb24238
commit 0e21fc69d4

View File

@ -309,8 +309,9 @@ export default {
id: this.newOaWorkflowDetailInfo.id id: this.newOaWorkflowDetailInfo.id
} }
const response = await getNextTask(params) const response = await getNextTask(params)
if (response.code !== '0') return if (response.code != 0) return
this.newOaWorkflowDetailInfo.nextAudit = response.data[0] this.newOaWorkflowDetailInfo.nextAudit = response.data[0]
console.log(this.newOaWorkflowDetailInfo.nextAudit)
} catch (error) { } catch (error) {
console.error('请求失败:', error) console.error('请求失败:', error)
} }