This commit is contained in:
2023-03-17 17:36:17 +08:00
parent c5591c7c3e
commit a66f049894
10 changed files with 1069 additions and 125 deletions

View File

@ -1,4 +1,34 @@
export const statusMap = new Map([
["0", "正常"],
["1", "禁用"],
["1", "禁用"]
]);
export const deviceTypeMap = new Map([
[1, "直连设备"],
[2, "网关子设备"],
[3, "网关子设备"]
]);
export const vertificateMethodOptions = [
{
label: "简单认证",
value: 1
}, {
label: "加密认证",
value: 2
}, {
label: "简单+加密",
value: 3
}
];
export const isTopMap = new Map([
[0, "是"],
[1, "否"]
]);
export const isMonitor = new Map([
[0, "是"],
[1, "否"]
]);