sendMessages.html
6.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
<script>
$(function (){
$(".hasDatepicker1,.hasDatepicker2").jcDate({
IcoClass : "jcDateIco",
Event : "click",
Speed : 100,
Left : 0,
Top : 28,
format : "-",
Timeout : 100
});
});
</script>
<div class="pageheader notab">
<h1 class="pagetitle">商品列表</h1>
<span class="pagedesc">管理V商城中短信消息</span>
</div><!--pageheader-->
<!--pageheader-->
<paging id="messageShow">
<div id="contentwrapper" class="contentwrapper">
<div class="overviewhead" style="margin-bottom: 10px;">
<div class="line">
<a class="btn btn2 btn_link" ng-if="operationType==3" ng-click="smsFunc()">
<span>发送短信</span>
</a><br/><br/>
<a class="btn btn2 btn_link" href="/resources/files/推送短信消息.xls" >
<span>下载短信模板</span>
</a><br/><br/>
<form target="_blank" name="fileinfo" method="Post" action="../template/importMessageExcel" enctype="multipart/form-data">
<input style="height: 100%;" type="file" name="attachs" />
<input type="submit" value="推送信息" />
</form>
</div>
</div>
<div class="contenttitle2">
<h3>V币操作日志列表</h3>
</div>
<div class="overviewhead" style="margin-bottom: 10px;">
<div class="tools">
<a href="javascript:;" class="fa fa-envelope-o" style="color:blue;" ng-if="type==10"> 发送短信 </a>
<a href="javascript:;" class="collapse"></a>
</div>
<!--contenttitle-->
<!-- 查询条件 -->
<div class="line">
<label for="operationUser" class="label">操作人:</label>
<div class="input">
<input type="text" id="operationUser" ng-model="condition.operationUser" name="operationUser"/>
</div>
<label for="operationObject" class="label">操作对象:</label>
<div class="input">
<input type="text" id="operationObject" ng-model="condition.operationObject" name="operationObject" placeholder="手机号..."/>
</div>
<label for="operationContent" class="label">操作内容:</label>
<div class="input">
<input type="text" id="operationContent" ng-model="condition.operationContent" name="operationContent" placeholder="内容..."/>
</div>
</div>
<div class="line">
<label for="datepickfrom" class="label">操作开始时间: </label>
<div class="input">
<input type="text" id="datepickfrom" class="hasDatepicker1" ng-model="condition.startDate" name="startDate"/>
</div>
<label for="datepickto" class="label">操作结束时间: </label>
<div class="input">
<input type="text" id="datepickto" class="hasDatepicker2" ng-model="condition.endDate" name="endDate"/>
</div>
<a class="btn btn2 btn_blue btn_search radius50" href="javascript:void(0)" ng-click="searchOperation()"><span>搜索</span></a>
</div>
</div>
<br>
<table cellpadding="0" cellspacing="0" border="0" class="stdtable"
id="dyntable3">
<thead>
<tr>
<th class="center">序号</th>
<th class="head0">操作人</th>
<th class="head0">操作类型</th>
<th class="head0">操作对象</th>
<th class="head0">操作日期</th>
<th class="head0">操作内容</th>
</tr>
</thead>
<tbody>
<tr class="gradeX" ng-repeat="x in operations">
<td class="center">{{$index+1}}</td>
<td>{{x.operationUser}}</td>
<td>{{x.operationTypeStr}}</td>
<td>{{x.operationObject}}</td>
<td>{{x.operationDate}}</td>
<td>{{x.operationContent}}</td>
</tr>
</tbody>
</table>
</div>
<div class="angular_pager" style="margin-left: 20px;">
<ul class="pagination" num-pages="numPages" current-page="currentPage" on-select-page="selectPage(page)">
<li ng-class="{disabled: noPrevious()}"> <a ng-click="selectPrevious()">«</a>
</li>
<li ng-repeat="page in pages" ng-class="{active: isActive(page)}"> <a ng-click="selectPage(page)">{{page}}</a>
</li>
<li ng-class="{disabled: noNext()}"> <a ng-click="selectNext()">»</a>
</li>
<li><span style="position: relative;top: 5px;margin-left: 10px;font-size: 14px;">共:<b style="color: red;">{{numPages}}</b>页,当前第<b style="color: red;">{{currentPage}}</b>页;总记录数:<b style="color: red;">{{totalRecord}}</b>条</span></li>
</ul>
</div>
</paging>
<div id="basicform" class="subcontent">
<div style="margin-top: 2%;"></div>
<h1 class="pagetitle">发送短信</h1>
<!--contenttitle-->
<form class="stdform stdform2" method="post" action="javascript:void(0);">
<p>
<label>手机号</label>
<span class="field">
<input type="text" id="firstname2" class="longinput" name="phone"
ng-model="sms.phone" placeholder="手机号..." required/>
</span>
</p>
<p>
<label>内容</label>
<span class="field">
<textarea class="form-control" name="content" ng-model="sms.content" placeholder="短信内容..." required />
</span>
</p>
<p>
<label>发送短信内容</label>
<span class="field">
【思埠集团】小主,您好!我们是广东思埠集团有限公司。{{sms.content}}
</span>
</p>
<p class="stdformbutton">
<button class="submit radius2" ng-click="onSubmitSms()"><span style="color: white;">确定</span></button>
</p>
</form>
</div>