<%=priorityTitle%>

量化

反馈

审批

预估

<%if(cycleId && cycleId != "" && status != 2 && !isDeadLine){%>
循环周期
<%if(cycleable){%> <%=cycleHtml%> <%}else if(!cycleable){%> <%=cycleHtml%> <%}%> <%if(cycleable){%>
<%}%>
<%}%>
<%if(cycleId == 0){%> 起止时间 <%}else{%> 循环时间 <%}%>
<%if(editable && cycleId == 0){%> <%if(!startDate && !deadLine){%> 开始时间 - 结束时间 <%}else{%> <%=startDate%> -- <%if(isLongTerm){%>长期<%}else{%><%=deadLine%><%}%> <%}%> <%}else if( cycleId !== 0){%> <%if(!startDate && !deadLine){%> 未设置 <%}else{%> (<%=startDate%> - <%if(isLongTerm){%>长期<%}else{%><%=deadLine%><%}%>) <%}%> <%}else{%> <%if(!startDate && !deadLine){%> 未设置 <%}else{%> (<%=startDate%> - <%if(isLongTerm){%>长期<%}else{%><%=deadLine%><%}%>) <%}%> <%}%> <%if(editable && cycleId == 0){%>
<%}%> <%if( !isLongTerm && status != 2 && startDate ){%> <%if(isDeadLine){%> 已过期 <%if(remainDay !=0 ){%><%=remainDay%> 天<%}%> <%}else{%> 剩余 <%= remainDay%> <%}%> <%}%>
<%if(editable){%>
<%if(editable){%> <%if(!description || description == ""){%> 添加描述 <%}else{%>
任务描述:  <%=description%>
<%}%> <%}else{%>
<%if(description){%> <%=description%> <%}%>
<%}%>
<%}%>
<%if(isOpenTaskProgress){%>
任务进度
<%=progress%> %
<%if(editable && !isDone & !quantifyValueId){%>
<%}else if(quantifyValueId){%> (不可编辑,系统根据实际值自动计算任务进度) <%}%>
<%}%>
相关成员

负责人

<%= _.convertImage({"className" : "avatar-item","src" : principalUser.avatar.Big, 'size' : 30, 'shape' : 'radius', 'name' : principalUser.name.slice(0,1), 'bgColor' : principalUser.avatar.Color }) %>
<%=principalUser.name%> <%if(editable){%>
<%}%>

审批人

<%if(applyUser && applyUser.name){%>
<%= _.convertImage({"className" : "avatar-item","src" : applyUser.avatar.Big, 'size' : 30, 'shape' : 'radius', 'name' : applyUser.name.slice(0,1), 'bgColor' : applyUser.avatar.Color }) %> <%if(editApplyUserable){%> <%}%>
<%=applyUser.name%> <%}else{%> <%if(!editable){%> 未设置审批人 <%}else{%>
<%}%> <%}%> <%if(editApplyUserable && applyUser && applyUser.name){%>
<%}%>

参与人

    <%if(participators.length > 0){%> <% _.each(participators,function(user){%>
  • <%= _.convertImage({"className" : "avatar-item","src" : user.avatar.Big, 'size' : 30, 'shape' : 'radius', 'name' : user.name.slice(0,1), 'bgColor' : user.avatar.Color }) %> <%=user.name%>
    <%if(editable){%> <%}%>
  • <%}); %> <%}else if(!editable && !participators.length){%>
  • 未设置参与人
  • <%}%>
<%if(editable){%>
  • <%}%>
    <%if(followOptions){%>

    关注者

      <%if(followers.length > 0){%> <% _.each(followers,function(user){%>
    • <%= _.convertImage({"className" : "avatar-item","src" : user.avatar.Big, 'size' : 30, 'shape' : 'radius', 'name' : user.name.slice(0,1), 'bgColor' : user.avatar.Color }) %> <%=user.name%>
      <%if(editable){%> <%}%>
    • <%}); %> <%}else if(!editable && !followers.length){%>
    • 未设置关注者
    • <%}%>
    <%if(editable){%>
  • <%}%>
    <%}%>
    任务属性
    母任务
    <%if(parentId){%> <%=parentName%> <%}else{%> 暂无母任务 <%}%>
    <%if(relateEditable){%>
    <%}%>
    <%if(TaskLabel){%> 分类/项目/目标 <%} else{%> 所属对象 <%}%>
    <%if(labUrl){%>   <%=labelName%> <%}else{%> <%=labelName%> <%}%> <%if(labelId){%> <%}if(editable && !hasParent){%>
    <%}%>
    其他属性
    任务附件
    <%if(addAttachmentAble){%>
    <%}%>
    <%if(isPackUp){%>
    收起 <%}else{%> 展开 <%}%>