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

页面修改

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