singleActions.js 548 B

123456789101112131415161718192021
  1. export default {
  2. created () {
  3. this.singleActions = [
  4. {
  5. label: this.$t('system.text_129'),
  6. permission: 'notifyconfigs_delete',
  7. action: (obj) => {
  8. this.createDialog('DeleteResDialog', {
  9. vm: this,
  10. data: [obj],
  11. columns: this.columns,
  12. title: this.$t('system.text_129'),
  13. name: this.$t('system.notify_channels'),
  14. onManager: this.onManager,
  15. })
  16. },
  17. meta: (obj) => this.$getDeleteResult(obj),
  18. },
  19. ]
  20. },
  21. }