liuyifan 5 年 前
コミット
2e683404f9
共有2 個のファイルを変更した7 個の追加1 個の削除を含む
  1. 6 0
      CallCenterWeb.UI/WorkOrder/WorkOrderRemission.html
  2. 1 1
      CallCenterWeb.UI/keHuManager/ContactPersonManger.html

+ 6 - 0
CallCenterWeb.UI/WorkOrder/WorkOrderRemission.html

@@ -140,6 +140,7 @@
140 140
 							<button class="btns export">导出</button>
141 141
 							<input id="importFile" type="button" class="btns" value="导入" />
142 142
 							<input type="file" name="upFile" id="upFile" accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel" style="display: none;">
143
+							<a id="excelMod" class="btns" title="点击下载模板" href="javascript:void(0)" onclick="ExcelMod()" style="text-decoration: none">文件模板</a>
143 144
 						</div>
144 145
 					</div>
145 146
 				</div>
@@ -303,6 +304,11 @@
303 304
 				});
304 305
 			}
305 306
 		}
307
+		function ExcelMod() {
308
+			var token = $.cookie("token");
309
+			window.location.href = huayi.config.callcenter_url + 'WorkOrder/DownTemplate?token='+token;
310
+		}
311
+
306 312
 
307 313
     </script>
308 314
 </body>

+ 1 - 1
CallCenterWeb.UI/keHuManager/ContactPersonManger.html

@@ -57,7 +57,7 @@
57 57
 						<button class="btns del">删除</button>&nbsp;
58 58
 						<input id="btndr" type="button" class="btns" value="导入" />
59 59
 						<input type="file" name="upFile" id="upFile" accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel" style="display: none;">
60
-						<a id="excelMod" class="btns" title="点击下载模板" href="javascript:void(0)" onclick="ExcelMod()" style="text-decoration:underline">文件模板</a>
60
+						<a id="excelMod" class="btns" title="点击下载模板" href="javascript:void(0)" onclick="ExcelMod()" style="text-decoration:none">文件模板</a>
61 61
 					</div>
62 62
 				</div>
63 63