Commit 9a757568 by 曾经

卡包权限bug修复

parent 989bf483
...@@ -36,7 +36,7 @@ export default Vue.component('render-temp', { ...@@ -36,7 +36,7 @@ export default Vue.component('render-temp', {
</a> </a>
); );
const bind3 = const bind3 =
$getButtonLimit($buttonCode.marketingEditCard) && !isWeimo && !isCommon && !isApiCreate && hasCouponCreate ? ( $getButtonLimit($buttonCode.marketingEditCard) && !isWeimo && !isApiCreate && (isCommon ? hasCouponCreate : true) ? (
<a title="编辑" limit-code={$buttonCode.marketingEditCard} onClick={this.handler.bind(null, 3)}> <a title="编辑" limit-code={$buttonCode.marketingEditCard} onClick={this.handler.bind(null, 3)}>
<i class="el-icon-edit" /> <i class="el-icon-edit" />
</a> </a>
...@@ -44,7 +44,7 @@ export default Vue.component('render-temp', { ...@@ -44,7 +44,7 @@ export default Vue.component('render-temp', {
'' ''
); );
const bind4 = const bind4 =
$getButtonLimit($buttonCode.marketingDelCard) && canEdit && !isWeimo && !isCommon ? ( $getButtonLimit($buttonCode.marketingDelCard) && canEdit && !isWeimo && (isCommon ? hasCouponCreate : true) ? (
<a title="删除" limit-code={$buttonCode.marketingDelCard} onClick={this.handler.bind(null, 4)}> <a title="删除" limit-code={$buttonCode.marketingDelCard} onClick={this.handler.bind(null, 4)}>
<i class="el-icon-delete" /> <i class="el-icon-delete" />
</a> </a>
...@@ -57,7 +57,7 @@ export default Vue.component('render-temp', { ...@@ -57,7 +57,7 @@ export default Vue.component('render-temp', {
</a> </a>
); );
const bind6 = const bind6 =
$getButtonLimit($buttonCode.marketingCopyCard) && canEdit && !isApiCreate && !isWeimo && !isCommon && hasCouponCreate ? ( $getButtonLimit($buttonCode.marketingCopyCard) && canEdit && !isApiCreate && !isWeimo && (isCommon ? hasCouponCreate : true) ? (
<a title="复制" limit-code={$buttonCode.marketingCopyCard} onClick={this.handler.bind(null, 6)}> <a title="复制" limit-code={$buttonCode.marketingCopyCard} onClick={this.handler.bind(null, 6)}>
<i class="iconfont icon-wxcard-copy" /> <i class="iconfont icon-wxcard-copy" />
</a> </a>
......
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