|
|
@ -231,13 +231,9 @@ export default {
|
|
|
|
document.body.removeChild(link);
|
|
|
|
document.body.removeChild(link);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
handleCode(row) {
|
|
|
|
handleCode(row) {
|
|
|
|
if (!this.shanghuId) {
|
|
|
|
|
|
|
|
this.$modal.msgError("您不是商家!");
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
let data = {
|
|
|
|
let data = {
|
|
|
|
path: "pages/index/index",
|
|
|
|
path: "pages/index/index",
|
|
|
|
shanghuId: this.shanghuId,
|
|
|
|
shanghuId: row.shanghuId,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
getCode(data).then((res) => {
|
|
|
|
getCode(data).then((res) => {
|
|
|
|
this.imgs = "data:image/png;base64," + res.data;
|
|
|
|
this.imgs = "data:image/png;base64," + res.data;
|
|
|
|