<%}else{%>
<%}%>
<%if(labelName && labelName!= '未分类'){%>
<%if(labelType == 4){%>
<%if(appId == 402){%>
<%}else if(appId== 203){%>
<%}else if(appId== 902){%>
<%}else{%>
<%}%>
<%=_.substringWithM(labelName,8,false)%>
<%}else{%>
<%=_.substringWithM(labelName,10,false)%>
<%}%>
<%}%>
<%}%>
<%if(status == 2 && evaluateModel){%>
<%=_.TitaWidget_evaluation(evaluateModel, {showStar: true})%>
<%}else{%>
<%if(!isLongTerm){%>
<%if(status == 2){%>
<%=deadLine%>
<%}else{%>
<%if(ables.date){%>
<%=(fromNow > 0 && fromNow < 4) ? '剩余'+ fromNow +'天' : deadLine%>
<%}else{%>
<%=(fromNow > 0 && fromNow < 4) ? '剩余'+ fromNow +'天' : deadLine%>
<%}%>
<%}%>
<%}else{%>
<%if(ables.date){%>
长期
<%}else{%>
长期
<%}%>
<%}%>
<%if(ables.principal){%>
<%=_.TitaWidget_substring(principalUser.name,6,true,2)%>
<%}else{%>
<%=_.TitaWidget_substring(principalUser.name,6,true,2)%>
<%}%>
<%if(isShowPriority){%>
<%}%>
<%if(isShowDelete){%>
<%if(deleteable){%>
删除
<%}else{%>
<%}%>
<%}%>
<%}%>
<%if(hasSubTask || (typeof(tasks)!=="undefined" && tasks.length)){%>
<%if(typeof(tasks)!=="undefined" && tasks.length){%>
<%}else{%>
<%}%>
<%}%>
<%if(isApply){%>
<%}else{%>
<%}%>
<%if(status==2 || status==4 || status ==6){%>
<%if(isPush){%>
<%= taskName %>
<%}else{%>
<%= taskName %>
<%}%>
<%}else{%>
<%if(isPush){%>
<%=taskName %>
<%}else{%>
<%=taskName %>
<%}%>
<%}%>
<%if(cycleId > 0){%>
<%}%>
<%if(appId == 203 || appId == 902){%>
<%= ({
'6': '面'
,'7': 'offer'
,'8': '职'
,'16': '筛'
,'20': '审'
,'21': '申'
})[taskType]
%>
<%}%>
<% if(isQuantify){ %>
定量任务
<%}%>
<%if(isShowOwnerTag){%>
<% if(userRelation == 1){ %>
派发
<%}else if(userRelation == 2){ %>
上级安排
<%}else if(userRelation == 3){%>
参与
<%}else{%>
<%}%>
<%}%>
<%if(isOpenTaskProgress && progress && !isQuantify){%>
<%=progress%>%
<%}%>
<%if(counter.workTimeTotal && isShowWorkTime){%>
<%if(ables.workTime){%>
<%=counter.workTimeTotal%>h
<%}else{%>
<%=counter.workTimeTotal%>h
<%}%>
<%}%>
<%if(counter.taskTotal > 0 || counter.experienceTotal > 0 || counter.commentTotal > 0){%>
<%if(counter.taskTotal > 0 && isShowTaskTotal){%>
<%if(ables.workTime){%>
<%=counter.finishTaskTotal%>/<%=counter.taskTotal%>
<%}else{%>
<%=counter.finishTaskTotal%>/<%=counter.taskTotal%>
<%}%>
<%}%>
<%if(counter.experienceTotal > 0 && isShowExperienceTotal){%>
<%if(ables.experience){%>
<%=counter.experienceTotal%>
<%}else{%>
<%=counter.experienceTotal%>
<%}%>
<%}%>
<%if(counter.commentTotal > 0 && isShowCommentTotal){%>
<%if(ables.comment){%>
<%=counter.commentTotal%>
<%}else{%>
<%=counter.commentTotal%>
<%}%>
<%}%>
<%}%>
<%if(!counter.taskTotal && isShowTaskTotal && ables.addTask){%>
<%}%>
<%if(!counter.commentTotal && isShowCommentTotal && ables.comment){%>
<%}%>