This commit is contained in:
@@ -1794,13 +1794,13 @@
|
||||
})
|
||||
}
|
||||
|
||||
if (hasAuth('device:manual_deactivate')) {
|
||||
moreActions.push({
|
||||
label: '手动停用',
|
||||
handler: () => handleDeviceOperation('manual-deactivate', row.virtual_no, row),
|
||||
type: 'primary'
|
||||
})
|
||||
}
|
||||
// if (hasAuth('device:manual_deactivate')) {
|
||||
// moreActions.push({
|
||||
// label: '手动停用',
|
||||
// handler: () => handleDeviceOperation('manual-deactivate', row.virtual_no, row),
|
||||
// type: 'primary'
|
||||
// })
|
||||
// }
|
||||
|
||||
if (hasAuth('device:delete')) {
|
||||
moreActions.push({
|
||||
|
||||
@@ -1163,13 +1163,13 @@
|
||||
})
|
||||
}
|
||||
|
||||
if (hasAuth('iot_card:manual_deactivate')) {
|
||||
actions.push({
|
||||
label: '手动停用',
|
||||
handler: () => handleCardOperation('manual-deactivate', row.iccid),
|
||||
type: 'primary'
|
||||
})
|
||||
}
|
||||
// if (hasAuth('iot_card:manual_deactivate')) {
|
||||
// actions.push({
|
||||
// label: '手动停用',
|
||||
// handler: () => handleCardOperation('manual-deactivate', row.iccid),
|
||||
// type: 'primary'
|
||||
// })
|
||||
// }
|
||||
|
||||
return actions
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user