|
@@ -40,12 +40,12 @@
|
|
|
<p class="page-submit-common-style-button"
|
|
|
style="float: right;"
|
|
|
@click="handleClick('','','add')"
|
|
|
- v-hasPermi="['laboratory:classify:add']"
|
|
|
+ v-hasPermiRouter="['lab:infoBrand:add']"
|
|
|
>新增</p>
|
|
|
<p class="page-add-common-style-button"
|
|
|
style="float: right;margin-right:20px;width:110px;"
|
|
|
@click="handleClick('','','deploy')"
|
|
|
- v-hasPermi="['laboratory:classify:edit']"
|
|
|
+ v-hasPermiRouter="['lab:infoBrand:edit']"
|
|
|
>信息牌配置</p>
|
|
|
</el-form>
|
|
|
<el-table class="table-box" border v-loading="loading" :data="tableData">
|
|
@@ -72,16 +72,16 @@
|
|
|
<span>{{ parseTime(scope.row.createTime,"{y}-{m}-{d} {h}:{i}") }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="操作" align="left" class-name="small-padding fixed-width" width="120">
|
|
|
+ <el-table-column label="操作" align="left" class-name="small-padding fixed-width" width="120" v-if="tableButtonType">
|
|
|
<template slot-scope="scope">
|
|
|
<div class="table-button-box">
|
|
|
<p class="table-button-null"></p>
|
|
|
<p class="table-button-p"
|
|
|
- v-hasPermi="['laboratory:classify:edit']"
|
|
|
+ v-hasPermiRouter="['lab:infoBrand:edit']"
|
|
|
@click="handleClick('',scope.row,'edit')"
|
|
|
>编辑</p>
|
|
|
<p class="table-button-p"
|
|
|
- v-hasPermi="['laboratory:classify:remove']"
|
|
|
+ v-hasPermiRouter="['lab:infoBrand:del']"
|
|
|
@click="handleClick('',scope.row,'delete')"
|
|
|
>删除</p>
|
|
|
<p class="table-button-null"></p>
|
|
@@ -141,6 +141,7 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ tableButtonType:this.hasPermiDom(['lab:infoBrand:edit','lab:infoBrand:del',]),
|
|
|
// 弹出层标题
|
|
|
title: "",
|
|
|
// 是否显示弹出层
|