Browse Source

警告框不能配置提示信息等

duy 1 year ago
parent
commit
8b2dc55aaa

+ 7 - 0
src/views/exctab/ElementIdentification/template/promptSettings.vue

@@ -93,6 +93,13 @@ export default {
         });
         return;
       }
+      else if(this.htmlData1.name === '警告' ){
+        this.$message({
+            type: "warning",
+            message: "警告框不能配置提示信息"
+          });
+          return;
+      }
 
       if(this.textarea === '' || this.textarea=== ''){
         this.$message({

+ 7 - 0
src/views/manager/projectinfo/treeTemplate/template/editDefault.vue

@@ -88,6 +88,13 @@ export default {
           message: "请先选择元素"
         });
         return;
+      
+      }else if(this.htmlData1.name === '警告' ){
+        this.$message({
+            type: "warning",
+            message: "警告框不能编辑默认信息"
+          });
+          return;
       }
 
       if(this.textarea === '' || this.textarea=== ''){

+ 6 - 0
src/views/manager/projectinfo/treeTemplate/template/electronicSignature.vue

@@ -304,6 +304,12 @@ export default {
           message: "请选坐标位置"
         });
         return;
+      }else if(this.htmlData1.name === '警告' ){
+        this.$message({
+            type: "warning",
+            message: "警告框不能配置电签"
+          });
+          return;
       }
       // 证书类型
       if(this.signType===''){

+ 7 - 0
src/views/manager/projectinfo/treeTemplate/template/promptSettings.vue

@@ -93,6 +93,13 @@ export default {
         });
         return;
       }
+      else if(this.htmlData1.name === '警告' ){
+        this.$message({
+            type: "warning",
+            message: "警告框不能配置提示信息"
+          });
+          return;
+      }
 
       if(this.textarea === '' || this.textarea=== ''){
         this.$message({