成本按钮权限 #311

Merged
zwq merged 1 commits from projects/mesxc-zwq into projects/mesxc-test 2024-04-08 09:05:53 +08:00
5 changed files with 15 additions and 5 deletions

View File

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

View File

@ -116,7 +116,9 @@ export default {
defaultSelect: [], defaultSelect: [],
}, },
{ {
type: 'button', type: this.$auth.hasPermi('cost:energyCostHis:query')
? 'button'
: '',
btnName: '查询', btnName: '查询',
name: 'search', name: 'search',
color: 'primary', color: 'primary',

View File

@ -124,7 +124,9 @@ export default {
filterable: true, filterable: true,
}, },
{ {
type: 'button', type: this.$auth.hasPermi('cost:rawMaterialConfig:query')
? 'button'
: '',
btnName: '查询', btnName: '查询',
name: 'search', name: 'search',
color: 'primary', color: 'primary',

View File

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

View File

@ -115,7 +115,9 @@ export default {
defaultSelect: [], defaultSelect: [],
}, },
{ {
type: 'button', type: this.$auth.hasPermi('cost:rawMaterialCostHis:query')
? 'button'
: '',
btnName: '查询', btnName: '查询',
name: 'search', name: 'search',
color: 'primary', color: 'primary',