ee6d4996c3f9321f76697e5c269a70d5477aff62.svn-base
13.2 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
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
<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>-->
<!--<!–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="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>