Commit 080cde71 by caoyanzhi

update: 分享有礼-按钮权限

parent 600840f4
...@@ -206,6 +206,8 @@ import activeSelect from '@/components/active/active-select.vue'; ...@@ -206,6 +206,8 @@ import activeSelect from '@/components/active/active-select.vue';
<div class="to-active-tip font-14 color-606266">确认完成了所有前期准备工作,即可前往活动配置。</div> <div class="to-active-tip font-14 color-606266">确认完成了所有前期准备工作,即可前往活动配置。</div>
<div class="to-active-btn"> <div class="to-active-btn">
<el-button <el-button
v-if="$getButtonLimit($buttonCode.marketingAddShare)"
:limit-code="$buttonCode.marketingAddShare"
type="primary" type="primary"
:disabled="disableCreate" :disabled="disableCreate"
@click="toCreate" @click="toCreate"
......
...@@ -25,13 +25,13 @@ import finishedActive from '@/components/active/finished-active.vue'; ...@@ -25,13 +25,13 @@ import finishedActive from '@/components/active/finished-active.vue';
<div class="active-title-date font-14 color-909399 m-t-7">{{ item.startDate | formatTimeYmdHms }} - {{ item.endDate | formatTimeYmdHms }}</div> <div class="active-title-date font-14 color-909399 m-t-7">{{ item.startDate | formatTimeYmdHms }} - {{ item.endDate | formatTimeYmdHms }}</div>
</div> </div>
<div class="active-title-right"> <div class="active-title-right">
<el-button type="primary" plain @click.stop="toEdit(index, item)">活动配置</el-button> <el-button type="primary" plain v-if="$getButtonLimit($buttonCode.marketingSetShare)" :limit-code="$buttonCode.marketingSetShare" @click.stop="toEdit(index, item)">活动配置</el-button>
<!-- <el-button <!-- <el-button
type="primary" type="primary"
plain plain
@click="handleCopy(index, item)" @click="handleCopy(index, item)"
>复制路径</el-button> --> >复制路径</el-button> -->
<el-button type="primary" plain @click.stop="toDataList(index, item)">数据明细</el-button> <el-button type="primary" plain v-if="$getButtonLimit($buttonCode.marketingShareData)" :limit-code="$buttonCode.marketingShareData" @click.stop="toDataList(index, item)">数据明细</el-button>
</div> </div>
</div> </div>
<div v-if="selectItem == item.activityId" class="finished-active-body"> <div v-if="selectItem == item.activityId" class="finished-active-body">
......
...@@ -76,13 +76,15 @@ router.beforeEach((to, from, next) => { ...@@ -76,13 +76,15 @@ router.beforeEach((to, from, next) => {
} }
}) })
/* eslint-disable no-new */ window.getLimit(router, 'share-config').then(() => {
new Vue({ /* eslint-disable no-new */
el: '#app', new Vue({
router, el: '#app',
store, router,
components: { store,
App components: {
}, App
template: '<App/>' },
}); template: '<App/>'
});
})
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment