Merge pull request '成本按钮权限' (#311) from projects/mesxc-zwq into projects/mesxc-test

Reviewed-on: #311
This commit is contained in:
朱文强 2024-04-08 09:05:52 +08:00
commit 30d22b34e1
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',

View File

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

View File

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

View File

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

View File

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