From 6be131b389bfdd77af367a341e55703dcc470c74 Mon Sep 17 00:00:00 2001 From: Jackwang Date: Thu, 16 Sep 2021 14:19:05 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BD=91=E6=A0=BC=E9=98=9F=E4=BC=8D-=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E5=85=9A=E5=91=98=E6=A0=87=E8=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/sys/gridmember-add-or-update.vue | 31 ++++++++++--------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/src/views/modules/sys/gridmember-add-or-update.vue b/src/views/modules/sys/gridmember-add-or-update.vue index ed481c4..2ddcdbc 100644 --- a/src/views/modules/sys/gridmember-add-or-update.vue +++ b/src/views/modules/sys/gridmember-add-or-update.vue @@ -4,12 +4,12 @@ - - - - - - + + + + + + @@ -105,7 +105,7 @@ export default { id: '', name: '', imgUrl: '', - partyFlag: '', + // partyFlag: '', motto: '', duty: '', territory: '', @@ -127,10 +127,10 @@ export default { uploadUrl: '', loading: false, options: [], - partyFlagList: [ - {dictValue: '0', dictName: '否'}, - {dictValue: '1', dictName: '是'}, - ] + // partyFlagList: [ + // {dictValue: '0', dictName: '否'}, + // {dictValue: '1', dictName: '是'}, + // ] } }, computed: { @@ -142,9 +142,9 @@ export default { imgUrl: [ { required: true, message: this.$t('validate.required'), trigger: 'blur' } ], - partyFlag: [ - { required: true, message: this.$t('validate.required'), trigger: 'blur' } - ], + // partyFlag: [ + // { required: true, message: this.$t('validate.required'), trigger: 'blur' } + // ], motto: [ { required: true, message: this.$t('validate.required'), trigger: 'blur' } ], @@ -155,7 +155,8 @@ export default { { required: true, message: this.$t('validate.required'), trigger: 'blur' } ], mobile: [ - { required: true, message: this.$t('validate.required'), trigger: 'blur' } + { required: true, message: this.$t('validate.required'), trigger: 'blur' }, + { pattern: /^[1][1,2,3,4,5,6,7,8,9][0-9]{9}$/, message: '请输入正确号码格式', trigger: 'blur' } ], dept: [ { required: true, message: this.$t('validate.required'), trigger: 'blur' }