Karsa 8 ヶ月 前
コミット
58490bafb0

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

@@ -645,6 +645,10 @@ export default {
       zh: '请选择所属分类',
       en: 'Please select category'
     },
+    select_menu_name: {
+      zh: '请选择分类名称',
+      en: 'Please select category name'
+    }
   },
   
   /* 公示说明 */

+ 8 - 0
src/lang/modules/EtaChart/commonLang.js

@@ -206,6 +206,14 @@ export default {
     del_classify_link_msg: {
       zh:'该图分类已添加节点链接,不允许删除!',
       en:'This chart category has added node links and cannot be deleted!'
+    },
+    choose_repalce_msg: {
+      zh:'请选择替换指标',
+      en:'This chart category has added node links and cannot be deleted!'
+    },
+    copy_noenough_en: {
+      zh:'英文名称未输入完整,分享图表上可能出现空名称的情况,确定继续分享吗?',
+      en:'The English name is not fully entered, which may result in a blank name appearing on the shared chart. Are you sure you want to continue sharing?'
     }
 
 

+ 2 - 1
src/lang/modules/MyEta/En.js

@@ -42,6 +42,7 @@ export default {
     label_update_time: 'Update Time',
     detail_copy_img: 'Copy picture',
     del_confirm_msg:' It cannot be recovered after deletion. Do you confirm the deletion?',
+    vaild_node_name: 'Please enter the node name',
 
     //重命名弹窗
     label_rename:'Rename the frame',
@@ -70,7 +71,7 @@ export default {
     op_start_arrow:'Start Arrow',
     op_end_arrow:'End Arrow',
     no_link_msg:'The gallery linked to this node contains no charts',
-    no_classify:'This node has not selected a chart category',
+    no_classify_msg:'This node has not selected a chart category',
 
     //节点名称
     label_node_name:'Node Name',

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

@@ -43,6 +43,7 @@ export default {
     label_update_time: '更新时间',
     detail_copy_img: '复制图片',
     del_confirm_msg:'删除后不可恢复,确认删除吗?',
+    vaild_node_name: '请输入节点名称',
 
     //重命名弹窗
     label_rename:'重命名框架',

+ 1 - 1
src/views/chartFrame_manage/frameEditor.vue

@@ -81,7 +81,7 @@ export default {
             },//正在编辑的节点
             isModifyNodeDialogShow: false,//编辑节点弹窗
             rules: {
-                nodeName: [{ required: true, message: "请输入节点名称", trigger: "blur" }],
+                nodeName: [{ required: true, message:/*  "请输入节点名称" */this.$t('ChartFramePage.vaild_node_name'), trigger: "blur" }],
                 /* nodeLink: [{ required: true, message: "请选择节点链接", trigger: "blur" }] */
             },
             myList:[],//我的图库列表

+ 1 - 3
src/views/dataEntry_manage/chartSetting.vue

@@ -1965,9 +1965,7 @@ export default {
             }
           }
           if(!flag){
-            this.$confirm('英文名称未输入完整,分享图表上可能出现空名称的情况,确定继续分享吗?', '提示', {
-                confirmButtonText: '确定',
-                cancelButtonText: '取消',
+            this.$confirm(/* '英文名称未输入完整,分享图表上可能出现空名称的情况,确定继续分享吗?' */this.$t('Chart.OptMsg.copy_noenough_en'), /* '提示' */this.$t('Dialog.warn_tit'), {
                 type: 'warning',
             })
             .then(() => {

+ 1 - 1
src/views/dataEntry_manage/components/satterSeriesDia.vue

@@ -674,7 +674,7 @@ export default {
 
     /* 确定替换 */
     saveReplace() {
-      if(!this.replaceForm.item.target_id) return this.$message('请选择替换指标')
+      if(!this.replaceForm.item.target_id) return this.$message.warning(/* '请选择替换指标' */this.$t('Chart.OptMsg.choose_repalce_msg'))
       const { index,type,item } = this.replaceForm;
 
       type==='x' ? this.targetInfo.xEdbs.splice(index,1,item) : this.targetInfo.yEdbs.splice(index,1,item);

+ 2 - 2
src/views/dataEntry_manage/thirdBase/smmTargetbase.vue

@@ -238,7 +238,7 @@
             <el-cascader
               style="width: 80%"
               :key="cascaderKey"
-              placeholder="请选择分类名称"
+              :placeholder="$t('Edb.InputHolderAll.select_menu_name')"
               v-model="classifyForm.classifys_id"
               :options="cascaderList"
               :props="{
@@ -1069,7 +1069,7 @@ export default {
         })
         .then((res) => {
           if (res.Ret !== 200) return;
-          this.$message.success("移动成功!");
+          this.$message.success(/* "移动成功!" */this.$t('MsgPrompt.move_success_msg'));
           this.getClassify();
         });
     },

+ 1 - 1
src/views/mychart_manage/components/chartDetailDia.vue

@@ -705,7 +705,7 @@ export default {
         'office':false,
         'url':false
       },
-      hintText:'英文名称未输入完整,分享图表上可能出现空名称的情况,确定继续分享吗?',
+      hintText:/* '英文名称未输入完整,分享图表上可能出现空名称的情况,确定继续分享吗?' */this.$t('Chart.OptMsg.copy_noenough_en'),
 
       /* 查看历史弹窗 */
 			isLookHistory: false,