60a91e3340b851fe6c924cbb4646212b78f68b2a.svn-base 12.5 KB
<div class="lg-nav">
  <!--next-->
    <button type="button" class="btn btn-default btn-sm" lgclick="/es/success/sendsuccess"><i class="fa fa-mail-reply"></i> 返回
    </button>
  <!-- /input-group -->
</div>
<div class="lg-con" scroller-all="160">
  <div class="lg-wrap">
    <div class="list-wrap">
      <table class="table table-hover table-height-50">
        <thead>
        <tr>
          <th class="text-center">发送顺序</th>
          <th>发送时间</th>
          <th>发送主题</th>
          <th>收件人数</th>
          <th>打开数</th>
         <!--  <th>点读数</th>
          <th>退订数</th>
          <th>回复数</th> -->
        </tr>
        </thead>
        <tbody>
        <tr ng-repeat="listitem in sendnumlistitems | orderBy :'create_time':true">
          <td width="100" class="text-center">{{$index+1}}</td>
          <td width="200">{{listitem.create_time}}</a></td>
          <td width="250">
	          <div style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap; max-width: 180px;">
	          <a href="javascript:;" ng-href="#/es/success/sendmailinfo/{{mainid}}/{{listitem.send_mail_id}}" 
	          title="{{listitem.subject}}">{{getsubject(listitem.subject)}}</a></td>
	          </div>
          <td>{{listitem.send_num}}</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.open_nums}}</span>
          </td>
          <!-- <td>{{listitem.reading_tol}} 
          <span ng-show="listitem.reading_tol>0" success-view muid="{{listitem.mail_uid}}" class="lg-pointer">
          <i class="fa fa-eye"></i></span> </td>
          <td>{{listitem.un_person}}</td>
          <td>{{listitem.reply_mail_count}}</td> -->
        </tr>
        </tbody>
      </table>
    </div>

  </div>
</div>

<div id="dialog-successread" title="查看点读" style="display: none;" ng-repeat="listitem in sendnumlistitems">
	<button type="button" class="btn btn-default btn-mgr-10" exportread><i class="fa fa-download"></i>
            导出
  	</button><span id="mailUId" style="display: none;"></span>
  <!--<div style="line-height: 30px; margin-left: 8px">共计点读 <span class="color-green">88</span> 个, 重复点读 <span class="color-grav">13</span> 次, 新增点读 <span class="color-red">5</span> 次</th>-->
  <!--</div>-->
  <div ng-show="readshow" class="panel-body"><i class="fa fa-spinner fa-pulse"></i> 正在查询中,请稍后……</div>
  
  <table ng-show="!readshow" class="table table-hover">
    <thead>
    <tr>
      <th>邮件地址</th>
      <th>点读时间</th>
      <th>点读总数</th>
      <th>点读地区</th>
      <th>点读IP</th>
    </tr>
    </thead>
    <tbody>
    <tr ng-if="readlist.length==0"><td colspan="5">暂无点读地址</td></tr>
    <tr ng-repeat="lp in readlist">
      <td>{{lp.yxy_reading_email}}</td>
      <td>
        {{lp.yxy_reading_date}}
      </td>
      <td>{{lp.yxy_reading_num}}</td>
      <td>{{lp.yxy_reading_area}}</td>
      <td width="120">
        {{lp.yxy_reading_ip}}
      </td>
    </tr>

    </tbody>
  </table>
</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="150px">邮件地址</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="150" 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>