collisionFollowRecord.html 1.96 KB
<div class="inmodal collisionFollow" style="height: auto">
    <div ng-if="loadingShow" style="width: 100%;
    height: 100%;
    background: rgb(248,250,251);
    position: absolute;
    top: 53px;
    left: 0;
    right: 0;
    bottom: 0;
    transition: all 0.5s;
    z-index: 10;margin: 0 auto"><img src="images/loading2.gif"
            style="position: absolute;left: 50%;top: 50%;transform: translate(-50%,-50%)"></div>
    <div class="modal-header">
        <h4 class="modal-title">跟进记录</h4>
    </div>

    <div class="modal-body">
        <table datatable="ng" dt-options="dtOptions" class="table table-bordered table-hover full-width">
            <thead>
                <tr>
                    <th width="">跟进时间</th>
                    <th width="">来源</th>
                    <th width="">跟进结果</th>
                    <th width="">备注</th>
                </tr>
            </thead>
            <tbody>
            <tr  class="aroundLength" ng-repeat="item in followRecordInfo" on-finish-render-filters>
                <td>{{ item.followTime }}</td>
                <td>{{ item.source }}</td>
	            <td>{{ item.followResult }}</td>
	            <td ng-bind-html="item.remarks" style="text-align:left"></td>
            </tr>
            </tbody>
        </table>

    </div>

    <div class="modal-footer">
        <input type="button" class="btn btn-primary" ng-click="addFollowRecord()" value="新增跟进记录"
            style="margin-right: 180px">
        <button type="button" class="btn btn-primary" ng-click="cancel()">关闭</button>
    </div>

</div>
<style>
    .collisionFollow table tbody {
        display: block;
        max-height: 350px;
        overflow-y: scroll;
    }

    .collisionFollow table thead,
    .collisionFollow tbody tr {
        display: table;
        width: 100% !important;
        table-layout: fixed;
    }

    .collisionFollow table thead {
        width: calc(100% - 1.3em) !important;
    }
</style>