|
...
|
...
|
@@ -64,10 +64,10 @@ export default { |
|
64
|
64
|
displayButtons() {
|
|
65
|
65
|
const f = this.statusFlags
|
|
66
|
66
|
return [
|
|
67
|
|
- { ...this.buttons[0], visible: f.canEdit },
|
|
68
|
|
- { ...this.buttons[1], visible: true },
|
|
69
|
|
- { ...this.buttons[2], visible: f.canAudit },
|
|
70
|
|
- { ...this.buttons[3], visible: f.canCancel },
|
|
|
67
|
+ { ...this.buttons[0], visible: f.canEdit && this.$auth.hasPermi('order-manage:revoke-list:modify') },
|
|
|
68
|
+ { ...this.buttons[1], visible: this.$auth.hasPermi('order-manage:revoke-list:review') },
|
|
|
69
|
+ { ...this.buttons[2], visible: f.canAudit && this.$auth.hasPermi('order-manage:revoke-list:approve') },
|
|
|
70
|
+ { ...this.buttons[3], visible: f.canCancel && this.$auth.hasPermi('order-manage:revoke-list:cancel') },
|
|
71
|
71
|
]
|
|
72
|
72
|
}
|
|
73
|
73
|
},
|
...
|
...
|
|