change detail of approval status
This commit is contained in:
parent
5475acdf80
commit
960c4d5f3a
@ -98,8 +98,8 @@ export class WechatWorkService {
|
|||||||
throw new Error('approval detail error, code: ' + detail.errcode + ' errmsg: ' + detail.errmsg)
|
throw new Error('approval detail error, code: ' + detail.errcode + ' errmsg: ' + detail.errmsg)
|
||||||
}
|
}
|
||||||
const { info } = detail
|
const { info } = detail
|
||||||
if (info.status !== TaskStatus.PASS) {
|
if (info.sp_status !== TaskStatus.PASS) {
|
||||||
throw new Error('approval status error, status: ' + info.status)
|
throw new Error('approval status error, status: ' + info.sp_status)
|
||||||
}
|
}
|
||||||
const { apply_data, applyer } = info
|
const { apply_data, applyer } = info
|
||||||
const { contents } = apply_data
|
const { contents } = apply_data
|
||||||
|
Loading…
x
Reference in New Issue
Block a user