Commit 99afed68 by kyle

水印增加银盾保经

parent 70fff34b
......@@ -12555,7 +12555,8 @@ var PDFPageView = /*#__PURE__*/function () {
if(isNeedCover=='true'){
var cover = document.createElement('div');
cover.className = "cover";
cover.innerText = JSON.parse(localStorage.getItem('lifeCustomerInfo')).practitionerBasicInfo.name; //这里就是水印内容,如果要按照不同的文件显示不同的水印,可参考pdf文件路径的传值方式,在viewer.jsp中head部位接收后台传值并在这里使用
var html = `<div>银盾保经</div><div>${JSON.parse(localStorage.getItem('lifeCustomerInfo')).practitionerBasicInfo.name}<div>`;
cover.innerHTML = html; //这里就是水印内容,如果要按照不同的文件显示不同的水印,可参考pdf文件路径的传值方式,在viewer.jsp中head部位接收后台传值并在这里使用
if (this.annotationLayer) {
// annotationLayer needs to stay on top
div.insertBefore(textLayerDiv, this.annotationLayer.div);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment