bding 8 сар өмнө
parent
commit
cd4c41ff8e

+ 2 - 1
src/lang/modules/SemanticsManage/DocumentComparison.js

@@ -54,7 +54,7 @@ export const DocumentComparisonEn = {
   their_tags: "Their Tags",
   view_tags: "View tags",
   generating_result_image: "Generating result image...",
-
+  maximum_documents_msg: "A maximum of 10 documents can be selected.",
 };
 
 /* 中文 */
@@ -110,4 +110,5 @@ export const DocumentComparisonZh = {
   their_tags: "Ta的标签",
   view_tags: "查看标签",
   generating_result_image: "正在生成结果图片...",
+  maximum_documents_msg: "最多支持选择10个文档",
 };

+ 2 - 1
src/views/dataEntry_manage/databaseComponents/batchComputedSave.vue

@@ -297,7 +297,8 @@ export default {
                 })
                 this.dealFailHandle(Fail)
             }else {
-                this.$message.success('添加成功');
+                // this.$message.success('添加成功');
+			    this.$message.success(this.$t('MsgPrompt.add_msg2'));
                 // this.init();
                 this.$emit('addCallBack','add',{ code:Success[0].UniqueCode,id:Success[0].EdbInfoId,classifyId:Success[0].ClassifyId});
             }

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

@@ -692,7 +692,7 @@ export default {
       //根据因数找单元格
       let isAllCell = factors.some(_ => findCellByFactor(_)===null||isNaN(findCellByFactor(_)))
       if(isAllCell) {
-        this.$message.warning(this.$t('OnlineExcelPage.xxformula_val_error_msgx') )
+        this.$message.warning(this.$t('OnlineExcelPage.formula_val_error_msg') )
         return '';
       } 
 

+ 2 - 1
src/views/report_manage/components/prioritySettingList.vue

@@ -290,7 +290,8 @@ export default {
           ConfigType,ClassifyId,Level
         }).then(res=>{
           if(res.Ret!==200) return
-          this.$message.success('添加成功')
+          // this.$message.success('添加成功')
+          this.$message.success(this.$t('MsgPrompt.add_msg2'));
           this.closeDialog()
           this.changePage(1)
           return

+ 2 - 1
src/views/report_manage/pdfList.vue

@@ -251,7 +251,8 @@ export default {
                 PdfName,PdfUrl,OriginName
             }).then(res=>{
                 if(res.Ret!==200) return 
-                this.$message.success('添加成功')
+                // this.$message.success('添加成功')
+			    this.$message.success(this.$t('MsgPrompt.add_msg2'));
                 this.getTableData()
                 this.modifyPDFDialogShow=false
             })

+ 2 - 1
src/views/semantics_manage/semantics/components/addSectionLabelDialog.vue

@@ -175,7 +175,8 @@ export default {
         LabelName:this.labelName
       }).then(res=>{
         if(res.Ret!==200) return 
-        this.$message.success('添加成功')
+        // this.$message.success('添加成功')
+        this.$message.success(this.$t('MsgPrompt.add_msg2'));
         this.isAddLabelShow = false
         this.getLabelList()
       })

+ 1 - 1
src/views/semantics_manage/semantics/components/selectFileDialog.vue

@@ -140,7 +140,7 @@ export default {
       //获取选择对比文档ids 结果抛出
       if(selectKeys.length){
         if(selectKeys.length>10){
-          this.$message.warning('最多支持选择10个文档')
+          this.$message.warning(this.$t('SemanticsManage.DocumentComparison.maximum_documents_msg'))
           return
         }
         this.$emit('selectFile',selectKeys)

+ 2 - 1
src/views/supply_manage/components/addOtherPlantDia.vue

@@ -200,7 +200,8 @@ export default {
       })
 
       if(res.Ret !== 200)
-      this.$message.success('添加成功')
+      // this.$message.success('添加成功')
+      this.$message.success(this.$t('MsgPrompt.add_msg2'));
       this.cancelHandle()
       this.$emit('success')
     },

+ 2 - 1
src/views/supply_manage/components/createTargetDia.vue

@@ -161,7 +161,8 @@ export default {
 
 			const res = await supplyApi.addIntoEtaBase(params);
 			if(res.Ret !== 200) return
-			this.$message.success('添加成功');
+			// this.$message.success('添加成功');
+			this.$message.success(this.$t('MsgPrompt.add_msg2'));
 			this.cancelHandle();
 			this.$emit('successBack');