修改看板
This commit is contained in:
@@ -66,7 +66,7 @@ export default {
|
||||
param: 'nickName',
|
||||
},
|
||||
{
|
||||
type: this.$auth.hasPermi('base:quality-inspection-box-permissions:query')
|
||||
type: this.$auth.hasPermi('base:quality-inspection-box-btn-auth:query')
|
||||
? 'button'
|
||||
: '',
|
||||
btnName: '查询',
|
||||
@@ -74,12 +74,12 @@ export default {
|
||||
color: 'primary',
|
||||
},
|
||||
{
|
||||
type: this.$auth.hasPermi('base:quality-inspection-box-permissions:create')
|
||||
type: this.$auth.hasPermi('base:quality-inspection-box-btn-auth:create')
|
||||
? 'separate'
|
||||
: '',
|
||||
},
|
||||
{
|
||||
type: this.$auth.hasPermi('base:quality-inspection-box-permissions:create')
|
||||
type: this.$auth.hasPermi('base:quality-inspection-box-btn-auth:create')
|
||||
? 'button'
|
||||
: '',
|
||||
btnName: '新增',
|
||||
@@ -89,13 +89,13 @@ export default {
|
||||
},
|
||||
],
|
||||
tableBtn: [
|
||||
this.$auth.hasPermi('base:quality-inspection-box-permissions:update')
|
||||
this.$auth.hasPermi('base:quality-inspection-box-btn-auth:update')
|
||||
? {
|
||||
type: 'edit',
|
||||
btnName: '修改',
|
||||
}
|
||||
: undefined,
|
||||
this.$auth.hasPermi('base:quality-inspection-box-permissions:delete')
|
||||
this.$auth.hasPermi('base:quality-inspection-box-btn-auth:delete')
|
||||
? {
|
||||
type: 'delete',
|
||||
btnName: '删除',
|
||||
|
||||
Reference in New Issue
Block a user