Commit 0e21fc69d4c8108d521b6ea089cb60f45fe096e5
1 parent
e48bb242
v1.9 解决流程没有办理的bug
Showing
1 changed file
with
2 additions
and
1 deletions
src/views/oa/newOaWorkflowDetailList.vue
| @@ -309,8 +309,9 @@ export default { | @@ -309,8 +309,9 @@ export default { | ||
| 309 | id: this.newOaWorkflowDetailInfo.id | 309 | id: this.newOaWorkflowDetailInfo.id |
| 310 | } | 310 | } |
| 311 | const response = await getNextTask(params) | 311 | const response = await getNextTask(params) |
| 312 | - if (response.code !== '0') return | 312 | + if (response.code != 0) return |
| 313 | this.newOaWorkflowDetailInfo.nextAudit = response.data[0] | 313 | this.newOaWorkflowDetailInfo.nextAudit = response.data[0] |
| 314 | + console.log(this.newOaWorkflowDetailInfo.nextAudit) | ||
| 314 | } catch (error) { | 315 | } catch (error) { |
| 315 | console.error('请求失败:', error) | 316 | console.error('请求失败:', error) |
| 316 | } | 317 | } |