<div class="wrapTitle ng-scope">
    <span>
        下载报表
        <help-tip class="help" name="下载报表"></help-tip>
    </span>
</div>
<div>
    <div class="tableList mt20">
        <table>
            <tr>
                <th>序号</th>
                <th>报表名称</th>
                <th>时间范围</th>
                <th>创建人</th>
                <th>创建时间</th>
                <th>下载人</th>
                <th>状态</th>
                <th>操作</th>
            </tr>
            <tr ng-repeat="info in donwlistData track by $index" ng-if="$index>flipPage2.start && $index < flipPage2.end">
                <td>{{$index+1}}</td>
                <td>{{info.name}}</td>
                <td>{{info.startDate}}至{{info.endDate}}</td>
                <td>{{info.accountName}}</td>
                <td>{{info.createTime | date:'yyyy-MM-dd HH:mm:ss'}}</td>
                <td>{{info.downloadName}}</td>
                <td>
                    <span ng-if="info.status=='init'">生成中</span>
                    <span ng-if="info.status=='downloading'">生成中</span>
                    <span ng-if="info.status=='invalid'">已失效</span>
                    <span ng-if="info.status=='complete'">已完成</span>
                    <span ng-if="info.status=='failed'">
                        生成失败
                        <span class="f5Icon" ng-click="downlistRefresh(info.id)"></span>
                    </span>
                </td>
                <td class="formOper">
                    <div class="formBtn" ng-class="{'dis':info.status!='complete'}" ng-click="downlistEvt(info)"><span class="downloadIcon active"></span>下载</div>
                    <div class="formBtn" ng-click="doRemove(info.id)" ng-if="UserId == info.account"><span class="removeIcon"></span>删除</div>
                </td>
            </tr>
        </table>
        <flip-info list-info="donwlistData" search-txt="searchTxt" search-name="name"></flip-info> 
    </div>
</div>

<div class="openTipWin" ng-show="wantRefresh">
    <div class="closeGray" ng-click="closeWin()"></div>
    <div class="tipCont">
        导出文件不存在，是否需要重新生成？
    </div>
    <div class="openBtnGroup clearfix">
        <div class="btn8 mr20" ng-click="closeWin()">取消</div>
        <div class="btn8" ng-click="downlistRefresh(null,1)">确定</div>
    </div>
</div>

<del-tip status="delstatus" delfn="removeInfo()">
   请确定是否删除该下载报表？
</del-tip>   