update:更新ticket获取方式
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<script src="https://cdn.bootcss.com/html2canvas/0.5.0-beta4/html2canvas.js"></script>
|
||||
<script>
|
||||
import pdf from "vue-pdf";
|
||||
import jquery from "jquery";
|
||||
import $ from "jquery";
|
||||
import html2canvas from "html2canvas";
|
||||
import axios from "axios";
|
||||
import request from "@/common/util";
|
||||
@@ -37,7 +37,7 @@ export default {
|
||||
url: "http://10.19.94.9:7099/api/agreement/info",
|
||||
method: "post",
|
||||
data: {
|
||||
ticket: "8a1188557bda7894017bf257a07e7ccb-ticket",
|
||||
ticket: window.sessionStorage.getItem("ticket"),
|
||||
id: "C655515B-FD91-48F2-BD79-EAABAFB7077C"
|
||||
},
|
||||
headers: { "Content-Type": "application/json; charset=UTF-8" },
|
||||
@@ -49,7 +49,7 @@ export default {
|
||||
this.url = window.URL.createObjectURL(
|
||||
new Blob(binaryData, { type: "application/pdf" })
|
||||
);
|
||||
jquery("a").prop("href", this.url);
|
||||
$("a").prop("href", this.url);
|
||||
// if (pdfUrl) {
|
||||
// this.handlePrint(pdfUrl);
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user