ee6d4996c3f9321f76697e5c269a70d5477aff62.svn-base 13.2 KB
<div class="lg-nav">
  <label>选择用户查看</label>
  <div class="btn-group form-group-sm btn-mgl-5">

    <select class="form-control" id="usermaillisttype" mail-list-click>
      <option value="0">全部用户</option>
      <option ng-repeat="userlist in userlists" value="{{userlist.login_id}}">{{userlist.login_id}}</option>
    </select>
    </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></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 masterlists">
            <td width="60"></td>
            <td>
            <div style="max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap" title="{{listitem.user_loginid}}">
             {{listitem.user_loginid}}
            </div>
            </td>
            <td><div style="max-width: 400px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap">
            <a href="javascript:;" ng-href="#/es/user/usermailinfo/{{listitem.send_mail_id}}/0" title="{{listitem.subject}}">{{getsubject(listitem.subject)}}</a></div></td>
            <td>{{listitem.create_time}}</td>
            <td>{{listitem.sendci}}</td>
            <td>{{listitem.send_num}}</td>
            <!-- <td>{{listitem.reading_tol}}</td>
            <td>{{listitem.un_person}}</td> -->
            <td ng-if="listitem.open_nums == -1"><i class="fa fa-spinner fa-spin"></i></td>
        	<td ng-if="listitem.open_nums == 0 ">{{listitem.open_nums}}</td>
         	<td ng-if="listitem.open_nums != 0 && listitem.open_nums != -1">
         	<span style="color: #337ab7;cursor:pointer;" ng-click="openDetail(listitem.mail_uid,listitem.sendci,listitem.send_mail_id)">{{listitem.open_nums}}</span></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-trash-o"></i> 删除</a></li>-->
                  <!--<li role="separator" class="divider"></li>-->
                  <!--<li><a href="#"><i class="fa fa-download"></i> 导出</a></li>-->
                  <!--<li role="separator" class="divider"></li>-->
                  <!--<li><a href="#"><i class="fa fa-eye"></i> 查看</a></li>-->
                <!--</ul>-->
              <!--</div>-->
              <!--&lt;!&ndash;button class="btn btn-warning btn-sm"><i class="fa fa-envelope-o"></i> 再次发送</button&ndash;&gt;-->
            <!--</td>-->
          </tr>

          </tbody>
          </table>
      </div>
 		<div style="line-height: 60px; text-align: center" ng-show="masterlists.length==0">暂无邮件信息</div>
    </div>
    
    <!-- START 分页-->
    <div class="panel panel-default" ng-show="masterlists.length!=0">
      <div>
        <!-- START row-->
        <div class="row">
          <div class="col-lg-7 col-lg-offset-5">
            <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="loading"><i class="fa fa-spinner fa-spin"></i> 正在校验,请稍后……</div>
<!-- 校验ip归属地 -->
<div id="dialog-verifyip" title="校验IP" style="display: none;">
    <div class="panel-body">
    	<span>是否重新校验IP的归属地?</span>
    </div>
</div>
<div id="dialog-detailInfo" title="详细信息" style="display: none;overflow: hidden;">
    <div class="btn btn-group btn-group-xs">
        <button class="btn btn-info btn-xs btn-mgr-10 active" ng-click="checkinfo(1,$event)">阅读总数({{openNums.read_all}})</button>
        <button class="btn btn-info btn-xs btn-mgr-10" ng-click="checkinfo(2,$event)">阅读人数({{openNums.read_person}})</button>
        <button class="btn btn-info btn-xs btn-mgr-10" ng-click="checkinfo(3,$event)">退订人数({{openNums.unsub_person}})</button>
        <button class="btn btn-info btn-xs btn-mgr-10" ng-click="checkinfo(4,$event)">回复人数({{openNums.replay_person}})</button>
        <button class="btn btn-info btn-xs btn-mgr-10" ng-click="checkinfo(5,$event)">打开链接({{openNums.open_url}})</button>
        <button class="btn btn-info btn-xs btn-mgr-10" ng-click="checkinfo(6,$event)">链接总数({{openNums.open_url_all}})</button>
    </div>
    <!-- 阅读总数格式 -->
    <table class="table table-hover" ng-show="showtype == 1" style="display: inline-block;height: 300px;overflow-y: auto;">
    	<thead>
    		<tr>
    		 <th width="180px">邮件地址</th>
             <th width="100px">时间</th>
             <th width="135px">地区</th>
             <th width="110px">IP</th>
             <th width="120px">设备</th>
    		</tr>
    	</thead>
    	<tbody>
	    	<tr ng-repeat="detaillist in detailLists">
		    	<td style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap; max-width: 140px;"
	             title="{{detaillist.yxy_reading_email}}">{{detaillist.yxy_reading_email}}</td>
	            <td width="100" title="{{detaillist.time}}">{{detaillist.date}}</td>
	            <td style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap; max-width: 100px;"
	             title="{{detaillist.address}}">
	             <span style="color: #337ab7;cursor:pointer;" ng-click="verifyip(1,detaillist.id,detaillist.ip,$index)">{{detaillist.address}}</span>
	             </td>
	            <td style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap; max-width: 100px;"
	             title="{{detaillist.ip}}">{{detaillist.ip}}</td>
	             <td style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap; max-width: 100px;"
	             title="{{detaillist.useragent}}">{{detaillist.useragent}}</td>
	    	</tr>
	    	<tr ng-show="detailLists.length==0">
		    	<td></td>
		    	<td></td>
		    	<td>暂无数据</td>
		    	<td></td>
		    	<td></td>
	    	</tr>
    	</tbody>
    </table>
     <!-- 阅读人数格式 -->
    <table class="table table-hover" ng-show="showtype == 2" style="display: inline-block;height: 300px;overflow-y: auto;">
    	<thead>
    		<tr>
    		 <th width="550px">邮件地址</th>
             <th width="100px">阅读次数</th>
    		</tr>
    	</thead>
    	<tbody>
	    	<tr ng-repeat="detaillist in detailLists">
		    	<td style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap; max-width: 350px;"
	             title="{{detaillist.yxy_reading_email}}">{{detaillist.yxy_reading_email}}</td>
	             <td>{{detaillist.read_num}}</td>
	    	</tr>
	    	<tr ng-show="detailLists.length==0">
		    	<td style="text-align: center;">暂无数据</td>
		    	<td></td>
	    	</tr>
    	</tbody>
    </table>
    <!-- 退订人数格式 -->
    <table class="table table-hover" ng-show="showtype == 3" style="display: inline-block;height: 300px;overflow-y: auto;">
    	<thead>
    		<tr>
             <th width="180px">邮件地址</th>
             <th width="100px">时间</th>
             <th width="135px">地区</th>
             <th width="110px">IP</th>
             <th width="120px">设备</th>
    		</tr>
    	</thead>
    	<tbody>
	    	<tr ng-repeat="detaillist in detailLists">
		    	<td style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap; max-width: 140px;"
	             title="{{detaillist.unsubscribe_email}}">{{detaillist.unsubscribe_email}}</td>
	            <td width="100" title="{{detaillist.time}}">{{detaillist.date}}</td>
	            <td style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap; max-width: 100px;"
	             title="{{detaillist.address}}">
	             <span style="color: #337ab7;cursor:pointer;" ng-click="verifyip(2,detaillist.id,detaillist.ip,$index)">{{detaillist.address}}</span></td>
	            <td style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap; max-width: 100px;"
	             title="{{detaillist.ip}}">{{detaillist.ip}}</td>
	             <td style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap; max-width: 100px;"
	             title="{{detaillist.useragent}}">{{detaillist.useragent}}</td>
	    	</tr>
	    	<tr ng-show="detailLists.length==0">
		    	<td></td>
		    	<td></td>
		    	<td>暂无数据</td>
	             <td></td>
	             <td></td>
	    	</tr>
    	</tbody>
    </table>
    <!-- 回复人数格式 -->
    <table class="table table-hover" ng-show="showtype == 4" style="display: inline-block;height: 300px;overflow-y: auto;">
    	<thead>
    		<tr>
    		 <th width="250px">邮件地址</th>
             <th width="100px">时间</th>
             <th width="165px">地区</th>
             <th width="130px">IP</th>
    		</tr>
    	</thead>
    	<tbody>
	    	<tr ng-repeat="detaillist in detailLists">
		    	<td width="200" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap; max-width: 250px;"
	             title="{{detaillist.replyemail}}">{{detaillist.replyemail}}</td>
	            <td width="100" title="{{detaillist.time}}">{{detaillist.date}}</td>
	            <td width="160" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap; max-width: 150px;"
	             title="{{detaillist.address}}">
	             <span style="color: #337ab7;cursor:pointer;" ng-click="verifyip(3,detaillist.id,detaillist.ip,$index)">{{detaillist.address}}</span></td>
	            <td style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap; max-width: 120px;"
	             title="{{detaillist.ip}}">{{detaillist.ip}}</td>
	    	</tr>
	    	<tr ng-show="detailLists.length==0">
		    	<td></td>
		    	<td>暂无数据</td>
	             <td></td>
	             <td></td>
	    	</tr>
    	</tbody>
    </table>
    <!--打开链接格式 -->
    <table class="table table-hover" ng-show="showtype == 5" style="display: inline-block;height: 300px;overflow-y: auto;">
    	<thead>
    		<tr>
    		 <th width="220px">邮件地址</th>
             <th width="340px">链接信息</th>
             <th width="80px">打开次数</th>
    		</tr>
    	</thead>
    	<tbody>
	    	<tr ng-repeat="detaillist in detailLists">
		    	<td width="220" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap; max-width: 220px;"
	             title="{{detaillist.email}}">{{detaillist.email}}</td>
	            <td width="250" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap; max-width: 250px;"
	             title="{{detaillist.link}}">
	             <a href="{{detaillist.link}}" target="_Blank" style="color:#337ab7;text-decoration:none;">{{detaillist.link}}</a>
	            </td>
	            <td>{{detaillist.open_num}}</td>
	    	</tr>
	    	<tr ng-show="detailLists.length==0">
		    	<td></td>
		    	<td>暂无数据</td>
	             <td></td>
	    	</tr>
    	</tbody>
    </table>
     <!--链接总数格式 -->
    <table class="table table-hover" ng-show="showtype == 6" style="display: inline-block;height: 300px;overflow-y: auto;">
    	<thead>
    		<tr>
    		 <th width="140px">邮件地址</th>
             <th width="160px">链接信息</th>
             <th width="100px">时间</th>
             <th width="100px">地区</th>
             <th width="80px">IP</th>
             <th width="90px">设备</th>
    		</tr>
    	</thead>
    	<tbody>
	    	<tr ng-repeat="detaillist in detailLists">
		    	<td width="140" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap; max-width: 140px;"
	             title="{{detaillist.link_email}}">{{detaillist.link_email}}</td>
	            <td width="160" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap; max-width: 160px;"
	             title="{{detaillist.link_url}}">
	             <a href="{{detaillist.link_url}}" target="_Blank" style="color:#337ab7;text-decoration:none;">{{detaillist.link_url}}</a>
	            </td>
	            <td width="100" title="{{detaillist.time}}">{{detaillist.date}}</td>
	             <td style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap; max-width: 90px;"
	             title="{{detaillist.address}}">
	             <span style="color: #337ab7;cursor:pointer;" ng-click="verifyip(4,detaillist.id,detaillist.ip,$index)">{{detaillist.address}}</span></td>
	             <td width="80" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap; max-width: 80px;"
	             title="{{detaillist.ip}}">{{detaillist.ip}}</td>
	             <td width="90" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap; max-width: 90px;"
	             title="{{detaillist.useragent}}">{{detaillist.useragent}}</td>
	    	</tr>
	    	<tr ng-show="detailLists.length==0">
		    	<td></td><td></td><td>暂无数据</td>
	             <td></td>
	             <td></td>
	             <td></td>
	    	</tr>
    	</tbody>
    </table>
   
</div>