//Created by liusha on 16/8/17.
-var tBody = config.result.list
.popupBody
    .aboutPlan
        .choose.clearfix
            .play(node-type="play")
                i
                span 启用
            .stop(node-type="stop")
                i
                span 暂停
        .plan-head
            table
                thead
                    tr
                        th.select-input
                            label(for="allSelect")
                                input(type="checkbox" id="allSelect" node-type="allSelect")
                                | 全选
                        th.topicname 计划名称
                        th.switch 开关
                        th.statusCase 全部状态
                        th 操作
        .plan-body
            table
                tbody
                    if(tBody && tBody.length > 0)
                        -each item, i in tBody
                            tr
                                td.select-input
                                    input(type="checkbox")
                                td(id="#{item.id}").topicname
                                    div(title="#{item.name}") #{item.name}
                                if(item.configuredStatus == "0")
                                    td.switch
                                        .changer.changer-stop(changer="0")
                                            .changer-child
                                else if(item.configuredStatus == "1")
                                    td.switch
                                        .changer(changer="1")
                                            .changer-child
                                else if(item.configuredStatus == "9")
                                    td.switch
                                        .changer.changer-disable(changer="9")
                                            .changer-child
                                td.status(node-type="status" status="#{item.effectiveStatus}") #{item.effectiveStatusStr}
                                td
                                    .operation
                                        .action 结束该计划
                    else
                        tr(node-type="no-data")
                            td 暂无数据...
    .popup-footer
        .btn(node-type="confirm") 确定
        //.btn(node-type="cancel") 取消