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