|
@@ -22,7 +22,7 @@
|
|
</a-form>
|
|
</a-form>
|
|
</div>
|
|
</div>
|
|
<div class="table-operator">
|
|
<div class="table-operator">
|
|
- <a-button type="primary" class="button-error" @click="handleEdit()" id="redPacket-handleEdit">新增红包活动</a-button>
|
|
|
|
|
|
+ <a-button v-if="" type="primary" class="button-error" @click="handleEdit()" id="redPacket-handleEdit">新增红包活动</a-button>
|
|
</div>
|
|
</div>
|
|
<s-table
|
|
<s-table
|
|
class="sTable fixPagination"
|
|
class="sTable fixPagination"
|
|
@@ -37,7 +37,7 @@
|
|
bordered>
|
|
bordered>
|
|
<template slot="shelf" slot-scope="text, record">
|
|
<template slot="shelf" slot-scope="text, record">
|
|
共 <a title="查看参与货架" @click="viewShelf(record)">{{ text }}</a> 个货架
|
|
共 <a title="查看参与货架" @click="viewShelf(record)">{{ text }}</a> 个货架
|
|
- </template>
|
|
|
|
|
|
+ </template>sc
|
|
<template slot="action" slot-scope="text, record">
|
|
<template slot="action" slot-scope="text, record">
|
|
<a-button v-if="record.ruleStatus == 'wait'" size="small" type="link" class="button-info" @click="handlePublish(record)">发布</a-button>
|
|
<a-button v-if="record.ruleStatus == 'wait'" size="small" type="link" class="button-info" @click="handlePublish(record)">发布</a-button>
|
|
<a-button v-if="record.ruleStatus == 'release'" size="small" type="link" class="button-info" @click="handleEnd(record)">终止</a-button>
|
|
<a-button v-if="record.ruleStatus == 'release'" size="small" type="link" class="button-info" @click="handleEnd(record)">终止</a-button>
|