更新域名列表页的状态字段映射
This commit is contained in:
parent
f3e192d8c4
commit
d80c0ff85d
@ -43,8 +43,8 @@ export default {
|
|||||||
fieldname: 'status',
|
fieldname: 'status',
|
||||||
options: [
|
options: [
|
||||||
{ label: '', value: '' },
|
{ label: '', value: '' },
|
||||||
{ label: '正常', value: 'Active' },
|
{ label: '正常', value: 'ok' },
|
||||||
{ label: '已过期', value: 'Expired' }
|
{ label: '锁定', value: 'clienthold' }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
@ -68,11 +68,8 @@ export default {
|
|||||||
width: 0.8,
|
width: 0.8,
|
||||||
format(value) {
|
format(value) {
|
||||||
const statusMap = {
|
const statusMap = {
|
||||||
'Pending': '待处理',
|
'ok': '正常',
|
||||||
'Active': '正常',
|
'clienthold': '锁定'
|
||||||
'Expired': '已过期',
|
|
||||||
'Suspended': '已暂停',
|
|
||||||
'Cancelled': '已取消'
|
|
||||||
};
|
};
|
||||||
return statusMap[value] || value;
|
return statusMap[value] || value;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user