From f1cbc646227edf122a308c593a103ae8d8778c41 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=8E=E5=8A=B2=E9=BE=99?= <2860996570@qq.com>
Date: Wed, 25 Dec 2024 14:31:58 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=B0=E5=A2=9E=E5=AD=97?=
=?UTF-8?q?=E6=AE=B5=E5=88=97=E8=A1=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/components/renwuType/index_v1.vue | 4 +-
src/views/components/renwuType/index_v2.vue | 455 +++++++++++-------
src/views/components/renwuType/webType1.vue | 83 ++--
src/views/components/renwuType/webType2DW.vue | 85 ++--
4 files changed, 377 insertions(+), 250 deletions(-)
diff --git a/src/views/components/renwuType/index_v1.vue b/src/views/components/renwuType/index_v1.vue
index a12f908..53ecf76 100644
--- a/src/views/components/renwuType/index_v1.vue
+++ b/src/views/components/renwuType/index_v1.vue
@@ -44,9 +44,9 @@
required: true,
pattern: /^[a-zA-Z0-9]{18}$/,
message: '请输入正确格式的18位统一社会信用代码',
- trigger: 'change'
+ trigger: 'blur'
},
-
+ { required: true, message: '统一社会信用代码不能为空', trigger: 'change'},
]" label="统一社会信用代码" required>
diff --git a/src/views/components/renwuType/index_v2.vue b/src/views/components/renwuType/index_v2.vue
index 4e56d02..b90ce33 100644
--- a/src/views/components/renwuType/index_v2.vue
+++ b/src/views/components/renwuType/index_v2.vue
@@ -18,7 +18,7 @@
-
+
@@ -26,183 +26,284 @@
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ type: 'email',
+ message: '请输入正确的邮箱地址',
+ trigger: ['change', 'change']
+ }
+ ]">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -260,7 +361,7 @@ export default {
],
tyshxydm: [
{ required: true, message: "统一社会信用代码不能为空", trigger: "change" },
- { pattern: /^[a-zA-Z0-9]{18}$/, message: "请输入正确格式的18位统一社会信用代码", trigger: "change" }
+ {required: true, pattern: /^[a-zA-Z0-9]{18}$/, message: "请输入正确格式的18位统一社会信用代码", trigger: "blur" }
],
gzhzt: [
{ required: true, message: "公众号状态不能为空", trigger: "change" }
@@ -294,11 +395,11 @@ export default {
],
xtzrrdh: [
{ required: true, message: "系统责任人电话不能为空", trigger: "change" },
- { pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, message: "请输入正确的手机号码", trigger: "change" }
+ {required: true, pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, message: "请输入正确的手机号码", trigger: "blur" }
],
xtzrryx: [
{ required: true, message: "系统责任人邮箱不能为空", trigger: "change" },
- { type: 'email', message: "请输入正确的邮箱地址", trigger: ['change', 'change'] }
+ { required: true,type: 'email', message: "请输入正确的邮箱地址", trigger: ['blur', 'change'] }
],
xtzrrdz: [
{ required: true, message: "系统责任人地址不能为空", trigger: "change" }
diff --git a/src/views/components/renwuType/webType1.vue b/src/views/components/renwuType/webType1.vue
index d0a269d..44fae16 100644
--- a/src/views/components/renwuType/webType1.vue
+++ b/src/views/components/renwuType/webType1.vue
@@ -86,12 +86,14 @@
-
-
-
+
+
+
+
+
@@ -111,27 +113,13 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
@@ -151,13 +139,28 @@
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -168,6 +171,7 @@
+
@@ -179,13 +183,14 @@
-
-
-
-
+
+
+
+
@@ -345,7 +350,7 @@
-
+
@@ -374,13 +379,21 @@
+
+
+
+
-
+
+
+
+
+
+
-
diff --git a/src/views/components/renwuType/webType2DW.vue b/src/views/components/renwuType/webType2DW.vue
index 0991178..04fa7b3 100644
--- a/src/views/components/renwuType/webType2DW.vue
+++ b/src/views/components/renwuType/webType2DW.vue
@@ -96,12 +96,16 @@
-
-
-
+
+
+
+
+
@@ -121,27 +125,13 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
@@ -161,15 +151,28 @@
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -193,10 +196,12 @@
-
-
-
-
+
+
+
@@ -412,13 +417,21 @@
+
+
+
+
-
+
+
+
+
+
+
-