| 12345678910111213141516171819202122232425262728 |
- export default {
- created () {
- this.singleActions = [
- {
- label: this.$t('common.text00043'),
- permission: 'webapps_syncstatus',
- action: (obj) => {
- this.onManager('performAction', {
- steadyStatus: ['ready'],
- id: obj.id,
- managerArgs: {
- action: 'syncstatus',
- },
- })
- },
- meta: (obj) => {
- const ret = {
- validate: false,
- tooltip: null,
- }
- if (['failed'].includes(obj.status)) return ret
- ret.validate = true
- return ret
- },
- },
- ]
- },
- }
|