From f1f583e1a5887a7d7f561ae5a3513e5fd2d09e6c Mon Sep 17 00:00:00 2001 From: lai <371757574@qq.com> Date: Wed, 17 Jan 2024 11:00:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E9=A1=B5=E5=99=A8=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/configManage/backupManage.ts | 2 +- src/api/configManage/license.ts | 2 +- src/api/configManage/softwareManage.ts | 4 ++-- src/i18n/locales/en-US.ts | 1 + src/i18n/locales/zh-CN.ts | 3 ++- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/api/configManage/backupManage.ts b/src/api/configManage/backupManage.ts index b172d64f..43fcbe36 100644 --- a/src/api/configManage/backupManage.ts +++ b/src/api/configManage/backupManage.ts @@ -18,7 +18,7 @@ export async function listNeBackup(query: Record) { } // 分页 - const pageNum = query.pageNum - 1; + const pageNum = (query.pageNum - 1) * query.pageSize; const limtSql = ` order by create_time desc limit ${pageNum},${query.pageSize} `; // 发起请求 diff --git a/src/api/configManage/license.ts b/src/api/configManage/license.ts index 72df32fc..fba60085 100644 --- a/src/api/configManage/license.ts +++ b/src/api/configManage/license.ts @@ -18,7 +18,7 @@ export async function listLicense(query: Record) { } // 分页 - const pageNum = query.pageNum - 1; + const pageNum = (query.pageNum - 1) * query.pageSize; const limtSql = ` order by created_at desc limit ${pageNum},${query.pageSize} `; // 发起请求 diff --git a/src/api/configManage/softwareManage.ts b/src/api/configManage/softwareManage.ts index 592c28b4..9f319878 100644 --- a/src/api/configManage/softwareManage.ts +++ b/src/api/configManage/softwareManage.ts @@ -22,7 +22,7 @@ export async function listNeSoftware(query: Record) { } // 分页 - const pageNum = query.pageNum - 1; + const pageNum = (query.pageNum - 1) * query.pageSize; const limtSql = ` order by update_time desc limit ${pageNum},${query.pageSize} `; // 发起请求 @@ -180,7 +180,7 @@ export async function listNeVersion(query: Record) { } // 分页 - const pageNum = query.pageNum - 1; + const pageNum = (query.pageNum - 1) * query.pageSize; const limtSql = ` order by update_time desc limit ${pageNum},${query.pageSize} `; // 发起请求 diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index cc467287..7ec1bfae 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -548,6 +548,7 @@ export default { epsOdbTip: 'ODB (Operator-Determined Barring) Operator-determined blocking, i.e. the ability of a subscriber to access the EPS network is determined by the operator.', hplmnOdbTip: 'HPLMN-ODB homing operator-determined blocking, i.e., the ability of a subscriber to access services in the EPS network is determined by the subscriber is homing operator', ardTip:'Access-Restriction-Data (Access-Restriction-Data), can be used to distinguish between 2G/3G/LTE users, to facilitate the coexistence of 2G/3G/LTE network for different types of users to distinguish between the service', + smDataTip:'The IP in sm_data=1-000001&internet-1.2.3.4&ims-1.2.3.5: 1.2.3.4 is the static IP assigned to the APN of 5G user internet, and 1.2.3.5 is the static IP assigned to the APN of 5G user ims. If it is dynamic allocation, just remove the IP and the previous connector. Need to support multiple dnn uses & connections' }, pcf: { neType: 'PCF Object', diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index e8225ce0..95458e93 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -128,7 +128,7 @@ export default { unlock:'解锁', validSucc:'校验通过', validError:'校验失败', - backLogin:'返回登录', + backLogin:'返回登录页', }, }, @@ -548,6 +548,7 @@ export default { epsOdbTip: 'ODB(Operator-Determined Barring)运营商决定的闭锁,即用户接入EPS网络的业务能力由运营商决定.选中 ---对应服务被允许 未选 --- 对应服务被禁止', hplmnOdbTip: 'HPLMN-ODB归属运营商决定的闭锁,即用户接入EPS网络的业务能力由用户归宿运营商决定.选中 --- 对应服务被允许 未选 -- 对应服务被禁止', ardTip:'接入控制标志(Access-Restriction-Data),可用于区分2G/3G/LTE用户,便于为2G/3G/LTE网络共存时,对不同类型用户进行区分服务', + smDataTip:'sm_data=1-000001&internet-1.2.3.4&ims-1.2.3.5中的IP:1.2.3.4为5G用户internet这个APN分配的静态IP,1.2.3.5为5G用户ims这个APN分配的静态IP。如果是动态分配,把IP以及前面一个连接符去掉即可。需支持多个dnn用&连接' }, pcf: { neType: 'PCF网元对象',