|
@@ -131,12 +131,17 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column align="center" label="操作">
|
|
<el-table-column align="center" label="操作">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-button type="text" @click="editChildSand(scope.row)" v-if="scope.row.CanEdit">编辑</el-button>
|
|
|
|
|
|
+ <el-button type="text" v-permission="permissionBtn.sandboxPermission.sandbox_saveView"
|
|
|
|
+ @click="editChildSand(scope.row)" v-if="scope.row.CanEdit">编辑</el-button>
|
|
<!-- <el-button type="text" @click="handleSand(scope.row, 'editing')" v-else>{{scope.row.Editor||''}}编辑中...</el-button> -->
|
|
<!-- <el-button type="text" @click="handleSand(scope.row, 'editing')" v-else>{{scope.row.Editor||''}}编辑中...</el-button> -->
|
|
- <el-button type="text" @click="editChildSand(scope.row)" v-else>{{scope.row.Editor||''}}编辑中...</el-button>
|
|
|
|
- <el-button type="text" style="color: #f00" @click="removeChildSand(scope.row)">删除</el-button>
|
|
|
|
- <el-button type="text" @click="handleSand(scope.row, 'view')">查看</el-button>
|
|
|
|
- <el-button type="text" @click="copyImg(scope.row)">复制图片</el-button>
|
|
|
|
|
|
+ <el-button type="text" v-permission="permissionBtn.sandboxPermission.sandbox_saveView"
|
|
|
|
+ @click="editChildSand(scope.row)" v-else>{{scope.row.Editor||''}}编辑中...</el-button>
|
|
|
|
+ <el-button type="text" v-permission="permissionBtn.sandboxPermission.sandbox_del"
|
|
|
|
+ style="color: #f00" @click="removeChildSand(scope.row)">删除</el-button>
|
|
|
|
+ <el-button type="text" v-permission="permissionBtn.sandboxPermission.sandbox_saveView"
|
|
|
|
+ @click="handleSand(scope.row, 'view')">查看</el-button>
|
|
|
|
+ <el-button type="text" v-permission="permissionBtn.sandboxPermission.sandbox_addMy"
|
|
|
|
+ @click="copyImg(scope.row)">复制图片</el-button>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
|