Handy_Cao 1 anno fa
parent
commit
281f2ead23
100 ha cambiato i file con 862 aggiunte e 501 eliminazioni
  1. 22 1
      public/locales/en-US.json
  2. 175 2
      public/locales/zh-CN.json
  3. 1 1
      src/packages/pc/components/base/icon-select/index.vue
  4. 4 1
      src/packages/pc/components/base/table-details/index.vue
  5. 2 2
      src/packages/pc/components/base/table-setting/index.vue
  6. 4 2
      src/packages/pc/components/base/table/index.vue
  7. 1 1
      src/packages/pc/components/base/upload/index.vue
  8. 2 2
      src/packages/pc/components/modules/trade/index.vue
  9. 31 28
      src/packages/pc/views/account/tradeacct/components/bankinout/index.vue
  10. 20 17
      src/packages/pc/views/account/tradeacct/components/bankstatement/index.vue
  11. 26 23
      src/packages/pc/views/account/tradeacct/components/details/index.vue
  12. 17 14
      src/packages/pc/views/account/tradeacct/components/password/index.vue
  13. 20 18
      src/packages/pc/views/account/tradeacct/components/sign/cancel/index.vue
  14. 11 9
      src/packages/pc/views/account/tradeacct/components/sign/edit/index.vue
  15. 20 17
      src/packages/pc/views/account/tradeacct/components/sign/index.vue
  16. 15 12
      src/packages/pc/views/account/tradeacct/index.vue
  17. 6 4
      src/packages/pc/views/admin/role/components/delete/index.vue
  18. 7 6
      src/packages/pc/views/admin/role/components/edit/index.vue
  19. 10 8
      src/packages/pc/views/admin/user/components/edit/index.vue
  20. 6 4
      src/packages/pc/views/admin/user/components/status/index.vue
  21. 5 3
      src/packages/pc/views/admin/user/index.vue
  22. 6 2
      src/packages/pc/views/auth/components/layout/index.vue
  23. 11 9
      src/packages/pc/views/auth/login/index.vue
  24. 6 4
      src/packages/pc/views/investor/custom/group/components/delete/index.vue
  25. 7 6
      src/packages/pc/views/investor/custom/group/components/edit/index.vue
  26. 6 4
      src/packages/pc/views/investor/custom/group/components/user/delete/index.vue
  27. 6 4
      src/packages/pc/views/investor/custom/group/components/user/edit/index.vue
  28. 7 4
      src/packages/pc/views/investor/custom/group/components/user/index.vue
  29. 5 2
      src/packages/pc/views/investor/custom/group/index.vue
  30. 6 4
      src/packages/pc/views/investor/custom/riskcfg/components/delete/index.vue
  31. 1 1
      src/packages/pc/views/investor/custom/riskcfg/components/details/index.vue
  32. 6 4
      src/packages/pc/views/investor/custom/riskcfg/components/edit/index.vue
  33. 5 2
      src/packages/pc/views/investor/custom/riskcfg/index.vue
  34. 6 4
      src/packages/pc/views/investor/custom/tradecfg/components/delete/index.vue
  35. 8 6
      src/packages/pc/views/investor/custom/tradecfg/components/edit/index.vue
  36. 1 1
      src/packages/pc/views/investor/custom/tradecfg/index.vue
  37. 1 1
      src/packages/pc/views/investor/manage/modification/components/audit/index.vue
  38. 7 5
      src/packages/pc/views/investor/manage/modification/components/audit/operate/index.vue
  39. 5 2
      src/packages/pc/views/investor/manage/modification/index.vue
  40. 1 1
      src/packages/pc/views/investor/manage/user/components/account/details/index.vue
  41. 7 5
      src/packages/pc/views/investor/manage/user/components/account/edit/index.vue
  42. 6 3
      src/packages/pc/views/investor/manage/user/components/account/index.vue
  43. 6 4
      src/packages/pc/views/investor/manage/user/components/cancel/index.vue
  44. 6 3
      src/packages/pc/views/investor/manage/user/components/config/index.vue
  45. 6 4
      src/packages/pc/views/investor/manage/user/components/delete/index.vue
  46. 1 1
      src/packages/pc/views/investor/manage/user/components/details/view.vue
  47. 19 17
      src/packages/pc/views/investor/manage/user/components/edit/index.vue
  48. 2 2
      src/packages/pc/views/investor/manage/user/components/export/index.vue
  49. 2 2
      src/packages/pc/views/investor/manage/user/components/login/delete/index.vue
  50. 1 1
      src/packages/pc/views/investor/manage/user/components/login/details/index.vue
  51. 6 3
      src/packages/pc/views/investor/manage/user/components/login/index.vue
  52. 2 2
      src/packages/pc/views/investor/manage/user/components/login/lock/index.vue
  53. 1 1
      src/packages/pc/views/investor/manage/user/components/login/log/index.vue
  54. 6 4
      src/packages/pc/views/investor/manage/user/components/login/password/index.vue
  55. 6 4
      src/packages/pc/views/investor/manage/user/components/login/recover/index.vue
  56. 6 4
      src/packages/pc/views/investor/manage/user/components/recover/index.vue
  57. 5 2
      src/packages/pc/views/investor/manage/user/index.vue
  58. 5 2
      src/packages/pc/views/investor/user/initreview/index.vue
  59. 6 4
      src/packages/pc/views/investor/user/open/components/cancel/index.vue
  60. 6 4
      src/packages/pc/views/investor/user/open/components/delete/index.vue
  61. 1 1
      src/packages/pc/views/investor/user/open/components/details/index.vue
  62. 20 18
      src/packages/pc/views/investor/user/open/components/edit/index.vue
  63. 5 2
      src/packages/pc/views/investor/user/open/index.vue
  64. 1 1
      src/packages/pc/views/marketrun/monitor/account/index.vue
  65. 6 4
      src/packages/pc/views/marketrun/monitor/user/components/alloffline/index.vue
  66. 6 4
      src/packages/pc/views/marketrun/monitor/user/components/offline/index.vue
  67. 5 2
      src/packages/pc/views/marketrun/monitor/user/index.vue
  68. 6 4
      src/packages/pc/views/member/institution/open/components/cancel/index.vue
  69. 6 4
      src/packages/pc/views/member/institution/open/components/delete/index.vue
  70. 8 6
      src/packages/pc/views/member/institution/open/components/details/agree.vue
  71. 1 1
      src/packages/pc/views/member/institution/open/components/details/index.vue
  72. 7 5
      src/packages/pc/views/member/institution/open/components/details/refuse.vue
  73. 18 16
      src/packages/pc/views/member/institution/open/components/edit/index.vue
  74. 5 2
      src/packages/pc/views/member/institution/open/index.vue
  75. 6 4
      src/packages/pc/views/member/subinstitution/manage/components/cancel/index.vue
  76. 6 4
      src/packages/pc/views/member/subinstitution/manage/components/delete/index.vue
  77. 1 1
      src/packages/pc/views/member/subinstitution/manage/components/details/index.vue
  78. 26 24
      src/packages/pc/views/member/subinstitution/manage/components/edit/index.vue
  79. 6 4
      src/packages/pc/views/member/subinstitution/manage/components/recover/index.vue
  80. 22 20
      src/packages/pc/views/member/subinstitution/user/components/edit/index.vue
  81. 5 2
      src/packages/pc/views/member/subinstitution/user/index.vue
  82. 6 4
      src/packages/pc/views/profitshare/institution/config/components/delete/index.vue
  83. 7 5
      src/packages/pc/views/profitshare/institution/config/components/edit/index.vue
  84. 6 4
      src/packages/pc/views/profitshare/institution/group/components/delete/index.vue
  85. 8 6
      src/packages/pc/views/profitshare/institution/group/components/edit/index.vue
  86. 5 3
      src/packages/pc/views/profitshare/institution/group/components/member/index.vue
  87. 5 2
      src/packages/pc/views/profitshare/institution/group/index.vue
  88. 5 3
      src/packages/pc/views/query/order/accountsumm/index.vue
  89. 6 3
      src/packages/pc/views/query/order/goodssumm/index.vue
  90. 5 2
      src/packages/pc/views/query/order/institutionsumm/index.vue
  91. 1 1
      src/packages/pc/views/query/order/order/components/details/index.vue
  92. 2 2
      src/packages/pc/views/query/order/order/components/export/index.vue
  93. 8 6
      src/packages/pc/views/query/order/order/index.vue
  94. 1 1
      src/packages/pc/views/query/order/position/components/details/index.vue
  95. 2 2
      src/packages/pc/views/query/order/position/components/export/index.vue
  96. 9 7
      src/packages/pc/views/query/order/position/index.vue
  97. 2 2
      src/packages/pc/views/query/order/positionsumm/components/export/index.vue
  98. 3 3
      src/packages/pc/views/query/order/positionsumm/index.vue
  99. 1 1
      src/packages/pc/views/query/order/trade/components/details/index.vue
  100. 2 2
      src/packages/pc/views/query/order/trade/components/export/index.vue

+ 22 - 1
public/locales/en-US.json

@@ -1 +1,22 @@
-{}
+{
+    "app":{
+        "name":"MTP Background Management System",
+        "left1": "Welcome To Use",
+        "left2": "MTP Management System"
+    },
+    "common": {
+        "pleaseenter": "Please Enter"
+    },
+    "operation": {
+        "login": "Login"
+    },
+    "auth": {
+        "login": {
+            "title": "Login",
+            "accountCode": "UserName/AccountCode/Mobile",
+            "password": "Enter your login password",
+            "verifyCode": "Enter the verification code",
+            "loading": "Logining"
+        }
+    }
+}

+ 175 - 2
public/locales/zh-CN.json

@@ -1,7 +1,180 @@
 {
     "app":{
-        "name":"MTP后台管理系统"
+        "name":"MTP后台管理系统",
+        "left1": "欢迎使用",
+        "left2": "MTP管理系统"
     },
-    "common": {},
+    "common": {
+        "pleaseenter": "请输入",
+        "pleasechoice": "请选择",
+        "operate": "操作",
+        "current": "当前",
+        "history": "历史",
+        "baseinfo": "基本信息",
+        "extendinfo": "扩展信息",
+        "pleasechoicedate": "请选择日期",
+        "alert": "提示",
+        "tips1": "提交成功",
+        "tips2": "提交失败:",
+        "tips3": "保存成功",
+        "tips4": "保存失败:",
+        "tips5": "删除成功",
+        "tips6": "删除失败:",
+        "tips7": "提交成功",
+        "tips8": "提交失败:",
+        "tips9": "撤回成功",
+        "tips10": "撤回失败:",
+        "tips11": "注销成功",
+        "tips12": "注销失败:",
+        "tips13": "恢复成功",
+        "tips14": "恢复失败:",
+        "tips15": "撤回成功",
+        "tips16": "撤回失败:",
+        "tips17": "操作成功",
+        "tips18": "操作失败:",
+        "tips19": "重置成功",
+        "tips20": "重置失败:"
+    },
+    "operation": {
+        "login": "登录",
+        "search": "查询",
+        "reset": "重置",
+        "cancel": "取消",
+        "submit": "提交",
+        "submitaduit": "提交审核",
+        "upload": "上传",
+        "aduit": "审核",
+        "save": "保存",
+        "confirm": "确认",
+        "export": "导出",
+        "close": "关闭",
+        "add": "新增"
+    },
+    "auth": {
+        "login": {
+            "title": "账号登录",
+            "accountCode": "用户名/账号/手机号",
+            "password": "请输入您的登录密码",
+            "verifyCode": "请输入验证码",
+            "loading": "正在登录"
+        }
+    },
+    "account": {
+        "tradeacct": {
+            "accountId": "资金账号",
+            "isMain": "账户类型",
+            "taAccountType": "内/外部",
+            "relatedName": "关联账户",
+            "parentAccountId": "所属母账户",
+            "tradeStatus": "交易状态",
+            "currency": "币种",
+            "accountName": "所属用户",
+            "bankinout": {
+                "title": "出入金",
+                "accountId": "资金账号",
+                "enableAmount": "可出金额",
+                "inOutAmount": "出入金",
+                "inAmount": "入金",
+                "outAmount": "出金",
+                "amount": "金额",
+                "cusbankid": "托管银行",
+                "accpwd": "资金密码",
+                "accounttype": "账户类型",
+                "cardtype": "证件类型",
+                "cardno": "证件号码",
+                "bankname": "开户银行",
+                "bankaccountno": "银行卡号",
+                "bankaccountname": "银行卡户名",
+                "mobilephone": "手机号",
+                "remark": "备注"
+            },
+            "bankstatement": {
+                "accountId": "资金账号",
+                "operateType": "操作类型",
+                "relationOrderId": "关联单号",
+                "marketName": "市场",
+                "goodsName": "商品",
+                "amount": "金额",
+                "balance": "期初余额",
+                "currentBalance": "期末余额",
+                "createTime": "记账时间",
+                "amountAdjustTypeName": "资金调整类型",
+                "logType": "流水类型"
+            },
+            "details": {
+                "title": "详情",
+                "accountId": "资金账户:",
+                "accountName": "所属机构:",
+                "isMain": "是否母账户:",
+                "currency": "币种:",
+                "taAccountType": "内外部:",
+                "changeFlag": "变动标志:",
+                "tradeStatus": "交易状态:",
+                "currentBalance": "期末余额:",
+                "payCharge": "平台服务费:",
+                "otherPay": "货款:",
+                "otherFreezeMargin": "交割保证金:",
+                "freezeMargin": "冻结保证金:",
+                "usedMargin": "占用保证金:",
+                "freezeCharge": "交易服务费冻结:",
+                "outAmountFreeze": "出金冻结:",
+                "outThreshold": "出金阈值:",
+                "cusBankName": "银行业务编号",
+                "bankName": "开户银行",
+                "bankAccountName": "银行卡户名",
+                "bankAccountNo": "银行卡号",
+                "signStatus": "签约状态"
+            },
+            "password": {
+                "title": "修改资金密码",
+                "accountId": "资金账号",
+                "oldPwd": "旧密码",
+                "newPwd": "新密码",
+                "confirmPassword": "新密码确认",
+                "tips1": "不符合密码规则",
+                "tips2": "新密码和确认密码不一致"
+            },
+            "sign": {
+                "accountId": "资金账户:",
+                "accountId1": "资金账户",
+                "accountName": "客户名称",
+                "cusBankName": "托管银行",
+                "bankAccountNo": "对公账号",
+                "bankChildAccount": "银行子账号",
+                "bankAccountName": "银行账户名称",
+                "bankName": "开户银行",
+                "cardType": "证件类型",
+                "cardNo": "证件号码",
+                "currency": "币种",
+                "signStatus": "签约状态",
+                "cancel": {
+                    "title": "解约/解绑",
+                    "broker": "解约",
+                    "unbind": "解绑",
+                    "person": "个人",
+                    "companny": "企业",
+                    "accounttype": "账户类型:",
+                    "certtype": "证件类型:",
+                    "cusbankid": "托管银行:",
+                    "certid": "证件号码:",
+                    "exbankname": "开户银行:",
+                    "bankaccountno": "银行帐号:",
+                    "bankaccountno1": "对公账号:",
+                    "bankaccountname": "银行卡户主名:",
+                    "mobilephone": "手机号:",
+                    "tips1": "确认要发起解绑吗?",
+                    "tips2": "确认要发起解约吗?"
+                },
+                "edit": {
+                    "title": "编辑",
+                    "title": "编辑",
+                    "title": "编辑",
+                    "title": "编辑",
+                    "title": "编辑"
+                }
+            }
+        }
+    },
+    
     "routes": {}
 }

+ 1 - 1
src/packages/pc/components/base/icon-select/index.vue

@@ -2,7 +2,7 @@
     <el-popover popper-class="app-icon-select" trigger="click" :hide-after="0" :width="selectorWidth"
         :visible="visible">
         <template #reference>
-            <el-input ref="selectorInput" v-model="iconName" placeholder="请输入" @focus="popoverShow" @blur="popoverHide" />
+            <el-input ref="selectorInput" v-model="iconName" :placeholder="t('common.pleaseenter')" @focus="popoverShow" @blur="popoverHide" />
         </template>
         <el-scrollbar :height="250">
             <ul @mousedown.self="inputFocus = true" @mouseup.self="inputFocus = false">

+ 4 - 1
src/packages/pc/components/base/table-details/index.vue

@@ -11,7 +11,7 @@
                     <template v-for="(item, n) in items" :key="n">
                         <th :style="labelStyle">
                             <slot :name="item.prop + 'Label'">
-                                {{ item.formatLabel ? item.formatLabel(data[item.prop]) : item.label }}
+                                {{ item.formatLabel ? item.formatLabel(data[item.prop]) : t(item.label ?? '') }}
                             </slot>
                         </th>
                         <td :colspan="(items.length - 1) === n ? (column * 2 - items.length * 2) + 1 : 1"
@@ -32,6 +32,9 @@
 import { PropType, computed } from 'vue'
 import { handleNoneValue } from '@/filters'
 import { CellProp } from './types'
+import { i18n } from '@/stores'
+
+const { global: { t } } = i18n
 
 const props = defineProps({
     title: String,

+ 2 - 2
src/packages/pc/components/base/table-setting/index.vue

@@ -26,8 +26,8 @@
             </ul>
         </el-scrollbar>
         <template #footer>
-            <el-button @click="closeDrawer">取消</el-button>
-            <el-button type="primary" @click="updateColumn">保存</el-button>
+            <el-button @click="closeDrawer">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="updateColumn">{{ t('operate.save') }}</el-button>
         </template>
     </app-drawer>
 </template>

+ 4 - 2
src/packages/pc/components/base/table/index.vue

@@ -27,11 +27,11 @@
         <el-table-column type="selection" :selectable="selectable" width="55" align="center" fixed
           v-if="selectionType" />
         <!-- 序号 -->
-        <el-table-column type="index" label="序号" align="center" :width="80" v-if="showIndex" />
+        <el-table-column type="index" :label="t('common.orderindex')" align="center" :width="80" v-if="showIndex" />
         <!-- 数据列 -->
         <template v-for="(item, index) in columns" :key="index">
           <el-table-column :align="item.align ?? 'center'" :min-width="120" :width="item.width"
-            :label="item.formatLabel ? item.formatLabel() : item.label" :prop="item.field" :fixed="item.fixed || false"
+            :label="item.formatLabel ? item.formatLabel() : t(item.label ?? '')" :prop="item.field" :fixed="item.fixed || false"
             :sortable="item.sortable" :show-overflow-tooltip="item.field !== 'operate'" v-if="item.show ?? true">
             <template #default="{ row, $index }">
               <slot :name="item.field" :row="row" :value="row[item.field]" :index="$index">
@@ -56,6 +56,7 @@
 <script lang="ts">
 import { defineComponent, shallowRef, PropType } from 'vue'
 import { handleNoneValue } from '@/filters'
+import { i18n } from '@/stores'
 import AppTableSetting from '../table-setting/index.vue'
 
 export default defineComponent({
@@ -89,6 +90,7 @@ export default defineComponent({
     const showTableSetting = shallowRef(false)
     const refresh = () => emit('refresh')
     const updateColumn = (value: Model.TableColumn[]) => emit('update:columns', value)
+    const { global: { t } } = i18n
 
     // 当某一行被勾选时触发的事件
     const onSelect = (selection: unknown[], currentRow: unknown) => {

+ 1 - 1
src/packages/pc/components/base/upload/index.vue

@@ -9,7 +9,7 @@
                 </div>
             </template>
             <slot>
-                <el-button type="primary">上传</el-button>
+                <el-button type="primary">{{ t('operate.upload') }}</el-button>
             </slot>
         </el-upload>
         <el-image-viewer :url-list="imageList" :initial-index="imageIndex" @close="onViewerClose" v-if="showViewer"

+ 2 - 2
src/packages/pc/components/modules/trade/index.vue

@@ -5,8 +5,8 @@
       {{ record }}
     </template>
     <template #footer>
-      <el-button @click="cancel">取消</el-button>
-      <el-button @click="cancel" type="primary">提交</el-button>
+      <el-button @click="cancel">{{ t('operate.cancel') }}</el-button>
+      <el-button @click="cancel" type="primary">{{ t('operate.submit') }}</el-button>
     </template>
   </app-drawer>
 </template>

+ 31 - 28
src/packages/pc/views/account/tradeacct/components/bankinout/index.vue

@@ -1,73 +1,73 @@
 <!-- 自营管理-资金账户管理-出入金 -->
 <template>
-    <app-drawer title="出入金" width="900" v-model:show="show" :refresh="refresh" :loading="loading">
+    <app-drawer :title="t('account.tradeacct.bankinout.title')" width="900" v-model:show="show" :refresh="refresh" :loading="loading">
         <el-form ref="formRef" class="el-form--horizontal" label-width="140px" :model="formData" :rules="formRules"
             :show-message="false">
             <fieldset class="g-fieldset el-form--horizontal">
-                <legend class="g-fieldset__legend">基本信息</legend>
-                <el-form-item label="资金账号">
+                <legend class="g-fieldset__legend">{{ t('common.baseinfo') }}</legend>
+                <el-form-item :label="t('account.tradeacct.bankinout.accountId')">
                     {{ record.accountId }}
                 </el-form-item>
-                <el-form-item label="可出金额">
+                <el-form-item :label="t('account.tradeacct.bankinout.enableAmount')">
                     {{ data?.money ?? 0 }}
                 </el-form-item>
-                <el-form-item label="出入金" prop="type">
+                <el-form-item :label="t('account.tradeacct.bankinout.inOutAmount')" prop="type">
                     <el-radio-group v-model="formData.type">
-                        <el-radio label="出金" :value="1" />
-                        <el-radio label="入金" :value="2" />
+                        <el-radio :label="t('account.tradeacct.bankinout.outAmount')" :value="1" />
+                        <el-radio :label="t('account.tradeacct.bankinout.inAmount')" :value="2" />
                     </el-radio-group>
                 </el-form-item>
-                <el-form-item label="金额" prop="money">
-                    <el-input-number v-model="formData.money" placeholder="请输入" />
+                <el-form-item :label="t('account.tradeacct.bankinout.amount')" prop="money">
+                    <el-input-number v-model="formData.money" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
-                <el-form-item label="托管银行" prop="cusbankid">
-                    <el-select v-model="selectedBank" placeholder="请选择" value-key="cusbankid" @change="onBankChange">
+                <el-form-item :label="t('account.tradeacct.bankinout.cusbankid')" prop="cusbankid">
+                    <el-select v-model="selectedBank" :placeholder="t('common.pleasechoice')" value-key="cusbankid" @change="onBankChange">
                         <el-option v-for="item in bankList" :key="item.cusbankid" :label="item.cusbankname"
                             :value="item" />
                     </el-select>
                 </el-form-item>
-                <el-form-item label="资金密码" prop="accpwd">
-                    <el-input type="password" v-model="formData.accpwd" placeholder="请输入" />
+                <el-form-item :label="t('account.tradeacct.bankinout.accpwd')" prop="accpwd">
+                    <el-input type="password" v-model="formData.accpwd" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <template v-if="selectedBank">
-                    <el-form-item label="账户类型">
+                    <el-form-item :label="t('account.tradeacct.bankinout.accounttype')">
                         {{ selectedBank.accounttype }}
                     </el-form-item>
-                    <el-form-item label="证件类型">
+                    <el-form-item :label="t('account.tradeacct.bankinout.cardtype')">
                         {{ selectedBank.cardtype }}
                     </el-form-item>
-                    <el-form-item label="证件号码">
+                    <el-form-item :label="t('account.tradeacct.bankinout.cardno')">
                         {{ selectedBank.cardno }}
                     </el-form-item>
-                    <el-form-item label="开户银行">
+                    <el-form-item :label="t('account.tradeacct.bankinout.bankname')">
                         {{ selectedBank.bankname }}
                     </el-form-item>
-                    <el-form-item label="银行卡号">
+                    <el-form-item :label="t('account.tradeacct.bankinout.bankaccountno')">
                         {{ selectedBank.bankaccountno }}
                     </el-form-item>
-                    <el-form-item label="银行卡户名">
+                    <el-form-item :label="t('account.tradeacct.bankinout.bankaccountname')">
                         {{ selectedBank.bankaccountname }}
                     </el-form-item>
-                    <el-form-item label="手机号">
+                    <el-form-item :label="t('account.tradeacct.bankinout.mobilephone')">
                         {{ selectedBank.mobilephone }}
                     </el-form-item>
                 </template>
-                <el-form-item class="el-form-item--row" label="备注" prop="remark">
-                    <el-input type="textarea" v-model="formData.remark" maxlength="200" :rows="2" placeholder="请输入" />
+                <el-form-item class="el-form-item--row" :label="t('account.tradeacct.bankinout.remark')" prop="remark">
+                    <el-input type="textarea" v-model="formData.remark" maxlength="200" :rows="2" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
             </fieldset>
             <fieldset class="g-fieldset el-form--horizontal" v-if="expandableList.length">
-                <legend class="g-fieldset__legend">扩展信息</legend>
+                <legend class="g-fieldset__legend">{{ t('common.extendinfo') }}</legend>
                 <template v-for="(item, index) in expandableList" :key="index">
                     <el-form-item :label="item.fieldname" :prop="item.fieldcode">
-                        <el-input v-model="formData.extendInfo[item.fieldcode]" maxlength="50" placeholder="请输入" />
+                        <el-input v-model="formData.extendInfo[item.fieldcode]" maxlength="50" :placeholder="t('common.pleaseenter')" />
                     </el-form-item>
                 </template>
             </fieldset>
         </el-form>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">提交</el-button>
+            <el-button @click="onCancel(false)">{{ t('operation.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operation.submit') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -80,6 +80,7 @@ import { useRequest } from '@/hooks/request'
 import { inOrOutAmount } from '@/services/api/account'
 import { getBankAccountSign, queryMoney, queryBooleanForAmount } from '@/services/api/bank'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -88,6 +89,8 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
+
 const formRef = shallowRef<FormInstance>()
 const show = shallowRef(true)
 const refresh = shallowRef(false)
@@ -168,10 +171,10 @@ const onSubmit = () => {
             inOrOutAmount({
                 data: rawData
             }).then(() => {
-                ElMessage.success('提交成功')
+                ElMessage.success(t('common.tips1'))
                 onCancel(true)
             }).catch((err) => {
-                ElMessage.error('提交失败:' + err)
+                ElMessage.error(t('common.tips2') + err)
             }).finally(() => {
                 loading.value = false
             })

+ 20 - 17
src/packages/pc/views/account/tradeacct/components/bankstatement/index.vue

@@ -7,12 +7,12 @@
             </template>
             <app-table :data="dataList" :columns="tableColumns" :loading="loading">
                 <template #headerLeft>
-                    <span>资金账户:{{ record.accountId }}</span>
+                    <span>{{ t('account.tradeacct.bankstatement.accountId') }}:{{ record.accountId }}</span>
                 </template>
                 <template #headerRight>
                     <div>
-                        <el-button type="primary">导出</el-button>
-                        <el-button @click="emit('closed')">关闭</el-button>
+                        <el-button type="primary">{{ t('operation.export') }}</el-button>
+                        <el-button @click="emit('closed')">{{ t('operation.close') }}</el-button>
                     </div>
                 </template>
                 <template #footer>
@@ -33,6 +33,7 @@ import { queryAmountStream } from '@/services/api/account'
 import AppTable from '@pc/components/base/table/index.vue'
 import AppFilter from '@pc/components/base/table-filter/index.vue'
 import AppPagination from '@pc/components/base/pagination/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -41,6 +42,8 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
+
 const emit = defineEmits(['closed'])
 
 const { filterOptons, getQueryParams } = useDataFilter<Model.AmountStreamReq>()
@@ -58,33 +61,33 @@ const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryA
 })
 
 const tableColumns = shallowRef<Model.TableColumn[]>([
-    { field: 'operateType', label: '操作类型' },
-    { field: 'relationOrderId', label: '关联单号' },
-    { field: 'marketName', label: '市场' },
-    { field: 'goodsName', label: '商品' },
-    { field: 'amount', label: '金额' },
-    { field: 'balance', label: '期初余额' },
-    { field: 'currentBalance', label: '期末余额' },
-    { field: 'createTime', label: '记账时间' },
-    { field: 'amountAdjustTypeName', label: '资金调整类型' },
+    { field: 'operateType', label: 'account.tradeacct.bankstatement.operateType' },
+    { field: 'relationOrderId', label: 'account.tradeacct.bankstatement.relationOrderId' },
+    { field: 'marketName', label: 'account.tradeacct.bankstatement.marketName' },
+    { field: 'goodsName', label: 'account.tradeacct.bankstatement.goodsName' },
+    { field: 'amount', label: 'account.tradeacct.bankstatement.amount' },
+    { field: 'balance', label: 'account.tradeacct.bankstatement.balance' },
+    { field: 'currentBalance', label: 'account.tradeacct.bankstatement.currentBalance' },
+    { field: 'createTime', label: 'account.tradeacct.bankstatement.createTime' },
+    { field: 'amountAdjustTypeName', label: 'account.tradeacct.bankstatement.amountAdjustTypeName' },
 ])
 
 filterOptons.selectList = [
     {
         key: 'logType',
-        label: '流水类型',
+        label: t('account.tradeacct.bankstatement.logType'),
         selectedValue: 1,
         locked: true,
         options: () => [
-            { label: '当前', value: 1 },
-            { label: '历史', value: 2 },
+            { label: t('common.current'), value: 1 },
+            { label: t('common.history'), value: 2 },
         ],
     },
 ]
 
 filterOptons.buttonList = [
-    { label: '查询', className: 'el-button--primary', onClick: () => onSearch() },
-    { label: '重置', className: 'el-button--primary', onClick: () => onSearch(true) }
+    { label: t('operation.search'), className: 'el-button--primary', onClick: () => onSearch() },
+    { label: t('operation.reset'), className: 'el-button--primary', onClick: () => onSearch(true) }
 ]
 
 const onSearch = (clear = false) => {

+ 26 - 23
src/packages/pc/views/account/tradeacct/components/details/index.vue

@@ -1,10 +1,10 @@
 <!-- 自营管理-资金账户管理-详情 -->
 <template>
-    <app-drawer title="详情" width="900" v-model:show="show">
+    <app-drawer :title="t('account.tradeacct.details.title')" width="900" v-model:show="show">
         <app-table-details :data="data" :label-width="160" :cell-props="detailProps" :column="2" />
         <app-table :data="data?.bankAccountsignList" :columns="tableColumns" v-if="data?.isMain === 1" />
         <template #footer>
-            <el-button @click="onCancel(false)">关闭</el-button>
+            <el-button @click="onCancel(false)">{{ t('operation.close') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -20,6 +20,7 @@ import { CellProp } from '@pc/components/base/table-details/types'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
 import AppTable from '@pc/components/base/table/index.vue'
 import AppTableDetails from '@pc/components/base/table-details/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -28,6 +29,8 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
+
 const show = shallowRef(true)
 const refresh = shallowRef(false)
 
@@ -52,30 +55,30 @@ const { data } = useRequest(queryTaAccountDetail, {
 })
 
 const detailProps: CellProp[] = [
-    { prop: 'accountId', label: '资金账户:' },
-    { prop: 'accountName', label: '所属机构:' },
-    { prop: 'isMain', label: '是否母账户:', formatValue: (val) => mainaccounttypeEnum.getEnumTypeName(val) },
-    { prop: 'currency', label: '币种:' },
-    { prop: 'taAccountType', label: '内外部:', formatValue: (val) => accounttypeEnum.getEnumTypeName(val) },
-    { prop: 'changeFlag', label: '变动标志:', formatValue: (val) => flagEnum.getEnumTypeName(val) },
-    { prop: 'tradeStatus', label: '交易状态:', formatValue: (val) => traderstatusEnum.getEnumTypeName(val) },
-    { prop: 'currentBalance', label: '期末余额:', decimal: 2 },
-    { prop: 'payCharge', label: '平台服务费:', decimal: 2 },
-    { prop: 'otherPay', label: '货款:', decimal: 2 },
-    { prop: 'otherFreezeMargin', label: '交割保证金:', decimal: 2 },
-    { prop: 'freezeMargin', label: '冻结保证金:', decimal: 2 },
-    { prop: 'usedMargin', label: '占用保证金:', decimal: 2 },
-    { prop: 'freezeCharge', label: '交易服务费冻结:', decimal: 2 },
-    { prop: 'outAmountFreeze', label: '出金冻结:', decimal: 2 },
-    { prop: 'outThreshold', label: '出金阈值:', decimal: 2 },
+    { prop: 'accountId', label: 'account.tradeacct.details.accountId' },
+    { prop: 'accountName', label: 'account.tradeacct.details.accountName' },
+    { prop: 'isMain', label: 'account.tradeacct.details.isMain', formatValue: (val) => mainaccounttypeEnum.getEnumTypeName(val) },
+    { prop: 'currency', label: 'account.tradeacct.details.currency' },
+    { prop: 'taAccountType', label: 'account.tradeacct.details.taAccountType', formatValue: (val) => accounttypeEnum.getEnumTypeName(val) },
+    { prop: 'changeFlag', label: 'account.tradeacct.details.changeFlag', formatValue: (val) => flagEnum.getEnumTypeName(val) },
+    { prop: 'tradeStatus', label: 'account.tradeacct.details.tradeStatus', formatValue: (val) => traderstatusEnum.getEnumTypeName(val) },
+    { prop: 'currentBalance', label: 'account.tradeacct.details.currentBalance', decimal: 2 },
+    { prop: 'payCharge', label: 'account.tradeacct.details.payCharge', decimal: 2 },
+    { prop: 'otherPay', label: 'account.tradeacct.details.otherPay', decimal: 2 },
+    { prop: 'otherFreezeMargin', label: 'account.tradeacct.details.otherFreezeMargin', decimal: 2 },
+    { prop: 'freezeMargin', label: 'account.tradeacct.details.freezeMargin', decimal: 2 },
+    { prop: 'usedMargin', label: 'account.tradeacct.details.usedMargin', decimal: 2 },
+    { prop: 'freezeCharge', label: 'account.tradeacct.details.freezeCharge', decimal: 2 },
+    { prop: 'outAmountFreeze', label: 'account.tradeacct.details.outAmountFreeze', decimal: 2 },
+    { prop: 'outThreshold', label: 'account.tradeacct.details.outThreshold', decimal: 2 },
 ]
 
 const tableColumns = shallowRef<Model.TableColumn[]>([
-    { field: 'cusBankName', label: '银行业务编号' },
-    { field: 'bankName', label: '开户银行' },
-    { field: 'bankAccountName', label: '银行卡户名', formatValue: (val) => decryptAES(val) },
-    { field: 'bankAccountNo', label: '银行卡号', formatValue: (val) => decryptAES(val) },
-    { field: 'signStatus', label: '签约状态', formatValue: (val) => signstatusEnum.getEnumTypeName(val) }
+    { field: 'cusBankName', label: 'account.tradeacct.details.cusBankName' },
+    { field: 'bankName', label: 'account.tradeacct.details.bankName' },
+    { field: 'bankAccountName', label: 'account.tradeacct.details.bankAccountName', formatValue: (val) => decryptAES(val) },
+    { field: 'bankAccountNo', label: 'account.tradeacct.details.bankAccountNo', formatValue: (val) => decryptAES(val) },
+    { field: 'signStatus', label: 'account.tradeacct.details.signStatus', formatValue: (val) => signstatusEnum.getEnumTypeName(val) }
 ])
 
 const onCancel = (isRefresh = false) => {

+ 17 - 14
src/packages/pc/views/account/tradeacct/components/password/index.vue

@@ -1,29 +1,29 @@
 <!-- 自营管理-资金账户管理-修改密码 -->
 <template>
-    <app-drawer title="修改资金密码" width="480" v-model:show="show" :refresh="refresh" :loading="loading">
+    <app-drawer :title="t('account.tradeacct.password.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('account.tradeacct.password.accountId')">
                 {{ record.accountId }}
             </el-form-item>
-            <el-form-item label="旧密码" prop="oldPwd">
-                <el-input type="password" v-model="formData.oldPwd" placeholder="请输入" />
+            <el-form-item :label="t('account.tradeacct.password.oldPwd')" prop="oldPwd">
+                <el-input type="password" v-model="formData.oldPwd" :placeholder="t('common.pleaseenter')" />
             </el-form-item>
-            <el-form-item label="新密码" prop="newPwd">
+            <el-form-item :label="t('account.tradeacct.password.newPwd')" prop="newPwd">
                 <el-popover placement="top" trigger="click" :width="244" :hide-after="0"
                     :content="validateRules.password.message">
                     <template #reference>
-                        <el-input type="password" v-model="formData.newPwd" maxlength="50" placeholder="请输入" />
+                        <el-input type="password" v-model="formData.newPwd" maxlength="50" :placeholder="t('common.pleaseenter')" />
                     </template>
                 </el-popover>
             </el-form-item>
-            <el-form-item label="新密码确认" prop="confirmPassword">
-                <el-input type="password" v-model="formData.confirmPassword" maxlength="50" placeholder="请输入" />
+            <el-form-item :label="t('account.tradeacct.password.confirmPassword')" prop="confirmPassword">
+                <el-input type="password" v-model="formData.confirmPassword" maxlength="50" :placeholder="t('common.pleaseenter')" />
             </el-form-item>
         </el-form>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">提交</el-button>
+            <el-button @click="onCancel(false)">{{ t('operation.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operation.submit') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -35,6 +35,7 @@ import { validateRules } from '@/constants/regex'
 import { updateTaAccountPwd } from '@/services/api/account'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
 import cryptojs from 'crypto-js'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -43,6 +44,8 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
+
 const formRef = ref<FormInstance>()
 const show = ref(true)
 const refresh = ref(false)
@@ -65,7 +68,7 @@ const formRules: FormRules = {
             if (validateRules.password.validate(value)) {
                 callback()
             } else {
-                callback(new Error('不符合密码规则'))
+                callback(new Error(t('account.tradeacct.password.tips1')))
             }
         },
     }],
@@ -76,7 +79,7 @@ const formRules: FormRules = {
             if (value === formData.value.newPwd) {
                 callback()
             } else {
-                callback(new Error('新密码和确认密码不一致'))
+                callback(new Error(t('account.tradeacct.password.tips2')))
             }
         },
     }]
@@ -99,10 +102,10 @@ const onSubmit = () => {
             updateTaAccountPwd({
                 data: rawData
             }).then(() => {
-                ElMessage.success('修改成功')
+                ElMessage.success(t('common.tips1'))
                 onCancel(true)
             }).catch((err) => {
-                ElMessage.error('修改失败:' + err)
+                ElMessage.error(t('common.tips2') + err)
             }).finally(() => {
                 loading.value = false
             })

+ 20 - 18
src/packages/pc/views/account/tradeacct/components/sign/cancel/index.vue

@@ -1,13 +1,13 @@
 <!-- 自营管理-资金账户管理-银行签约信息-解约 -->
 <template>
-    <app-drawer title="解约/解绑" width="900" v-model:show="show" :refresh="refresh" :loading="loading">
-        <app-table-details title="基本信息" :data="formData" :label-width="200" :cell-props="detailProps1" :column="2" />
-        <app-table-details title="扩展信息" :data="formData.extend" :label-width="200" :cell-props="detailProps2"
+    <app-drawer :title="t('account.tradeacct.sign.cancel.title')" width="900" v-model:show="show" :refresh="refresh" :loading="loading">
+        <app-table-details :title="t('common.baseinfo')" :data="formData" :label-width="200" :cell-props="detailProps1" :column="2" />
+        <app-table-details :title="t('common.extendinfo')" :data="formData.extend" :label-width="200" :cell-props="detailProps2"
             :column="2" v-if="expandableList.length" />
         <template #footer>
-            <el-button @click="onCancel(false)">关闭</el-button>
-            <el-button type="primary" @click="onSubmit(1)" v-if="selectedItem.canBindCard === 1">解绑</el-button>
-            <el-button type="primary" @click="onSubmit(2)">解约</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.close') }}</el-button>
+            <el-button type="primary" @click="onSubmit(1)" v-if="selectedItem.canBindCard === 1">{{ t('account.tradeacct.sign.cancel.broker') }}</el-button>
+            <el-button type="primary" @click="onSubmit(2)">{{ t('account.tradeacct.sign.cancel.unbind') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -22,6 +22,7 @@ import { queryBooleanForAmount } from '@/services/api/bank'
 import { CellProp } from '@pc/components/base/table-details/types'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
 import AppTableDetails from '@pc/components/base/table-details/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     selectedItem: {
@@ -30,6 +31,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const show = shallowRef(true)
 const refresh = shallowRef(false)
 
@@ -78,14 +80,14 @@ const { dataList: expandableList, run: getExpandableList } = useRequest(queryBoo
 })
 
 const detailProps1: CellProp[] = [
-    { prop: 'accounttype', label: '账户类型:', formatValue: (val) => val === 1 ? '个人' : '企业' },
-    { prop: 'certtype', label: '证件类型:' },
-    { prop: 'cusbankid', label: '托管银行:', formatValue: () => props.selectedItem.cusBankName },
-    { prop: 'certid', label: '证件号码:' },
-    { prop: 'exbankname', label: '开户银行:' },
-    { prop: 'bankaccountno', formatLabel: () => formData.accounttype === 1 ? '银行帐号:' : '对公账号:' },
-    { prop: 'bankaccountname', label: '银行卡户主名:' },
-    { prop: 'mobilephone', label: '手机号:' },
+    { prop: 'accounttype', label: 'account.tradeacct.sign.cancel.accounttype', formatValue: (val) => val === 1 ? 'account.tradeacct.sign.cancel.person' : 'account.tradeacct.sign.cancel.companny' },
+    { prop: 'certtype', label: 'account.tradeacct.sign.cancel.certtype' },
+    { prop: 'cusbankid', label: 'account.tradeacct.sign.cancel.cusbankid', formatValue: () => props.selectedItem.cusBankName },
+    { prop: 'certid', label: 'account.tradeacct.sign.cancel.certid' },
+    { prop: 'exbankname', label: 'account.tradeacct.sign.cancel.exbankname' },
+    { prop: 'bankaccountno', formatLabel: () => formData.accounttype === 1 ? 'account.tradeacct.sign.cancel.bankaccountno' : 'account.tradeacct.sign.cancel.bankaccountno1' },
+    { prop: 'bankaccountname', label: 'account.tradeacct.sign.cancel.bankaccountname' },
+    { prop: 'mobilephone', label: 'account.tradeacct.sign.cancel.mobilephone' },
 ]
 
 const detailProps2 = computed<CellProp[]>(() => expandableList.value.map((e) => ({
@@ -100,8 +102,8 @@ const onCancel = (isRefresh = false) => {
 
 const onSubmit = (flag: number) => {
     ElMessageBox.confirm(
-        `确认要发起${flag === 1 ? '解绑' : '解约'}吗?`,
-        '提示'
+        flag === 1 ? t('account.tradeacct.sign.cancel.tips1') : t('account.tradeacct.sign.cancel.tips2'),
+        t('common.alert')
     ).then(() => {
         const rawData = toRaw(formData)
         loading.value = true
@@ -117,10 +119,10 @@ const onSubmit = (flag: number) => {
         dealAccountSign({
             data: rawData
         }).then(() => {
-            ElMessage.success('保存成功')
+            ElMessage.success(t('common.tips3'))
             onCancel(true)
         }).catch((err) => {
-            ElMessage.error('保存失败:' + err)
+            ElMessage.error(t('common.tips4') + err)
         }).finally(() => {
             loading.value = false
         })

+ 11 - 9
src/packages/pc/views/account/tradeacct/components/sign/edit/index.vue

@@ -1,6 +1,6 @@
 <!-- 自营管理-资金账户管理-银行签约信息-编辑 -->
 <template>
-    <app-drawer title="编辑" width="900" v-model:show="show" :refresh="refresh" :loading="loading">
+    <app-drawer :title="t('account.tradeacct.sign.edit.title')" width="900" v-model:show="show" :refresh="refresh" :loading="loading">
         <el-form ref="formRef" class="el-form--horizontal" label-width="140px" :model="formData" :rules="formRules"
             :show-message="false">
             <fieldset class="g-fieldset el-form--horizontal">
@@ -23,27 +23,27 @@
                 </el-form-item>
                 <el-form-item :label="userInfo.userinfotype === UserInfoType.Personal ? '银行帐号' : '对公账号'"
                     prop="bankaccountno" v-if="userInfo">
-                    <el-input v-model="formData.bankaccountno" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.bankaccountno" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="银行卡户主名" prop="bankaccountname">
-                    <el-input v-model="formData.bankaccountname" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.bankaccountname" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="手机号" prop="mobilephone">
-                    <el-input type="number" v-model="formData.mobilephone" maxlength="50" placeholder="请输入" />
+                    <el-input type="number" v-model="formData.mobilephone" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
             </fieldset>
             <fieldset class="g-fieldset el-form--horizontal" v-if="expandableList.length">
                 <legend class="g-fieldset__legend">扩展信息</legend>
                 <template v-for="(item, index) in expandableList" :key="index">
                     <el-form-item :label="item.fieldname" :prop="item.fieldcode">
-                        <el-input v-model="formData.extend[item.fieldcode]" maxlength="50" placeholder="请输入" />
+                        <el-input v-model="formData.extend[item.fieldcode]" maxlength="50" :placeholder="t('common.pleaseenter')" />
                     </el-form-item>
                 </template>
             </fieldset>
         </el-form>
         <template #footer>
-            <el-button @click="onCancel(false)">关闭</el-button>
-            <el-button type="primary" @click="onSubmit">提交</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.close') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.submit') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -56,6 +56,7 @@ import { handleNoneValue } from '@/filters'
 import { useRequest } from '@/hooks/request'
 import { getSignBankById, queryCommonFlag, dealAccountSign } from '@/services/api/account'
 import { getUserInfoTypeName, UserInfoType } from '@/constants/member'
+import { i18n } from '@/stores'
 import { queryBooleanForAmount } from '@/services/api/bank'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
 import AppSelectBank from '@pc/components/modules/select-bank/index.vue'
@@ -71,6 +72,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const formRef = shallowRef<FormInstance>()
 const show = shallowRef(true)
 const refresh = shallowRef(false)
@@ -192,10 +194,10 @@ const onSubmit = () => {
             dealAccountSign({
                 data: rawData
             }).then(() => {
-                ElMessage.success('保存成功')
+                ElMessage.success(t('common.tips3'))
                 onCancel(true)
             }).catch((err) => {
-                ElMessage.error('保存失败:' + err)
+                ElMessage.error(t('common.tips4') + err)
             }).finally(() => {
                 loading.value = false
             })

+ 20 - 17
src/packages/pc/views/account/tradeacct/components/sign/index.vue

@@ -4,12 +4,12 @@
         <app-view>
             <app-table :data="dataList" :columns="tableColumns" :loading="loading">
                 <template #headerLeft>
-                    <span>资金账户:{{ record.accountId }}</span>
+                    <span>{{ t('account.tradeacct.sign.accountId') }}{{ record.accountId }}</span>
                 </template>
                 <template #headerRight>
                     <div>
-                        <el-button type="primary" @click="showComponent('Edit')">新增</el-button>
-                        <el-button @click="emit('closed')">关闭</el-button>
+                        <el-button type="primary" @click="showComponent('Edit')">{{ t('operation.add') }}</el-button>
+                        <el-button @click="emit('closed')">{{ t('operation.close') }}</el-button>
                     </div>
                 </template>
                 <!-- 操作 -->
@@ -40,6 +40,7 @@ import { useComponent } from '@/hooks/component'
 import { queryAccountSign } from '@/services/api/account'
 import AppTable from '@pc/components/base/table/index.vue'
 import AppPagination from '@pc/components/base/pagination/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -57,6 +58,8 @@ const emit = defineEmits(['closed'])
 const signstatusEnum = useEnum('signstatus') // 签约状态
 const selectedItem = shallowRef<Model.AccountSignRsp>()
 
+const { global: { t } } = i18n
+
 const { componentRef, componentId, openComponent, closeComponent } = useComponent(() => run())
 
 const { filterOptons, getQueryParams } = useDataFilter<Model.TaAccountReq>()
@@ -73,28 +76,28 @@ const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryA
 })
 
 const tableColumns = shallowRef<Model.TableColumn[]>([
-    { field: 'accountName', label: '客户名称', formatValue: (val) => decryptAES(val) },
-    { field: 'cusBankName', label: '托管银行' },
-    { field: 'bankAccountNo', label: '对公账号', formatValue: (val) => decryptAES(val) },
-    { field: 'bankChildAccount', label: '银行子账号' },
-    { field: 'bankAccountName', label: '银行账户名称', formatValue: (val) => decryptAES(val) },
-    { field: 'bankName', label: '开户银行' },
-    { field: 'cardType', label: '证件类型' },
-    { field: 'cardNo', label: '证件号码', formatValue: (val) => decryptAES(val) },
-    { field: 'currency', label: '币种' },
-    { field: 'signStatus', label: '签约状态', formatValue: (val) => signstatusEnum.getEnumTypeName(val) },
-    { field: 'operate', label: '操作', width: 220, fixed: 'right' }
+    { field: 'accountName', label: 'account.tradeacct.sign.accountName', formatValue: (val) => decryptAES(val) },
+    { field: 'cusBankName', label: 'account.tradeacct.sign.cusBankName' },
+    { field: 'bankAccountNo', label: 'account.tradeacct.sign.bankAccountNo', formatValue: (val) => decryptAES(val) },
+    { field: 'bankChildAccount', label: 'account.tradeacct.sign.bankChildAccount' },
+    { field: 'bankAccountName', label: 'account.tradeacct.sign.bankAccountName', formatValue: (val) => decryptAES(val) },
+    { field: 'bankName', label: 'account.tradeacct.sign.bankName' },
+    { field: 'cardType', label: 'account.tradeacct.sign.cardType' },
+    { field: 'cardNo', label: 'account.tradeacct.sign.cardNo', formatValue: (val) => decryptAES(val) },
+    { field: 'currency', label: 'account.tradeacct.sign.currency' },
+    { field: 'signStatus', label: 'account.tradeacct.sign.signStatus', formatValue: (val) => signstatusEnum.getEnumTypeName(val) },
+    { field: 'operate', label: 'common.operate', width: 220, fixed: 'right' }
 ])
 
 filterOptons.inputList = [
     {
-        label: '资金账户', keys: ['accountId']
+        label: t('account.tradeacct.sign.accountId1'), keys: ['accountId']
     }
 ]
 
 filterOptons.buttonList = [
-    { label: '查询', className: 'el-button--primary', onClick: () => onSearch() },
-    { label: '重置', className: 'el-button--primary', onClick: () => onSearch(true) }
+    { label: t('operation.search'), className: 'el-button--primary', onClick: () => onSearch() },
+    { label: t('operation.reset'), className: 'el-button--primary', onClick: () => onSearch(true) }
 ]
 
 const showComponent = (code: string, row?: Model.AccountSignRsp) => {

+ 15 - 12
src/packages/pc/views/account/tradeacct/index.vue

@@ -32,6 +32,7 @@ import AppTable from '@pc/components/base/table/index.vue'
 import AppFilter from '@pc/components/base/table-filter/index.vue'
 import AppPagination from '@pc/components/base/pagination/index.vue'
 import AppOperation from '@pc/components/base/operation/index.vue'
+import { i18n } from '@/stores'
 
 // 账户类型
 const mainaccounttypeEnum = useEnum('mainaccounttype')
@@ -40,6 +41,8 @@ const accounttypeEnum = useEnum('accounttype')
 // 交易状态
 const traderstatusEnum = useEnum('traderstatus')
 
+const { global: { t } } = i18n
+
 const { filterOptons, getQueryParams } = useDataFilter<Model.TaAccountReq>()
 
 const { componentMap, componentId, record, openComponent, closeComponent, getFilteredButtons } = useOperation<Model.TaAccountRsp>({
@@ -57,26 +60,26 @@ const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryT
 })
 
 const tableColumns = shallowRef<Model.TableColumn[]>([
-    { field: 'accountId', label: '资金账号' },
-    { field: 'isMain', label: '账户类型', formatValue: (val) => mainaccounttypeEnum.getEnumTypeName(val) },
-    { field: 'taAccountType', label: '内/外部', formatValue: (val) => accounttypeEnum.getEnumTypeName(val) },
-    { field: 'relatedName', label: '关联账户' },
-    { field: 'parentAccountId', label: '所属母账户' },
-    { field: 'tradeStatus', label: '交易状态', formatValue: (val) => traderstatusEnum.getEnumTypeName(val) },
-    { field: 'currency', label: '币种' },
-    { field: 'accountName', label: '所属用户' },
-    { field: 'operate', label: '操作', width: 220, fixed: 'right' }
+    { field: 'accountId', label: 'account.tradeacct.accountId' },
+    { field: 'isMain', label: 'account.tradeacct.isMain', formatValue: (val) => mainaccounttypeEnum.getEnumTypeName(val) },
+    { field: 'taAccountType', label: 'account.tradeacct.taAccountType', formatValue: (val) => accounttypeEnum.getEnumTypeName(val) },
+    { field: 'relatedName', label: 'account.tradeacct.relatedName' },
+    { field: 'parentAccountId', label: 'account.tradeacct.parentAccountId' },
+    { field: 'tradeStatus', label: 'account.tradeacct.tradeStatus', formatValue: (val) => traderstatusEnum.getEnumTypeName(val) },
+    { field: 'currency', label: 'account.tradeacct.currency' },
+    { field: 'accountName', label: 'account.tradeacct.accountName' },
+    { field: 'operate', label: 'common.operate', width: 220, fixed: 'right' }
 ])
 
 filterOptons.inputList = [
     {
-        label: '资金账户', keys: ['accountId']
+        label: t('account.tradeacct.accountId'), keys: ['accountId']
     }
 ]
 
 filterOptons.buttonList = [
-    { label: '查询', className: 'el-button--primary', onClick: () => onSearch() },
-    { label: '重置', className: 'el-button--primary', onClick: () => onSearch(true) }
+    { label: t('operation.search'), className: 'el-button--primary', onClick: () => onSearch() },
+    { label: t('operation.reset'), className: 'el-button--primary', onClick: () => onSearch(true) }
 ]
 
 const onSearch = (clear = false) => {

+ 6 - 4
src/packages/pc/views/admin/role/components/delete/index.vue

@@ -3,8 +3,8 @@
     <app-drawer title="提示" v-model:show="show" :loading="loading" :refresh="refresh">
         <div class="g-text-message">是否删除该角色?</div>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">确认</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.confirm') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -14,6 +14,7 @@ import { shallowRef, PropType } from 'vue'
 import { ElMessage } from 'element-plus'
 import { deleteRoleMenus } from '@/services/api/admin'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -22,6 +23,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const show = shallowRef(true)
 const refresh = shallowRef(false)
 const loading = shallowRef(false)
@@ -38,10 +40,10 @@ const onSubmit = () => {
             autoid: props.record.autoid
         }
     }).then(() => {
-        ElMessage.success('删除成功')
+        ElMessage.success(t('common.tips5'))
         onCancel(true)
     }).catch((err) => {
-        ElMessage.error('删除失败:' + err)
+        ElMessage.error(t('common.tips6') + err)
         onCancel()
     }).finally(() => {
         loading.value = false

+ 7 - 6
src/packages/pc/views/admin/role/components/edit/index.vue

@@ -4,7 +4,7 @@
         <el-form ref="formRef" class="el-form--vertical" label-width="90px" :model="formData" :rules="formRules"
             :show-message="false">
             <el-form-item label="角色名称" prop="rolename">
-                <el-input v-model="formData.rolename" placeholder="请输入" :disabled="!!record?.autoid" />
+                <el-input v-model="formData.rolename" :placeholder="t('common.pleaseenter')" :disabled="!!record?.autoid" />
             </el-form-item>
             <el-form-item label="敏感词权限" prop="sensitivefields">
                 <el-checkbox-group v-model="checkedValue">
@@ -21,8 +21,8 @@
             </el-form-item>
         </el-form>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">提交</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.submit') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -33,7 +33,7 @@ import { ElMessage, FormInstance, FormRules } from 'element-plus'
 import type Node from 'element-plus/es/components/tree/src/model/node'
 import { useRequest } from '@/hooks/request'
 import { dealRoleMenus, queryDetail } from '@/services/api/admin'
-import { useRouterStore } from '@/stores'
+import { useRouterStore, i18n } from '@/stores'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
 
 const props = defineProps({
@@ -44,6 +44,7 @@ const props = defineProps({
 
 const routerStore = useRouterStore()
 const treeRef = ref()
+const { global: { t } } = i18n
 const formRef = ref<FormInstance>()
 const show = ref(true)
 const refresh = ref(false)
@@ -128,10 +129,10 @@ const onSubmit = () => {
             dealRoleMenus({
                 data: rawData
             }).then(() => {
-                ElMessage.success('保存成功')
+                ElMessage.success(t('common.tips3'))
                 onCancel(true)
             }).catch((err) => {
-                ElMessage.error('保存失败:' + err)
+                ElMessage.error(t('common.tips4') + err)
             }).finally(() => {
                 loading.value = false
             })

+ 10 - 8
src/packages/pc/views/admin/user/components/edit/index.vue

@@ -4,14 +4,14 @@
         <el-form ref="formRef" class="el-form--vertical" label-width="80px" :model="formData" :rules="formRules"
             :show-message="false">
             <el-form-item label="登录账号" prop="logincode">
-                <el-input v-model="formData.logincode" maxlength="50" placeholder="请输入"
+                <el-input v-model="formData.logincode" maxlength="50" :placeholder="t('common.pleaseenter')"
                     :disabled="!!record?.autoid" />
             </el-form-item>
             <el-form-item label="默认密码" prop="password" v-if="!record?.autoid">
-                <el-input v-model="formData.password" placeholder="请输入" disabled />
+                <el-input v-model="formData.password" :placeholder="t('common.pleaseenter')" disabled />
             </el-form-item>
             <el-form-item label="用户名称" prop="username">
-                <el-input v-model="formData.username" maxlength="50" placeholder="请输入" />
+                <el-input v-model="formData.username" maxlength="50" :placeholder="t('common.pleaseenter')" />
             </el-form-item>
             <el-form-item label="角色" prop="roleId">
                 <el-select v-model="formData.roleId" placeholder="请选择">
@@ -21,12 +21,12 @@
                 </el-select>
             </el-form-item>
             <el-form-item label="备注" prop="remark">
-                <el-input type="textarea" v-model="formData.remark" maxlength="200" :rows="2" placeholder="请输入" />
+                <el-input type="textarea" v-model="formData.remark" maxlength="200" :rows="2" :placeholder="t('common.pleaseenter')" />
             </el-form-item>
         </el-form>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">提交</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.submit') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -37,6 +37,7 @@ import { ElMessage, FormInstance, FormRules } from 'element-plus'
 import { useRequest } from '@/hooks/request'
 import { dealUserMsg, querySystemmanagerDetail, queryRoleByAdd } from '@/services/api/admin'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -44,6 +45,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const formRef = ref<FormInstance>()
 const show = ref(true)
 const refresh = ref(false)
@@ -85,10 +87,10 @@ const onSubmit = () => {
             dealUserMsg({
                 data: rawData
             }).then(() => {
-                ElMessage.success('保存成功')
+                ElMessage.success(t('common.tips3'))
                 onCancel(true)
             }).catch((err) => {
-                ElMessage.error('保存失败:' + err)
+                ElMessage.error(t('common.tips4') + err)
             }).finally(() => {
                 loading.value = false
             })

+ 6 - 4
src/packages/pc/views/admin/user/components/status/index.vue

@@ -3,8 +3,8 @@
     <app-drawer title="提示" v-model:show="show" :loading="loading" :refresh="refresh">
         <div class="g-text-message">{{ status.message }}</div>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">确认</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.confirm') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -14,6 +14,7 @@ import { shallowRef, PropType, computed } from 'vue'
 import { ElMessage } from 'element-plus'
 import { dealUserStatus } from '@/services/api/admin'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     code: String,
@@ -23,6 +24,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const show = shallowRef(true)
 const refresh = shallowRef(false)
 const loading = shallowRef(false)
@@ -71,10 +73,10 @@ const onSubmit = () => {
                 type: status.value.type
             }
         }).then(() => {
-            ElMessage.success('提交成功')
+            ElMessage.success(t('common.tips7'))
             onCancel(true)
         }).catch((err) => {
-            ElMessage.error('提交失败:' + err)
+            ElMessage.error(t('common.tips8') + err)
             onCancel()
         }).finally(() => {
             loading.value = false

+ 5 - 3
src/packages/pc/views/admin/user/index.vue

@@ -42,12 +42,14 @@ import { useOperation } from '@/hooks/operation'
 import { AdminStatus, getAdminStatusName, getAdminStatusList } from '@/constants/admin'
 import { querySystemmanager } from '@/services/api/admin'
 import { queryOrganSelect } from '@/services/api/common'
-import { useUserStore } from '@/stores'
+import { useUserStore, i18n } from '@/stores'
 import AppTable from '@pc/components/base/table/index.vue'
 import AppFilter from '@pc/components/base/table-filter/index.vue'
 import AppPagination from '@pc/components/base/pagination/index.vue'
 import AppOperation from '@pc/components/base/operation/index.vue'
 
+const { global: { t } } = i18n
+
 const userStore = useUserStore()
 
 // 是否显示树形下拉框
@@ -105,8 +107,8 @@ filterOptons.inputList = [
 ]
 
 filterOptons.buttonList = [
-    { label: '查询', className: 'el-button--primary', onClick: () => onSearch() },
-    { label: '重置', className: 'el-button--primary', onClick: () => onSearch(true) }
+    { label: t('operation.search'), className: 'el-button--primary', onClick: () => onSearch() },
+    { label: t('operation.reset'), className: 'el-button--primary', onClick: () => onSearch(true) }
 ]
 
 // 处理操作按钮

+ 6 - 2
src/packages/pc/views/auth/components/layout/index.vue

@@ -2,8 +2,8 @@
   <div class="sign-layout">
     <div class="sign-layout__wrapper">
       <div class="left">
-        <div>欢迎使用</div>
-        <div>MTP管理系统</div>
+        <div>{{ t('app.left1') }}</div>
+        <div>{{ t('app.left2') }}</div>
       </div>
       <div class="right">
         <div class="right-logo">
@@ -23,6 +23,8 @@
 
 <script lang="ts" setup>
 
+import { i18n } from '@/stores'
+
 defineProps({
   title: {
     type: String,
@@ -30,6 +32,8 @@ defineProps({
   },
 })
 
+const t = i18n.global.t
+
 const meta = document.getElementsByTagName('meta')
 const version = meta.namedItem('revised')?.content ?? '0'
 </script>

+ 11 - 9
src/packages/pc/views/auth/login/index.vue

@@ -1,15 +1,15 @@
 <template>
-  <sign-layout class="user-login" title="账号登录">
+  <sign-layout class="user-login" :title="t('auth.login.title')">
     <el-form ref="formRef" :model="formData" :rules="formRules">
       <el-form-item prop="accountCode">
-        <el-input placeholder="用户名/账号/手机号" v-model="formData.accountCode"></el-input>
+        <el-input :placeholder="t('auth.login.accountCode')" v-model="formData.accountCode"></el-input>
       </el-form-item>
       <el-form-item prop="password">
-        <el-input type="password" placeholder="请输入您的登录密码" v-model="formData.password">
+        <el-input type="password" :placeholder="t('auth.login.password')" v-model="formData.password">
         </el-input>
       </el-form-item>
       <el-form-item prop="verifyCode">
-        <el-input placeholder="请输入验证码" v-model="formData.verifyCode">
+        <el-input :placeholder="t('auth.login.verifyCode')" v-model="formData.verifyCode">
           <template #append>
             <img :src="verifyImage" />
           </template>
@@ -20,8 +20,8 @@
       </el-form-item> -->
       <el-form-item>
         <el-button class="submit" type="primary" :loading="loading" @click="formSubmit">
-          <span v-if="loading">正在登录</span>
-          <span v-else>登录</span>
+          <span v-if="loading">{{ t('auth.login.loading') }}</span>
+          <span v-else>{{ t('operation.login') }}</span>
         </el-button>
         <!-- <el-button>注册</el-button> -->
       </el-form-item>
@@ -35,7 +35,7 @@ import { useRoute, useRouter } from 'vue-router'
 import { ElMessage, FormInstance, FormRules } from 'element-plus'
 import { verifyCode } from '@/services/api/user'
 import { useLogin } from '@/business/login'
-import { useRouterStore } from '@/stores'
+import { useRouterStore, i18n } from '@/stores'
 import service from '@/services'
 import SignLayout from '../components/layout/index.vue'
 
@@ -48,12 +48,14 @@ const loading = shallowRef(false)
 //const remember = shallowRef(false) // 记住账号
 const verifyImage = shallowRef('') // 验证码图片
 
+const { global: { t } } = i18n
+
 const formRules: FormRules = {
   accountCode: [
-    { required: true, max: 20, message: '请输入', trigger: 'blur' }
+    { required: true, max: 20, message: t('common.pleaseenter'), trigger: 'blur' }
   ],
   password: [
-    { required: true, max: 32, message: '请输入', trigger: 'blur' }
+    { required: true, max: 32, message: t('common.pleaseenter'), trigger: 'blur' }
   ]
 }
 

+ 6 - 4
src/packages/pc/views/investor/custom/group/components/delete/index.vue

@@ -3,8 +3,8 @@
     <app-drawer title="提示" v-model:show="show" :loading="loading" :refresh="refresh">
         <div class="g-text-message">确认删除该分组?</div>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">确认</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.confirm') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -14,6 +14,7 @@ import { shallowRef, PropType } from 'vue'
 import { ElMessage } from 'element-plus'
 import { delInvest } from '@/services/api/investor'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -22,6 +23,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const show = shallowRef(true)
 const refresh = shallowRef(false)
 const loading = shallowRef(false)
@@ -38,10 +40,10 @@ const onSubmit = () => {
             autoid: props.record.autoid
         }
     }).then(() => {
-        ElMessage.success('删除成功')
+        ElMessage.success(t('common.tips5'))
         onCancel(true)
     }).catch((err) => {
-        ElMessage.error('删除失败:' + err)
+        ElMessage.error(t('common.tips6') + err)
         onCancel()
     }).finally(() => {
         loading.value = false

+ 7 - 6
src/packages/pc/views/investor/custom/group/components/edit/index.vue

@@ -8,7 +8,7 @@
                     <app-select-member v-model="formData.areauserid" usertype="2" placeholder="代码或名称模糊匹配" />
                 </el-form-item>
                 <el-form-item label="名称" prop="groupname">
-                    <el-input v-model="formData.groupname" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.groupname" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="风险率类型" prop="customertype">
                     <el-select v-model="formData.customertype" clearable>
@@ -23,8 +23,8 @@
         <app-table-details title="风险率信息" :data="selectedItem" :label-width="160" :cell-props="detailProps"
                 :column="2" v-if="selectedItem" />
         <template #footer>
-            <el-button @click="onCancel(false)">关闭</el-button>
-            <el-button type="primary" @click="onSubmit">保存</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.close') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.save') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -36,7 +36,7 @@ import { getConfirmationName } from '@/constants/common'
 import { useEnum } from '@/hooks/enum'
 import { addPersonalized, getRiskRatioTypeForMarketer } from '@/services/api/investor'
 import { CellProp } from '@pc/components/base/table-details/types'
-import { useUserStore } from '@/stores'
+import { i18n, useUserStore } from '@/stores'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
 import AppSelectMember from '@pc/components/modules/select-member/index.vue'
 import AppTableDetails from '@pc/components/base/table-details/index.vue'
@@ -51,6 +51,7 @@ const props = defineProps({
 const customerTypeEnum = useEnum('customerType')
 
 const userStore = useUserStore()
+const { global: { t } } = i18n
 const formRef = ref<FormInstance>()
 const show = ref(true)
 const refresh = ref(false)
@@ -110,10 +111,10 @@ const onSubmit = () => {
             addPersonalized({
                 data: formData.value
             }).then(() => {
-                ElMessage.success('保存成功')
+                ElMessage.success(t('common.tips3'))
                 onCancel(true)
             }).catch((err) => {
-                ElMessage.error('保存失败:' + err)
+                ElMessage.error(t('common.tips4') + err)
             }).finally(() => {
                 loading.value = false
             })

+ 6 - 4
src/packages/pc/views/investor/custom/group/components/user/delete/index.vue

@@ -3,8 +3,8 @@
     <app-drawer title="提示" v-model:show="show" :loading="loading" :refresh="refresh">
         <div class="g-text-message">确认将{{ selectedItem.userid }}移除分组吗?</div>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">确认</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.confirm') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -14,6 +14,7 @@ import { shallowRef, PropType } from 'vue'
 import { ElMessage } from 'element-plus'
 import { delInvestorForPer } from '@/services/api/investor'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     selectedItem: {
@@ -22,6 +23,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const show = shallowRef(true)
 const refresh = shallowRef(false)
 const loading = shallowRef(false)
@@ -38,10 +40,10 @@ const onSubmit = () => {
             userid: props.selectedItem.userid
         }
     }).then(() => {
-        ElMessage.success('删除成功')
+        ElMessage.success(t('common.tips5'))
         onCancel(true)
     }).catch((err) => {
-        ElMessage.error('删除失败:' + err)
+        ElMessage.error(t('common.tips6') + err)
         onCancel()
     }).finally(() => {
         loading.value = false

+ 6 - 4
src/packages/pc/views/investor/custom/group/components/user/edit/index.vue

@@ -8,8 +8,8 @@
             </template>
         </el-transfer>
         <template #footer>
-            <el-button @click="onCancel(false)">关闭</el-button>
-            <el-button type="primary" @click="onSubmit">提交</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.close') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.submit') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -20,6 +20,7 @@ import { ElMessage } from 'element-plus'
 import { useRequest } from '@/hooks/request'
 import { queryInvestorForPer, addInvestorForPer } from '@/services/api/investor'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -28,6 +29,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const show = shallowRef(true)
 const refresh = shallowRef(false)
 const loading = shallowRef(false)
@@ -55,10 +57,10 @@ const onSubmit = () => {
             usergroupid: props.record.autoid
         }
     }).then(() => {
-        ElMessage.success('保存成功')
+        ElMessage.success(t('common.tips3'))
         onCancel(true)
     }).catch((err) => {
-        ElMessage.error('保存失败:' + err)
+        ElMessage.error(t('common.tips4') + err)
     }).finally(() => {
         loading.value = false
     })

+ 7 - 4
src/packages/pc/views/investor/custom/group/components/user/index.vue

@@ -11,8 +11,8 @@
                 </template>
                 <template #headerRight>
                     <div style="display: flex;">
-                        <el-button type="primary" @click="showComponent('Edit')">新增</el-button>
-                        <el-button @click="emit('closed')">关闭</el-button>
+                        <el-button type="primary" @click="showComponent('Edit')">{{ t('operate.add') }}</el-button>
+                        <el-button @click="emit('closed')">{{ t('operate.close') }}</el-button>
                     </div>
                 </template>
                 <!-- 操作 -->
@@ -41,6 +41,9 @@ import { queryPersonalizedDetail } from '@/services/api/investor'
 import AppTable from '@pc/components/base/table/index.vue'
 import AppFilter from '@pc/components/base/table-filter/index.vue'
 import AppPagination from '@pc/components/base/pagination/index.vue'
+import { i18n } from '@/stores'
+
+const { global: { t } } = i18n
 
 const props = defineProps({
     record: {
@@ -86,8 +89,8 @@ filterOptons.inputList = [
 ]
 
 filterOptons.buttonList = [
-    { label: '查询', className: 'el-button--primary', onClick: () => onSearch() },
-    { label: '重置', className: 'el-button--primary', onClick: () => onSearch(true) }
+    { label: t('operation.search'), className: 'el-button--primary', onClick: () => onSearch() },
+    { label: t('operation.reset'), className: 'el-button--primary', onClick: () => onSearch(true) }
 ]
 
 const onSearch = (clear = false) => {

+ 5 - 2
src/packages/pc/views/investor/custom/group/index.vue

@@ -37,6 +37,9 @@ import AppTable from '@pc/components/base/table/index.vue'
 import AppFilter from '@pc/components/base/table-filter/index.vue'
 import AppPagination from '@pc/components/base/pagination/index.vue'
 import AppOperation from '@pc/components/base/operation/index.vue'
+import { i18n } from '@/stores'
+
+const { global: { t } } = i18n
 
 // 风险客户类别
 const customerTypeEnum = useEnum('customerType')
@@ -70,8 +73,8 @@ filterOptons.inputList = [
 ]
 
 filterOptons.buttonList = [
-    { label: '查询', className: 'el-button--primary', onClick: () => onSearch() },
-    { label: '重置', className: 'el-button--primary', onClick: () => onSearch(true) }
+    { label: t('operation.search'), className: 'el-button--primary', onClick: () => onSearch() },
+    { label: t('operation.reset'), className: 'el-button--primary', onClick: () => onSearch(true) }
 ]
 
 const onSearch = (clear = false) => {

+ 6 - 4
src/packages/pc/views/investor/custom/riskcfg/components/delete/index.vue

@@ -3,8 +3,8 @@
     <app-drawer title="提示" v-model:show="show" :loading="loading" :refresh="refresh">
         <div class="g-text-message">确认删除该配置?</div>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">确认</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.confirm') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -14,6 +14,7 @@ import { shallowRef, PropType } from 'vue'
 import { ElMessage } from 'element-plus'
 import { deleteConfig } from '@/services/api/investor'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -22,6 +23,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const show = shallowRef(true)
 const refresh = shallowRef(false)
 const loading = shallowRef(false)
@@ -38,10 +40,10 @@ const onSubmit = () => {
             accountid: props.record.accountid
         }
     }).then(() => {
-        ElMessage.success('删除成功')
+        ElMessage.success(t('common.tips5'))
         onCancel(true)
     }).catch((err) => {
-        ElMessage.error('删除失败:' + err)
+        ElMessage.error(t('common.tips6') + err)
         onCancel()
     }).finally(() => {
         loading.value = false

+ 1 - 1
src/packages/pc/views/investor/custom/riskcfg/components/details/index.vue

@@ -4,7 +4,7 @@
         <app-table-details title="基本信息设置" :data="record" :label-width="160" :cell-props="detailProps1" :column="2" />
         <app-table-details title="风险率信息" :data="data" :label-width="160" :cell-props="detailProps2" :column="2" />
         <template #footer>
-            <el-button @click="onCancel(false)">关闭</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.close') }}</el-button>
         </template>
     </app-drawer>
 </template>

+ 6 - 4
src/packages/pc/views/investor/custom/riskcfg/components/edit/index.vue

@@ -28,8 +28,8 @@
         <app-table-details title="风险率信息" :data="selectedItem" :label-width="160" :cell-props="detailProps" :column="2"
             v-if="selectedItem" />
         <template #footer>
-            <el-button @click="onCancel(false)">关闭</el-button>
-            <el-button type="primary" @click="onSubmit">保存</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.close') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.save') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -45,6 +45,7 @@ import { CellProp } from '@pc/components/base/table-details/types'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
 import AppSelectMember from '@pc/components/modules/select-member/index.vue'
 import AppTableDetails from '@pc/components/base/table-details/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -55,6 +56,7 @@ const props = defineProps({
 // 风险客户类别
 const customerTypeEnum = useEnum('customerType')
 
+const { global: { t } } = i18n
 const formRef = ref<FormInstance>()
 const show = ref(true)
 const refresh = ref(false)
@@ -123,10 +125,10 @@ const onSubmit = () => {
             addAccountRiskConfig({
                 data: formData.value
             }).then(() => {
-                ElMessage.success('保存成功')
+                ElMessage.success(t('common.tips3'))
                 onCancel(true)
             }).catch((err) => {
-                ElMessage.error('保存失败:' + err)
+                ElMessage.error(t('common.tips4') + err)
             }).finally(() => {
                 loading.value = false
             })

+ 5 - 2
src/packages/pc/views/investor/custom/riskcfg/index.vue

@@ -37,6 +37,9 @@ import AppTable from '@pc/components/base/table/index.vue'
 import AppFilter from '@pc/components/base/table-filter/index.vue'
 import AppPagination from '@pc/components/base/pagination/index.vue'
 import AppOperation from '@pc/components/base/operation/index.vue'
+import { i18n } from '@/stores'
+
+const { global: { t } } = i18n
 
 // 风险客户类别
 const customerTypeEnum = useEnum('customerType')
@@ -72,8 +75,8 @@ filterOptons.inputList = [
 ]
 
 filterOptons.buttonList = [
-    { label: '查询', className: 'el-button--primary', onClick: () => onSearch() },
-    { label: '重置', className: 'el-button--primary', onClick: () => onSearch(true) }
+    { label: t('operation.search'), className: 'el-button--primary', onClick: () => onSearch() },
+    { label: t('operation.reset'), className: 'el-button--primary', onClick: () => onSearch(true) }
 ]
 
 const onSearch = (clear = false) => {

+ 6 - 4
src/packages/pc/views/investor/custom/tradecfg/components/delete/index.vue

@@ -3,8 +3,8 @@
     <app-drawer title="提示" v-model:show="show" :loading="loading" :refresh="refresh">
         <div class="g-text-message">是否确认删除该商品个性化配置?</div>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">确认</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.confirm') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -14,6 +14,7 @@ import { shallowRef, PropType } from 'vue'
 import { ElMessage } from 'element-plus'
 import { deleteTraderConfig } from '@/services/api/investor'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -22,6 +23,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const show = shallowRef(true)
 const refresh = shallowRef(false)
 const loading = shallowRef(false)
@@ -40,10 +42,10 @@ const onSubmit = () => {
             goodsid: props.record.goodsid
         }
     }).then(() => {
-        ElMessage.success('删除成功')
+        ElMessage.success(t('common.tips5'))
         onCancel(true)
     }).catch((err) => {
-        ElMessage.error('删除失败:' + err)
+        ElMessage.error(t('common.tips6') + err)
         onCancel()
     }).finally(() => {
         loading.value = false

+ 8 - 6
src/packages/pc/views/investor/custom/tradecfg/components/edit/index.vue

@@ -56,7 +56,7 @@
                                 <el-option :label="item.label" :value="item.value" />
                             </template>
                         </el-select>
-                        <el-input-number v-model="formData.ruleList[index].paramvalue" placeholder="请输入" v-else />
+                        <el-input-number v-model="formData.ruleList[index].paramvalue" :placeholder="t('common.pleaseenter')" v-else />
                     </template>
                 </template>
             </app-table>
@@ -90,13 +90,13 @@
                 <!-- 服务费 -->
                 <template #fee="{ row, index }">
                     <el-input-number v-model="formData.feeList[index].paramvalue" :min="row.memberminvalue"
-                        :max="row.membermaxvalue" placeholder="请输入" />
+                        :max="row.membermaxvalue" :placeholder="t('common.pleaseenter')" />
                 </template>
             </app-table>
         </el-form>
         <template #footer>
-            <el-button @click="onCancel(false)">关闭</el-button>
-            <el-button type="primary" @click="onSubmit">保存</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.close') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.save') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -110,6 +110,7 @@ import { useRequest } from '@/hooks/request'
 import { traderPersonAdd, getInvestorTree, initInvestorPerson } from '@/services/api/investor'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
 import AppTable from '@pc/components/base/table/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -119,6 +120,7 @@ const props = defineProps({
 
 const feetypeEnum = useEnum('feetype')
 
+const { global: { t } } = i18n
 const formRef = ref<FormInstance>()
 const show = ref(true)
 const refresh = ref(false)
@@ -245,10 +247,10 @@ const onSubmit = () => {
             traderPersonAdd({
                 data: formData.value
             }).then(() => {
-                ElMessage.success('保存成功')
+                ElMessage.success(t('common.tips3'))
                 onCancel(true)
             }).catch((err) => {
-                ElMessage.error('保存失败:' + err)
+                ElMessage.error(t('common.tips4') + err)
             }).finally(() => {
                 loading.value = false
             })

+ 1 - 1
src/packages/pc/views/investor/custom/tradecfg/index.vue

@@ -25,7 +25,7 @@
                     </el-select>
                 </el-form-item>
                 <el-form-item>
-                    <el-button type="primary" @click="onSearch">查询</el-button>
+                    <el-button type="primary" @click="onSearch">{{ t('operate.search') }}</el-button>
                 </el-form-item>
             </el-form>
         </template>

+ 1 - 1
src/packages/pc/views/investor/manage/modification/components/audit/index.vue

@@ -1,7 +1,7 @@
 <!-- 交易商管理-交易商管理-交易商管理-审核 -->
 <template>
     <DetailsView v-bind="{ userId: record.userid, modifyStatus: record.modifystatus }">
-        <el-button type="primary" @click="openComponent('Operate')">审核</el-button>
+        <el-button type="primary" @click="openComponent('Operate')">{{ t('operate.aduit') }}</el-button>
         <component ref="componentRef" :is="componentMap.get(componentId)" v-bind="{ record }" @closed="closeComponent"
             v-if="componentId" />
     </DetailsView>

+ 7 - 5
src/packages/pc/views/investor/manage/modification/components/audit/operate/index.vue

@@ -11,12 +11,12 @@
             </el-form-item>
             <el-form-item label="不通过原因" prop="msg">
                 <el-input type="textarea" v-model="formData.msg" :rows="3" :disabled="!!formData.auditflag"
-                    maxlength="200" placeholder="请输入" />
+                    maxlength="200" :placeholder="t('common.pleaseenter')" />
             </el-form-item>
         </el-form>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">提交</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.submit') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -26,6 +26,7 @@ import { ref, PropType, toRaw } from 'vue'
 import { ElMessage, FormInstance, FormRules } from 'element-plus'
 import { modifyAudit } from '@/services/api/investor'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -34,6 +35,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const formRef = ref<FormInstance>()
 const show = ref(true)
 const refresh = ref(false)
@@ -71,10 +73,10 @@ const onSubmit = () => {
             modifyAudit({
                 data: rawData
             }).then(() => {
-                ElMessage.success('提交成功')
+                ElMessage.success(t('common.tips7'))
                 onCancel(true)
             }).catch((err) => {
-                ElMessage.error('提交失败:' + err)
+                ElMessage.error(t('common.tips8') + err)
                 onCancel()
             }).finally(() => {
                 loading.value = false

+ 5 - 2
src/packages/pc/views/investor/manage/modification/index.vue

@@ -33,6 +33,9 @@ import AppTable from '@pc/components/base/table/index.vue'
 import AppFilter from '@pc/components/base/table-filter/index.vue'
 import AppPagination from '@pc/components/base/pagination/index.vue'
 import AppOperation from '@pc/components/base/operation/index.vue'
+import { i18n } from '@/stores'
+
+const { global: { t } } = i18n
 
 // 变更状态
 const modifystatusEnum = useEnum('modifystatus')
@@ -69,8 +72,8 @@ filterOptons.inputList = [
 ]
 
 filterOptons.buttonList = [
-    { label: '查询', className: 'el-button--primary', onClick: () => onSearch() },
-    { label: '重置', className: 'el-button--primary', onClick: () => onSearch(true) }
+    { label: t('operation.search'), className: 'el-button--primary', onClick: () => onSearch() },
+    { label: t('operation.reset'), className: 'el-button--primary', onClick: () => onSearch(true) }
 ]
 
 const onSearch = (clear = false) => {

+ 1 - 1
src/packages/pc/views/investor/manage/user/components/account/details/index.vue

@@ -3,7 +3,7 @@
     <app-drawer title="详情" width="900" v-model:show="show" :refresh="refresh">
         <app-table-details :data="selectedItem" :label-width="140" :cell-props="detailProps" :column="2" />
         <template #footer>
-            <el-button @click="onCancel(false)">关闭</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.close') }}</el-button>
         </template>
     </app-drawer>
 </template>

+ 7 - 5
src/packages/pc/views/investor/manage/user/components/account/edit/index.vue

@@ -19,12 +19,12 @@
                 {{ currencyEnum.getEnumTypeName(selectedItem.currencyid) }}
             </el-form-item>
             <el-form-item label="出金阈值" prop="outthreshold">
-                <el-input-number v-model="formData.outthreshold" placeholder="请输入" :min="0" />
+                <el-input-number v-model="formData.outthreshold" :placeholder="t('common.pleaseenter')" :min="0" />
             </el-form-item>
         </el-form>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">提交</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.submit') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -35,6 +35,7 @@ import { ElMessage, FormInstance, FormRules } from 'element-plus'
 import { useEnum } from '@/hooks/enum'
 import { investorAccountEdit } from '@/services/api/investor'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     selectedItem: {
@@ -47,6 +48,7 @@ const accounttypeEnum = useEnum('accounttype') // 内/外部
 const tradestatusEnum = useEnum('traderstatus') // 交易状态
 const currencyEnum = useEnum('currency') // 币种
 
+const { global: { t } } = i18n
 const formRef = ref<FormInstance>()
 const show = ref(true)
 const refresh = ref(false)
@@ -78,10 +80,10 @@ const onSubmit = () => {
             investorAccountEdit({
                 data: rawData
             }).then(() => {
-                ElMessage.success('保存成功')
+                ElMessage.success(t('common.tips3'))
                 onCancel(true)
             }).catch((err) => {
-                ElMessage.error('保存失败:' + err)
+                ElMessage.error(t('common.tips4') + err)
             }).finally(() => {
                 loading.value = false
             })

+ 6 - 3
src/packages/pc/views/investor/manage/user/components/account/index.vue

@@ -11,7 +11,7 @@
                 </template>
                 <template #headerRight>
                     <div style="display: flex;">
-                        <el-button @click="emit('closed')">关闭</el-button>
+                        <el-button @click="emit('closed')">{{ t('operate.close') }}</el-button>
                     </div>
                 </template>
                 <!-- 操作 -->
@@ -41,6 +41,9 @@ import { showAccount } from '@/services/api/investor'
 import AppTable from '@pc/components/base/table/index.vue'
 import AppFilter from '@pc/components/base/table-filter-v2/index.vue'
 import AppPagination from '@pc/components/base/pagination/index.vue'
+import { i18n } from '@/stores'
+
+const { global: { t } } = i18n
 
 const props = defineProps({
     record: {
@@ -95,8 +98,8 @@ filterOption.items = [
 ]
 
 filterOption.buttons = [
-    { label: '查询', className: 'el-button--primary', validateEvent: true, onClick: () => onSearch() },
-    { label: '重置', className: 'el-button--primary', onClick: () => resetFilters() }
+    { label: t('operation.search'), className: 'el-button--primary', validateEvent: true, onClick: () => onSearch() },
+    { label: t('operation.reset'), className: 'el-button--primary', onClick: () => resetFilters() }
 ]
 
 const onSearch = (clear = false) => {

+ 6 - 4
src/packages/pc/views/investor/manage/user/components/cancel/index.vue

@@ -3,8 +3,8 @@
     <app-drawer title="提示" v-model:show="show" :loading="loading" :refresh="refresh">
         <div class="g-text-message">确认撤回变更?</div>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">确认</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.confirm') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -14,6 +14,7 @@ import { shallowRef, PropType } from 'vue'
 import { ElMessage } from 'element-plus'
 import { investorRebackChange } from '@/services/api/investor'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -22,6 +23,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const show = shallowRef(true)
 const refresh = shallowRef(false)
 const loading = shallowRef(false)
@@ -38,10 +40,10 @@ const onSubmit = () => {
             areaid: props.record.userId
         }
     }).then(() => {
-        ElMessage.success('撤回成功')
+        ElMessage.success(t('common.tips9'))
         onCancel(true)
     }).catch((err) => {
-        ElMessage.error('撤回失败:' + err)
+        ElMessage.error(t('common.tips10') + err)
         onCancel()
     }).finally(() => {
         loading.value = false

+ 6 - 3
src/packages/pc/views/investor/manage/user/components/config/index.vue

@@ -22,7 +22,7 @@
             </app-table>
         </template>
         <template #footer>
-            <el-button @click="onCancel(false)">关闭</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.close') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -39,6 +39,9 @@ import AppDrawer from '@pc/components/base/drawer/index.vue'
 import AppTableDetails from '@pc/components/base/table-details/index.vue'
 import AppTable from '@pc/components/base/table/index.vue'
 import AppFilter from '@pc/components/base/table-filter-v2/index.vue'
+import { i18n } from '@/stores'
+
+const { global: { t } } = i18n
 
 const props = defineProps({
     record: {
@@ -106,8 +109,8 @@ filterOption.items = [
 ]
 
 filterOption.buttons = [
-    { label: '查询', className: 'el-button--primary', validateEvent: true, onClick: () => onSearch() },
-    { label: '重置', className: 'el-button--primary', onClick: () => resetFilters() }
+    { label: t('operation.search'), className: 'el-button--primary', validateEvent: true, onClick: () => onSearch() },
+    { label: t('operation.reset'), className: 'el-button--primary', onClick: () => resetFilters() }
 ]
 
 const onCancel = (isRefresh = false) => {

+ 6 - 4
src/packages/pc/views/investor/manage/user/components/delete/index.vue

@@ -3,8 +3,8 @@
     <app-drawer title="提示" v-model:show="show" :loading="loading" :refresh="refresh">
         <div class="g-text-message">确认注销该交易商?</div>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">确认</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.confirm') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -14,6 +14,7 @@ import { shallowRef, PropType } from 'vue'
 import { ElMessage } from 'element-plus'
 import { investorLogOff } from '@/services/api/investor'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -22,6 +23,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const show = shallowRef(true)
 const refresh = shallowRef(false)
 const loading = shallowRef(false)
@@ -38,10 +40,10 @@ const onSubmit = () => {
             areaid: 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

+ 1 - 1
src/packages/pc/views/investor/manage/user/components/details/view.vue

@@ -48,7 +48,7 @@
             </template>
         </app-table-details>
         <template #footer>
-            <el-button @click="onCancel(false)">关闭</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.close') }}</el-button>
             <slot></slot>
         </template>
     </app-drawer>

+ 19 - 17
src/packages/pc/views/investor/manage/user/components/edit/index.vue

@@ -9,7 +9,7 @@
                     {{ formData.userAccountDetailVo.userId }}
                 </el-form-item>
                 <el-form-item label="交易商名称" prop="accountName">
-                    <el-input v-model="formData.userAccountDetailVo.accountName" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.userAccountDetailVo.accountName" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="所属会员" prop="memberUserName">
                     {{ formData.userAccountDetailVo.memberUserName }}
@@ -36,21 +36,21 @@
                     <app-enum code="certypecompany" v-model="formData.userinfoDetailVo.cardTypeId" v-else />
                 </el-form-item>
                 <el-form-item label="证件号码" prop="cardNum">
-                    <el-input v-model="formData.userinfoDetailVo.cardNum" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.userinfoDetailVo.cardNum" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <template v-if="!isPerson">
                     <el-form-item label="企业名称" prop="customerName">
-                        <el-input v-model="formData.userinfoDetailVo.customerName" maxlength="50" placeholder="请输入" />
+                        <el-input v-model="formData.userinfoDetailVo.customerName" maxlength="50" :placeholder="t('common.pleaseenter')" />
                     </el-form-item>
                     <el-form-item label="企业性质" prop="bizNature" v-if="!isPerson">
                         <app-enum code="biznature" v-model="formData.userinfoDetailVo.bizNature" :empty-values="[0]" />
                     </el-form-item>
                     <el-form-item label="法人姓名" prop="legalPersonName">
                         <el-input v-model="formData.userinfoDetailVo.legalPersonName" maxlength="50"
-                            placeholder="请输入" />
+                        :placeholder="t('common.pleaseenter')" />
                     </el-form-item>
                     <el-form-item label="联系人" prop="contactName">
-                        <el-input v-model="formData.userinfoDetailVo.contactName" maxlength="50" placeholder="请输入" />
+                        <el-input v-model="formData.userinfoDetailVo.contactName" maxlength="50" :placeholder="t('common.pleaseenter')" />
                     </el-form-item>
                 </template>
                 <el-form-item label="性别" prop="sex">
@@ -61,15 +61,15 @@
                     </el-radio-group>
                 </el-form-item>
                 <el-form-item label="所属公司" prop="company" v-if="isPerson">
-                    <el-input v-model="formData.userinfoDetailVo.company" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.userinfoDetailVo.company" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="手机号" prop="mobile">
                     <el-input type="number" v-model="formData.userinfoDetailVo.mobile" maxlength="50"
-                        placeholder="请输入" />
+                    :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="联系电话" prop="telPhone">
                     <el-input type="number" v-model="formData.userinfoDetailVo.telPhone" maxlength="50"
-                        placeholder="请输入" />
+                    :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item class="el-form-item--row" label="地区" prop="region">
                     <app-region class="el-form-item--col" v-model:province="formData.userinfoDetailVo.provinceid"
@@ -77,16 +77,16 @@
                         v-model:district="formData.userinfoDetailVo.districtid" />
                 </el-form-item>
                 <el-form-item class="el-form-item--row" label="地址" prop="address">
-                    <el-input v-model="formData.userinfoDetailVo.address" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.userinfoDetailVo.address" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="邮政编码" prop="postalCode">
-                    <el-input v-model="formData.userinfoDetailVo.postalCode" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.userinfoDetailVo.postalCode" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="邮箱" prop="email">
-                    <el-input v-model="formData.userinfoDetailVo.email" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.userinfoDetailVo.email" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item class="el-form-item--row" label="微信" prop="wechat">
-                    <el-input v-model="formData.userinfoDetailVo.wechat" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.userinfoDetailVo.wechat" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <template v-if="isPerson">
                     <el-form-item label="证件照正面" prop="cardFrontPhotoUrl">
@@ -121,13 +121,13 @@
                 </template>
                 <el-form-item class="el-form-item--row" label="备注" prop="remark">
                     <el-input type="textarea" v-model="formData.userinfoDetailVo.remark" maxlength="200" :rows="2"
-                        placeholder="请输入" />
+                    :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
             </fieldset>
         </el-form>
         <template #footer>
-            <el-button @click="onCancel(false)">关闭</el-button>
-            <el-button type="primary" @click="onSubmit">提交审核</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.close') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.submitaduit') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -146,6 +146,7 @@ import AppRegion from '@pc/components/modules/region/index.vue'
 import AppSelectMember from '@pc/components/modules/select-member/index.vue'
 import service from '@/services'
 import { decryptAES } from '@/services/crypto'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -153,6 +154,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const formRef = ref<FormInstance>()
 const show = ref(true)
 const refresh = ref(false)
@@ -266,10 +268,10 @@ const onSubmit = () => {
             investorEdit({
                 data: rawData
             }).then(() => {
-                ElMessage.success('保存成功')
+                ElMessage.success(t('common.tips3'))
                 onCancel(true)
             }).catch((err) => {
-                ElMessage.error('保存失败:' + err)
+                ElMessage.error(t('common.tips4') + err)
             }).finally(() => {
                 loading.value = false
             })

+ 2 - 2
src/packages/pc/views/investor/manage/user/components/export/index.vue

@@ -2,8 +2,8 @@
     <app-drawer title="提示" v-model:show="show" :loading="loading">
         <div class="g-text-message">确定导出表格数据?</div>
         <template #footer>
-            <el-button @click="onCancel">取消</el-button>
-            <el-button type="primary" @click="onSubmit">确认</el-button>
+            <el-button @click="onCancel">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.confirm') }}</el-button>
         </template>
     </app-drawer>
 </template>

+ 2 - 2
src/packages/pc/views/investor/manage/user/components/login/delete/index.vue

@@ -3,8 +3,8 @@
     <app-drawer title="提示" v-model:show="show" :loading="loading" :refresh="refresh">
         <div class="g-text-message">确认将账户停用?</div>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">确认</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.confirm') }}</el-button>
         </template>
     </app-drawer>
 </template>

+ 1 - 1
src/packages/pc/views/investor/manage/user/components/login/details/index.vue

@@ -7,7 +7,7 @@
             </template>
         </app-table-details>
         <template #footer>
-            <el-button @click="onCancel(false)">关闭</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.close') }}</el-button>
         </template>
     </app-drawer>
 </template>

+ 6 - 3
src/packages/pc/views/investor/manage/user/components/login/index.vue

@@ -8,7 +8,7 @@
             <app-table :data="dataList" :columns="tableColumns">
                 <template #headerRight>
                     <div style="display: flex;">
-                        <el-button @click="emit('closed')">关闭</el-button>
+                        <el-button @click="emit('closed')">{{ t('operate.close') }}</el-button>
                     </div>
                 </template>
                 <!-- 操作 -->
@@ -51,6 +51,9 @@ import { useUserStore } from '@/stores'
 import AppTable from '@pc/components/base/table/index.vue'
 import AppFilter from '@pc/components/base/table-filter-v2/index.vue'
 import AppPagination from '@pc/components/base/pagination/index.vue'
+import { i18n } from '@/stores'
+
+const { global: { t } } = i18n
 
 const props = defineProps({
     record: {
@@ -112,8 +115,8 @@ filterOption.items = [
 ]
 
 filterOption.buttons = [
-    { label: '查询', className: 'el-button--primary', validateEvent: true, onClick: () => onSearch() },
-    { label: '重置', className: 'el-button--primary', onClick: () => resetFilters() }
+    { label: t('operation.search'), className: 'el-button--primary', validateEvent: true, onClick: () => onSearch() },
+    { label: t('operation.reset'), className: 'el-button--primary', onClick: () => resetFilters() }
 ]
 
 const onSearch = (clear = false) => {

+ 2 - 2
src/packages/pc/views/investor/manage/user/components/login/lock/index.vue

@@ -4,8 +4,8 @@
         <div class="g-text-message" v-if="selectedItem.loginstatus === 1">确认锁定该账户?</div>
         <div class="g-text-message" v-else>确认解锁该账户?</div>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">确认</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.confirm') }}</el-button>
         </template>
     </app-drawer>
 </template>

+ 1 - 1
src/packages/pc/views/investor/manage/user/components/login/log/index.vue

@@ -8,7 +8,7 @@
             </template>
         </app-table>
         <template #footer>
-            <el-button @click="onCancel(false)">关闭</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.close') }}</el-button>
         </template>
     </app-drawer>
 </template>

+ 6 - 4
src/packages/pc/views/investor/manage/user/components/login/password/index.vue

@@ -3,8 +3,8 @@
     <app-drawer title="提示" v-model:show="show" :loading="loading" :refresh="refresh">
         <div class="g-text-message">确认将密码重置?</div>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">确认</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.confirm') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -14,6 +14,7 @@ import { shallowRef, PropType } from 'vue'
 import { ElMessage } from 'element-plus'
 import { resetPwd } from '@/services/api/investor'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     selectedItem: {
@@ -22,6 +23,7 @@ const props = defineProps({
     },
 })
 
+const { global: { t } } = i18n
 const show = shallowRef(true)
 const refresh = shallowRef(false)
 const loading = shallowRef(false)
@@ -38,10 +40,10 @@ const onSubmit = () => {
             loginid: props.selectedItem.loginid
         }
     }).then(() => {
-        ElMessage.success('重置成功')
+        ElMessage.success(t('common.tips19'))
         onCancel(true)
     }).catch((err) => {
-        ElMessage.error('重置失败:' + err)
+        ElMessage.error(t('common.tips20') + err)
         onCancel()
     }).finally(() => {
         loading.value = false

+ 6 - 4
src/packages/pc/views/investor/manage/user/components/login/recover/index.vue

@@ -3,8 +3,8 @@
     <app-drawer title="提示" v-model:show="show" :loading="loading" :refresh="refresh">
         <div class="g-text-message">确认恢复账户?</div>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">确认</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.confirm') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -14,6 +14,7 @@ import { shallowRef, PropType } from 'vue'
 import { ElMessage } from 'element-plus'
 import { restoreAccount } from '@/services/api/investor'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     selectedItem: {
@@ -22,6 +23,7 @@ const props = defineProps({
     },
 })
 
+const { global: { t } } = i18n
 const show = shallowRef(true)
 const refresh = shallowRef(false)
 const loading = shallowRef(false)
@@ -38,10 +40,10 @@ const onSubmit = () => {
             loginid: props.selectedItem.loginid
         }
     }).then(() => {
-        ElMessage.success('恢复成功')
+        ElMessage.success(t('common.tips13'))
         onCancel(true)
     }).catch((err) => {
-        ElMessage.error('恢复失败:' + err)
+        ElMessage.error(t('common.tips14') + err)
         onCancel()
     }).finally(() => {
         loading.value = false

+ 6 - 4
src/packages/pc/views/investor/manage/user/components/recover/index.vue

@@ -3,8 +3,8 @@
     <app-drawer title="提示" v-model:show="show" :loading="loading" :refresh="refresh">
         <div class="g-text-message">确认恢复该交易商?<br />相关登录账户的账号状态在登录账户中另行恢复。</div>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">确认</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.confirm') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -14,6 +14,7 @@ import { shallowRef, PropType } from 'vue'
 import { ElMessage } from 'element-plus'
 import { investorRecover } from '@/services/api/investor'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -22,6 +23,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const show = shallowRef(true)
 const refresh = shallowRef(false)
 const loading = shallowRef(false)
@@ -38,10 +40,10 @@ const onSubmit = () => {
             areaid: props.record.userId
         }
     }).then(() => {
-        ElMessage.success('恢复成功')
+        ElMessage.success(t('common.tips13'))
         onCancel(true)
     }).catch((err) => {
-        ElMessage.error('恢复失败:' + err)
+        ElMessage.error(t('common.tips14') + err)
         onCancel()
     }).finally(() => {
         loading.value = false

+ 5 - 2
src/packages/pc/views/investor/manage/user/index.vue

@@ -37,6 +37,9 @@ import AppTable from '@pc/components/base/table/index.vue'
 import AppFilter from '@pc/components/base/table-filter/index.vue'
 import AppPagination from '@pc/components/base/pagination/index.vue'
 import AppOperation from '@pc/components/base/operation/index.vue'
+import { i18n } from '@/stores'
+
+const { global: { t } } = i18n
 
 // 是否实名
 const hasauthEnum = useEnum('hasauth')
@@ -97,8 +100,8 @@ filterOptons.selectList = [
 ]
 
 filterOptons.buttonList = [
-    { label: '查询', className: 'el-button--primary', onClick: () => onSearch() },
-    { label: '重置', className: 'el-button--primary', onClick: () => onSearch(true) }
+    { label: t('operation.search'), className: 'el-button--primary', onClick: () => onSearch() },
+    { label: t('operation.reset'), className: 'el-button--primary', onClick: () => onSearch(true) }
 ]
 
 // 处理操作按钮

+ 5 - 2
src/packages/pc/views/investor/user/initreview/index.vue

@@ -37,6 +37,9 @@ import AppTable from '@pc/components/base/table/index.vue'
 import AppFilter from '@pc/components/base/table-filter/index.vue'
 import AppPagination from '@pc/components/base/pagination/index.vue'
 import AppOperation from '@pc/components/base/operation/index.vue'
+import { i18n } from '@/stores'
+
+const { global: { t } } = i18n
 
 // 开户方式
 const openmodeEnum = useEnum('openmode')
@@ -77,8 +80,8 @@ filterOptons.inputList = [
 ]
 
 filterOptons.buttonList = [
-    { label: '查询', className: 'el-button--primary', onClick: () => onSearch() },
-    { label: '重置', className: 'el-button--primary', onClick: () => onSearch(true) }
+    { label: t('operation.search'), className: 'el-button--primary', onClick: () => onSearch() },
+    { label: t('operation.reset'), className: 'el-button--primary', onClick: () => onSearch(true) }
 ]
 
 const onSearch = (clear = false) => {

+ 6 - 4
src/packages/pc/views/investor/user/open/components/cancel/index.vue

@@ -3,8 +3,8 @@
     <app-drawer title="提示" v-model:show="show" :loading="loading" :refresh="refresh">
         <div class="g-text-message">确认撤回开户审核?</div>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">确认</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.confirm') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -14,6 +14,7 @@ import { shallowRef, PropType } from 'vue'
 import { ElMessage } from 'element-plus'
 import { wskhUserinfoReBack } from '@/services/api/member'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -22,6 +23,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const show = shallowRef(true)
 const refresh = shallowRef(false)
 const loading = shallowRef(false)
@@ -38,10 +40,10 @@ const onSubmit = () => {
             userid: props.record.userId
         }
     }).then(() => {
-        ElMessage.success('撤回成功')
+        ElMessage.success(t('common.tips9'))
         onCancel(true)
     }).catch((err) => {
-        ElMessage.error('撤回失败:' + err)
+        ElMessage.error(t('common.tips10') + err)
         onCancel()
     }).finally(() => {
         loading.value = false

+ 6 - 4
src/packages/pc/views/investor/user/open/components/delete/index.vue

@@ -3,8 +3,8 @@
     <app-drawer title="提示" v-model:show="show" :loading="loading" :refresh="refresh">
         <div class="g-text-message">确认删除该开户信息?</div>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">确认</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.confirm') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -14,6 +14,7 @@ import { shallowRef, PropType } from 'vue'
 import { ElMessage } from 'element-plus'
 import { wskhUserinfoDelete } from '@/services/api/member'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -22,6 +23,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const show = shallowRef(true)
 const refresh = shallowRef(false)
 const loading = shallowRef(false)
@@ -38,10 +40,10 @@ const onSubmit = () => {
             userid: props.record.userId
         }
     }).then(() => {
-        ElMessage.success('删除成功')
+        ElMessage.success(t('common.tips5'))
         onCancel(true)
     }).catch((err) => {
-        ElMessage.error('删除失败:' + err)
+        ElMessage.error(t('common.tips6') + err)
         onCancel()
     }).finally(() => {
         loading.value = false

+ 1 - 1
src/packages/pc/views/investor/user/open/components/details/index.vue

@@ -32,7 +32,7 @@
             </template>
         </app-table-details>
         <template #footer>
-            <el-button @click="onCancel(false)">关闭</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.close') }}</el-button>
             <template v-if="audit">
                 <el-button type="primary" @click="onAudit(1)">审核通过</el-button>
                 <el-button type="primary" @click="onAudit(0)">审核不通过</el-button>

+ 20 - 18
src/packages/pc/views/investor/user/open/components/edit/index.vue

@@ -4,7 +4,7 @@
         <el-form ref="formRef" class="el-form--horizontal" label-width="140px" :model="formData" :rules="formRules"
             :show-message="false">
             <!-- <el-form-item label="所属会员" prop="memberareaid">
-                <el-input v-model="formData.memberareaid" maxlength="50" placeholder="请输入" />
+                <el-input v-model="formData.memberareaid" maxlength="50" :placeholder="t('common.pleaseenter')" />
             </el-form-item> -->
             <el-form-item label="所属机构" prop="areaid">
                 <app-select-member v-model="formData.areaid" usertype="3" placeholder="代码或名称模糊匹配" />
@@ -24,7 +24,7 @@
             </el-form-item>
             <template v-if="isPerson">
                 <el-form-item label="用户姓名" prop="username">
-                    <el-input v-model="formData.username" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.username" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="性别" prop="sex">
                     <el-radio-group v-model="formData.sex">
@@ -36,10 +36,10 @@
             </template>
             <template v-else>
                 <el-form-item label="企业名称" prop="username">
-                    <el-input v-model="formData.username" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.username" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="法人姓名" prop="legalpersonname">
-                    <el-input v-model="formData.legalpersonname" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.legalpersonname" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
             </template>
             <el-form-item label="证件类型" prop="cardtype">
@@ -47,7 +47,7 @@
                 <app-enum code="certypecompany" v-model="formData.cardtype" v-else />
             </el-form-item>
             <el-form-item label="证件号码" prop="cardnum">
-                <el-input v-model="formData.cardnum" maxlength="50" placeholder="请输入" />
+                <el-input v-model="formData.cardnum" maxlength="50" :placeholder="t('common.pleaseenter')" />
             </el-form-item>
             <template v-if="isPerson">
                 <el-form-item label="证件照正面" prop="cardfrontphotourl">
@@ -85,11 +85,11 @@
                     v-model:city="formData.cityid" v-model:district="formData.districtid" />
             </el-form-item>
             <el-form-item class="el-form-item--row" label="地址" prop="cardaddress">
-                <el-input v-model="formData.cardaddress" maxlength="50" placeholder="请输入" />
+                <el-input v-model="formData.cardaddress" maxlength="50" :placeholder="t('common.pleaseenter')" />
             </el-form-item>
             <template v-if="!isPerson">
                 <el-form-item label="联系人" prop="contactname">
-                    <el-input v-model="formData.contactname" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.contactname" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="性别" prop="sex">
                     <el-radio-group v-model="formData.sex">
@@ -100,30 +100,30 @@
                 </el-form-item>
             </template>
             <el-form-item label="手机号" prop="mobilephone">
-                <el-input type="number" v-model="formData.mobilephone" maxlength="50" placeholder="请输入" />
+                <el-input type="number" v-model="formData.mobilephone" maxlength="50" :placeholder="t('common.pleaseenter')" />
             </el-form-item>
             <el-form-item label="联系电话" prop="telphone">
-                <el-input type="number" v-model="formData.telphone" maxlength="50" placeholder="请输入" />
+                <el-input type="number" v-model="formData.telphone" maxlength="50" :placeholder="t('common.pleaseenter')" />
             </el-form-item>
             <el-form-item label="邮政编码" prop="postalcode">
-                <el-input v-model="formData.postalcode" maxlength="50" placeholder="请输入" />
+                <el-input v-model="formData.postalcode" maxlength="50" :placeholder="t('common.pleaseenter')" />
             </el-form-item>
             <el-form-item label="所属公司" prop="company" v-if="isPerson">
-                <el-input v-model="formData.company" maxlength="50" placeholder="请输入" />
+                <el-input v-model="formData.company" maxlength="50" :placeholder="t('common.pleaseenter')" />
             </el-form-item>
             <el-form-item label="微信" prop="wechat">
-                <el-input v-model="formData.wechat" maxlength="50" placeholder="请输入" />
+                <el-input v-model="formData.wechat" maxlength="50" :placeholder="t('common.pleaseenter')" />
             </el-form-item>
             <el-form-item label="邮箱" prop="email">
-                <el-input v-model="formData.email" maxlength="50" placeholder="请输入" />
+                <el-input v-model="formData.email" maxlength="50" :placeholder="t('common.pleaseenter')" />
             </el-form-item>
             <el-form-item class="el-form-item--row" label="备注" prop="remark">
-                <el-input type="textarea" v-model="formData.remark" maxlength="200" :rows="2" placeholder="请输入" />
+                <el-input type="textarea" v-model="formData.remark" maxlength="200" :rows="2" :placeholder="t('common.pleaseenter')" />
             </el-form-item>
         </el-form>
         <template #footer>
-            <el-button @click="onCancel(false)">关闭</el-button>
-            <el-button type="primary" @click="onSubmit">提交审核</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.close') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.submitaduit') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -142,6 +142,7 @@ import AppSelectMember from '@pc/components/modules/select-member/index.vue'
 import AppSelectInvestor from '@pc/components/modules/select-investor/index.vue'
 import service from '@/services'
 import { decryptAES } from '@/services/crypto'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -149,6 +150,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const formRef = ref<FormInstance>()
 const show = ref(true)
 const refresh = ref(false)
@@ -302,10 +304,10 @@ const onSubmit = () => {
             dealSunOrgan({
                 data: rawData
             }).then(() => {
-                ElMessage.success('保存成功')
+                ElMessage.success(t('common.tips3'))
                 onCancel(true)
             }).catch((err) => {
-                ElMessage.error('保存失败:' + err)
+                ElMessage.error(t('common.tips4') + err)
             }).finally(() => {
                 loading.value = false
             })

+ 5 - 2
src/packages/pc/views/investor/user/open/index.vue

@@ -36,6 +36,9 @@ import AppTable from '@pc/components/base/table/index.vue'
 import AppFilter from '@pc/components/base/table-filter/index.vue'
 import AppPagination from '@pc/components/base/pagination/index.vue'
 import AppOperation from '@pc/components/base/operation/index.vue'
+import { i18n } from '@/stores'
+
+const { global: { t } } = i18n
 
 // 开户方式
 const openmodeEnum = useEnum('openmode')
@@ -75,8 +78,8 @@ filterOptons.inputList = [
 ]
 
 filterOptons.buttonList = [
-    { label: '查询', className: 'el-button--primary', onClick: () => onSearch() },
-    { label: '重置', className: 'el-button--primary', onClick: () => onSearch(true) }
+    { label: t('operation.search'), className: 'el-button--primary', onClick: () => onSearch() },
+    { label: t('operation.reset'), className: 'el-button--primary', onClick: () => onSearch(true) }
 ]
 
 // 处理操作按钮

+ 1 - 1
src/packages/pc/views/marketrun/monitor/account/index.vue

@@ -9,7 +9,7 @@
                     </el-select>
                 </el-form-item>
                 <el-form-item prop="risk">
-                    监控当前风险率><el-input-number v-model="queryParams.risk" placeholder="请输入" />%
+                    监控当前风险率><el-input-number v-model="queryParams.risk" :placeholder="t('common.pleaseenter')" />%
                 </el-form-item>
                 <el-form-item label="查询类型" prop="searchtype">
                     <el-select v-model="queryParams.searchtype">

+ 6 - 4
src/packages/pc/views/marketrun/monitor/user/components/alloffline/index.vue

@@ -3,8 +3,8 @@
     <app-drawer title="提示" v-model:show="show" :loading="loading" :refresh="refresh">
         <div class="g-text-message">是否将用户全部强制下线?</div>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">确认</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.confirm') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -14,7 +14,9 @@ import { shallowRef } from 'vue'
 import { ElMessage } from 'element-plus'
 import { marketRunDownonline } from '@/services/api/market'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
+const { global: { t } } = i18n
 const show = shallowRef(true)
 const refresh = shallowRef(false)
 const loading = shallowRef(false)
@@ -27,10 +29,10 @@ const onCancel = (isRefresh = false) => {
 const onSubmit = () => {
     loading.value = true
     marketRunDownonline().then(() => {
-        ElMessage.success('操作成功')
+        ElMessage.success(t('common.tips17'))
         onCancel(true)
     }).catch((err) => {
-        ElMessage.error('操作失败:' + err)
+        ElMessage.error(t('common.tips18') + err)
         onCancel()
     }).finally(() => {
         loading.value = false

+ 6 - 4
src/packages/pc/views/marketrun/monitor/user/components/offline/index.vue

@@ -3,8 +3,8 @@
     <app-drawer title="提示" v-model:show="show" :loading="loading" :refresh="refresh">
         <div class="g-text-message">是否将用户[{{ record.loginid }}]强制下线?</div>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">确认</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.confirm') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -14,6 +14,7 @@ import { shallowRef, PropType } from 'vue'
 import { ElMessage } from 'element-plus'
 import { marketRunDownonline } from '@/services/api/market'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -22,6 +23,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const show = shallowRef(true)
 const refresh = shallowRef(false)
 const loading = shallowRef(false)
@@ -38,10 +40,10 @@ const onSubmit = () => {
             loginid: props.record.loginid.toString()
         }
     }).then(() => {
-        ElMessage.success('操作成功')
+        ElMessage.success(t('common.tips17'))
         onCancel(true)
     }).catch((err) => {
-        ElMessage.error('操作失败:' + err)
+        ElMessage.error(t('common.tips18') + err)
         onCancel()
     }).finally(() => {
         loading.value = false

+ 5 - 2
src/packages/pc/views/marketrun/monitor/user/index.vue

@@ -36,6 +36,9 @@ import AppTable from '@pc/components/base/table/index.vue'
 import AppFilter from '@pc/components/base/table-filter/index.vue'
 import AppPagination from '@pc/components/base/pagination/index.vue'
 import AppOperation from '@pc/components/base/operation/index.vue'
+import { i18n } from '@/stores'
+
+const { global: { t } } = i18n
 
 const { filterOptons, getQueryParams } = useDataFilter<Model.MarketRunUserLoginReq>()
 
@@ -71,8 +74,8 @@ filterOptons.inputList = [
 ]
 
 filterOptons.buttonList = [
-    { label: '查询', className: 'el-button--primary', onClick: () => onSearch() },
-    { label: '重置', className: 'el-button--primary', onClick: () => onSearch(true) }
+    { label: t('operation.search'), className: 'el-button--primary', onClick: () => onSearch() },
+    { label: t('operation.reset'), className: 'el-button--primary', onClick: () => onSearch(true) }
 ]
 
 const onSearch = (clear = false) => {

+ 6 - 4
src/packages/pc/views/member/institution/open/components/cancel/index.vue

@@ -3,8 +3,8 @@
     <app-drawer title="提示" v-model:show="show" :loading="loading" :refresh="refresh">
         <div class="g-text-message">确认撤回开户审核?</div>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">确认</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.confirm') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -14,6 +14,7 @@ import { shallowRef, PropType } from 'vue'
 import { ElMessage } from 'element-plus'
 import { wskhUserinfoReBack } from '@/services/api/member'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -22,6 +23,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const show = shallowRef(true)
 const refresh = shallowRef(false)
 const loading = shallowRef(false)
@@ -38,10 +40,10 @@ const onSubmit = () => {
             userid: props.record.userid
         }
     }).then(() => {
-        ElMessage.success('撤回成功')
+        ElMessage.success(t('common.tips15'))
         onCancel(true)
     }).catch((err) => {
-        ElMessage.error('撤回失败:' + err)
+        ElMessage.error(t('common.tips16') + err)
         onCancel()
     }).finally(() => {
         loading.value = false

+ 6 - 4
src/packages/pc/views/member/institution/open/components/delete/index.vue

@@ -3,8 +3,8 @@
     <app-drawer title="提示" v-model:show="show" :loading="loading" :refresh="refresh">
         <div class="g-text-message">确认删除该机构资料开户信息?</div>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">确认</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.confirm') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -14,6 +14,7 @@ import { shallowRef, PropType } from 'vue'
 import { ElMessage } from 'element-plus'
 import { wskhUserinfoDelete } from '@/services/api/member'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -22,6 +23,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const show = shallowRef(true)
 const refresh = shallowRef(false)
 const loading = shallowRef(false)
@@ -38,10 +40,10 @@ const onSubmit = () => {
             userid: props.record.userid
         }
     }).then(() => {
-        ElMessage.success('删除成功')
+        ElMessage.success(t('common.tips5'))
         onCancel(true)
     }).catch((err) => {
-        ElMessage.error('删除失败:' + err)
+        ElMessage.error(t('common.tips6') + err)
         onCancel()
     }).finally(() => {
         loading.value = false

+ 8 - 6
src/packages/pc/views/member/institution/open/components/details/agree.vue

@@ -9,15 +9,15 @@
                 <el-input v-model="formData.smlogincode" maxlength="50" placeholder="输入必须包含字母且最少3位" />
             </el-form-item>
             <el-form-item label="管理员名称" prop="loginname">
-                <el-input v-model="formData.loginname" maxlength="50" placeholder="请输入" />
+                <el-input v-model="formData.loginname" maxlength="50" :placeholder="t('common.pleaseenter')" />
             </el-form-item>
             <el-form-item label="默认登录密码" prop="smpassword">
-                <el-input v-model="formData.smpassword" maxlength="50" placeholder="请输入" disabled />
+                <el-input v-model="formData.smpassword" maxlength="50" :placeholder="t('common.pleaseenter')" disabled />
             </el-form-item>
         </el-form>
         <template #footer>
-            <el-button @click="onCancel(false)">关闭</el-button>
-            <el-button type="primary" @click="onSubmit">提交</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.close') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.submit') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -27,6 +27,7 @@ import { ref, PropType, toRaw } from 'vue'
 import { ElMessage, FormInstance, FormRules } from 'element-plus'
 import { wskhUserinfoApproved } from '@/services/api/member'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -35,6 +36,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const formRef = ref<FormInstance>()
 const show = ref(true)
 const refresh = ref(false)
@@ -74,10 +76,10 @@ const onSubmit = () => {
             wskhUserinfoApproved({
                 data: toRaw(formData.value)
             }).then(() => {
-                ElMessage.success('提交成功')
+                ElMessage.success(t('common.tips7'))
                 onCancel(true)
             }).catch((err) => {
-                ElMessage.error('提交失败:' + err)
+                ElMessage.error(t('common.tips8') + err)
                 //onCancel()
             }).finally(() => {
                 loading.value = false

+ 1 - 1
src/packages/pc/views/member/institution/open/components/details/index.vue

@@ -46,7 +46,7 @@
         </app-table-details>
         <app-table-details title="附件" :data="data" :label-width="160" :cell-props="detailProps4" :column="2" />
         <template #footer>
-            <el-button @click="onCancel(false)">关闭</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.close') }}</el-button>
             <template v-if="data?.userstate === 2">
                 <el-button @click="openComponent('Refuse')" type="primary">审核拒绝</el-button>
                 <el-button @click="openComponent('Agree')" type="primary">审核通过</el-button>

+ 7 - 5
src/packages/pc/views/member/institution/open/components/details/refuse.vue

@@ -3,12 +3,12 @@
     <app-drawer title="审核拒绝" width="480" v-model:show="show" :loading="loading" :refresh="refresh">
         <el-form ref="formRef" label-width="100px" :model="formData" :rules="formRules" :show-message="false">
             <el-form-item label="不通过原因" prop="remark">
-                <el-input type="textarea" v-model="formData.remark" maxlength="200" :rows="5" placeholder="请输入" />
+                <el-input type="textarea" v-model="formData.remark" maxlength="200" :rows="5" :placeholder="t('common.pleaseenter')" />
             </el-form-item>
         </el-form>
         <template #footer>
-            <el-button @click="onCancel(false)">关闭</el-button>
-            <el-button type="primary" @click="onSubmit">提交</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.close') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.submit') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -18,6 +18,7 @@ import { ref, PropType, toRaw } from 'vue'
 import { ElMessage, FormInstance, FormRules } from 'element-plus'
 import { wskhUserinfoApproved } from '@/services/api/member'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -26,6 +27,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const formRef = ref<FormInstance>()
 const show = ref(true)
 const refresh = ref(false)
@@ -53,10 +55,10 @@ const onSubmit = () => {
             wskhUserinfoApproved({
                 data: toRaw(formData.value)
             }).then(() => {
-                ElMessage.success('提交成功')
+                ElMessage.success(t('common.tips7'))
                 onCancel(true)
             }).catch((err) => {
-                ElMessage.error('提交失败:' + err)
+                ElMessage.error(t('common.tips8') + err)
                 onCancel()
             }).finally(() => {
                 loading.value = false

+ 18 - 16
src/packages/pc/views/member/institution/open/components/edit/index.vue

@@ -5,7 +5,7 @@
             <fieldset class="g-fieldset el-form--horizontal">
                 <legend class="g-fieldset__legend">基本信息</legend>
                 <el-form-item label="机构名称" prop="username">
-                    <el-input v-model="formData.username" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.username" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="所有者类型" prop="userinfotype">
                     <el-radio-group v-model="formData.userinfotype">
@@ -21,10 +21,10 @@
             <fieldset class="g-fieldset el-form--horizontal">
                 <legend class="g-fieldset__legend">{{ isPerson ? '个人' : '企业' }}资料</legend>
                 <el-form-item label="名称" prop="customername">
-                    <el-input v-model="formData.customername" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.customername" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="公司" prop="company" v-if="isPerson">
-                    <el-input v-model="formData.company" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.company" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="企业性质" prop="biznature" v-if="!isPerson">
                     <app-enum code="biznature" v-model="formData.biznature" />
@@ -34,7 +34,7 @@
                     <app-enum code="certypeperson" v-model="formData.cardtype" v-else />
                 </el-form-item>
                 <el-form-item label="证件号码" prop="cardnum">
-                    <el-input v-model="formData.cardnum" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.cardnum" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="证件照正面" prop="cardfrontphotourl">
                     <app-upload v-model="uploadFiles.cardfrontphotourl" :file-types="['image']"
@@ -46,7 +46,7 @@
                 </el-form-item>
                 <template v-if="!isPerson">
                     <el-form-item label="法人姓名" prop="legalpersonname">
-                        <el-input v-model="formData.legalpersonname" maxlength="50" placeholder="请输入" />
+                        <el-input v-model="formData.legalpersonname" maxlength="50" :placeholder="t('common.pleaseenter')" />
                     </el-form-item>
                     <el-form-item label="法人身份证正面" prop="legalcardfrontphotourl">
                         <app-upload v-model="uploadFiles.legalcardfrontphotourl" :file-types="['image']"
@@ -57,7 +57,7 @@
                             type-message="请选择正确的图片类型" />
                     </el-form-item>
                     <el-form-item label="联系人" prop="contactname">
-                        <el-input v-model="formData.contactname" maxlength="50" placeholder="请输入" />
+                        <el-input v-model="formData.contactname" maxlength="50" :placeholder="t('common.pleaseenter')" />
                     </el-form-item>
                 </template>
                 <el-form-item label="性别" prop="sex">
@@ -68,26 +68,26 @@
                     </el-radio-group>
                 </el-form-item>
                 <el-form-item label="手机号" prop="mobilephone">
-                    <el-input type="number" v-model="formData.mobilephone" maxlength="50" placeholder="请输入" />
+                    <el-input type="number" v-model="formData.mobilephone" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="联系电话" prop="telphone">
-                    <el-input type="number" v-model="formData.telphone" maxlength="50" placeholder="请输入" />
+                    <el-input type="number" v-model="formData.telphone" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item class="el-form-item--row" label="地区" prop="provinceid">
                     <app-region class="el-form-item--col" v-model:province="formData.provinceid"
                         v-model:city="formData.cityid" v-model:district="formData.districtid" />
                 </el-form-item>
                 <el-form-item class="el-form-item--row" label="地址" prop="cardaddress">
-                    <el-input v-model="formData.cardaddress" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.cardaddress" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="邮政编码" prop="postalcode">
-                    <el-input v-model="formData.postalcode" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.postalcode" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="邮箱" prop="email">
-                    <el-input v-model="formData.email" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.email" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item class="el-form-item--row" label="备注" prop="remark">
-                    <el-input type="textarea" v-model="formData.remark" maxlength="200" :rows="2" placeholder="请输入" />
+                    <el-input type="textarea" v-model="formData.remark" maxlength="200" :rows="2" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
             </fieldset>
             <fieldset class="g-fieldset el-form--horizontal">
@@ -103,8 +103,8 @@
             </fieldset>
         </el-form>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">提交审核</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.submitaduit') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -122,6 +122,7 @@ import AppEnum from '@pc/components/modules/enum/index.vue'
 import AppRegion from '@pc/components/modules/region/index.vue'
 import AppSelectMember from '@pc/components/modules/select-member/index.vue'
 import service from '@/services'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -129,6 +130,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const formRef = ref<FormInstance>()
 const show = ref(true)
 const refresh = ref(false)
@@ -227,10 +229,10 @@ const onSubmit = () => {
             wskhUserinfoAdd({
                 data: rawData
             }).then(() => {
-                ElMessage.success('保存成功')
+                ElMessage.success(t('common.tips3'))
                 onCancel(true)
             }).catch((err) => {
-                ElMessage.error('保存失败:' + err)
+                ElMessage.error(t('common.tips4') + err)
             }).finally(() => {
                 loading.value = false
             })

+ 5 - 2
src/packages/pc/views/member/institution/open/index.vue

@@ -49,6 +49,9 @@ import AppTable from '@pc/components/base/table/index.vue'
 import AppFilter from '@pc/components/base/table-filter/index.vue'
 import AppPagination from '@pc/components/base/pagination/index.vue'
 import AppOperation from '@pc/components/base/operation/index.vue'
+import { i18n } from '@/stores'
+
+const { global: { t } } = i18n
 
 // 开户方式
 const openmodeEnum = useEnum('openmode')
@@ -84,8 +87,8 @@ filterOptons.inputList = [
 ]
 
 filterOptons.buttonList = [
-    { label: '查询', className: 'el-button--primary', onClick: () => onSearch() },
-    { label: '重置', className: 'el-button--primary', onClick: () => onSearch(true) }
+    { label: t('operation.search'), className: 'el-button--primary', onClick: () => onSearch() },
+    { label: t('operation.reset'), className: 'el-button--primary', onClick: () => onSearch(true) }
 ]
 
 // 处理操作按钮

+ 6 - 4
src/packages/pc/views/member/subinstitution/manage/components/cancel/index.vue

@@ -3,8 +3,8 @@
     <app-drawer title="提示" v-model:show="show" :loading="loading" :refresh="refresh">
         <div class="g-text-message">确认撤回变更?</div>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">确认</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.confirm') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -14,6 +14,7 @@ import { shallowRef, PropType } from 'vue'
 import { ElMessage } from 'element-plus'
 import { organSonRebackChange } from '@/services/api/member'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -22,6 +23,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const show = shallowRef(true)
 const refresh = shallowRef(false)
 const loading = shallowRef(false)
@@ -38,10 +40,10 @@ const onSubmit = () => {
             areaid: props.record.userid
         }
     }).then(() => {
-        ElMessage.success('撤回成功')
+        ElMessage.success(t('common.tips15'))
         onCancel(true)
     }).catch((err) => {
-        ElMessage.error('撤回失败:' + err)
+        ElMessage.error(t('common.tips16') + err)
         onCancel()
     }).finally(() => {
         loading.value = false

+ 6 - 4
src/packages/pc/views/member/subinstitution/manage/components/delete/index.vue

@@ -3,8 +3,8 @@
     <app-drawer title="提示" v-model:show="show" :loading="loading" :refresh="refresh">
         <div class="g-text-message">确认注销该机构?</div>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">确认</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.confirm') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -14,6 +14,7 @@ import { shallowRef, PropType } from 'vue'
 import { ElMessage } from 'element-plus'
 import { organSonDelete } from '@/services/api/member'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -22,6 +23,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const show = shallowRef(true)
 const refresh = shallowRef(false)
 const loading = shallowRef(false)
@@ -38,10 +40,10 @@ const onSubmit = () => {
             areaid: 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

+ 1 - 1
src/packages/pc/views/member/subinstitution/manage/components/details/index.vue

@@ -179,7 +179,7 @@
         <app-table-details title="管理员及账户信息" :data="data" :label-width="160" :cell-props="detailProps5" :column="2"
             v-if="detailProps5.length" />
         <template #footer>
-            <el-button @click="onCancel(false)">关闭</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.close') }}</el-button>
         </template>
     </app-drawer>
 </template>

+ 26 - 24
src/packages/pc/views/member/subinstitution/manage/components/edit/index.vue

@@ -15,10 +15,10 @@
                     </el-radio-group>
                 </el-form-item>
                 <el-form-item label="机构代码" prop="userid">
-                    <el-input v-model="formData.userid" maxlength="4" placeholder="请输入" :disabled="!!record" />
+                    <el-input v-model="formData.userid" maxlength="4" :placeholder="t('common.pleaseenter')" :disabled="!!record" />
                 </el-form-item>
                 <el-form-item label="机构名称" prop="accountname">
-                    <el-input v-model="formData.accountname" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.accountname" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="推荐人" prop="refereeuserid">
                     <app-select-member v-model="formData.refereeuserid" usertype="2,3" placeholder="代码或名称模糊匹配" />
@@ -27,10 +27,10 @@
             <fieldset class="g-fieldset el-form--horizontal">
                 <legend class="g-fieldset__legend">{{ isPerson ? '个人' : '企业' }}资料</legend>
                 <el-form-item label="名称" prop="customername">
-                    <el-input v-model="formData.customername" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.customername" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="公司" prop="company" v-if="isPerson">
-                    <el-input v-model="formData.company" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.company" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="企业性质" prop="biznature" v-if="!isPerson">
                     <app-enum code="biznature" v-model="formData.biznature" :empty-values="[0]" />
@@ -40,7 +40,7 @@
                     <app-enum code="certypeperson" v-model="formData.cardtypeid" v-else />
                 </el-form-item>
                 <el-form-item label="证件号码" prop="cardnum">
-                    <el-input v-model="formData.cardnum" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.cardnum" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="证件照正面" prop="cardfrontphotourl">
                     <app-upload v-model="uploadFiles.cardfrontphotourl" :file-types="['image']"
@@ -52,7 +52,7 @@
                 </el-form-item>
                 <template v-if="!isPerson">
                     <el-form-item label="法人姓名" prop="legalpersonname">
-                        <el-input v-model="formData.legalpersonname" maxlength="50" placeholder="请输入" />
+                        <el-input v-model="formData.legalpersonname" maxlength="50" :placeholder="t('common.pleaseenter')" />
                     </el-form-item>
                     <el-form-item label="法人身份证正面" prop="legalcardfrontphotourl">
                         <app-upload v-model="uploadFiles.legalcardfrontphotourl" :file-types="['image']"
@@ -63,7 +63,7 @@
                             type-message="请选择正确的图片类型" />
                     </el-form-item>
                     <el-form-item label="联系人" prop="contactname">
-                        <el-input v-model="formData.contactname" maxlength="50" placeholder="请输入" />
+                        <el-input v-model="formData.contactname" maxlength="50" :placeholder="t('common.pleaseenter')" />
                     </el-form-item>
                 </template>
                 <el-form-item label="性别" prop="sex">
@@ -74,35 +74,35 @@
                     </el-radio-group>
                 </el-form-item>
                 <el-form-item label="手机号" prop="mobile">
-                    <el-input type="number" v-model="formData.mobile" maxlength="50" placeholder="请输入" />
+                    <el-input type="number" v-model="formData.mobile" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="联系电话" prop="telphone">
-                    <el-input type="number" v-model="formData.telphone" maxlength="50" placeholder="请输入" />
+                    <el-input type="number" v-model="formData.telphone" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item class="el-form-item--row" label="地区" prop="provinceid">
                     <app-region class="el-form-item--col" v-model:province="formData.provinceid"
                         v-model:city="formData.cityid" v-model:district="formData.districtid" />
                 </el-form-item>
                 <el-form-item class="el-form-item--row" label="地址" prop="address">
-                    <el-input v-model="formData.address" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.address" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="邮政编码" prop="postalcode">
-                    <el-input v-model="formData.postalcode" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.postalcode" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="邮箱" prop="email">
-                    <el-input v-model="formData.email" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.email" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item class="el-form-item--row" label="备注" prop="remark">
-                    <el-input type="textarea" v-model="formData.remark" maxlength="200" :rows="2" placeholder="请输入" />
+                    <el-input type="textarea" v-model="formData.remark" maxlength="200" :rows="2" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
             </fieldset>
             <fieldset class="g-fieldset el-form--horizontal">
                 <legend class="g-fieldset__legend">管理员及账户信息</legend>
                 <el-form-item label="管理员登录账号" prop="logincode">
-                    <el-input v-model="formData.logincode" maxlength="50" placeholder="请输入" :disabled="!!record" />
+                    <el-input v-model="formData.logincode" maxlength="50" :placeholder="t('common.pleaseenter')" :disabled="!!record" />
                 </el-form-item>
                 <el-form-item label="管理员名称" prop="username">
-                    <el-input v-model="formData.username" maxlength="50" placeholder="请输入" :disabled="!!record" />
+                    <el-input v-model="formData.username" maxlength="50" :placeholder="t('common.pleaseenter')" :disabled="!!record" />
                 </el-form-item>
                 <el-form-item label="默认登录密码" prop="smpassword" v-if="!record">
                     <el-input value="123456" disabled />
@@ -121,9 +121,9 @@
             </fieldset>
         </el-form>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit(2)">保存</el-button>
-            <el-button type="primary" @click="onSubmit(4)" v-if="record?.accountstatus === 4">提交审核</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit(2)">{{ t('operate.save') }}</el-button>
+            <el-button type="primary" @click="onSubmit(4)" v-if="record?.accountstatus === 4">{{ t('operate.submitaduit') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -141,6 +141,7 @@ import AppEnum from '@pc/components/modules/enum/index.vue'
 import AppRegion from '@pc/components/modules/region/index.vue'
 import AppSelectMember from '@pc/components/modules/select-member/index.vue'
 import service from '@/services'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     selectedParent: {
@@ -151,6 +152,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const formRef = ref<FormInstance>()
 const show = ref(true)
 const refresh = ref(false)
@@ -285,10 +287,10 @@ const onSubmit = (modifystatus?: number) => {
                     organSonEdit({
                         data: rawData
                     }).then(() => {
-                        ElMessage.success('提交成功')
+                        ElMessage.success(t('common.tips7'))
                         onCancel(true)
                     }).catch((err) => {
-                        ElMessage.error('提交失败:' + err)
+                        ElMessage.error(t('common.tips8') + err)
                     }).finally(() => {
                         loading.value = false
                     })
@@ -296,10 +298,10 @@ const onSubmit = (modifystatus?: number) => {
                     organSonSave({
                         data: rawData
                     }).then(() => {
-                        ElMessage.success('保存成功')
+                        ElMessage.success(t('common.tips3'))
                         onCancel(true)
                     }).catch((err) => {
-                        ElMessage.error('保存失败:' + err)
+                        ElMessage.error(t('common.tips4') + err)
                     }).finally(() => {
                         loading.value = false
                     })
@@ -308,10 +310,10 @@ const onSubmit = (modifystatus?: number) => {
                 organSonAdd({
                     data: rawData
                 }).then(() => {
-                    ElMessage.success('保存成功')
+                    ElMessage.success(t('common.tips3'))
                     onCancel(true)
                 }).catch((err) => {
-                    ElMessage.error('保存失败:' + err)
+                    ElMessage.error(t('common.tips4') + err)
                 }).finally(() => {
                     loading.value = false
                 })

+ 6 - 4
src/packages/pc/views/member/subinstitution/manage/components/recover/index.vue

@@ -3,8 +3,8 @@
     <app-drawer title="提示" v-model:show="show" :loading="loading" :refresh="refresh">
         <div class="g-text-message">确认恢复该机构机构?同时恢复默认管理员账户。</div>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">确认</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.confirm') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -14,6 +14,7 @@ import { shallowRef, PropType } from 'vue'
 import { ElMessage } from 'element-plus'
 import { organSonRecover } from '@/services/api/member'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -22,6 +23,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const show = shallowRef(true)
 const refresh = shallowRef(false)
 const loading = shallowRef(false)
@@ -38,10 +40,10 @@ const onSubmit = () => {
             areaid: props.record.userid
         }
     }).then(() => {
-        ElMessage.success('恢复成功')
+        ElMessage.success(t('common.tips13'))
         onCancel(true)
     }).catch((err) => {
-        ElMessage.error('恢复失败:' + err)
+        ElMessage.error(t('common.tips14') + err)
         onCancel()
     }).finally(() => {
         loading.value = false

+ 22 - 20
src/packages/pc/views/member/subinstitution/user/components/edit/index.vue

@@ -8,7 +8,7 @@
                     <app-select-member v-model="formData.referral" />
                 </el-form-item>
                 <el-form-item label="机构代码" prop="username">
-                    <el-input v-model="formData.username" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.username" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="所有者类型" prop="userinfotype">
                     <el-radio-group v-model="formData.userinfotype">
@@ -18,16 +18,16 @@
                     </el-radio-group>
                 </el-form-item>
                 <el-form-item label="机构名称" prop="username">
-                    <el-input v-model="formData.username" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.username" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
             </fieldset>
             <fieldset class="g-fieldset el-form--horizontal">
                 <legend class="g-fieldset__legend">{{ isPerson ? '个人' : '企业' }}资料</legend>
                 <el-form-item label="名称" prop="customername">
-                    <el-input v-model="formData.customername" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.customername" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="公司" prop="company" v-if="isPerson">
-                    <el-input v-model="formData.company" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.company" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="企业性质" prop="biznature" v-if="!isPerson">
                     <app-enum code="biznature" v-model="formData.biznature" />
@@ -37,7 +37,7 @@
                     <app-enum code="certypeperson" v-model="formData.cardtype" v-else />
                 </el-form-item>
                 <el-form-item label="证件号码" prop="cardnum">
-                    <el-input v-model="formData.cardnum" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.cardnum" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="证件照正面" prop="cardfrontphotourl">
                     <app-upload v-model="uploadFiles.cardfrontphotourl" :file-types="['image']"
@@ -49,7 +49,7 @@
                 </el-form-item>
                 <template v-if="!isPerson">
                     <el-form-item label="法人姓名" prop="legalpersonname">
-                        <el-input v-model="formData.legalpersonname" maxlength="50" placeholder="请输入" />
+                        <el-input v-model="formData.legalpersonname" maxlength="50" :placeholder="t('common.pleaseenter')" />
                     </el-form-item>
                     <el-form-item label="法人身份证正面" prop="legalcardfrontphotourl">
                         <app-upload v-model="uploadFiles.legalcardfrontphotourl" :file-types="['image']"
@@ -60,7 +60,7 @@
                             type-message="请选择正确的图片类型" />
                     </el-form-item>
                     <el-form-item label="联系人" prop="contactname">
-                        <el-input v-model="formData.contactname" maxlength="50" placeholder="请输入" />
+                        <el-input v-model="formData.contactname" maxlength="50" :placeholder="t('common.pleaseenter')" />
                     </el-form-item>
                 </template>
                 <el-form-item label="性别" prop="sex">
@@ -71,38 +71,38 @@
                     </el-radio-group>
                 </el-form-item>
                 <el-form-item label="手机号" prop="mobilephone">
-                    <el-input type="number" v-model="formData.mobilephone" maxlength="50" placeholder="请输入" />
+                    <el-input type="number" v-model="formData.mobilephone" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="联系电话" prop="telphone">
-                    <el-input type="number" v-model="formData.telphone" maxlength="50" placeholder="请输入" />
+                    <el-input type="number" v-model="formData.telphone" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item class="el-form-item--row" label="地区" prop="provinceid">
                     <app-region class="el-form-item--col" v-model:province="formData.provinceid"
                         v-model:city="formData.cityid" v-model:district="formData.districtid" />
                 </el-form-item>
                 <el-form-item class="el-form-item--row" label="地址" prop="cardaddress">
-                    <el-input v-model="formData.cardaddress" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.cardaddress" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="邮政编码" prop="postalcode">
-                    <el-input v-model="formData.postalcode" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.postalcode" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="邮箱" prop="email">
-                    <el-input v-model="formData.email" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.email" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item class="el-form-item--row" label="备注" prop="remark">
-                    <el-input type="textarea" v-model="formData.remark" maxlength="200" :rows="2" placeholder="请输入" />
+                    <el-input type="textarea" v-model="formData.remark" maxlength="200" :rows="2" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
             </fieldset>
             <fieldset class="g-fieldset el-form--horizontal">
                 <legend class="g-fieldset__legend">管理员及账户信息</legend>
                 <el-form-item label="管理员登录账号" prop="username">
-                    <el-input v-model="formData.username" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.username" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="管理员名称" prop="username">
-                    <el-input v-model="formData.username" maxlength="50" placeholder="请输入" />
+                    <el-input v-model="formData.username" maxlength="50" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="默认登录密码" prop="smpassword">
-                    <el-input v-model="formData.smpassword" maxlength="50" placeholder="请输入" disabled />
+                    <el-input v-model="formData.smpassword" maxlength="50" :placeholder="t('common.pleaseenter')" disabled />
                 </el-form-item>
             </fieldset>
             <fieldset class="g-fieldset el-form--horizontal">
@@ -118,8 +118,8 @@
             </fieldset>
         </el-form>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">提交审核</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.submitaduit') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -136,6 +136,7 @@ import AppEnum from '@pc/components/modules/enum/index.vue'
 import AppRegion from '@pc/components/modules/region/index.vue'
 import AppSelectMember from '@pc/components/modules/select-member/index.vue'
 import service from '@/services'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -143,6 +144,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const formRef = ref<FormInstance>()
 const show = ref(true)
 const refresh = ref(false)
@@ -240,10 +242,10 @@ const onSubmit = () => {
             wskhUserinfoAdd({
                 data: rawData
             }).then(() => {
-                ElMessage.success('保存成功')
+                ElMessage.success(t('common.tips3'))
                 onCancel(true)
             }).catch((err) => {
-                ElMessage.error('保存失败:' + err)
+                ElMessage.error(t('common.tips4') + err)
             }).finally(() => {
                 loading.value = false
             })

+ 5 - 2
src/packages/pc/views/member/subinstitution/user/index.vue

@@ -49,6 +49,9 @@ import AppTable from '@pc/components/base/table/index.vue'
 import AppFilter from '@pc/components/base/table-filter/index.vue'
 import AppPagination from '@pc/components/base/pagination/index.vue'
 import AppOperation from '@pc/components/base/operation/index.vue'
+import { i18n } from '@/stores'
+
+const { global: { t } } = i18n
 
 // 开户方式
 const openmodeEnum = useEnum('openmode')
@@ -93,8 +96,8 @@ filterOptons.selectList = [
 ]
 
 filterOptons.buttonList = [
-    { label: '查询', className: 'el-button--primary', onClick: () => onSearch() },
-    { label: '重置', className: 'el-button--primary', onClick: () => onSearch(true) }
+    { label: t('operation.search'), className: 'el-button--primary', onClick: () => onSearch() },
+    { label: t('operation.reset'), className: 'el-button--primary', onClick: () => onSearch(true) }
 ]
 
 // 处理操作按钮

+ 6 - 4
src/packages/pc/views/profitshare/institution/config/components/delete/index.vue

@@ -3,8 +3,8 @@
     <app-drawer title="提示" v-model:show="show" :loading="loading" :refresh="refresh">
         <div class="g-text-message">确认删除该配置?</div>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">确认</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.confirm') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -14,6 +14,7 @@ import { shallowRef, PropType } from 'vue'
 import { ElMessage } from 'element-plus'
 import { profitShareDeleteSOrganSec } from '@/services/api/profitshare'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -22,6 +23,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const show = shallowRef(true)
 const refresh = shallowRef(false)
 const loading = shallowRef(false)
@@ -40,10 +42,10 @@ const onSubmit = () => {
             subareagroupid: props.record.subareagroupid,
         }
     }).then(() => {
-        ElMessage.success('删除成功')
+        ElMessage.success(t('common.tips5'))
         onCancel(true)
     }).catch((err) => {
-        ElMessage.error('删除失败:' + err)
+        ElMessage.error(t('common.tips6') + err)
         onCancel()
     }).finally(() => {
         loading.value = false

+ 7 - 5
src/packages/pc/views/profitshare/institution/config/components/edit/index.vue

@@ -31,12 +31,12 @@
                 </el-radio-group>
             </el-form-item>
             <el-form-item label="分润值" prop="dividevalue">
-                <el-input-number v-model="formData.dividevalue" placeholder="请输入" :min="0" :max="100" />
+                <el-input-number v-model="formData.dividevalue" :placeholder="t('common.pleaseenter')" :min="0" :max="100" />
             </el-form-item>
         </el-form>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">提交</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.submit') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -48,6 +48,7 @@ import { useEnum } from '@/hooks/enum'
 import { useRequest } from '@/hooks/request'
 import { profitShareQueryPage, profitShareDelSOrganSec } from '@/services/api/profitshare'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
 interface Config {
     feeType: number;
@@ -71,6 +72,7 @@ const premiumAutoModeEnum = useEnum('premiumAutoMode')
 // 分润方式
 const areadividemodeEnum = useEnum('areadividemode')
 
+const { global: { t } } = i18n
 const formRef = ref<FormInstance>()
 const show = ref(true)
 const refresh = ref(false)
@@ -146,10 +148,10 @@ const onSubmit = () => {
             profitShareDelSOrganSec({
                 data: rawData
             }).then(() => {
-                ElMessage.success('保存成功')
+                ElMessage.success(t('common.tips3'))
                 onCancel(true)
             }).catch((err) => {
-                ElMessage.error('保存失败:' + err)
+                ElMessage.error(t('common.tips4') + err)
             }).finally(() => {
                 loading.value = false
             })

+ 6 - 4
src/packages/pc/views/profitshare/institution/group/components/delete/index.vue

@@ -3,8 +3,8 @@
     <app-drawer title="提示" v-model:show="show" :loading="loading" :refresh="refresh">
         <div class="g-text-message">确认删除分组?</div>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">确认</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.confirm') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -14,6 +14,7 @@ import { shallowRef, PropType } from 'vue'
 import { ElMessage } from 'element-plus'
 import { profitShareDelete } from '@/services/api/profitshare'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -22,6 +23,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const show = shallowRef(true)
 const refresh = shallowRef(false)
 const loading = shallowRef(false)
@@ -38,10 +40,10 @@ const onSubmit = () => {
             groupId: props.record.subareagroupid
         }
     }).then(() => {
-        ElMessage.success('删除成功')
+        ElMessage.success(t('common.tips5'))
         onCancel(true)
     }).catch((err) => {
-        ElMessage.error('删除失败:' + err)
+        ElMessage.error(t('common.tips6') + err)
         onCancel()
     }).finally(() => {
         loading.value = false

+ 8 - 6
src/packages/pc/views/profitshare/institution/group/components/edit/index.vue

@@ -10,15 +10,15 @@
                 </el-select>
             </el-form-item>
             <el-form-item label="名称" prop="subareagroupname">
-                <el-input v-model="formData.subareagroupname" placeholder="请输入" />
+                <el-input v-model="formData.subareagroupname" :placeholder="t('common.pleaseenter')" />
             </el-form-item>
             <el-form-item label="备注" prop="remark">
-                <el-input type="textarea" v-model="formData.remark" maxlength="200" :rows="2" placeholder="请输入" />
+                <el-input type="textarea" v-model="formData.remark" maxlength="200" :rows="2" :placeholder="t('common.pleaseenter')" />
             </el-form-item>
         </el-form>
         <template #footer>
-            <el-button @click="onCancel(false)">取消</el-button>
-            <el-button type="primary" @click="onSubmit">提交</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.submit') }}</el-button>
         </template>
     </app-drawer>
 </template>
@@ -29,6 +29,7 @@ import { ElMessage, FormInstance, FormRules } from 'element-plus'
 import { ProfitShareGroup, getProfitShareGroupName } from '@/constants/profitshare'
 import { profitShareDeal } from '@/services/api/profitshare'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -36,6 +37,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const formRef = ref<FormInstance>()
 const show = ref(true)
 const refresh = ref(false)
@@ -66,10 +68,10 @@ const onSubmit = () => {
             profitShareDeal({
                 data: rawData
             }).then(() => {
-                ElMessage.success('保存成功')
+                ElMessage.success(t('common.tips3'))
                 onCancel(true)
             }).catch((err) => {
-                ElMessage.error('保存失败:' + err)
+                ElMessage.error(t('common.tips4') + err)
             }).finally(() => {
                 loading.value = false
             })

+ 5 - 3
src/packages/pc/views/profitshare/institution/group/components/member/index.vue

@@ -19,7 +19,7 @@
                             </el-option>
                         </el-select>
                         <el-button type="primary" :loading="loading" @click="onSubmit">添加</el-button>
-                        <el-button @click="emit('closed')">关闭</el-button>
+                        <el-button @click="emit('closed')">{{ t('operate.close') }}</el-button>
                     </div>
                 </template>
                 <!-- 操作 -->
@@ -42,6 +42,7 @@ import { useRequest } from '@/hooks/request'
 import { profitShareMemberQuery, profitShareGroupOrgan, profitShareMemberAdd, profitShareDeleteMember } from '@/services/api/profitshare'
 import AppTable from '@pc/components/base/table/index.vue'
 import AppPagination from '@pc/components/base/pagination/index.vue'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     record: {
@@ -50,6 +51,7 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
 const emit = defineEmits(['closed'])
 const loading = ref(false)
 
@@ -111,11 +113,11 @@ const onDelete = (row: Model.ProfitShareMemberQueryRsp) => {
                         userid: row.userid
                     }
                 }).then(() => {
-                    ElMessage.success('删除成功')
+                    ElMessage.success(t('common.tips5'))
                     run()
                     getUserList()
                 }).catch((err) => {
-                    ElMessage.error('删除失败:' + err)
+                    ElMessage.error(t('common.tips6') + err)
                 }).finally(() => {
                     done()
                 })

+ 5 - 2
src/packages/pc/views/profitshare/institution/group/index.vue

@@ -38,6 +38,9 @@ import AppTable from '@pc/components/base/table/index.vue'
 import AppFilter from '@pc/components/base/table-filter/index.vue'
 import AppPagination from '@pc/components/base/pagination/index.vue'
 import AppOperation from '@pc/components/base/operation/index.vue'
+import { i18n } from '@/stores'
+
+const { global: { t } } = i18n
 
 const { filterOptons, getQueryParams } = useDataFilter<Model.ProfitShareQueryPageReq>()
 
@@ -71,8 +74,8 @@ filterOptons.inputList = [
 ]
 
 filterOptons.buttonList = [
-    { label: '查询', className: 'el-button--primary', onClick: () => onSearch() },
-    { label: '重置', className: 'el-button--primary', onClick: () => onSearch(true) }
+    { label: t('operation.search'), className: 'el-button--primary', onClick: () => onSearch() },
+    { label: t('operation.reset'), className: 'el-button--primary', onClick: () => onSearch(true) }
 ]
 
 const onSearch = (clear = false) => {

+ 5 - 3
src/packages/pc/views/query/order/accountsumm/index.vue

@@ -33,8 +33,8 @@
                         style="width: 260px;" />
                 </el-form-item>
                 <el-form-item>
-                    <el-button type="primary" @click="onSearch(false)">查询</el-button>
-                    <el-button type="primary" @click="onSearch(true)">重置</el-button>
+                    <el-button type="primary" @click="onSearch(false)">{{ t('operate.search') }}</el-button>
+                    <el-button type="primary" @click="onSearch(true)">{{ t('operate.reset') }}</el-button>
                 </el-form-item>
             </el-form>
         </template>
@@ -63,9 +63,11 @@ import { accountTransactions } from '@/services/api/order'
 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 { i18n } from '@/stores'
 
 const { getMarketOptions } = useMarket()
 
+const { global: { t } } = i18n
 const formRef = ref<FormInstance>()
 const dateValue = ref<string[] | null>([])
 
@@ -107,7 +109,7 @@ const formRules: FormRules = {
             if (dateValue.value && dateValue.value.length === 2) {
                 callback()
             } else {
-                callback(new Error('请选择日期'))
+                callback(new Error(t('common.pleasechoicedate')))
             }
         },
     }],

+ 6 - 3
src/packages/pc/views/query/order/goodssumm/index.vue

@@ -27,7 +27,7 @@
                     <el-input v-model="queryParams.excludeaccountidsstr" placeholder="请输入完整资金账户,多个逗号分隔" style="width: 260px;" />
                 </el-form-item>
                 <el-form-item>
-                    <el-button type="primary" @click="onSearch">查询</el-button>
+                    <el-button type="primary" @click="onSearch">{{ t('operate.search') }}</el-button>
                 </el-form-item>
             </el-form>
         </template>
@@ -57,9 +57,12 @@ 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 AppSelectGoods from '@pc/components/modules/select-goods/index.vue'
+import { i18n } from '@/stores'
 
-const { getMarketOptions } = useMarket()
+const { global: { t } } = i18n
 const formRef = shallowRef<FormInstance>()
+
+const { getMarketOptions } = useMarket()
 const dateValue = shallowRef<string[]>([])
 const queryParams = reactive<Model.GoodsTradeReq>({
     pageNum: 1,
@@ -96,7 +99,7 @@ const formRules: FormRules = {
             if (dateValue.value.length === 2) {
                 callback()
             } else {
-                callback(new Error('请选择日期'))
+                callback(new Error(t('common.pleasechoicedate')))
             }
         },
     }],

+ 5 - 2
src/packages/pc/views/query/order/institutionsumm/index.vue

@@ -21,7 +21,7 @@
                     <app-select-member v-model="queryParams.parentuserid" usertype="2,3" />
                 </el-form-item>
                 <el-form-item>
-                    <el-button type="primary" @click="onSearch">查询</el-button>
+                    <el-button type="primary" @click="onSearch">{{ t('operate.search') }}</el-button>
                 </el-form-item>
             </el-form>
         </template>
@@ -52,9 +52,12 @@ import AppPagination from '@pc/components/base/pagination/index.vue'
 import AppOperation from '@pc/components/base/operation/index.vue'
 import AppSelectGoods from '@pc/components/modules/select-goods/index.vue'
 import AppSelectMember from '@pc/components/modules/select-member/index.vue'
+import { i18n } from '@/stores'
 
 const { getMarketOptions } = useMarket()
+const { global: { t } } = i18n
 const formRef = shallowRef<FormInstance>()
+
 const marketId = shallowRef<number>()
 const dateValue = shallowRef<string[]>([])
 const queryParams = reactive<Model.InvestorOrderReq>({
@@ -93,7 +96,7 @@ const formRules: FormRules = {
             if (dateValue.value.length === 2) {
                 callback()
             } else {
-                callback(new Error('请选择日期'))
+                callback(new Error(t('common.pleasechoicedate')))
             }
         },
     }],

+ 1 - 1
src/packages/pc/views/query/order/order/components/details/index.vue

@@ -16,7 +16,7 @@
             </app-table>
         </template>
         <template #footer>
-            <el-button @click="onCancel(false)">关闭</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.close') }}</el-button>
         </template>
     </app-drawer>
 </template>

+ 2 - 2
src/packages/pc/views/query/order/order/components/export/index.vue

@@ -2,8 +2,8 @@
     <app-drawer title="提示" v-model:show="show" :loading="loading">
         <div class="g-text-message">确定导出表格数据?</div>
         <template #footer>
-            <el-button @click="onCancel">取消</el-button>
-            <el-button type="primary" @click="onSubmit">确认</el-button>
+            <el-button @click="onCancel">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.confirm') }}</el-button>
         </template>
     </app-drawer>
 </template>

+ 8 - 6
src/packages/pc/views/query/order/order/index.vue

@@ -13,8 +13,8 @@
                 </el-form-item>
                 <el-form-item label="查询类型" prop="isHis">
                     <el-select v-model="queryParams.isHis" @change="onTypeChange">
-                        <el-option label="当前" :value="0" />
-                        <el-option label="历史" :value="1" />
+                        <el-option :label="t('common.current')" :value="0" />
+                        <el-option :label="t('common.history')" :value="1" />
                     </el-select>
                 </el-form-item>
                 <el-form-item label="日期" prop="date" v-if="queryParams.isHis === 1">
@@ -36,7 +36,7 @@
                     </el-select>
                 </el-form-item>
                 <el-form-item label="委托单号" prop="orderId">
-                    <el-input type="number" v-model="queryParams.orderId" placeholder="请输入" />
+                    <el-input type="number" v-model="queryParams.orderId" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="商品" prop="goodsId">
                     <el-input type="number" v-model="queryParams.goodsId" placeholder="请输入商品ID" />
@@ -49,8 +49,8 @@
                         style="width: 260px;" />
                 </el-form-item>
                 <el-form-item>
-                    <el-button type="primary" @click="onSearch(false)">查询</el-button>
-                    <el-button type="primary" @click="onSearch(true)">重置</el-button>
+                    <el-button type="primary" @click="onSearch(false)">{{ t('operate.search') }}</el-button>
+                    <el-button type="primary" @click="onSearch(true)">{{ t('operate.reset') }}</el-button>
                 </el-form-item>
             </el-form>
         </template>
@@ -87,6 +87,7 @@ import { queryCommissionSheet } from '@/services/api/order'
 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 { i18n } from '@/stores'
 
 const { getMarketOptions, getMarketById } = useMarket()
 // 委托类型
@@ -94,6 +95,7 @@ const buildtypeEnum = useEnum('buildtype')
 // 委托状态
 const orderstatusEnum = useEnum('orderstatus')
 
+const { global: { t } } = i18n
 const formRef = ref<FormInstance>()
 const dateValue = ref<string[] | null>([])
 
@@ -140,7 +142,7 @@ const formRules: FormRules = {
             if (dateValue.value && dateValue.value.length === 2) {
                 callback()
             } else {
-                callback(new Error('请选择日期'))
+                callback(new Error(t('common.pleasechoicedate')))
             }
         },
     }],

+ 1 - 1
src/packages/pc/views/query/order/position/components/details/index.vue

@@ -3,7 +3,7 @@
     <app-drawer title="详情" width="900" v-model:show="show">
         <app-table-details :data="data" :label-width="120" :cell-props="detailProps" :column="2" />
         <template #footer>
-            <el-button @click="onCancel(false)">关闭</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.close') }}</el-button>
         </template>
     </app-drawer>
 </template>

+ 2 - 2
src/packages/pc/views/query/order/position/components/export/index.vue

@@ -2,8 +2,8 @@
     <app-drawer title="提示" v-model:show="show" :loading="loading">
         <div class="g-text-message">确定导出表格数据?</div>
         <template #footer>
-            <el-button @click="onCancel">取消</el-button>
-            <el-button type="primary" @click="onSubmit">确认</el-button>
+            <el-button @click="onCancel">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.confirm') }}</el-button>
         </template>
     </app-drawer>
 </template>

+ 9 - 7
src/packages/pc/views/query/order/position/index.vue

@@ -21,8 +21,8 @@
                 </el-form-item>
                 <el-form-item label="单据类型" prop="isHis">
                     <el-select v-model="queryParams.isHis" @change="onTypeChange">
-                        <el-option label="当前" :value="0" />
-                        <el-option label="历史" :value="1" />
+                        <el-option :label="t('common.current')" :value="0" />
+                        <el-option :label="t('common.history')" :value="1" />
                     </el-select>
                 </el-form-item>
                 <el-form-item label="日期" prop="date" v-if="queryParams.isHis === 1">
@@ -30,13 +30,13 @@
                         start-placeholder="开始" end-placeholder="结束" @change="onDateChange" />
                 </el-form-item>
                 <el-form-item label="成交单号" prop="tradeId">
-                    <el-input type="number" v-model="queryParams.tradeId" placeholder="请输入" />
+                    <el-input type="number" v-model="queryParams.tradeId" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="商品" prop="goodsId">
                     <el-input type="number" v-model="queryParams.goodsId" placeholder="请输入商品ID" />
                 </el-form-item>
                 <el-form-item label="登录账号" prop="loginId">
-                    <el-input v-model="queryParams.loginId" placeholder="请输入" />
+                    <el-input v-model="queryParams.loginId" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item label="账户" prop="loginId">
                     <el-input v-model="queryParams.accountId" placeholder="输入账户或名称" />
@@ -48,8 +48,8 @@
                     <el-switch v-model="queryParams.validHolderQty" active-value="1" inactive-value="0" />
                 </el-form-item>
                 <el-form-item>
-                    <el-button type="primary" @click="onSearch(false)">查询</el-button>
-                    <el-button type="primary" @click="onSearch(true)">重置</el-button>
+                    <el-button type="primary" @click="onSearch(false)">{{ t('operate.search') }}</el-button>
+                    <el-button type="primary" @click="onSearch(true)">{{ t('operate.reset') }}</el-button>
                 </el-form-item>
             </el-form>
         </template>
@@ -86,12 +86,14 @@ import { queryPositionSheet } from '@/services/api/order'
 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 { i18n } from '@/stores'
 
 const { getMarketOptions } = useMarket()
 
 // 机构类型
 const usertype2Enum = useEnum('usertype2')
 
+const { global: { t } } = i18n
 const formRef = ref<FormInstance>()
 const dateValue = ref<string[] | null>([])
 
@@ -146,7 +148,7 @@ const formRules: FormRules = {
             if (dateValue.value && dateValue.value.length === 2) {
                 callback()
             } else {
-                callback(new Error('请选择日期'))
+                callback(new Error(t('common.pleasechoicedate')))
             }
         },
     }],

+ 2 - 2
src/packages/pc/views/query/order/positionsumm/components/export/index.vue

@@ -2,8 +2,8 @@
     <app-drawer title="提示" v-model:show="show" :loading="loading">
         <div class="g-text-message">确定导出表格数据?</div>
         <template #footer>
-            <el-button @click="onCancel">取消</el-button>
-            <el-button type="primary" @click="onSubmit">确认</el-button>
+            <el-button @click="onCancel">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.confirm') }}</el-button>
         </template>
     </app-drawer>
 </template>

+ 3 - 3
src/packages/pc/views/query/order/positionsumm/index.vue

@@ -22,11 +22,11 @@
                     <el-input type="number" v-model="queryParams.areauserid" placeholder="请输入机构ID" />
                 </el-form-item>
                 <el-form-item label="登录账号" prop="loginid">
-                    <el-input v-model="queryParams.loginid" placeholder="请输入" />
+                    <el-input v-model="queryParams.loginid" :placeholder="t('common.pleaseenter')" />
                 </el-form-item>
                 <el-form-item>
-                    <el-button type="primary" @click="onSearch(false)">查询</el-button>
-                    <el-button type="primary" @click="onSearch(true)">重置</el-button>
+                    <el-button type="primary" @click="onSearch(false)">{{ t('operate.search') }}</el-button>
+                    <el-button type="primary" @click="onSearch(true)">{{ t('operate.reset') }}</el-button>
                 </el-form-item>
             </el-form>
         </template>

+ 1 - 1
src/packages/pc/views/query/order/trade/components/details/index.vue

@@ -9,7 +9,7 @@
             </template>
         </app-table>
         <template #footer>
-            <el-button @click="onCancel(false)">关闭</el-button>
+            <el-button @click="onCancel(false)">{{ t('operate.close') }}</el-button>
         </template>
     </app-drawer>
 </template>

+ 2 - 2
src/packages/pc/views/query/order/trade/components/export/index.vue

@@ -2,8 +2,8 @@
     <app-drawer title="提示" v-model:show="show" :loading="loading">
         <div class="g-text-message">确定导出表格数据?</div>
         <template #footer>
-            <el-button @click="onCancel">取消</el-button>
-            <el-button type="primary" @click="onSubmit">确认</el-button>
+            <el-button @click="onCancel">{{ t('operate.cancel') }}</el-button>
+            <el-button type="primary" @click="onSubmit">{{ t('operate.confirm') }}</el-button>
         </template>
     </app-drawer>
 </template>

Some files were not shown because too many files changed in this diff