feature_0521
liuyang 5 years ago
parent a17e5f9f2c
commit 301c445f16

@ -64,14 +64,10 @@
@on-row-dblclick="showDetail" @on-row-dblclick="showDetail"
:columns="columns1" :columns="columns1"
:data="data"> :data="data">
<!-- <template slot-scope="{row}" slot="qrCodeAction"> <template slot-scope="{row}" slot="qrCodeAction">
<img :src="require('../../../static/img/qrCode-init.png')" @click="show(row)" <img :src="require('../../../static/img/qrCode-init.png')" @click="navigateCode(row)"
class="table-img-qr-code"/> class="table-img-qr-code"/>
</template> --> </template>
<!-- <router-link slot-scope="{row}" slot="action"
:to="{path:'/shop/increase/manager/staff',query:{storeId:row.id}}">
<Button ghost class="router-btn"> 门店导购管理</Button>
</router-link> -->
<template slot="action" slot-scope="{row}"> <template slot="action" slot-scope="{row}">
<i-col span="12"> <i-col span="12">
<Button ghost class="router-btn" <Button ghost class="router-btn"
@ -271,17 +267,18 @@ export default {
}, },
{ {
title: "活动码", title: "活动码",
key: "activityCode", slot: 'qrCodeAction',
render (h, p) { className: 'table-width-80',
return h( // render (h, p) {
"Button", // return h(
{ // "Button",
props: { type: "primary", size: "small" }, // {
on: { click: () => _this.navigateCode(p.row) } // props: { type: "primary", size: "small" },
}, // on: { click: () => _this.navigateCode(p.row) }
"查看详情" // },
); // ""
} // );
// }
}, },
{ {
title: "活动状态", title: "活动状态",
@ -496,6 +493,7 @@ export default {
}, },
// //
download: function (index) { download: function (index) {
debugger
let fileName = index.name + "-门店码"; let fileName = index.name + "-门店码";
http.downloadImg({ http.downloadImg({
url: index.qrCodeAction url: index.qrCodeAction

Loading…
Cancel
Save