|
@@ -243,7 +243,9 @@
|
|
|
splitLine : {show : true},
|
|
|
data : [<% if (scheduleMonth.length > 0) { %>
|
|
|
<% for (const sm of scheduleMonth) { %>
|
|
|
+ <% if (sm.stage_gcl_used === 1) { %>
|
|
|
'<%- sm.yearmonth.split('-')[0] %>年<%- parseInt(sm.yearmonth.split('-')[1]) %>月',
|
|
|
+ <% } %>
|
|
|
<% } %>
|
|
|
<% } %>]
|
|
|
}
|
|
@@ -276,8 +278,10 @@
|
|
|
stack: '计划',
|
|
|
data:[<% if (scheduleMonth.length > 0) { %>
|
|
|
<% for (const sm of scheduleMonth) { %>
|
|
|
+ <% if (sm.stage_gcl_used === 1) { %>
|
|
|
'<%- sm.plan_tp ? sm.plan_tp : 0 %>',
|
|
|
<% } %>
|
|
|
+ <% } %>
|
|
|
<% } %>]
|
|
|
},
|
|
|
{
|
|
@@ -287,8 +291,10 @@
|
|
|
stack: '实际',
|
|
|
data:[<% if (scheduleMonth.length > 0) { %>
|
|
|
<% for (const sm of scheduleMonth) { %>
|
|
|
+ <% if (sm.stage_gcl_used === 1) { %>
|
|
|
'<%- sm.sj_tp ? sm.sj_tp : 0 %>',
|
|
|
<% } %>
|
|
|
+ <% } %>
|
|
|
<% } %>]
|
|
|
},
|
|
|
{
|
|
@@ -298,8 +304,10 @@
|
|
|
yAxisIndex: 1,
|
|
|
data:[<% if (scheduleMonth.length > 0) { %>
|
|
|
<% for (const sm of scheduleMonth) { %>
|
|
|
+ <% if (sm.stage_gcl_used === 1) { %>
|
|
|
'<%- sm.sj_tp ? ctx.helper.round(ctx.helper.div(sm.sj_tp, schedule.total_tp)*100, 2) : 0 %>',
|
|
|
<% } %>
|
|
|
+ <% } %>
|
|
|
<% } %>]
|
|
|
},
|
|
|
]
|