Commit 9f2c08de by 李伟康

众筹导出&分享可配置

1 parent 18f8b04e
...@@ -14,7 +14,9 @@ ...@@ -14,7 +14,9 @@
<div class="flex m-b-10 w-100-percent"> <div class="flex m-b-10 w-100-percent">
<span class="table-title"></span> <span class="table-title"></span>
<template v-if="!hideStatus">
<el-button :size="size" class="default-blue-btn" type="default" @click="handleExport">导出</el-button> <el-button :size="size" class="default-blue-btn" type="default" @click="handleExport">导出</el-button>
</template>
</div> </div>
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
...@@ -200,6 +202,9 @@ export default { ...@@ -200,6 +202,9 @@ export default {
attrs: { attrs: {
type: 'text' type: 'text'
}, },
condition: row => {
return !this.hideStatus
},
listeners: { listeners: {
click: this.handleShare click: this.handleShare
} }
......
...@@ -114,12 +114,14 @@ ...@@ -114,12 +114,14 @@
<div class="p-20"> <div class="p-20">
<div class="flex m-b-10 w-100-percent"> <div class="flex m-b-10 w-100-percent">
<span class="table-title">数据列表</span> <span class="table-title">数据列表</span>
<template v-if="!hideStatus">
<el-button <el-button
:size="size" :size="size"
class="default-blue-btn" class="default-blue-btn"
type="default" type="default"
@click="handleExport('dailyOrders')" @click="handleExport('dailyOrders')"
>导出</el-button> >导出</el-button>
</template>
</div> </div>
<el-table <el-table
v-if="DailyOrderQuantityList.length" v-if="DailyOrderQuantityList.length"
...@@ -177,12 +179,14 @@ ...@@ -177,12 +179,14 @@
单 单
</span> </span>
</span> </span>
<template v-if="!hideStatus">
<el-button <el-button
:size="size" :size="size"
class="default-blue-btn" class="default-blue-btn"
type="default" type="default"
@click="handleExport('liveData')" @click="handleExport('liveData')"
>导出</el-button> >导出</el-button>
</template>
</div> </div>
<!-- :searchForm="tableSearchForm" --> <!-- :searchForm="tableSearchForm" -->
<GLTable <GLTable
...@@ -387,7 +391,8 @@ export default { ...@@ -387,7 +391,8 @@ export default {
dataBoard: {}, dataBoard: {},
activityId: '', activityId: '',
liveInfo: {}, liveInfo: {},
showTable: false showTable: false,
hideStatus: false
} }
}, },
computed: { computed: {
...@@ -416,6 +421,7 @@ export default { ...@@ -416,6 +421,7 @@ export default {
async getCrowdfundingOrderConfig () { async getCrowdfundingOrderConfig () {
const res = await this.$apis.common.getCrowdfundingOrderConfig() const res = await this.$apis.common.getCrowdfundingOrderConfig()
this.showTable = res != 1 this.showTable = res != 1
this.hideStatus = res == 1
}, },
getLiveData () { getLiveData () {
this.$apis.seckillActivity this.$apis.seckillActivity
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!