ソースを参照

修改下载名字

zhoufan 7 年 前
コミット
2529852ee3

+ 2 - 2
WebUI/CallCenterWeb.UI/CommonHtml/WorkDatil.html

@@ -526,7 +526,7 @@
526 526
 							//附件
527 527
 							var HTML;
528 528
 							$(Data[0].File).each(function(i, n) {
529
-								HTML = '<a style="margin-right:5px;" href="' + n.F_FileUrl + '" download="' + n.F_FileUrl + '">' + n.F_FileName.substring(19) + '</a>'
529
+								HTML = '<a style="margin-right:5px;" href="' + n.F_FileUrl + '" download="' + m.F_FileName.substring(19)+ '">' + n.F_FileName.substring(19) + '</a>'
530 530
 								$(HTML).appendTo($('.FJ'));
531 531
 							})
532 532
 							if(State == 0) {
@@ -596,7 +596,7 @@
596 596
 									'<td class="text-center">';
597 597
 								//办理情况附件
598 598
 								$(n.File).each(function(j, m) {
599
-									htmls += '<a style="margin-right:5px;" href="' + m.F_FileUrl + '" download="' + m.F_FileUrl + '">' + m.F_FileName.substring(19) + '</a>';
599
+                                    htmls += '<a style="margin-right:5px;" href="' + m.F_FileUrl + '" download="' + m.F_FileName.substring(19) + '">' + m.F_FileName.substring(19) + '</a>';
600 600
 								})
601 601
 
602 602
 								htmls += '</td>' +

+ 1 - 1
WebUI/CallCenterWeb.UI/CommonHtml/new_file.html

@@ -40,7 +40,7 @@
40 40
 							//附件
41 41
 							var HTML;
42 42
                             $(Data[0].File).each(function (i, n) {
43
-                                HTML = '<a style="margin-right:5px;" href="' + n.F_FileUrl + '" download="' + n.F_FileUrl + '">' + n.F_FileName.substring(19) + '</a>';
43
+                                HTML = '<a style="margin-right:5px;" href="' + n.F_FileUrl + '" download="' + m.F_FileName.substring(19)+ '">' + n.F_FileName.substring(19) + '</a>';
44 44
 								$(HTML).appendTo($('.FJ'));
45 45
 							})
46 46
 							if(State == 0) {

+ 1 - 1
WebUI/CallCenterWeb.UI/CommonHtml/processing_audit.html

@@ -155,7 +155,7 @@
155 155
                         });
156 156
                         $('.BLNR').append(temp1);
157 157
                         $(result.data[0].File).each(function (i, n) {
158
-                            HTML = '<a style="margin-right:5px;" href="' + n.F_FileUrl + '" download="' + n.F_FileUrl + '">' + n.F_FileName.substring(19) + '</a>'
158
+                            HTML = '<a style="margin-right:5px;" href="' + n.F_FileUrl + '" download="' + m.F_FileName.substring(19)+ '">' + n.F_FileName.substring(19) + '</a>'
159 159
                             $(HTML).appendTo($('.FJ'));
160 160
                         })
161 161
                     }