Commit 85e5736d authored by sujie@126.com's avatar sujie@126.com

dd

parent afe3ae4a
......@@ -241,7 +241,7 @@ Page({
} = res;
data.list.forEach(element => {
element.statusType = element.leave && element.leave.status == 3 ? 3 : 1;
element.punishCount = element.leave && element.leave.status == 3 && this.data.schedulesDetail.course.rule_leave == 1 ? 0 : 1
element.punishCount = element.leave && element.leave.status == 3 && this.data.schedulesDetail.course.rule_leave == 1 ? 1 : 0
});
if (code == 200) {
this.setData({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment