|
@@ -68,7 +68,11 @@ public class InvestigateDispositionTableServiceImpl implements IInvestigateDispo
|
|
|
{
|
|
|
//获取HTML文件
|
|
|
String content = investigateDispositionTable.getContent();
|
|
|
- content = " <meta charset=\"utf-8\">" +content;
|
|
|
+ content = " <meta charset=\"utf-8\">\n" +
|
|
|
+ "<style>\n" +
|
|
|
+ " body{margin: 0 !important;}\n" +
|
|
|
+ " img{max-width: 100% !important;}\n" +
|
|
|
+ "</style>" + content;
|
|
|
try {
|
|
|
// 上传文件路径
|
|
|
String filePath = RuoYiConfig.getUploadPath();
|
|
@@ -106,7 +110,11 @@ public class InvestigateDispositionTableServiceImpl implements IInvestigateDispo
|
|
|
String filePathOld = investigateDispositionTable.getUrl();
|
|
|
//获取HTML文件
|
|
|
String content = investigateDispositionTable.getContent();
|
|
|
- content = " <meta charset=\"utf-8\">" +content;
|
|
|
+ content = " <meta charset=\"utf-8\">\n" +
|
|
|
+ "<style>\n" +
|
|
|
+ " body{margin: 0 !important;}\n" +
|
|
|
+ " img{max-width: 100% !important;}\n" +
|
|
|
+ "</style>" + content;
|
|
|
try {
|
|
|
// 上传文件路径
|
|
|
String filePath = RuoYiConfig.getUploadPath();
|