Kaynağa Gözat

增加 手机号展示

fanlongfei 7 yıl önce
ebeveyn
işleme
eb072e28c1

+ 3 - 2
CallCenterWeb.UI/OutboundMessage/wxQueResult.html

@@ -42,7 +42,8 @@
42 42
 				<table id="list" data-click-to-select="true" data-row-style="rowStyle" data-query-params="queryParams">
43 43
 					<thead>
44 44
 						<tr>
45
-							<th data-field="F_Phone" data-align="center" data-formatter="formatterPhone">号码</th>
45
+							<th data-field="F_TelPhone" data-align="center" data-formatter="formatterPhone">手机号码</th>
46
+							<th data-field="F_Phone" data-align="center">号码</th>
46 47
 							<th data-field="F_CusName" data-align="center">姓名</th>
47 48
 							<th data-field="F_Country" data-align="center">乡镇</th>
48 49
 							<th data-field="F_Address" data-align="center">住址</th>
@@ -110,7 +111,7 @@
110 111
 
111 112
 
112 113
 			function formatterPhone(val, row) {
113
-				return '<div><a onclick="btn_detail(' + row.F_Id + ')">' + row.F_Phone + '</a></div>'
114
+				return '<div><a onclick="btn_detail(' + row.F_Id + ')">' + val + '</a></div>'
114 115
 			}
115 116
 			//详情
116 117
 			function btn_detail(tid) {

+ 2 - 2
CallCenterWeb.UI/js/WorkOrder/WorkOrder.js

@@ -141,11 +141,11 @@ function xq() {
141 141
 					$(Files).each(function(i, n) {
142 142
 						if(n.F_FileType.split("\/")[0] === 'image') {
143 143
 							$('<div class="img-box">' +
144
-								'<span class="img_mask"><a href="' + n.F_FileUrl + '" download="filename" title="点击下载"><i class="fa fa-download" aria-hidden="true"></i></a></span>' +
144
+								'<span class="img_mask"><a href="' + n.F_FileUrl + '" download="' + n.F_FileName + '" title="点击下载"><i class="fa fa-download" aria-hidden="true"></i></a></span>' +
145 145
 								'<img layer-src="' + n.F_FileUrl + '" src="' + n.F_FileUrl + '" alt="' + n.F_FileName + '" class="image-item" /><div>').appendTo("#IMG_box");
146 146
 						} else {
147 147
 							$('<div class="img-box">' +
148
-								'<span class="img_mask"><a href="' + n.F_FileUrl + '" download="filename" title="点击下载"><i class="fa fa-download" aria-hidden="true"></i></a></span>' +
148
+								'<span class="img_mask"><a href="' + n.F_FileUrl + '" download="' + n.F_FileName + '" title="点击下载"><i class="fa fa-download" aria-hidden="true"></i></a></span>' +
149 149
 								'<span class="">' + n.F_FileName.split(".")[1] + '</span><div>').appendTo("#IMG_box");
150 150
 						}
151 151
 					});