diff --git a/apps/web-antd/src/api/license/license/index.ts b/apps/web-antd/src/api/license/license/index.ts index 806f4fa..03af844 100644 --- a/apps/web-antd/src/api/license/license/index.ts +++ b/apps/web-antd/src/api/license/license/index.ts @@ -12,7 +12,7 @@ export namespace LicenseApi { projectId?: number; // 项目ID serialNo?: string; // sn expiryDate: Dayjs | string; // 到期时间 - neList: number[]; // 网元开关 + neList: number[]; // 网元 userNumber: number; // 用户数 ranNumber: number; // 基站数 activationCode: string; // 激活码 @@ -24,6 +24,12 @@ export namespace LicenseApi { status: number; // 状态 remark: string; // 备注 action: number; // 操作 + neCodeList: NeCode[]; // 操作 + } + export interface NeCode { + id: number; // 主键 + neList: number[]; // 网元开关 + activationCode: string; // 激活码 } } diff --git a/apps/web-antd/src/locales/langs/en-US/license.json b/apps/web-antd/src/locales/langs/en-US/license.json index e4cb681..d2273e0 100644 --- a/apps/web-antd/src/locales/langs/en-US/license.json +++ b/apps/web-antd/src/locales/langs/en-US/license.json @@ -26,5 +26,9 @@ "download": "Download", "downloadFailed": "Download failed, please try again later", "licenseFile": "License File", - "applySuccess": "Application successful, email reminder sent, please wait for approval" + "applySuccess": "Application successful, email reminder sent, please wait for approval", + "addNe": "Add Network Elements", + "enterCode": "Please enter Activation Code", + "selectNe": "Please select Network Element", + "detail": "detail" } diff --git a/apps/web-antd/src/locales/langs/zh-CN/license.json b/apps/web-antd/src/locales/langs/zh-CN/license.json index 9b83d41..43e4a81 100644 --- a/apps/web-antd/src/locales/langs/zh-CN/license.json +++ b/apps/web-antd/src/locales/langs/zh-CN/license.json @@ -26,5 +26,9 @@ "download": "下载", "downloadFailed": "下载失败,请稍后重试", "licenseFile": "License文件", - "applySuccess": "申请成功,已发送邮件提醒,请等待审核" + "applySuccess": "申请成功,已发送邮件提醒,请等待审核", + "addNe": "添加网元", + "enterCode": "请输入激活码", + "selectNe": "请选择网元", + "detail": "详情" } diff --git a/apps/web-antd/src/views/license/license/components/detail.vue b/apps/web-antd/src/views/license/license/components/detail.vue new file mode 100644 index 0000000..a104b0a --- /dev/null +++ b/apps/web-antd/src/views/license/license/components/detail.vue @@ -0,0 +1,122 @@ + + + diff --git a/apps/web-antd/src/views/license/license/components/ne-code.vue b/apps/web-antd/src/views/license/license/components/ne-code.vue new file mode 100644 index 0000000..f26c17f --- /dev/null +++ b/apps/web-antd/src/views/license/license/components/ne-code.vue @@ -0,0 +1,155 @@ + +