|
@@ -26,6 +26,7 @@
|
|
|
icon="el-icon-plus"
|
|
icon="el-icon-plus"
|
|
|
class="ele-btn-icon"
|
|
class="ele-btn-icon"
|
|
|
@click="add"
|
|
@click="add"
|
|
|
|
|
+ v-if="$hasPermission('main:substance:save')"
|
|
|
>
|
|
>
|
|
|
新建
|
|
新建
|
|
|
</el-button>
|
|
</el-button>
|
|
@@ -35,6 +36,7 @@
|
|
|
class="ele-btn-icon"
|
|
class="ele-btn-icon"
|
|
|
type="primary"
|
|
type="primary"
|
|
|
@click="exportFile"
|
|
@click="exportFile"
|
|
|
|
|
+ v-if="$hasPermission('main:exportFile:save')"
|
|
|
>
|
|
>
|
|
|
导出
|
|
导出
|
|
|
</el-button>
|
|
</el-button>
|
|
@@ -53,6 +55,7 @@
|
|
|
icon="el-icon-thumb"
|
|
icon="el-icon-thumb"
|
|
|
class="ele-btn-icon"
|
|
class="ele-btn-icon"
|
|
|
@click="moveTo(checkRadioData, 'person')"
|
|
@click="moveTo(checkRadioData, 'person')"
|
|
|
|
|
+ v-if="$hasPermission('main:substance:update')"
|
|
|
>
|
|
>
|
|
|
设置片区负责人
|
|
设置片区负责人
|
|
|
</el-button>
|
|
</el-button>
|
|
@@ -62,6 +65,7 @@
|
|
|
icon="el-icon-s-tools"
|
|
icon="el-icon-s-tools"
|
|
|
class="ele-btn-icon"
|
|
class="ele-btn-icon"
|
|
|
@click="batchSettings(1)"
|
|
@click="batchSettings(1)"
|
|
|
|
|
+ v-if="$hasPermission('main:substance:update')"
|
|
|
>
|
|
>
|
|
|
设置权属部门
|
|
设置权属部门
|
|
|
</el-button>
|
|
</el-button>
|
|
@@ -71,6 +75,7 @@
|
|
|
icon="el-icon-setting"
|
|
icon="el-icon-setting"
|
|
|
class="ele-btn-icon"
|
|
class="ele-btn-icon"
|
|
|
@click="batchSettings(2)"
|
|
@click="batchSettings(2)"
|
|
|
|
|
+ v-if="$hasPermission('main:substance:update')"
|
|
|
>
|
|
>
|
|
|
设置使用单位
|
|
设置使用单位
|
|
|
</el-button>
|
|
</el-button>
|
|
@@ -80,6 +85,7 @@
|
|
|
icon="el-icon-delete"
|
|
icon="el-icon-delete"
|
|
|
class="ele-btn-icon"
|
|
class="ele-btn-icon"
|
|
|
@click="handlDelete"
|
|
@click="handlDelete"
|
|
|
|
|
+ v-if="$hasPermission('main:substance:delete')"
|
|
|
>批量删除</el-button
|
|
>批量删除</el-button
|
|
|
>
|
|
>
|
|
|
<!-- <el-button
|
|
<!-- <el-button
|
|
@@ -102,6 +108,7 @@
|
|
|
class="ele-action"
|
|
class="ele-action"
|
|
|
title="确定要删除此设备数据吗?"
|
|
title="确定要删除此设备数据吗?"
|
|
|
@confirm="handleRemove(row)"
|
|
@confirm="handleRemove(row)"
|
|
|
|
|
+ v-if="$hasPermission('main:substance:delete')"
|
|
|
>
|
|
>
|
|
|
<template v-slot:reference>
|
|
<template v-slot:reference>
|
|
|
<el-link type="danger" :underline="false" icon="el-icon-delete"
|
|
<el-link type="danger" :underline="false" icon="el-icon-delete"
|
|
@@ -114,6 +121,7 @@
|
|
|
:underline="false"
|
|
:underline="false"
|
|
|
icon="el-icon-edit"
|
|
icon="el-icon-edit"
|
|
|
@click="handEdit(row)"
|
|
@click="handEdit(row)"
|
|
|
|
|
+ v-if="$hasPermission('main:substance:update')"
|
|
|
>
|
|
>
|
|
|
编辑
|
|
编辑
|
|
|
</el-link>
|
|
</el-link>
|