审查视图

WebRoot/app/views/address/address.html 10.4 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220
<div class="lg-nav">
 <div class="btn-group btn-mgl-10">
            <select class="form-control " id="addresstypeid" manage-address-click>
                <option value="0">默认分组</option>
                <option ng-repeat="usertype in typeitems" value="{{usertype.folder_id}}">{{usertype.folder_name}}
                </option>
            </select>
        </div>
    <!--next-->
    <div class="btn-group btn-group-sm btn-mgl-10">
        <button type="button" class="btn btn-info btn-mgr-10" planid="0" add-address-manage><i class="fa fa-plus"></i> 增加地址
        </button>
        <button type="button" class="btn btn-default btn-mgr-10" ng-click="deladdrall()"><i class="fa fa-trash-o"></i>
            删除
        </button>
        <button type="button" class="btn btn-default btn-mgr-10" move-address><i
                class="fa fa-share-square-o"></i> 移动到
        </button>
        <button type="button" class="btn btn-default btn-mgr-10" export-address><i class="fa fa-download"></i>
            导出
        </button>
        <button type="button" class="btn btn-default btn-mgr-10" ng-click="addresssend()"><i class="fa fa-envelope-o"></i>
            发邮件
        </button>
    </div>
    <div class="input-group input-group-sm lg-input-group lg-input-group-right btn-mgr-10">
        <input type="text" class="form-control" id="addresssearchcon" placeholder="查询地址...">

               <span class="input-group-btn">
                        <button class="btn btn-default" data-toggle="dropdown" aria-haspopup="true"
                                aria-expanded="false">高级 <i class="caret"></i></button>
                        <div class="dropdown-menu animated fadeInRight dropdown-menu-right">
                            <div class="panel-body lg-mail">
                                <table class="table lg-table-border-bottom">
                                    <tbody>
                                    <tr>
                                        <td>发送数</td>
                                        <td>超过 <input class="lg-input lg-w-40" id="address_sendnum" placeholder="0"> 发送数</td>
                                    </tr>
                                    <tr>
                                        <td>点读数</td>
                                        <td>超过 <input class="lg-input lg-w-40" id="address_readnum" placeholder="0"> 点读数</td>
                                    </tr>
                                    <!--tr>
                                        <td>是否退订</td>
                                        <td><label datasinglecheck="0" class="lg-checkbox-n"></label></td>
                                    </tr-->
                                    <tr>
                                        <td>是否回复</td>
                                        <td><label datasinglecheck="0" class="lg-checkbox-n address_replay"></label></td>
                                    </tr>
                                    </tbody>
                                </table>
                                <div class="btn-group btn-group-sm btn-right">
                                    <button class="btn btn-success btn-mgr-10" address-senior-search><i class="fa fa-search"></i> 搜索</button>
                                    <button class="btn btn-default">取消</button>
                                </div>
                            </div>
                        </div>
                 <button class="btn btn-default" address-start-search><i class="fa fa-search"></i></button>
               </span>
    </div>
    <!-- /input-group -->
</div>
<div>
    <div class="lg-con">
        <div class="lg-wrap"  scroller-all="165">

            <div class="list-wrap">
                <table class="table table-hover">
                    <thead>
                    <tr>
                        <th><label allcheck="0" class="checkall"></label></th>
                        <th>邮件地址</th>
                        <th>姓名</th>
                        <th>公司网址</th>
                        <th>最后发送时间</th>
                        <th>发送总数</th>
                        <th>点读总数</th>
                        <!--th>是否退订</th-->
                        <th>是否回复</th>
                        <th>更多操作</th>
                    </tr>
                    </thead>

                    <tbody>
                    <tr ng-repeat="listitem in listitems">
                        <td width="60"><label datafilecheck="0" cid={{listitem.user_addr_id}}
                                              email="{{listitem.user_addr_email}}" class="lg-checkbox addrcheck"></label></td>
                        <td width="20%" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap; max-width: 250px;" title="{{listitem.user_addr_email}}">
                               {{listitem.user_addr_email}}
                        </td>
                        <td width="15%">{{listitem.user_addr_name}}</td>
                        <td width="15%">
                            <a href="{{listitem.user_addr_web}}" target="_blank"><i class='fa fa-link'></i>
                                {{listitem.user_addr_web}}
                            </a>
                        </td>
                        <td>{{listitem.user_send_time==null||listitem.user_send_time==""?'--':listitem.user_send_time}}</td>
                        <td>{{listitem.user_send_num}}</td>
                        <!--<td>{{listitem.readingnum}} <span successview class="lg-pointer" ng-if="listitem.readingnum!=0"><i-->
                                <!--class="fa fa-eye color-grav"></i></span></td>-->
                        <td>{{listitem.readingnum}}</td>
                        <!--td><label class="label label-warning">否</label></td-->
                        <td><label class="label label-success" ng-if="listitem.replynum>0"></label><label
                                class="label label-warning" ng-if="listitem.replynum==0"></label></td>
                        <td>
                            <div class="dropdown">
                                <button id="dLabel1" class="btn btn-default btn-sm" data-toggle="dropdown"
                                        aria-haspopup="true"
                                        aria-expanded="false">设置 <i class="caret"></i></button>
                                <ul class="dropdown-menu animated swing dropdown-menu-right" aria-labelledby="dLabel1">
                                    <!--li><a href="#"><i class="fa fa-users"></i> 加入CRM库</a></li>
                                    <li role="separator" class="divider"></li-->
                                    <li><a href="javascript:;" cid={{listitem.user_addr_id}} address-info><i
                                            class="fa fa-eye"></i> 详细信息</a></li>
                                    <li role="separator" class="divider"></li>
                                    <li><a href="javascript:;" cid={{listitem.user_addr_id}} deladdress><i
                                            class="fa fa-trash-o"></i> 删除</a></li>
                                </ul>
                            </div>
                            <!--button class="btn btn-warning btn-sm"><i class="fa fa-envelope-o"></i> 再次发送</button-->
                        </td>
                    </tr>

                    </tbody>
                </table>
            </div>

  		<div style="line-height: 60px; text-align: center" ng-show="listitems.length==0">暂无邮件地址</div>
        </div>
    </div>
    
    <!-- START 分页-->
    <div class="panel panel-default" ng-show="listitems.length!=0">
        <div>
            <!-- START row-->
            <div class="row">
                <div class="col-lg-7  col-lg-offset-5 col-sm-10 col-sm-offset-2">
                    <pagination total-items="TotalItems" ng-model="CurrentPage" max-size="maxSize" boundary-links="true" rotate="false" num-pages="numPages" class="pagination-sm" ng-click="pageChanged()"></pagination>
                </div>
            </div>
            <!-- END row-->
        </div>
    </div>
    <!-- END 分页-->
</div>

<div id="dialog-successread" title="查看点读" style="display: none;">
    <button class="btn btn-info btn-xs"><i class="fa fa-download"></i> 导出点读</button>
    <table class="table table-hover">
        <thead>
        <tr>
            <th>邮件地址</th>
            <th>点读时间</th>
            <th>点读总数</th>
            <th>点读地区</th>
            <th>点读IP</th>
        </tr>
        </thead>
        <tbody>
        <tr ng-repeat="lp in listtypes">
            <td>info@21gmail.com</td>
            <td>
                2015-10-29 11:11:11
            </td>
            <td>15</td>
            <td>广东深圳</td>
            <td width="120">
                125.96.43.122
            </td>
        </tr>

        </tbody>
    </table>
</div>

<div id="dialog-movetoaddresstype" title="移动到" style="display: none">
    <div class="panel-body">
        <select class="form-control lg-w-150" id="addressmovetypeid">
            <option value="0">默认分组</option>
            <option ng-repeat="usertype in typeitems" value="{{usertype.folder_id}}">{{usertype.folder_name}}
            </option>
        </select>
    </div>
</div>


<div id="dialog-addressexport" title="导出" style="display: none">
    <div class="panel-body">
        <div class="input-group ">
            <input type="radio" name="exporttype" checked value="1"> 选择导出 <input type="radio" name="exporttype" value="2"> 按分类导出
        </div>

        <div ng-class="exporttypevalue==1?'hide':''" class="input-group lg-mtp-10">
            <select class="form-control lg-w-150" id="addressexportid">
                <option value="0">默认分组</option>
                <option ng-repeat="usertype in typeitems" value="{{usertype.folder_id}}">{{usertype.folder_name}}
                </option>
            </select>
        </div>
        <div class="lg-mtp-10 lg-font-12">
            提示:<br>
            <span class="color-red">选择导出:直接选择地址导出<br>
            分类导出:按分组类别导出</span>
        </div>
    </div>
</div>

<div id="dialog-addressip" title="提示信息" style="display: none;">
  <div class="panel-body">
 		 选中的地址删除后将无法恢复,请确认是否删除?
  </div>
</div>