|
@@ -16,7 +16,7 @@
|
|
|
<p class="page-submit-common-style-button"
|
|
|
style="float: right;"
|
|
|
@click="tableButton(1,'')"
|
|
|
- v-hasPermiRouter="['cabinet:info:add']"
|
|
|
+ v-hasPermiRouter="['laboratory:hazard:add']"
|
|
|
>新增</p>
|
|
|
</el-form>
|
|
|
<el-table v-loading="loading" class="table-box" border :data="dataList">
|
|
@@ -44,11 +44,11 @@
|
|
|
<p class="table-button-null"></p>
|
|
|
<p class="table-button-p"
|
|
|
@click="tableButton(2,scope.row)"
|
|
|
- v-hasPermiAnd="['laboratory:hazard:query','laboratory:hazard:edit']"
|
|
|
+ v-hasPermiRouter="['laboratory:hazard:edit']"
|
|
|
>编辑</p>
|
|
|
<p class="table-button-p"
|
|
|
@click="tableButton(3,scope.row)"
|
|
|
- v-hasPermi="['laboratory:hazard:remove']"
|
|
|
+ v-hasPermiRouter="['laboratory:hazard:remove']"
|
|
|
>删除</p>
|
|
|
<p class="table-button-null"></p>
|
|
|
</div>
|
|
@@ -87,7 +87,7 @@ export default {
|
|
|
name: "Hazard",
|
|
|
data() {
|
|
|
return {
|
|
|
- tableButtonType:this.hasPermiDom(['laboratory:hazard:query','laboratory:hazard:edit','laboratory:hazard:remove']),
|
|
|
+ tableButtonType:this.hasPermiDom(['laboratory:hazard:edit','laboratory:hazard:remove']),
|
|
|
// 遮罩层
|
|
|
loading: false,
|
|
|
// 非多个禁用
|