commit
This commit is contained in:
+21
-23
@@ -416,27 +416,27 @@
|
||||
<el-table-column fixed="right"
|
||||
v-if="isPermission('d9730d984627af948053df56a2db7997,dd4ea796dab7a01b105ba657b1968a84,a7a38a95ea374695fc3128037f6feccf')>0" label="收藏" align="center" width="50">
|
||||
<template slot-scope="scope">
|
||||
<div v-if="isPermission('d9730d984627af948053df56a2db7997,dd4ea796dab7a01b105ba657b1968a84,a7a38a95ea374695fc3128037f6feccf') == 1"
|
||||
@command="handleCommand"
|
||||
>
|
||||
<el-button type="text" v-btn-permission="'d9730d984627af948053df56a2db7997'"
|
||||
v-if="scope.row.collectBtn"
|
||||
@click="handleCommand([scope.row, '收藏'])"
|
||||
>收藏
|
||||
</el-button>
|
||||
<el-button type="text" v-btn-permission="'d9730d984627af948053df56a2db7997'"
|
||||
v-else
|
||||
@click="handleCommand([scope.row, '取消收藏'])"
|
||||
>取消收藏
|
||||
</el-button>
|
||||
<el-button type="text" @click="handleCommand([scope.row, '编辑'])"
|
||||
v-btn-permission="'dd4ea796dab7a01b105ba657b1968a84'">编辑
|
||||
</el-button>
|
||||
<el-button type="text" @click="handleCommand([scope.row, '删除']) "
|
||||
v-btn-permission="'a7a38a95ea374695fc3128037f6feccf'">删除
|
||||
</el-button>
|
||||
</div>
|
||||
<div v-else>
|
||||
<!-- <div v-if="isPermission('d9730d984627af948053df56a2db7997,dd4ea796dab7a01b105ba657b1968a84,a7a38a95ea374695fc3128037f6feccf') == 1"-->
|
||||
<!-- @command="handleCommand"-->
|
||||
<!-- >-->
|
||||
<!-- <el-button type="text" v-btn-permission="'d9730d984627af948053df56a2db7997'"-->
|
||||
<!-- v-if="scope.row.collectBtn"-->
|
||||
<!-- @click="handleCommand([scope.row, '收藏'])"-->
|
||||
<!-- >收藏-->
|
||||
<!-- </el-button>-->
|
||||
<!-- <el-button type="text" v-btn-permission="'d9730d984627af948053df56a2db7997'"-->
|
||||
<!-- v-else-->
|
||||
<!-- @click="handleCommand([scope.row, '取消收藏'])"-->
|
||||
<!-- >取消收藏-->
|
||||
<!-- </el-button>-->
|
||||
<!-- <el-button type="text" @click="handleCommand([scope.row, '编辑'])"-->
|
||||
<!-- v-btn-permission="'dd4ea796dab7a01b105ba657b1968a84'">编辑-->
|
||||
<!-- </el-button>-->
|
||||
<!-- <el-button type="text" @click="handleCommand([scope.row, '删除']) "-->
|
||||
<!-- v-btn-permission="'a7a38a95ea374695fc3128037f6feccf'">删除-->
|
||||
<!-- </el-button>-->
|
||||
<!-- </div>-->
|
||||
<div>
|
||||
<div @click.stop style="display: inline-block">
|
||||
<el-button title="收藏" class="collection-btn" icon="el-icon-star-off" v-btn-permission="'d9730d984627af948053df56a2db7997'"
|
||||
v-if="scope.row.collectBtn"
|
||||
@@ -449,9 +449,7 @@
|
||||
>
|
||||
</el-button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</template>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user