From 878bbcb0e0576dc2c594925f230d7a5dde8c0a1e Mon Sep 17 00:00:00 2001 From: liuye Date: Fri, 25 Nov 2022 14:36:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E9=94=99=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pingchang/AppCheckpointRegistration/Edit.vue | 2 +- src/project/pingchang/AppCommunityManagement/Edit.vue | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/project/pingchang/AppCheckpointRegistration/Edit.vue b/src/project/pingchang/AppCheckpointRegistration/Edit.vue index 5b6cdcd8..b5e58384 100644 --- a/src/project/pingchang/AppCheckpointRegistration/Edit.vue +++ b/src/project/pingchang/AppCheckpointRegistration/Edit.vue @@ -149,7 +149,7 @@ export default { return this.$u.toast('请选择出发地') } if (this.form.startAreaId.substr(4,this.form.startAreaId.length - 4) === '00000000') { - return this.$toast('出发地必须选至县级及以下') + return this.$u.toast('出发地必须选至县级及以下') } if(!this.travelType.length) { return this.$u.toast('请选择出行方式') diff --git a/src/project/pingchang/AppCommunityManagement/Edit.vue b/src/project/pingchang/AppCommunityManagement/Edit.vue index b9866884..f4c15a2f 100644 --- a/src/project/pingchang/AppCommunityManagement/Edit.vue +++ b/src/project/pingchang/AppCommunityManagement/Edit.vue @@ -200,16 +200,16 @@ export default { methods: { submit() { if (!this.form.idNumber) { - return this.$toast('请输入身份证号') + return this.$u.toast('请输入身份证号') } if (!/(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/.test(this.form.idNumber)) { - return this.$toast('请输入正确的身份证账号') + return this.$u.toast('请输入正确的身份证账号') } if (!this.form.phone) { - return this.$toast('请输入手机号码') + return this.$u.toast('请输入手机号码') } if (!this.form.name) { - return this.$toast('请输入姓名') + return this.$u.toast('请输入姓名') } if(!this.travelType.length) { return this.$u.toast('请选择出行方式') @@ -221,7 +221,7 @@ export default { return this.$u.toast('请选择出发地') } if (this.form.startAreaId.substr(4,this.form.startAreaId.length - 4) === '00000000') { - return this.$toast('出发地必须选至县级及以下') + return this.$u.toast('出发地必须选至县级及以下') } if(!this.form.arriveTime) { return this.$u.toast('请选择抵平时间')