qinzhipeng_v 5 년 전
부모
커밋
54330e8f4c
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      src/views/Platform/presentation/testPresenyL.vue

+ 3 - 3
src/views/Platform/presentation/testPresenyL.vue

@@ -1,6 +1,6 @@
 <template>
   <!-- 日报预览 -->
-  <div id="resumeId" class="eleStyle">
+  <div id="Gambol" class="eleStyle">
     <div style="height:100%;width:94%; background:#ffffff; margin: 3% 3% 8% 3%; border-radius: 8px; overflow: hidden;">
       <el-form :inline="true" :model="fromCreat" style="margin:2% 9%">
         <div>
@@ -108,7 +108,7 @@ export default {
       })
     },
     download() {
-      this.getPdf('resumeId', this.name)
+      this.getPdf('Gambol', this.name)
     },
     promptEmail(e) {
       this.$prompt('请输入邮箱', '提示', {
@@ -122,7 +122,7 @@ export default {
     },
 
     sendReport(e, ele) {
-      var node = document.getElementById('resumeId')
+      var node = document.getElementById('Gambol')
       // domtoimage.toPng(node).then(function(dataUrl) {
       //   var url = dataUrl
       //   url = url.toString().substring(url.indexOf(',') + 1)