Browse Source

补充something

Karsa 10 months ago
parent
commit
12b2a771fb

+ 1 - 0
src/lang/modules/EtaBase/En.js

@@ -3,6 +3,7 @@
 export default {
   /* 指标库页面 */
   EtaBasePage: {
+    tab_menu: 'Catagory',
     add_edb_btn: 'Add Indicator',
     calculation_edb_btn: 'Calculation',
     replace_edb_btn: 'Indicator Replacement',

+ 1 - 0
src/lang/modules/EtaBase/Zh.js

@@ -3,6 +3,7 @@
 export default {
   /* 指标库页面 */
   EtaBasePage: {
+    tab_menu: '目录',
     add_edb_btn: '添加指标',
     calculation_edb_btn: '计算指标',
     replace_edb_btn: '替换指标',

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

@@ -124,6 +124,10 @@ export default {
     zh:'年数',
     en:'Number of years'
   },
+  only_see_mine:{
+    zh:'只看我的',
+    en:'Just look at mine'
+  },
 
 
   /* 指标相关字段 */

+ 1 - 1
src/lang/modules/systemManage/RoleManage.js

@@ -28,7 +28,7 @@ export const RoleManageZh = {
     serial_num:'序号',
     role_type:'角色类型',
     set_permission:'设置权限 ',
-    search_placeholder:'Role Search',
+    search_placeholder:'角色搜索',
     no_role_data:'暂无角色',
     input_role_placeholder:'请填写角色名称',
     select_role_placeholder:'选择角色类型',

+ 1 - 1
src/views/chartRelevance_manage/relevance/list.vue

@@ -671,7 +671,7 @@ export default {
       this.refreshLoading = this.$loading({
         lock: true,
         target: ".main-right",
-        text: "刷新图表中...",
+        text: /* "刷新图表中..." */this.$t('Chart.OptMsg.refresh_ing_msg'),
         spinner: "el-icon-loading",
         background: "rgba(255, 255, 255, 0.8)",
       });

+ 2 - 2
src/views/dataEntry_manage/databaseList.vue

@@ -80,11 +80,11 @@
 			<div class="main-left left" id="left" v-show="isMainLeftShow">
 				<div class="tree-cont">
 					<div style="padding-bottom:20px;padding-right:20px;display:flex;justify-content:space-between">
-						<span>目录</span>
+						<span><!-- 目录 -->{{$t('EtaBasePage.tab_menu')}}</span>
 						<el-checkbox 
 							v-model="IsOnlyMe"
 							@change="onlyMeHandler"
-						>只看我的</el-checkbox>
+						><!-- 只看我的 -->{{$t('Edb.only_see_mine')}}</el-checkbox>
 					</div>
 					<div class="target_tree">
 					<el-tree

+ 4 - 1
src/views/futures_manage/chartEditor.vue

@@ -81,7 +81,7 @@
 							@change="changeFuturesHandle"
 						/>
 					</el-form-item>
-					<el-form-item :label="$t('ToolBox.CommodityPriceChart.chart_name')" prop="ChartName">
+					<el-form-item :label="$t('ToolBox.CommodityPriceChart.chart_name')" :prop="currentLang==='en'?'ChartNameEn':'ChartName'">
 						<el-input
 							v-if="currentLang==='en'"
 							v-model="chartInfo.ChartNameEn"
@@ -254,6 +254,9 @@ export default {
 				ChartName:[
 					{ required: true, message: this.$t('ToolBox.CommodityPriceChart.tips_msg02')||'图表名称不能为空', trigger: 'blur' },
 				],
+				ChartNameEn:[
+					{ required: true, message: this.$t('ToolBox.CommodityPriceChart.tips_msg02')||'图表名称不能为空', trigger: 'blur' },
+				],
 				classify:[
 					{ required: true, message: this.$t('ToolBox.CommodityPriceChart.tips_msg03')||'图表分类不能为空', trigger: 'blur' },
 				],

+ 1 - 1
src/views/system_manage/dataOperaAuth.vue

@@ -160,7 +160,7 @@
                 {{ currentLang==='en' ? (row.NameEn||row.Name) : row.Name }}
               </span>
 
-              <template v-if="item.key==='handle'">
+              <template v-else-if="item.key==='handle'">
                 <span 
                   class="editsty" 
                   @click="() => {currAuthSet===1 ? transferAuthHandle(row) : setAuthHandle(row)}"