singleActions.js 500 B

1234567891011121314151617181920
  1. export default {
  2. created () {
  3. this.singleActions = [
  4. {
  5. label: this.$t('common.delete'),
  6. permission: 'saml_providers_delete',
  7. action: (obj) => {
  8. this.createDialog('DeleteResDialog', {
  9. vm: this,
  10. data: [obj],
  11. columns: this.columns,
  12. title: this.$t('table.action.delete'),
  13. name: this.$t('cloudenv.saml_provider'),
  14. onManager: this.onManager,
  15. })
  16. },
  17. },
  18. ]
  19. },
  20. }