customerPortrait.html
9 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
<!-- 第二部分:列表部分 start -->
<div class="wrapper wrapper-content animated fadeInRight portrait">
<div class="ibox relative">
<div class="ibox-title clearfix">
<div class="row">
<form class="form-inline col-lg-12" role="form" ng-submit="alarmListForm();">
<div class="form-group">
<div style="display: flex;">
<label class="control-label">首保分析:</label>
<p>
<label class="checkbox-inline p-l-none">
<input icheck name="checkbox" type="checkbox" ng-model="firstProtectRemind">
<span class="m-l-8">首保提醒3个月或3000km左右</span>
</label>
</p>
</div>
</div>
<br>
<div class="form-group">
<div style="display: flex;">
<label class="control-label">里程保养分析:</label>
<p>
<span ng-repeat="item in checkBoxList">
<label class="checkbox-inline p-l-none">
<input icheck class="checkBox" type="checkbox" ng-model="item.checked" ng-change="onChange(item)">
<span class="m-l-8">{{item.name}}</span>
</label>
</span>
</p>
</div>
<div>
<input type="number" max="999999" oninput="if(value.length>6)value=value.slice(0,6)"
onkeyup="this.value=this.value.replace(!/[^\D]/g,'');this.value=this.value.replace('.','');"
ng-disabled="unUse" style="width: 120px;margin-left: 106px;" class="form-control sys-search-input"
ng-model="nowMileage1" type="number" placeholder="请输入数字"> <label
class="control-label checkbox-inline p-l-none" style="text-align: center;"> 当前行驶里程 </label>
<input type="number" max="999999" oninput="if(value.length>6)value=value.slice(0,6)"
onkeyup="this.value=this.value.replace(!/[^\D]/g,'');this.value=this.value.replace('.','');"
ng-disabled="unUse" style="width: 120px" class="form-control sys-search-input" ng-model="nowMileage2"
type="number" placeholder="请输入数字">
</div>
</div>
<br>
<div class="form-group">
<div style="display: flex;">
<label class="control-label">忠诚客户分析:</label>
<p>
<span ng-repeat="item1 in checkBoxList1">
<label class="checkbox-inline p-l-none">
<input icheck class="checkBox" type="checkbox" ng-model="item1.checked1"
ng-change="onChange1(item1)">
<span class="m-l-8">{{item1.name}}</span>
</label>
</span>
</p>
</div>
</div>
<br>
<div class="form-group">
<div style="display: flex;">
<label class="control-label">意向流失分析:</label>
<p>
<span ng-repeat="item2 in checkBoxList2">
<label class="checkbox-inline p-l-none">
<input icheck class="checkBox" type="checkbox" ng-model="item2.checked2"
ng-change="onChange2(item2)">
<span class="m-l-8">{{item2.name}}</span>
</label>
</span>
</p>
</div>
</div>
<br>
<div class="form-group">
<div style="display: flex;">
<label class="control-label" style="margin-left: 2px;">常驻地离店距离:</label>
<p>
<span ng-repeat="item3 in checkBoxList3">
<label class="checkbox-inline p-l-none">
<input icheck class="checkBox" type="checkbox" ng-model="item3.checked3"
ng-change="onChange3(item3)">
<span class="m-l-8">{{item3.name}}</span>
</label>
</span>
</p>
</div>
</div>
<br>
<div class="form-group">
<label class="control-label">累计去竞店次数:</label>
<input type="number" max="99999" oninput="if(value.length>5)value=value.slice(0,5)"
onkeyup="this.value=this.value.replace(!/[^\D]/g,'');this.value=this.value.replace('.','');"
style="width: 120px;" class="form-control sys-search-input" ng-model="otherShopTime1" type="number"
placeholder="请输入数字"><span> --</span>
<input type="number" max="99999" oninput="if(value.length>5)value=value.slice(0,5)"
onkeyup="this.value=this.value.replace(!/[^\D]/g,'');this.value=this.value.replace('.','');"
style="width: 120px" class="form-control sys-search-input" ng-model="otherShopTime2" type="number"
placeholder="请输入数字">
</div>
<div class="form-group">
<label class="control-label">累计回厂次数:</label>
<input type="number" max="99999" oninput="if(value.length>5)value=value.slice(0,5)"
onkeyup="this.value=this.value.replace(!/[^\D]/g,'');this.value=this.value.replace('.','');"
style="width: 120px" class="form-control sys-search-input" ng-model="backOwnShop1" type="number"
placeholder="请输入数字"><span> --</span>
<input type="number" max="99999" oninput="if(value.length>5)value=value.slice(0,5)"
onkeyup="this.value=this.value.replace(!/[^\D]/g,'');this.value=this.value.replace('.','');"
style="width: 120px" class="form-control sys-search-input" ng-model="backOwnShop2" type="number"
placeholder="请输入数字">
</div>
<br>
<div class="form-group">
<label class="control-label">车辆销售时间:</label>
<input autocomplete="off" date-range-picker option="{range: true}" name="dateRange"
class="form-control date-picker" type="text" ng-model="saleTime" placeholder="请选择时间"
style="width: 240px" />
</div>
<div class="form-group">
<label class="control-label">搜索:</label>
<input style="width: 190px;" class="form-control sys-search-input" ng-model="conditionText" type="text"
placeholder="输入车牌/车架/姓名/手机号">
</div>
<!-- <div class="form-group">
<select class="form-control a_select mt3" ng-model="selectCondition" style="margin-left: 36px;">
<option value="" selected>查询内容</option>
<option value="plateNumber">车牌</option>
<option value="standNo">车架</option>
<option value="name">姓名</option>
<option value="mobile">手机号</option>
</select>
<input type="text" class="form-control a_ipt mt3" ng-model="conditionText" />
</div> -->
<br>
<div class="form-group">
<button class="btn btn-primary btn-search" ng-click="tableSearch()" style="margin-left: 6px;">查询<i
class="fa fa-search"></i></button>
<button class="btn btn-default btn-search" ng-click="tableReset()" style="margin-left: 6px;">重置 <i
class="fa fa-refresh"></i></button>
<button class="btn btn-primary" ng-click="gotoCreateActivity()" style="margin-left: 6px;">创建营销
</button>
<!-- <button class="btn btn-primary button small btn-outline" ng-click="exportExcel()" functional-contrl
fc-menu="customerPortrait" fc-attrname="cusExcel" style="margin-left: 10px;"
ng-class="isExporting?'disabled':''">导出excel</button> -->
</div>
</form>
</div>
</div>
<!-- 表格部分 start -->
<div class="ibox ibox-content">
<p class="ibox-ctrl form-inline">
<button class="btn btn-primary" ng-click="exportExcel()" functional-contrl
fc-menu="customerPortrait" fc-attrname="cusExcel" style="margin-bottom: 10px;">导出EXCEL <i class="fa fa-download"></i><i
class="fa fa-spinner fa-spin" ng-show="isExporting"></i></button>
</p>
<div class="table-container">
<div process-datatable dt-options="dtOptions" dt-instance="dtInstance" dt-columns="dtColumns"
condition="condition" />
</div>
</div>
<!-- 表格部分 end -->
</div>
</div>
<style>
.portrait .control-label {
width: 106px;
text-align: right;
flex-shrink: 0;
}
.portrait p {
margin-bottom: 0px;
}
.portrait .checkbox-inline {
margin: 0 20px 10px 0;
}
.portrait .checkbox-inline {
padding-left: 0;
}
.portrait .checkbox-inline .checkBox {
margin-top: 2px;
margin-left: -14px;
}
.portrait .m-l-8 {
margin-left: 8px;
}
</style>