Browse Source

更新了bug

bding 8 months ago
parent
commit
6a3ced8f9f

+ 5 - 5
src/lang/modules/ETATables/En.js

@@ -119,16 +119,16 @@ export default {
     example_a_b: "Example formula: A-B returns the difference in days between date a and date B as a number",
     indicators_cap_reached: "The number of added indicators has reached the upper limit",
     input_formula_valid: "Calculation Formula can not be blank",
-    date_change_label: "Date transformation ",
-    date_displacement_label: "Date displacement",
+    date_change_label: "Date Change",
+    date_displacement_label: "Date Shift",
     specified_frequency_tag: "Specified frequency",
     added_frequency_offset_msg: "Specified frequency has been added.",
     added_date_offset_msg: "Added date offset",
     impord_date_title: "Import Date",
-    indicator_date_radio: "Date of indicator",
+    indicator_date_radio: "Indic Date",
     frequency_lable: "Frequency",
-    lagging_period_label: "Shift Periods Forward",
-    system_date_rai: "System Date",
+    lagging_period_label: "Period Shift",
+    system_date_rai: "Sys Date",
     term_ipt: "stage",
     formula_explanation_btn: "Formula Explanation",
     tips_text: `Formula Explanation:<br>1. Index Date: Takes the latest date of the selected index, which updates along with the latest date.<br>2. System Date: Takes the system date, which updates along with the system date.<br>3. Date Offset Examples:<br>Original date 2023/10/12, date offset function set to 5 days 0 months 0 years, the converted date will be 2023/10/17.<br>Original date 2023/10/12, date offset function set to 30 days 0 months 0 years, the converted date will be 2023/11/11.<br>Original date 2023/10/30, date offset function set to 0 days 1 month 0 years, the converted date will be 2023/11/30.<br>Original date 2023/10/31, date offset function set to 0 days 1 month 0 years, the converted date will be 2023/12/1.<br>4. Date Offset and specified frequency can be overlaid, for example:<br>Original date 2023/10/12, first date offset by 1 month (2023/11/12), then frequency set to the last day of the month, the converted date will be 2023/11/30.<br>Original date 2023/10/12, first frequency set to the last day of the month (2023/10/31), then date offset by 1 month, the converted date will be 2023/12/1.`,

+ 20 - 0
src/lang/modules/EtaBase/commonLang.js

@@ -457,6 +457,26 @@ export default {
       zh: '指标计算',
       en: 'Indicator calculation'
     },
+    rule_move_average: {
+      zh: 'N期移动均值',
+      en: 'Moving Average'
+    },
+    period_over_period: {
+      zh: 'N期环比值',
+      en: 'N-Period Period-over-Period Value'
+    },
+    period_difference: {
+      zh: 'N期环比值',
+      en: 'N-Period Difference Value'
+    },
+    annualized: {
+      zh: '年化值',
+      en: 'Annualized Value'
+    },
+    frequency: {
+      zh: '降频',
+      en: 'Downsample or Reduce Frequency'
+    },
   },
 
   /* 指标添加form提示 */

+ 5 - 5
src/views/datasheet_manage/common/customTable.js

@@ -151,14 +151,14 @@ export function getRightClickMenu(pos,canEdit=false) {
         { label: bus.$i18nt ? bus.$i18nt.t('Edb.CalculatesAll.to_month_quarter') : '累计值转月/季值',source: 1,fromEdbKey:5 },
         { label: bus.$i18nt ? bus.$i18nt.t('Edb.CalculatesAll.on_year') : '同比值',source: 3,fromEdbKey:6 },
         { label: bus.$i18nt ? bus.$i18nt.t('Edb.CalculatesAll.differ') : '同差值',source: 4,fromEdbKey:7 },
-        { label: bus.$i18nt ? bus.$i18nt.t('PredictEditPage.rule_move_average') : 'N期移动均值',source: 5,fromEdbKey:8 },
-        { label: bus.$i18nt ? bus.$i18nt.t('Edb.CalculatesAll.to_month_quarter') : 'N期环比值',source: 6,fromEdbKey:12 },
-        { label: bus.$i18nt ? bus.$i18nt.t('Edb.CalculatesAll.to_month_quarter') : 'N期环差值',source: 7,fromEdbKey:13 },
+        { label: bus.$i18nt ? bus.$i18nt.t('Edb.CalculatesAll.rule_move_average') : 'N期移动均值',source: 5,fromEdbKey:8 },
+        { label: bus.$i18nt ? bus.$i18nt.t('Edb.CalculatesAll.period_over_period') : 'N期环比值',source: 6,fromEdbKey:12 },
+        { label: bus.$i18nt ? bus.$i18nt.t('Edb.CalculatesAll.period_difference') : 'N期环差值',source: 7,fromEdbKey:13 },
         { label: bus.$i18nt ? bus.$i18nt.t('Edb.CalculatesAll.up_conver') : '升频',source: 8,fromEdbKey:14 },
         { label: bus.$i18nt ? bus.$i18nt.t('Edb.CalculatesAll.time_move') : '时间移位',source: 10,fromEdbKey:22 },
         { label: bus.$i18nt ? bus.$i18nt.t('Edb.CalculatesAll.super_season') : '超季节性',source: 11,fromEdbKey:35 },
-        { label: bus.$i18nt ? bus.$i18nt.t('Edb.CalculatesAll.to_month_quarter') : '年化值',source: 12,fromEdbKey:52 },
-        { label: bus.$i18nt ? bus.$i18nt.t('Edb.CalculatesAll.to_month_quarter') : '降频',source: 9,fromEdbKey:51 },
+        { label: bus.$i18nt ? bus.$i18nt.t('Edb.CalculatesAll.annualized') : '年化值',source: 12,fromEdbKey:52 },
+        { label: bus.$i18nt ? bus.$i18nt.t('Edb.CalculatesAll.frequency') : '降频',source: 9,fromEdbKey:51 },
         { label: bus.$i18nt ? bus.$i18nt.t('Edb.CalculatesAll.cumulate') : '累计值',source: 13,fromEdbKey:62 },
         { label: bus.$i18nt ? bus.$i18nt.t('Edb.CalculatesAll.ex_smooth') : '指数修匀',source: 15,fromEdbKey:'alpha' },
         { label: bus.$i18nt ? bus.$i18nt.t('Edb.CalculatesAll.day_mean') : '日均值',source: 16,fromEdbKey:75 },

+ 1 - 1
src/views/datasheet_manage/components/calculateEdbDia.vue

@@ -16,7 +16,7 @@
               @change="()=>{ $refs.selectRef.targetTypeChange();changeSource() }"
             >
               <el-radio :label="1">{{$t('Edb.CalculateBtns.to_month')}}</el-radio>
-              <el-radio :label="2">{{$t('Edb.CalculateBtns.to_month')}}</el-radio>
+              <el-radio :label="2">{{$t('Edb.CalculateBtns.to_quarter')}}</el-radio>
             </el-radio-group>
           </template>
 

+ 3 - 0
src/views/datasheet_manage/components/dateMoveWaySection.vue

@@ -165,6 +165,9 @@ export default {
   .date-change-li {
     margin: 10px 0;
   }
+  .header {
+    label { width: 100px;text-align: right;margin-left: -20px;}
+  }
   .date-item {
     display: flex;
     align-items: center;

+ 1 - 1
src/views/datasheet_manage/components/insertDateDia.vue

@@ -206,7 +206,7 @@ export default {
     margin: 20px 0; 
     display: flex;
     align-items: center;
-    label { width: 80px;flex-shrink: 0; }
+    label { width: 90px;flex-shrink: 0;text-align: right;}
   }
 }
 .dia-bot {

+ 1 - 1
src/views/report_manage/everyday.vue

@@ -332,7 +332,7 @@ export default {
         height: 350,
         fontSizeDefaultSelection: "16",
         theme: "dark", //主题
-        placeholderText: "请输入内容",
+        placeholderText: localStorage.getItem('i18n') == 'en' ? 'Please input content' : "请输入内容",
         language: localStorage.getItem('i18n') == 'en' ? 'en' : "zh_cn", //国际化
         imageUploadURL: process.env.VUE_APP_API_ROOT + "/report/uploadImg", //上传url
         videoUploadURL: process.env.VUE_APP_API_ROOT + "/report/uploadImg", //上传url

+ 1 - 1
src/views/report_manage/mixins/editor.js

@@ -45,7 +45,7 @@ export default {
         fontSize: ["12", "13","14","15", "16", "18", "20", "24", "28", "32", "36", "40"],
         fontSizeDefaultSelection: "16",
         theme: "dark", //主题
-        placeholderText: "请输入内容",
+        placeholderText: localStorage.getItem('i18n') == 'en' ? 'Please input content' : "请输入内容",
         language: localStorage.getItem('i18n') == 'en' ? 'en' : "zh_cn", //国际化
         imageUploadURL: process.env.VUE_APP_API_ROOT + "/report/uploadImg", //上传url
         videoUploadURL: process.env.VUE_APP_API_ROOT + "/report/uploadImg", //上传url

+ 1 - 1
src/views/report_manage/mixins/reportMixin.js

@@ -95,7 +95,7 @@ export default {
         fontSize: ["12", "13","14","15", "16", "18", "20", "24", "28", "32", "36", "40"],
         fontSizeDefaultSelection: "16",
         theme: "dark", //主题
-        placeholderText: "请输入内容",
+        placeholderText: localStorage.getItem('i18n') == 'en' ? 'Please input content' : "请输入内容",
         language: localStorage.getItem('i18n') == 'en' ? 'en' : "zh_cn", //国际化
         imageUploadURL: process.env.VUE_APP_API_ROOT + "/report/uploadImg", //上传url
         videoUploadURL: process.env.VUE_APP_API_ROOT + "/report/uploadImg", //上传url

+ 1 - 1
src/views/report_manage/reportEn/reportEditor.vue

@@ -494,7 +494,7 @@ export default {
         fontSizeDefaultSelection: "16",
         quickInsertEnabled: false,
         theme: "dark", //主题
-        placeholderText:'请输入overview',
+        placeholderText:localStorage.getItem('i18n') == 'en' ? 'Please Overview' : '请输入overview',
         language: localStorage.getItem('i18n') == 'en' ? 'en' : "zh_cn",
         //允许粘贴的样式
         pasteAllowedStyleProps: ['font-family', 'font-size', 'color']

+ 2 - 2
src/views/smartReport/components/TextEdit.vue

@@ -62,8 +62,8 @@ export default {
                 fontSize: ["12", "13","14","15", "16", "18", "20", "24", "28", "32", "36", "40"],
                 fontSizeDefaultSelection: "16",
                 theme: "dark", //主题
-                placeholderText: "请输入内容",
-                language: "zh_cn", //国际化
+                placeholderText: localStorage.getItem('i18n') == 'en' ? 'Please input content' : "请输入内容",
+                language: localStorage.getItem('i18n') == 'en' ? 'en' : "zh_cn", //国际化
                 imageDefaultWidth: false,
                 quickInsertEnabled: false,
                 toolbarVisibleWithoutSelection: true, //是否开启 不选中模式