|
@@ -4,19 +4,21 @@
|
|
|
<template #table-column-gatheringCode="{scope}">
|
|
<template #table-column-gatheringCode="{scope}">
|
|
|
<el-link
|
|
<el-link
|
|
|
type="primary"
|
|
type="primary"
|
|
|
- v-if="shopInfo.extend.wxPayInit == '1'"
|
|
|
|
|
@click="download('gatheringCode', scope.row.id)"
|
|
@click="download('gatheringCode', scope.row.id)"
|
|
|
- >下载</el-link
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ >下载</el-link>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template #table-column-gatheringMiniCode="{scope}">
|
|
|
|
|
+ <el-link
|
|
|
|
|
+ type="primary"
|
|
|
|
|
+ @click="download('gatheringMiniCode', scope.row.id)"
|
|
|
|
|
+ >下载</el-link>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<template #table-column-applyMemberCode="{scope}">
|
|
<template #table-column-applyMemberCode="{scope}">
|
|
|
<el-link
|
|
<el-link
|
|
|
type="primary"
|
|
type="primary"
|
|
|
- v-if="shopInfo.extend.miniAuth == '1'"
|
|
|
|
|
@click="download('applyMemberCode', scope.row.id)"
|
|
@click="download('applyMemberCode', scope.row.id)"
|
|
|
- >下载</el-link
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ >下载</el-link>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<template #slot-top-add>
|
|
<template #slot-top-add>
|
|
@@ -113,12 +115,17 @@ export default {
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- label: '收款码',
|
|
|
|
|
|
|
+ label: '微信支付宝收款',
|
|
|
prop: 'gatheringCode',
|
|
prop: 'gatheringCode',
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- label: '注册会员码',
|
|
|
|
|
|
|
+ label: '小程序收款',
|
|
|
|
|
+ prop: 'gatheringMiniCode',
|
|
|
|
|
+ align: 'center'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ label: '会员注册码',
|
|
|
prop: 'applyMemberCode',
|
|
prop: 'applyMemberCode',
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
}
|
|
}
|
|
@@ -383,6 +390,8 @@ export default {
|
|
|
p = this.$service.shop.downloadGatheringCode(id);
|
|
p = this.$service.shop.downloadGatheringCode(id);
|
|
|
} else if (key == 'applyMemberCode') {
|
|
} else if (key == 'applyMemberCode') {
|
|
|
p = this.$service.shop.downloadApplyMemberCode(id);
|
|
p = this.$service.shop.downloadApplyMemberCode(id);
|
|
|
|
|
+ } else if(key == 'gatheringMiniCode'){
|
|
|
|
|
+ p = this.$service.shop.downloadGatheringMiniCode(id);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
location.href = p;
|
|
location.href = p;
|
|
@@ -401,6 +410,6 @@ export default {
|
|
|
|
|
|
|
|
<style lang="stylus" scoped>
|
|
<style lang="stylus" scoped>
|
|
|
.shop-list {
|
|
.shop-list {
|
|
|
- height 100%;
|
|
|
|
|
|
|
+ height: 100%;
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|