|
|
@@ -12,8 +12,8 @@ import { BtnClassName, BtnList, ButtonListKey } from './interface';
|
|
|
*/
|
|
|
function getClassName(val: string): BtnClassName {
|
|
|
let result: BtnClassName = 'btnDeafault'
|
|
|
- const btnDanger = ['disable', 'cancle', 'cancel', 'delete', 'logout', 'locked']
|
|
|
- const operBtn = ['add', 'modify', 'reset', 'credit']
|
|
|
+ const btnDanger = ['disable', 'cancle', 'cancel', 'delete', 'logout', 'locked', 'refuse']
|
|
|
+ const operBtn = ['add', 'modify', 'reset', 'credit', 'payment', 'confirm_withdrawal']
|
|
|
const map = new Map<BtnClassName, string[]>([
|
|
|
['btnDanger', btnDanger],
|
|
|
['operBtn', operBtn],
|