服装智能制造软件平台V3.0
http://182.92.169.222/hhxy/#/user/login
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
676 B
28 lines
676 B
<!--<template>--> |
|
<!-- <div class="pdf-demo">--> |
|
|
|
<!-- <button @click="handleDown">jsPDF方式下载</button>--> |
|
<!-- <!– <button @click="handleWindowPrint( '#demo', '电子合同' )">浏览器方式下载</button>–>--> |
|
|
|
<!-- <div id="demo">--> |
|
|
|
<!-- #demo 中的内容导出成 PDF--> |
|
|
|
<!-- </div>--> |
|
|
|
<!-- </div>--> |
|
<!--</template>--> |
|
|
|
<!--<script>--> |
|
<!--import htmlToPdf from 'yourPath /htmlToPdf';--> |
|
|
|
<!--export default {--> |
|
<!-- methods: {--> |
|
<!-- handleDown() {--> |
|
<!-- //导出PDF--> |
|
<!-- htmlToPdf.downloadPDF(document.querySelector('#demo'), '我的PDF');--> |
|
<!-- },--> |
|
<!-- }--> |
|
<!--}--> |
|
<!--</script>--> |
|
|
|
|