|
@@ -76,7 +76,7 @@ module.exports = app => {
|
|
|
if (this.ctx.session.sessionUser.accountId === this.ctx.material.user_id) {
|
|
|
this.ctx.material.curTimes = this.ctx.material.times;
|
|
|
} else {
|
|
|
- this.ctx.material.curTimes = this.ctx.material.status === status.checkNo ? this.ctx.material.times - 1 : this.ctx.material.times;
|
|
|
+ this.ctx.material.curTimes = this.ctx.material.status === auditConst.status.checkNo ? this.ctx.material.times - 1 : this.ctx.material.times;
|
|
|
}
|
|
|
}
|
|
|
|