成本按钮权限

This commit is contained in:
2024-04-08 09:05:10 +08:00
parent f52815abe6
commit 3d3fa2ccee
5 changed files with 15 additions and 5 deletions

View File

@@ -92,7 +92,9 @@ export default {
param: 'searchTime',
},
{
type: 'button',
type: this.$auth.hasPermi('cost:energyCost:query')
? 'button'
: '',
btnName: '查询',
name: 'search',
color: 'primary',