瀏覽代碼

fix: 修改翻译

tangning 2 年之前
父節點
當前提交
645551707c
共有 2 個文件被更改,包括 10 次插入4 次删除
  1. 1 1
      src/locales/lang/en/routes/equity.ts
  2. 9 3
      src/views/loglist/index.vue

+ 1 - 1
src/locales/lang/en/routes/equity.ts

@@ -58,7 +58,7 @@ export default {
     2:'Membership Subscription: current records of new authorizations by dealers and related ID renewal records, including dealer authorizations and renewals, platform authorizations (renewals), and official website purchases (renewals).',
     3:'Scene Download: statistical information on the number of downloads of current new authorizations by sales.',
   },
-  totalTime:'End Date',
+  totalTime:'Duration',
   totalMessge:'Insufficient Remaining Saleable Membership Subscriptions',
   operationType:'Operation',
   operationUserName:'User',

+ 9 - 3
src/views/loglist/index.vue

@@ -61,6 +61,9 @@ export default defineComponent({
         dataIndex: 'validTimeType',
         width: 180,
         customRender({ record }) {
+          if(record.validTimeType==2 || record.validTimeType==3){
+            return '-'
+          }
           return record.validTimeType==0 ?t('routes.equity.equityType.0'):record.validTimeType==1? t('routes.equity.equityType.3') : t('routes.device.NoBind');
         },
       },
@@ -68,9 +71,12 @@ export default defineComponent({
         title: t('routes.equity.incrementId'),
         dataIndex: 'incrementId',
         width: 180,
-        // customRender({ record }) {
-        //   return record.userName ? record.userName : '-';
-        // },
+        customRender({ record }) {
+          if(record.validTimeType==2 || record.validTimeType==3){
+            return '-'
+          }
+          return record.userName ? record.userName : '-';
+        },
       },
     ];
     const searchForm: Partial<FormProps> = {