|
@@ -13,7 +13,8 @@
|
|
|
<el-button icon="el-icon-search" type="primary" @click="searchSubmit">查询</el-button>
|
|
|
</el-form-item>
|
|
|
<el-form-item class="ml-10">
|
|
|
- <el-button icon="el-icon-plus" type="primary" @click="add">添加座位</el-button>
|
|
|
+ <el-button icon="el-icon-plus" type="primary" v-permission="'business_place_list_add'" @click="add">添加座位
|
|
|
+ </el-button>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
</div>
|
|
@@ -40,13 +41,16 @@
|
|
|
<el-table-column label="操作" width="220" fixed="right">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button type="text"
|
|
|
+ v-permission="'business_place_list_edit'"
|
|
|
@click="edit(scope.row)">编辑
|
|
|
</el-button>
|
|
|
<el-button type="text"
|
|
|
:disabled="booLock"
|
|
|
+ v-permission="'business_place_list_download'"
|
|
|
@click="download(scope.row)">下载点单二维码
|
|
|
</el-button>
|
|
|
<el-button type="text"
|
|
|
+ v-permission="'business_place_list_del'"
|
|
|
@click="del(scope.row)">删除
|
|
|
</el-button>
|
|
|
</template>
|