27aef567a102edad7bc9bda85440eda2c5beca76.svn-base
7.7 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
<div class="lg-con" >
<div class="lg-nav">
<div class="btn-group form-group-sm btn-mgl-10">
按条件查询:
</div>
<div class="btn-group form-group-sm btn-mgl-10">
<select class="form-control lg-w-120" id="plantypeid" plan-type-click>
<option value="0">所有计划</option>
<option value="1">已执行</option>
<option value="5">正在执行</option>
<option value="2">未执行</option>
<option value="3">提醒执行</option>
<option value="4">执行计划</option>
</select>
</div>
</div>
<div class="lg-wrap" scroller-all="120">
<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>
</tr>
</thead>
<tbody>
<tr ng-repeat="listitem in listitems">
<td width="5"></td>
<td width="20%" style="overflow: hidden;text-overflow:ellipsis;white-space: nowrap;max-width: 220px;" title="{{listitem.plantitle}}">{{listitem.plantitle}}</td>
<td>{{listitem.plantype}}</td>
<td ng-if="listitem.plan_differen != 11 && listitem.plan_differen != 12">
<span title="{{listitem.plan_grouptype}}">{{listitem.plan_groupname}}</span>
</td>
<td ng-if="listitem.plan_differen == 11 || listitem.plan_differen == 12">
<span title="{{listitem.plan_grouptype}}">个性营销</span>
<span style="color:#337ab7;cursor: pointer;" ng-click="load_moreDialog(listitem.plan_groupname)">更多 </span>
</td>
<td ng-if="listitem.plancycle!='特殊节日'" width="250">{{listitem.plancycle}}( <span class="color-red">{{listitem.plan_begintime}} ~ {{listitem.plan_endtime}}</span>)</td>
<td ng-if="listitem.plancycle=='特殊节日'">{{listitem.plancycle}}</td>
<td ng-if="listitem.plancycle!='特殊节日'">{{listitem.planweeks}} {{listitem.planexecutetime}}</td>
<td ng-if="listitem.plancycle=='特殊节日'" title="{{listitem.specialtime}}">{{listitem.planweeks}} {{listitem.planexecutetime}}</td>
<td>
<label class="label label-success" ng-if="listitem.planstatus==1">已执行</label>
<label class="label label-warning" ng-if="listitem.planstatus==0">未执行</label>
<label class="label label-info" ng-if="listitem.planstatus==-1">正在执行</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="javascript:;" ng-click="toviewplans(listitem.planid,listitem.plantype,listitem.planweeks,
listitem.plan_begintime,listitem.plan_endtime,listitem.plancycle,listitem.plan_groupname,listitem.plan_differen)">
<i class="fa fa-eye"></i> 查看</a></li>
<li ng-if="listitem.plantype == '执行' && listitem.planstatus != 1" role="separator" class="divider"></li>
<li ng-if="listitem.plantype == '执行' && listitem.planstatus != 1"><a href="javascript:;"
ng-click="cancelplans(listitem.planid)"><i class="fa fa-ban"></i> 撤销</a></li>
<li class="divider"></li>
<li><a href="javascript:;" ng-click="delplans(listitem.planid)"><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>
<div id="dialog-plan" title="查看详细任务计划" style="display: none;">
<div style="margin:6px;" id="planName_id"></div>
<div style="margin:6px;" id="planName_week"></div>
<table class="table table-hover">
<thead>
<tr>
<th>发送时间</th>
<th>发送模板</th>
<th>是否执行</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="planlist in planlists">
<td width="250"><span style="color:red">{{planlist.weekday}}</span> {{planlist.weeks}} {{planlist.plantime}} 进行邮件发送</td>
<td width="300" style="overflow: hidden;text-overflow:ellipsis;white-space: nowrap;max-width:300px">
<span title='模板ID:{{planlist.modeid}}'>{{planlist.modename}}</span>
</td>
<td>
<label class="label label-success" ng-if="planlist.isexecution==1">已执行</label>
<label class="label label-warning" ng-if="planlist.isexecution==0">未执行</label>
</td>
</tr>
<tr ng-if="planlists.length==0"><td colspan="3" style="text-align: center">暂无数据</td></tr>
</tbody>
</table>
</div>
<div id="dialog-delete" title="警告" style="display: none;">
<div class="panel-body comfirm-delete">
<span>该计划删除后将无法恢复,请确认是否删除?</span>
</div>
</div>
<div id="dialog-cancle" title="警告" style="display: none;">
<div class="panel-body comfirm-delete">
<span>该计划撤销后将无法恢复,请确认是否撤销?</span>
</div>
</div>
<!-- 个性营销更多-->
<div id="dialog-more" title="个性营销" style="display: none;">
<div class="panel-body lg-mail">
<table class="table table-mtb-0 lg-table-border-bottom addplantable">
<tbody>
<tr>
<td style="font-weight: bold;width:100px;">客户类型</td>
<td>
{{cusType}}
</td>
</tr>
<tr>
<td style="font-weight: bold;width:100px;">客户分类</td>
<td>
{{cusCf}}
</td>
</tr>
<tr>
<td style="font-weight: bold;width:100px;">客户状态</td>
<td>
{{cusSt}}
</td>
</tr>
<tr>
<td style="font-weight: bold;width:100px;">客户来源</td>
<td>
{{cusFm}}
</td>
</tr>
<tr>
<td style="font-weight: bold;width:100px;">客户星级</td>
<td>
{{cusSr}}
</td>
</tr>
<tr>
<td style="font-weight: bold;width:100px;">关联产品</td>
<td>
{{cusPro}}
</td>
</tr>
<tr>
<td style="font-weight: bold;width:100px;">采购偏好</td>
<td>
{{cusPur}}
</td>
</tr>
<tr>
<td style="font-weight: bold;width:100px;">入库时间</td>
<td>
{{cusEn}}
</td>
</tr>
<tr>
<td style="font-weight: bold;width:100px;">联系时间</td>
<td>
{{cuslink}}
</td>
</tr>
<tr>
<td style="font-weight: bold;width:100px;">未跟进时间</td>
<td>
{{cusnofollow}}
</td>
</tr>
</tbody>
</table>
</div>
</div>