Commit 54e83bf8 authored by 黄奎's avatar 黄奎

上传修改

parent 88372fe2
...@@ -687,7 +687,6 @@ ...@@ -687,7 +687,6 @@
context.imageSmoothingEnabled = false context.imageSmoothingEnabled = false
var image = new Image(); var image = new Image();
image.src = canvas.toDataURL("image/png"); image.src = canvas.toDataURL("image/png");
// document.body.appendChild(image) upload.oytour.com
$.ajax({ $.ajax({
url: UploadUrl + '/Upload/UploadBase64?fileType=1&fileLimit=5&&filePath=Feature/' + tcid, url: UploadUrl + '/Upload/UploadBase64?fileType=1&fileLimit=5&&filePath=Feature/' + tcid,
type: "POST", type: "POST",
...@@ -697,10 +696,10 @@ ...@@ -697,10 +696,10 @@
}, },
datatype:"jsonP", datatype:"jsonP",
success: function (data) { success: function (data) {
// console.log("上传成功",data); //console.log("上传成功",data);
}, },
error: function () { error: function () {
// console.log("上传失败"); //console.log("上传失败");
} }
}); });
if (allNum!==document.querySelectorAll(cName).length) { if (allNum!==document.querySelectorAll(cName).length) {
...@@ -934,7 +933,6 @@ ...@@ -934,7 +933,6 @@
//是否显示行程图片 //是否显示行程图片
isShowTripImage:this.vshowK?1:0, isShowTripImage:this.vshowK?1:0,
}; };
console.log("msg",msg);
this.GetLocalFile("DownLoadTripWord", msg,title+ ".doc", res=>{ this.GetLocalFile("DownLoadTripWord", msg,title+ ".doc", res=>{
this.pdfLoading = false this.pdfLoading = false
}); });
......
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