Handy_Cao hace 8 meses
padre
commit
a2ea37cf1b

+ 16 - 0
public/locales/en-US.json

@@ -1336,6 +1336,19 @@
                     "tradeStatus": "交易状态",
                     "currency": "币种",
                     "curRiskRate": "风险率(%)",
+                    "edit": {
+                        "title": "修改",
+                        "accountId": "资金账户",
+                        "tradestatus": "交易状态",
+                        "taAccountType": "内外部",
+                        "currency": "币种",
+                        "outthreshold": "出金阈值"
+                    },
+                    "password": { 
+                        "message": "确认将密码重置?",
+                        "tips1": "重置成功",
+                        "tips2": "重置失败:"
+                    },
                     "signstatement": {
                         "title": "签解约流水记录",
                         "accountid": "资金账户:",
@@ -1349,6 +1362,9 @@
                         "querytype": "查询类型"
                     }
                 },
+                "close": {
+                    "message": "确认注销该机构?"
+                },
                 "details": {
                     "title": "详情",
                     "subtitle1": "基本信息",

+ 16 - 0
public/locales/th-TH.json

@@ -1336,6 +1336,19 @@
                     "tradeStatus": "交易状态",
                     "currency": "币种",
                     "curRiskRate": "风险率(%)",
+                    "edit": {
+                        "title": "修改",
+                        "accountId": "资金账户",
+                        "tradestatus": "交易状态",
+                        "taAccountType": "内外部",
+                        "currency": "币种",
+                        "outthreshold": "出金阈值"
+                    },
+                    "password": { 
+                        "message": "确认将密码重置?",
+                        "tips1": "重置成功",
+                        "tips2": "重置失败:"
+                    },
                     "signstatement": {
                         "title": "签解约流水记录",
                         "accountid": "资金账户:",
@@ -1349,6 +1362,9 @@
                         "querytype": "查询类型"
                     }
                 },
+                "close": {
+                    "message": "确认注销该机构?"
+                },
                 "details": {
                     "title": "详情",
                     "subtitle1": "基本信息",

+ 16 - 0
public/locales/vi-VN.json

@@ -1336,6 +1336,19 @@
                     "tradeStatus": "交易状态",
                     "currency": "币种",
                     "curRiskRate": "风险率(%)",
+                    "edit": {
+                        "title": "修改",
+                        "accountId": "资金账户",
+                        "tradestatus": "交易状态",
+                        "taAccountType": "内外部",
+                        "currency": "币种",
+                        "outthreshold": "出金阈值"
+                    },
+                    "password": { 
+                        "message": "确认将密码重置?",
+                        "tips1": "重置成功",
+                        "tips2": "重置失败:"
+                    },
                     "signstatement": {
                         "title": "签解约流水记录",
                         "accountid": "资金账户:",
@@ -1349,6 +1362,9 @@
                         "querytype": "查询类型"
                     }
                 },
+                "close": {
+                    "message": "确认注销该机构?"
+                },
                 "details": {
                     "title": "详情",
                     "subtitle1": "基本信息",

+ 16 - 0
public/locales/zh-CN.json

@@ -1336,6 +1336,19 @@
                     "tradeStatus": "交易状态",
                     "currency": "币种",
                     "curRiskRate": "风险率(%)",
+                    "edit": {
+                        "title": "修改",
+                        "accountId": "资金账户",
+                        "tradestatus": "交易状态",
+                        "taAccountType": "内外部",
+                        "currency": "币种",
+                        "outthreshold": "出金阈值"
+                    },
+                    "password": { 
+                        "message": "确认将密码重置?",
+                        "tips1": "重置成功",
+                        "tips2": "重置失败:"
+                    },
                     "signstatement": {
                         "title": "签解约流水记录",
                         "accountid": "资金账户:",
@@ -1349,6 +1362,9 @@
                         "querytype": "查询类型"
                     }
                 },
+                "close": {
+                    "message": "确认注销该机构?"
+                },
                 "details": {
                     "title": "详情",
                     "subtitle1": "基本信息",

+ 16 - 0
public/locales/zh-TW.json

@@ -1336,6 +1336,19 @@
                     "tradeStatus": "交易状态",
                     "currency": "币种",
                     "curRiskRate": "风险率(%)",
+                    "edit": {
+                        "title": "修改",
+                        "accountId": "资金账户",
+                        "tradestatus": "交易状态",
+                        "taAccountType": "内外部",
+                        "currency": "币种",
+                        "outthreshold": "出金阈值"
+                    },
+                    "password": { 
+                        "message": "确认将密码重置?",
+                        "tips1": "重置成功",
+                        "tips2": "重置失败:"
+                    },
                     "signstatement": {
                         "title": "签解约流水记录",
                         "accountid": "资金账户:",
@@ -1349,6 +1362,9 @@
                         "querytype": "查询类型"
                     }
                 },
+                "close": {
+                    "message": "确认注销该机构?"
+                },
                 "details": {
                     "title": "详情",
                     "subtitle1": "基本信息",

+ 7 - 7
src/packages/pc/views/member/institution/user/components/account/edit/index.vue

@@ -1,26 +1,26 @@
 <!-- 会员机构管理-机构管理-机构资料管理-资金账户-修改 -->
 <template>
-    <app-drawer title="修改" width="480" v-model:show="show" :refresh="refresh" :loading="loading">
+    <app-drawer :title="t('member.institution.user.account.edit.title')" width="480" v-model:show="show" :refresh="refresh" :loading="loading">
         <el-form ref="formRef" class="el-form--vertical" label-width="100px" :model="formData" :rules="formRules"
             :show-message="false">
-            <el-form-item label="资金账户">
+            <el-form-item :label="t('member.institution.user.account.edit.accountId')">
                 {{ record.accountId }}
             </el-form-item>
-            <el-form-item label="交易状态" prop="tradestatus">
+            <el-form-item :label="t('member.institution.user.account.edit.tradestatus')" prop="tradestatus">
                 <el-select v-model="formData.tradestatus">
                     <template v-for="item in traderstatusEnum.getEnumOptions([1, 4, 5])" :key="item.value">
                         <el-option :label="item.label" :value="item.value" />
                     </template>
                 </el-select>
             </el-form-item>
-            <el-form-item label="内外部">
+            <el-form-item :label="t('member.institution.user.account.edit.taAccountType')">
                 {{ accounttypeEnum.getEnumTypeName(record.taAccountType) }}
             </el-form-item>
-            <el-form-item label="币种">
+            <el-form-item :label="t('member.institution.user.account.edit.currency')">
                 {{ record.currency }}
             </el-form-item>
-            <el-form-item label="出金阈值" prop="outthreshold">
-                <el-input-number v-model="formData.outthreshold" placeholder="请输入" />
+            <el-form-item :label="t('member.institution.user.account.edit.outthreshold')" prop="outthreshold">
+                <el-input-number v-model="formData.outthreshold" :placeholder="t('common.pleaseenter')" />
             </el-form-item>
         </el-form>
         <template #footer>

+ 3 - 3
src/packages/pc/views/member/institution/user/components/account/password/index.vue

@@ -1,7 +1,7 @@
 <!-- 会员机构管理-机构管理-机构资料管理-资金账户-重置密码 -->
 <template>
     <app-drawer :title="t('common.alert')" v-model:show="show" :loading="loading">
-        <div class="g-text-message">确认将密码重置?</div>
+        <div class="g-text-message">{{ t('member.institution.user.account.password.message') }}</div>
         <template #footer>
             <el-button @click="onCancel">{{ t('operation.cancel') }}</el-button>
             <el-button type="primary" @click="onSubmit">{{ t('operation.confirm') }}</el-button>
@@ -38,9 +38,9 @@ const onSubmit = () => {
             accountid: props.record.accountId
         }
     }).then(() => {
-        ElMessage.success('重置成功')
+        ElMessage.success(t('member.institution.user.account.password.tips1'))
     }).catch((err) => {
-        ElMessage.error('重置失败:' + err)
+        ElMessage.error(t('member.institution.user.account.password.tips2') + err)
     }).finally(() => {
         loading.value = false
         onCancel()

+ 3 - 3
src/packages/pc/views/member/institution/user/components/close/index.vue

@@ -1,7 +1,7 @@
 <!-- 会员机构管理-机构管理-机构资料管理-注销 -->
 <template>
     <app-drawer :title="t('common.alert')" v-model:show="show" :refresh="refresh" :loading="loading">
-        <div class="g-text-message">确认注销该机构?</div>
+        <div class="g-text-message">{{ t('member.institution.user.close.message') }}</div>
         <template #footer>
             <el-button @click="onCancel(false)">{{ t('operation.cancel') }}</el-button>
             <el-button type="primary" @click="onSubmit">{{ t('operation.confirm') }}</el-button>
@@ -40,10 +40,10 @@ const onSubmit = () => {
             userid: props.record.userid
         }
     }).then(() => {
-        ElMessage.success('注销成功')
+        ElMessage.success(t('common.tips11'))
         onCancel(true)
     }).catch((err) => {
-        ElMessage.error('注销失败:' + err)
+        ElMessage.error(t('common.tips12') + err)
         onCancel()
     }).finally(() => {
         loading.value = false