Merge branch 'master' of https://e.coding.net/ctcdevteam/ehs/ehs_web
This commit is contained in:
commit
a6a4ef7186
|
@ -10,7 +10,7 @@
|
|||
:value="item.id"
|
||||
/>
|
||||
</el-select>
|
||||
<el-button type="primary" icon="el-icon-plus" @click="add" style="margin-left:4px"></el-button>
|
||||
<el-button type="primary" icon="el-icon-plus" @click="add" style="margin-left:4px" v-auth="'remployee.create'"></el-button>
|
||||
<!-- <el-button type="danger" plain icon="el-icon-delete" :disabled="selection.length==0" @click="batch_del"></el-button>
|
||||
<el-button type="primary" plain :disabled="selection.length!=1" @click="permission">权限设置</el-button> -->
|
||||
</div>
|
||||
|
@ -55,6 +55,7 @@
|
|||
link
|
||||
type="warning"
|
||||
size="small"
|
||||
v-auth="'remployee.update'"
|
||||
@click="table_edit(scope.row, scope.$index)"
|
||||
>编辑</el-button
|
||||
>
|
||||
|
@ -63,7 +64,7 @@
|
|||
@confirm="table_del(scope.row, scope.$index)"
|
||||
>
|
||||
<template #reference>
|
||||
<el-button link type="danger" size="small">删除</el-button>
|
||||
<el-button link type="danger" size="small" v-auth="'remployee.delete'">删除</el-button>
|
||||
</template>
|
||||
</el-popconfirm>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue