|
@@ -124,7 +124,7 @@ function selectPostById() {
|
|
|
var postManagement = result.data.postManagement;
|
|
|
if (postManagement.pdfContent) {
|
|
|
// 加载pdf
|
|
|
- var html = '<iframe src="./pdfjs/web/viewer.html?file=' + postManagement.pdfContent + '" width="100%" height="500" />';
|
|
|
+ var html = '<iframe src="./pdfjs/web/viewer.html?file=' + postManagement.pdfContent + '" width="100%" height="800" />';
|
|
|
$('#pdfDiv').empty().append(escape2Html(html));
|
|
|
// initPdf(postManagement.pdfContent, 'pdfDiv');
|
|
|
} else {
|
|
@@ -135,7 +135,7 @@ function selectPostById() {
|
|
|
$('#postTitle').empty().append(postManagement.postTitle);
|
|
|
if (postManagement.draftInterpretation) {
|
|
|
// 加载pdf
|
|
|
- var html = '<iframe src="./pdfjs/web/viewer.html?file=' + postManagement.draftInterpretation + '" width="100%" height="500" />';
|
|
|
+ var html = '<iframe src="./pdfjs/web/viewer.html?file=' + postManagement.draftInterpretation + '" width="100%" height="800" />';
|
|
|
$('#draftDecision').empty().append(escape2Html(html));
|
|
|
// initPdf(postManagement.draftInterpretation, 'draftDecision');
|
|
|
// $('#draftDecision').empty().append(escape2Html(postManagement.draftInterpretation));
|
|
@@ -148,7 +148,7 @@ function selectPostById() {
|
|
|
if (postManagement.draftDecision) {
|
|
|
// 加载pdf
|
|
|
// initPdf(postManagement.draftDecision, 'jd');
|
|
|
- var html = '<iframe src="./pdfjs/web/viewer.html?file=' + postManagement.draftDecision + '" width="100%" height="500" />';
|
|
|
+ var html = '<iframe src="./pdfjs/web/viewer.html?file=' + postManagement.draftDecision + '" width="100%" height="800" />';
|
|
|
$('#jd').empty().append(escape2Html(html));
|
|
|
// var url=$("img").attr("src");
|
|
|
// console.log(url);
|
|
@@ -159,7 +159,7 @@ function selectPostById() {
|
|
|
if (postManagement.makePolicy) {
|
|
|
// 加载pdf
|
|
|
// initPdf(postManagement.makePolicy, 'pdFile');
|
|
|
- var html = '<iframe src="./pdfjs/web/viewer.html?file=' + postManagement.makePolicy + '" width="100%" height="500" />';
|
|
|
+ var html = '<iframe src="./pdfjs/web/viewer.html?file=' + postManagement.makePolicy + '" width="100%" height="800" />';
|
|
|
$('#pdFile').empty().append(escape2Html(html));
|
|
|
// var url=$("img").attr("src");
|
|
|
// console.log(url);
|
|
@@ -170,7 +170,7 @@ function selectPostById() {
|
|
|
if (postManagement.policyInterpretation) {
|
|
|
// 加载pdf
|
|
|
// initPdf(postManagement.policyInterpretation, 'zcdecode');
|
|
|
- var html = '<iframe src="./pdfjs/web/viewer.html?file=' + postManagement.policyInterpretation + '" width="100%" height="500" />';
|
|
|
+ var html = '<iframe src="./pdfjs/web/viewer.html?file=' + postManagement.policyInterpretation + '" width="100%" height="800" />';
|
|
|
$('#zcdecode').empty().append(escape2Html(html));
|
|
|
// var url=$("img").attr("src");
|
|
|
// console.log(url);
|