|
@@ -30,7 +30,7 @@
|
|
|
<el-col :span="1.5">
|
|
|
<p class="page-add-common-style-button"
|
|
|
@click="tableButton(1)"
|
|
|
- v-hasPermi="['demo:demo:demo']"
|
|
|
+ v-hasPermi="['bluetooth:gateway:add']"
|
|
|
>+ 新增蓝牙网关</p>
|
|
|
</el-col>
|
|
|
</el-form-item>
|
|
@@ -51,8 +51,8 @@
|
|
|
<template slot-scope="scope">
|
|
|
<div class="table-button-box">
|
|
|
<p class="table-button-null"></p>
|
|
|
- <p class="table-button-p" @click="tableButton(2,scope.row)" v-hasPermiAnd="['demo:demo:demo','demo:demo:demo']">编辑</p>
|
|
|
- <p class="table-button-p" @click="tableButton(3,scope.row)" v-hasPermi="['demo:demo:demo']">删除</p>
|
|
|
+ <p class="table-button-p" @click="tableButton(2,scope.row)" v-hasPermiAnd="['bluetooth:gateway:edit','bluetooth:gateway:query']">编辑</p>
|
|
|
+ <p class="table-button-p" @click="tableButton(3,scope.row)" v-hasPermi="['bluetooth:gateway:remove']">删除</p>
|
|
|
<p class="table-button-null"></p>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -117,7 +117,7 @@
|
|
|
name: 'index',
|
|
|
data(){
|
|
|
return{
|
|
|
- tableButtonType:this.hasPermiDom(['demo:demo:demo','demo:demo:demo']),
|
|
|
+ tableButtonType:this.hasPermiDom(['bluetooth:gateway:edit','bluetooth:gateway:query','bluetooth:gateway:remove']),
|
|
|
loading:false,
|
|
|
queryParams:{
|
|
|
pageNum:1,
|