|
@@ -3,32 +3,26 @@
|
|
|
<x-crud class="liu-crud-wrap" @load="onLoad">
|
|
<x-crud class="liu-crud-wrap" @load="onLoad">
|
|
|
<!-- 粉丝 -->
|
|
<!-- 粉丝 -->
|
|
|
<template #table-column-totalFans="{scope}">
|
|
<template #table-column-totalFans="{scope}">
|
|
|
- <span>{{ scope.row.merchantAsset.totalFans }}</span>
|
|
|
|
|
|
|
+
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<!-- 客户 -->
|
|
<!-- 客户 -->
|
|
|
<template #table-column-totalUser="{scope}">
|
|
<template #table-column-totalUser="{scope}">
|
|
|
- <span>{{ scope.row.merchantAsset.totalUser }}</span>
|
|
|
|
|
|
|
+ <span>{{ scope.row.totalUser }}</span>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<!-- 访问量 -->
|
|
<!-- 访问量 -->
|
|
|
<template #table-column-totalVisit="{scope}">
|
|
<template #table-column-totalVisit="{scope}">
|
|
|
- <span>{{ scope.row.merchantAsset.totalVisit }}</span>
|
|
|
|
|
|
|
+ <span>{{ scope.row.totalView }}</span>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<!-- 微信支付 -->
|
|
<!-- 微信支付 -->
|
|
|
<template #table-column-wxPayInit="{scope}">
|
|
<template #table-column-wxPayInit="{scope}">
|
|
|
- <div :class="['pay',scope.row.extend.wxPayInit == '1' ? 'on' : 'off']">
|
|
|
|
|
- <i class="el-icon-success"></i>
|
|
|
|
|
- <el-button type="text" @click="payOption(1, scope.row)">配置</el-button>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+
|
|
|
</template>
|
|
</template>
|
|
|
<!-- 支付宝支付 -->
|
|
<!-- 支付宝支付 -->
|
|
|
<template #table-column-aliPayInit="{scope}">
|
|
<template #table-column-aliPayInit="{scope}">
|
|
|
- <div :class="['pay',scope.row.extend.alipayInit == '1' ? 'on' : 'off']">
|
|
|
|
|
- <i class="el-icon-success"></i>
|
|
|
|
|
- <el-button type="text" @click="payOption(2, scope.row)">配置</el-button>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+
|
|
|
</template>
|
|
</template>
|
|
|
<template #table-column-h5Mall="{scope}">
|
|
<template #table-column-h5Mall="{scope}">
|
|
|
<el-button type="text" @click="getH5MallQrCode(scope.row.id)">查看</el-button>
|
|
<el-button type="text" @click="getH5MallQrCode(scope.row.id)">查看</el-button>
|
|
@@ -36,10 +30,7 @@
|
|
|
|
|
|
|
|
<!-- 公众号 -->
|
|
<!-- 公众号 -->
|
|
|
<template #table-column-wxAppId="{scope}">
|
|
<template #table-column-wxAppId="{scope}">
|
|
|
- <div class="pay on">
|
|
|
|
|
- <i v-if="scope.row.extend.wxAuth != '0'" :class="['el-icon-success']"></i>
|
|
|
|
|
- <el-button v-else type="text">待绑定</el-button>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+
|
|
|
</template>
|
|
</template>
|
|
|
<template #table-column-expericeCode="{scope}">
|
|
<template #table-column-expericeCode="{scope}">
|
|
|
<div class="pay on">
|
|
<div class="pay on">
|
|
@@ -50,12 +41,7 @@
|
|
|
<!-- 小程序 -->
|
|
<!-- 小程序 -->
|
|
|
<template #table-column-miniAppId="{scope}">
|
|
<template #table-column-miniAppId="{scope}">
|
|
|
<div class="pay on">
|
|
<div class="pay on">
|
|
|
- <i v-if="scope.row.extend.miniAuth != '0'" :class="['el-icon-success']"></i>
|
|
|
|
|
- <el-button
|
|
|
|
|
- v-else
|
|
|
|
|
- type="text"
|
|
|
|
|
- @click="bindJump(`/wx-open/begin-auth?id=${scope.row.id}&authType=2`)"
|
|
|
|
|
- >待绑定</el-button>
|
|
|
|
|
|
|
+
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -221,19 +207,7 @@ export default {
|
|
|
prop: 'openAppId',
|
|
prop: 'openAppId',
|
|
|
label: '平台',
|
|
label: '平台',
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
- 'min-width': '100px',
|
|
|
|
|
- formatter: row => {
|
|
|
|
|
- switch (row.extend.openAppBind) {
|
|
|
|
|
- case '0':
|
|
|
|
|
- return '待创建';
|
|
|
|
|
- case '1':
|
|
|
|
|
- return '公众号已绑';
|
|
|
|
|
- case '2':
|
|
|
|
|
- return '小程序已绑';
|
|
|
|
|
- case '3':
|
|
|
|
|
- return 'OK';
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ 'min-width': '100px'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
prop: 'wxAppId',
|
|
prop: 'wxAppId',
|