Commit 6c005ad4 authored by 黄奎's avatar 黄奎

页面修改

parent 060ae781
...@@ -185,7 +185,7 @@ ...@@ -185,7 +185,7 @@
rowsPerPage: 12, rowsPerPage: 12,
}, },
billObj: {}, billObj: {},
imgUrl: 'http://192.168.20.24:8300/upfile/temporary/20210805/637637591390867572.jpg', imgUrl: '',
getBlob: '', getBlob: '',
ProtocolNum: '' ProtocolNum: ''
} }
...@@ -271,10 +271,8 @@ ...@@ -271,10 +271,8 @@
//复制生成二维码 //复制生成二维码
CopyUrl(item) { CopyUrl(item) {
let locationName = window.location.hostname; let locationName = window.location.hostname;
var domain = "http://localhost:8181/#/"; var domain = "https://edu.kookaku.com/#/";
var newUrl = 'courseRefundH5?Id=' + item.Id var newUrl = 'courseRefundH5?Id=' + item.Id
domain = "https://edu.kookaku.com/#/";
let msg = { let msg = {
url: domain + newUrl, url: domain + newUrl,
width: 430 width: 430
...@@ -284,8 +282,6 @@ ...@@ -284,8 +282,6 @@
let address = process.env.API; let address = process.env.API;
let aOne = address.split('/api')[0]; let aOne = address.split('/api')[0];
this.imgUrl = aOne + res.Data; this.imgUrl = aOne + res.Data;
}
});
this.ProtocolNum = item.ProtocolNum; this.ProtocolNum = item.ProtocolNum;
this.getBlob = this.getAnyFileBlob(this.imgUrl); this.getBlob = this.getAnyFileBlob(this.imgUrl);
setTimeout(() => { setTimeout(() => {
...@@ -312,6 +308,8 @@ ...@@ -312,6 +308,8 @@
document.body.removeChild(a); document.body.removeChild(a);
}); });
}, 1000); }, 1000);
}
});
}, },
dataURLToBlob(dataurl) { dataURLToBlob(dataurl) {
let arr = dataurl.split(","); let arr = dataurl.split(",");
......
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