Handy_Cao před 6 měsíci
rodič
revize
0f9cc3ec43

+ 45 - 4
public/locales/en-US.json

@@ -3446,9 +3446,31 @@
         "exrate": {
             "oricurrencyid": "源币种",
             "descurrencyid": "目标币种",
-            "exchangerate": "汇率值"
+            "exchangerate": "汇率值",
+            "delete": {
+                "tips": "确定删除吗?"
+            },
+            "edit": {
+                "title": "编辑",
+                "oricurrencyid": "源币种",
+                "descurrencyid": "目标币种",
+                "exchangerate": "汇率值"
+            }
+        },
+        "ip_blacklist": {
+            "ip": "IP地址",
+            "iptype": "IP类型",
+            "adress": "IP地址",
+            "tips": "输入IP地址模糊匹配",
+            "delete": {
+                "tips": "确定删除该IP地址?"
+            },
+            "edit": {
+                "title": "新增",
+                "ip": "IP地址",
+                "iptype": "IP类型"
+            }
         },
-        "ip_blacklist": {},
         "login_failed": {
             "loginaccount": "Login Account",
             "operatetime": "Login Time",
@@ -3504,9 +3526,28 @@
             "tips3": "Operation Content:",
             "tips4": "Operator:"
         },
-        "service_log": {},
+        "service_log": {
+            "tradedate": "交易日",
+            "updatetime": "时间",
+            "marketname": "服务模块",
+            "runstatus": "运行类型",
+            "remark": "备注",
+            "marketid": "市场"
+        },
         "setting": {},
-        "user_blacklist": {}
+        "user_blacklist": {
+            "cardtype": "证件类型",
+            "cardnum": "证件号码",
+            "createtime": "创建时间",
+            "delete": {
+                "tips": "确定删除该黑名单吗?"
+            },
+            "edit": {
+                "title": "编辑",
+                "cardtype": "证件类型",
+                "cardnum": "證件號碼"
+            }
+        }
     },
     "routes": {
         "base": "Basic Data Management",

+ 45 - 4
public/locales/th-TH.json

@@ -3446,9 +3446,31 @@
         "exrate": {
             "oricurrencyid": "源币种",
             "descurrencyid": "目标币种",
-            "exchangerate": "汇率值"
+            "exchangerate": "汇率值",
+            "delete": {
+                "tips": "确定删除吗?"
+            },
+            "edit": {
+                "title": "编辑",
+                "oricurrencyid": "源币种",
+                "descurrencyid": "目标币种",
+                "exchangerate": "汇率值"
+            }
+        },
+        "ip_blacklist": {
+            "ip": "IP地址",
+            "iptype": "IP类型",
+            "adress": "IP地址",
+            "tips": "输入IP地址模糊匹配",
+            "delete": {
+                "tips": "确定删除该IP地址?"
+            },
+            "edit": {
+                "title": "新增",
+                "ip": "IP地址",
+                "iptype": "IP类型"
+            }
         },
-        "ip_blacklist": {},
         "login_failed": {
             "loginaccount": "บัญชีผู้ใช้",
             "operatetime": "เวลาเข้าสู่ระบบ",
@@ -3504,9 +3526,28 @@
             "tips3": "เนื้อหาการดำเนินการ:",
             "tips4": "ผู้ดำเนินการ:"
         },
-        "service_log": {},
+        "service_log": {
+            "tradedate": "交易日",
+            "updatetime": "时间",
+            "marketname": "服务模块",
+            "runstatus": "运行类型",
+            "remark": "备注",
+            "marketid": "市场"
+        },
         "setting": {},
-        "user_blacklist": {}
+        "user_blacklist": {
+            "cardtype": "证件类型",
+            "cardnum": "证件号码",
+            "createtime": "创建时间",
+            "delete": {
+                "tips": "确定删除该黑名单吗?"
+            },
+            "edit": {
+                "title": "编辑",
+                "cardtype": "证件类型",
+                "cardnum": "證件號碼"
+            }
+        }
     },
     "routes": {
         "base": "การจัดการข้อมูลพื้นฐาน",

+ 45 - 4
public/locales/vi-VN.json

@@ -3446,9 +3446,31 @@
         "exrate": {
             "oricurrencyid": "源币种",
             "descurrencyid": "目标币种",
-            "exchangerate": "汇率值"
+            "exchangerate": "汇率值",
+            "delete": {
+                "tips": "确定删除吗?"
+            },
+            "edit": {
+                "title": "编辑",
+                "oricurrencyid": "源币种",
+                "descurrencyid": "目标币种",
+                "exchangerate": "汇率值"
+            }
+        },
+        "ip_blacklist": {
+            "ip": "IP地址",
+            "iptype": "IP类型",
+            "adress": "IP地址",
+            "tips": "输入IP地址模糊匹配",
+            "delete": {
+                "tips": "确定删除该IP地址?"
+            },
+            "edit": {
+                "title": "新增",
+                "ip": "IP地址",
+                "iptype": "IP类型"
+            }
         },
-        "ip_blacklist": {},
         "login_failed": {
             "loginaccount": "Tài khoản đăng nhập",
             "operatetime": "Thời gian đăng nhập",
@@ -3504,9 +3526,28 @@
             "tips3": "Nội dung thao tác",
             "tips4": "Người thao tác"
         },
-        "service_log": {},
+        "service_log": {
+            "tradedate": "交易日",
+            "updatetime": "时间",
+            "marketname": "服务模块",
+            "runstatus": "运行类型",
+            "remark": "备注",
+            "marketid": "市场"
+        },
         "setting": {},
-        "user_blacklist": {}
+        "user_blacklist": {
+            "cardtype": "证件类型",
+            "cardnum": "证件号码",
+            "createtime": "创建时间",
+            "delete": {
+                "tips": "确定删除该黑名单吗?"
+            },
+            "edit": {
+                "title": "编辑",
+                "cardtype": "证件类型",
+                "cardnum": "證件號碼"
+            }
+        }
     },
     "routes": {
         "base": "Quản lý dữ liệu cơ bản",

+ 45 - 4
public/locales/zh-CN.json

@@ -3446,9 +3446,31 @@
         "exrate": {
             "oricurrencyid": "源币种",
             "descurrencyid": "目标币种",
-            "exchangerate": "汇率值"
+            "exchangerate": "汇率值",
+            "delete": {
+                "tips": "确定删除吗?"
+            },
+            "edit": {
+                "title": "编辑",
+                "oricurrencyid": "源币种",
+                "descurrencyid": "目标币种",
+                "exchangerate": "汇率值"
+            }
+        },
+        "ip_blacklist": {
+            "ip": "IP地址",
+            "iptype": "IP类型",
+            "adress": "IP地址",
+            "tips": "输入IP地址模糊匹配",
+            "delete": {
+                "tips": "确定删除该IP地址?"
+            },
+            "edit": {
+                "title": "新增",
+                "ip": "IP地址",
+                "iptype": "IP类型"
+            }
         },
-        "ip_blacklist": {},
         "login_failed": {
             "loginaccount": "登录账号",
             "operatetime": "登录时间",
@@ -3504,9 +3526,28 @@
             "tips3": "操作内容:",
             "tips4": "操作人:"
         },
-        "service_log": {},
+        "service_log": {
+            "tradedate": "交易日",
+            "updatetime": "时间",
+            "marketname": "服务模块",
+            "runstatus": "运行类型",
+            "remark": "备注",
+            "marketid": "市场"
+        },
         "setting": {},
-        "user_blacklist": {}
+        "user_blacklist": {
+            "cardtype": "证件类型",
+            "cardnum": "证件号码",
+            "createtime": "创建时间",
+            "delete": {
+                "tips": "确定删除该黑名单吗?"
+            },
+            "edit": {
+                "title": "编辑",
+                "cardtype": "证件类型",
+                "cardnum": "證件號碼"
+            }
+        }
     },
     "routes": {
         "base": "基础数据管理",

+ 45 - 4
public/locales/zh-TW.json

@@ -3446,9 +3446,31 @@
         "exrate": {
             "oricurrencyid": "源币种",
             "descurrencyid": "目标币种",
-            "exchangerate": "汇率值"
+            "exchangerate": "汇率值",
+            "delete": {
+                "tips": "确定删除吗?"
+            },
+            "edit": {
+                "title": "编辑",
+                "oricurrencyid": "源币种",
+                "descurrencyid": "目标币种",
+                "exchangerate": "汇率值"
+            }
+        },
+        "ip_blacklist": {
+            "ip": "IP地址",
+            "iptype": "IP类型",
+            "adress": "IP地址",
+            "tips": "输入IP地址模糊匹配",
+            "delete": {
+                "tips": "确定删除该IP地址?"
+            },
+            "edit": {
+                "title": "新增",
+                "ip": "IP地址",
+                "iptype": "IP类型"
+            }
         },
-        "ip_blacklist": {},
         "login_failed": {
             "loginaccount": "登錄賬號",
             "operatetime": "登錄時間",
@@ -3504,9 +3526,28 @@
             "tips3": "操作內容:",
             "tips4": "操作人:"
         },
-        "service_log": {},
+        "service_log": {
+            "tradedate": "交易日",
+            "updatetime": "时间",
+            "marketname": "服务模块",
+            "runstatus": "运行类型",
+            "remark": "备注",
+            "marketid": "市场"
+        },
         "setting": {},
-        "user_blacklist": {}
+        "user_blacklist": {
+            "cardtype": "证件类型",
+            "cardnum": "证件号码",
+            "createtime": "创建时间",
+            "delete": {
+                "tips": "确定删除该黑名单吗?"
+            },
+            "edit": {
+                "title": "编辑",
+                "cardtype": "证件类型",
+                "cardnum": "證件號碼"
+            }
+        }
     },
     "routes": {
         "base": "基礎數據管理",

+ 1 - 1
src/packages/pc/views/system/client_log/components/details/index.vue

@@ -35,7 +35,7 @@ const detailProps: CellProp[] = [
     { prop: 'logincode', label: 'system.client_log.details.logincode' },
     { prop: 'accountname', label: 'system.client_log.details.accountname' },
     { prop: 'areaname', label: 'system.client_log.details.areaname' },
-    { prop: 'membername', label: 'system.client_log.details.membername' },
+    { prop: 'membername', label: 'system.client_log.details.membername' }, 
     { prop: 'loginip', label: 'system.client_log.details.loginip' },
     { prop: 'funcode', label: 'system.client_log.details.funcode' },
     { prop: 'operatetime', label: 'system.client_log.details.operatetime', formatValue: (val) => formatDate(val) },

+ 1 - 1
src/packages/pc/views/system/exrate/components/delete/index.vue

@@ -1,7 +1,7 @@
 <!-- 系统运行管理-系统汇率管理-删除 -->
 <template>
     <app-drawer :title="t('common.alert')" v-model:show="show" :loading="loading" :refresh="refresh">
-        <div class="g-text-message">确定删除吗?</div>
+        <div class="g-text-message">{{ t('system.exrate.delete.tips') }}</div>
         <template #footer>
             <el-button @click="onCancel(false)">{{ t('operation.cancel') }}</el-button>
             <el-button type="primary" @click="onSubmit">{{ t('operation.confirm') }}</el-button>

+ 4 - 4
src/packages/pc/views/system/exrate/components/edit/index.vue

@@ -1,14 +1,14 @@
 <!-- 系统运行管理-开户黑名单管理-新增/修改 -->
 <template>
-    <app-drawer title="编辑" width="500" v-model:show="show" :loading="loading" :refresh="refresh">
+    <app-drawer :title="t('system.exrate.edit.title')" width="500" v-model:show="show" :loading="loading" :refresh="refresh">
         <el-form ref="formRef" label-width="80px" :model="formData" :rules="formRules" :show-message="false">
-            <el-form-item label="源币种" prop="oricurrencyid">
+            <el-form-item :label="t('system.exrate.edit.oricurrencyid')" prop="oricurrencyid">
                 <app-enum code="currency" v-model="formData.oricurrencyid" />
             </el-form-item>
-            <el-form-item label="目标币种" prop="descurrencyid">
+            <el-form-item :label="t('system.exrate.edit.descurrencyid')" prop="descurrencyid">
                 {{ currencyEnum.getEnumTypeName(data?.descurrencyid ?? 1) }}
             </el-form-item>
-            <el-form-item label="汇率值" prop="exchangerate">
+            <el-form-item :label="t('system.exrate.edit.exchangerate')" prop="exchangerate">
                 <el-input v-model="formData.exchangerate" maxlength="50" :placeholder="t('common.pleaseenter')" />
             </el-form-item>
         </el-form>

+ 1 - 1
src/packages/pc/views/system/ipblacklist/components/delete/index.vue

@@ -1,7 +1,7 @@
 <!-- 系统运行管理-IP黑名单管理-删除 -->
 <template>
     <app-drawer :title="t('common.alert')" v-model:show="show" :loading="loading" :refresh="refresh">
-        <div class="g-text-message">确定删除该IP地址?</div>
+        <div class="g-text-message">{{ t('system.ip_blacklist.delete.tips') }}</div>
         <template #footer>
             <el-button @click="onCancel(false)">{{ t('operation.cancel') }}</el-button>
             <el-button type="primary" @click="onSubmit">{{ t('operation.confirm') }}</el-button>

+ 3 - 3
src/packages/pc/views/system/ipblacklist/components/edit/index.vue

@@ -1,11 +1,11 @@
 <!-- 系统运行管理-IP黑名单管理-新增 -->
 <template>
-    <app-drawer title="新增" width="500" v-model:show="show" :loading="loading" :refresh="refresh">
+    <app-drawer :title="t('system.ip_blacklist.edit.title')" width="500" v-model:show="show" :loading="loading" :refresh="refresh">
         <el-form ref="formRef" label-width="80px" :model="formData" :rules="formRules" :show-message="false">
-            <el-form-item label="IP地址" prop="ip">
+            <el-form-item :label="t('system.ip_blacklist.edit.ip')" prop="ip">
                 <el-input v-model="formData.ip" maxlength="50" :placeholder="t('common.pleaseenter')" />
             </el-form-item>
-            <el-form-item label="IP类型" prop="iptype">
+            <el-form-item :label="t('system.ip_blacklist.edit.iptype')" prop="iptype">
                 <app-enum code="iptype" v-model="formData.iptype" />
             </el-form-item>
         </el-form>

+ 4 - 4
src/packages/pc/views/system/ipblacklist/index.vue

@@ -57,8 +57,8 @@ const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryI
 })
 
 const tableColumns = ref<Model.TableColumn[]>([
-    { field: 'ip', label: 'IP地址' },
-    { field: 'iptype', label: 'IP类型', formatValue: (val) => iptypeEnum.getEnumTypeName(val) },
+    { field: 'ip', label: 'system.ip_blacklist.ip' },
+    { field: 'iptype', label: 'system.ip_blacklist.iptype', formatValue: (val) => iptypeEnum.getEnumTypeName(val) },
     { field: 'operate', label: 'common.operate', fixed: 'right' }
 ])
 
@@ -66,8 +66,8 @@ const { filterOption, getQueryParams, resetFilters } = useDataFilter<Model.IPLis
     filters: [
         {
             field: 'adress',
-            label: 'IP地址',
-            placeholder: '输入IP地址模糊匹配',
+            label: t('system.ip_blacklist.adress'),
+            placeholder: t('system.ip_blacklist.tips'),
             required: true,
         }
     ],

+ 7 - 7
src/packages/pc/views/system/service_log/index.vue

@@ -59,22 +59,22 @@ const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(querym
 })
 
 const tableColumns = ref<Model.TableColumn[]>([
-    { field: 'tradedate', label: '交易日' },
-    { field: 'updatetime', label: '时间', formatValue: (val) => formatDate(val) },
-    { field: 'marketname', label: '服务模块' },
-    { field: 'runstatus', label: '运行类型', formatValue: (val) => runstatusEnum.getEnumTypeName(val) },
-    { field: 'remark', label: '备注',},
+    { field: 'tradedate', label: 'system.service_log.tradedate' },
+    { field: 'updatetime', label: 'system.service_log.updatetime', formatValue: (val) => formatDate(val) },
+    { field: 'marketname', label: 'system.service_log.marketname' },
+    { field: 'runstatus', label: 'system.service_log.runstatus', formatValue: (val) => runstatusEnum.getEnumTypeName(val) },
+    { field: 'remark', label: 'system.service_log.remark',},
 ])
 
 const { filterOption, getQueryParams, resetFilters } = useDataFilter<Model.MrslReq>({
     filters: [
         {
             field: 'tradedate',
-            label: '交易日'
+            label: t('system.service_log.tradedate')
         },
         {
             field: 'marketid',
-            label: '市场',
+            label: t('system.service_log.marketid'),
             options: () => getMarketOptions()
         }
     ],

+ 1 - 1
src/packages/pc/views/system/userblacklist/components/delete/index.vue

@@ -1,7 +1,7 @@
 <!-- 系统运行管理-开户黑名单管理-删除 -->
 <template>
     <app-drawer :title="t('common.alert')" v-model:show="show" :loading="loading" :refresh="refresh">
-        <div class="g-text-message">确定删除该黑名单吗?</div>
+        <div class="g-text-message">{{ t('system.user_blacklist.delete.tips') }}</div>
         <template #footer>
             <el-button @click="onCancel(false)">{{ t('operation.cancel') }}</el-button>
             <el-button type="primary" @click="onSubmit">{{ t('operation.confirm') }}</el-button>

+ 3 - 3
src/packages/pc/views/system/userblacklist/components/edit/index.vue

@@ -1,11 +1,11 @@
 <!-- 系统运行管理-开户黑名单管理-新增/修改 -->
 <template>
-    <app-drawer title="编辑" width="500" v-model:show="show" :loading="loading" :refresh="refresh">
+    <app-drawer :title="t('system.user_blacklist.edit.title')" width="500" v-model:show="show" :loading="loading" :refresh="refresh">
         <el-form ref="formRef" label-width="80px" :model="formData" :rules="formRules" :show-message="false">
-            <el-form-item label="证件类型" prop="cardtype">
+            <el-form-item :label="t('system.user_blacklist.edit.cardtype')" prop="cardtype">
                 <app-enum code="userinfotype" v-model="formData.cardtype" />
             </el-form-item>
-            <el-form-item label="证件号码" prop="cardnum">
+            <el-form-item :label="t('system.user_blacklist.edit.cardnum')" prop="cardnum">
                 <el-input v-model="formData. cardnum" maxlength="50" :placeholder="t('common.pleaseenter')" />
             </el-form-item>
         </el-form>

+ 4 - 6
src/packages/pc/views/system/userblacklist/index.vue

@@ -26,14 +26,12 @@ import { ElMessage } from 'element-plus'
 import { useRequest } from '@/hooks/request'
 import { useOperation } from '@/hooks/operation'
 import { queryBlackList } from '@/services/api/system'
-import { i18n } from '@/stores'
 import { useEnum } from '@/hooks/enum'
+import { formatDate } from '@/filters'
 import AppTable from '@pc/components/base/table/index.vue'
 import AppPagination from '@pc/components/base/pagination/index.vue'
 import AppOperation from '@pc/components/base/operation/index.vue'
-import { formatDate } from '@/filters'
 
-const { global: { t } } = i18n
 // 状态
 const cardtypeEnum = useEnum('cardtype')
 
@@ -52,9 +50,9 @@ const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryB
 })
 
 const tableColumns = ref<Model.TableColumn[]>([
-    { field: 'cardtype', label: '证件类型', formatValue: (val) => cardtypeEnum.getEnumTypeName(val) },
-    { field: 'cardnum', label: '证件号码' },
-    { field: 'createtime', label: '创建时间', formatValue: (val) => formatDate(val) },
+    { field: 'cardtype', label: 'system.user_blacklist.cardtype', formatValue: (val) => cardtypeEnum.getEnumTypeName(val) },
+    { field: 'cardnum', label: 'system.user_blacklist.cardnum' },
+    { field: 'createtime', label: 'system.user_blacklist.createtime', formatValue: (val) => formatDate(val) },
     { field: 'operate', label: 'common.operate', fixed: 'right' }
 ])