Commit 9f2c08de by 李伟康

众筹导出&分享可配置

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