master
lion 1 month ago
parent f78d751027
commit fca01c0445

@ -976,7 +976,7 @@ export default {
} catch (err) {}
},
async destroy(row) {
if (row.can_delete || this.$store.state.user.adminId === 1) {
if (row.can_delete || this.$store.state.user.adminId === 1 || this.$store.state.user.roles.includes('全局流程监管')) {
try {
await destroy({ id: row.id });
await this.getList();

Loading…
Cancel
Save