|
@@ -46,7 +46,7 @@
|
|
|
</a-row>
|
|
|
</a-form>
|
|
|
<!-- 操作按钮 -->
|
|
|
- <div class="table-operator" v-if="$hasPermissions('B_promotionManagement_add')">
|
|
|
+ <div class="table-operator" v-if="$hasPermissions('B_promotionManagementAdd')">
|
|
|
<a-button type="primary" class="button-error" @click="openAddModal = true">新增</a-button>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -117,27 +117,27 @@
|
|
|
type="link"
|
|
|
class="button-warning"
|
|
|
@click="promotionEdit(record)"
|
|
|
- v-if="(record.state=='UNPUBLISH' || record.state=='CLOSE') && $hasPermissions('B_promotionManagement_add')"
|
|
|
+ v-if="(record.state=='UNPUBLISH' || record.state=='CLOSE') && $hasPermissions('B_promotionManagementAdd')"
|
|
|
id="promotion-edit-btn">促销编辑</a-button>
|
|
|
<a-button
|
|
|
size="small"
|
|
|
type="link"
|
|
|
class="button-warning"
|
|
|
@click="handleRelease(record,'edit')"
|
|
|
- v-if="(record.state=='PUBLISH' || record.state=='CLOSE')&&$hasPermissions('B_promotionManagement_content')"
|
|
|
+ v-if="(record.state=='PUBLISH' || record.state=='CLOSE')&&$hasPermissions('B_promotionManagementContent')"
|
|
|
id="promotion-modify-btn">发布修改</a-button>
|
|
|
<a-button
|
|
|
size="small"
|
|
|
type="link"
|
|
|
class="button-info"
|
|
|
@click="handleRelease(record,'add')"
|
|
|
- v-if="record.state=='UNPUBLISH'&&$hasPermissions('B_promotionManagement_content')"
|
|
|
+ v-if="record.state=='UNPUBLISH'&&$hasPermissions('B_promotionManagementContent')"
|
|
|
id="promotion-release-btn">促销发布</a-button>
|
|
|
<a-button
|
|
|
size="small"
|
|
|
type="link"
|
|
|
class="button-error"
|
|
|
- v-if="record.state=='UNPUBLISH'&&$hasPermissions('B_promotionManagement_del')"
|
|
|
+ v-if="record.state=='UNPUBLISH'&&$hasPermissions('B_promotionManagementDel')"
|
|
|
@click="handleDel(record)"
|
|
|
id="promotion-del-btn">删除</a-button>
|
|
|
<span v-if="record.state=='End'">--</span>
|