From 58691b5f4e5fdce584c7376daa3464de67c2e105 Mon Sep 17 00:00:00 2001 From: wanggongfeng <1305282856@qq.com> Date: Tue, 28 Jul 2020 13:55:49 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90PC=E7=AB=AF=E4=BC=98=E5=8C=96=E3=80=91?= =?UTF-8?q?=E5=89=8D=E7=AB=AF=E4=BC=98=E5=8C=96=EF=BC=88=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E6=A1=86=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4=EF=BC=89-?= =?UTF-8?q?=E7=8E=8B=E5=85=AC=E5=B3=B0-2020-07-28?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/heart/actinfo-list.vue | 85 +++++++++---------- .../modules/message/mail-template-send.vue | 15 ++++ .../modules/user/authenticate-history.vue | 8 ++ .../user/hasAuthenticationpartymembers.vue | 52 ++++++++---- src/views/modules/user/party-review.vue | 6 +- .../user/party-wait-authentication.vue | 68 ++++++++++----- .../user/partyauthenticationfailed.vue | 68 +++++++++------ src/views/modules/user/partymembers.vue | 79 ++++++++++------- .../modules/workRecord/dailyrecordinfo.vue | 4 +- 9 files changed, 246 insertions(+), 139 deletions(-) diff --git a/src/views/modules/heart/actinfo-list.vue b/src/views/modules/heart/actinfo-list.vue index 0a39b3df..9b1f3f8a 100644 --- a/src/views/modules/heart/actinfo-list.vue +++ b/src/views/modules/heart/actinfo-list.vue @@ -2,50 +2,41 @@
- + - +
- - - - - - - - - + + + + + + - - - - - - - - - - - - {{ $t('query') }} + {{ $t('query') }} - 增加活动 + 增加活动
{ + let beginDateVal = this.dataForm.endTime + if (beginDateVal) { + return time.getTime() > new Date(beginDateVal + ' 00:00:00').getTime() + } + } + }, + pickerBeginDateAfter: { + disabledDate: (time) => { + let EndDateVal = this.dataForm.startTime + if (EndDateVal) { + return time.getTime() < new Date(EndDateVal + ' 00:00:00').getTime() + } + } + }, + time:[], addOrUpdateVisible: false, actInfoDetailVisible: false, actUserRelationVisible: false, @@ -155,7 +162,7 @@ export default { this.$parent.selectComponent = 'ActInfoDetailView' this.$router.push({ path: '/heart-actinfo', query: { id: id } }) }, - btKeyUpTitle (e) { + btKeyUpTitle (e) { e.target.value = e.target.value.replace(/[`~!#$%^&*()_\+=<>?:"{}|~!#¥%……&*()={}|《》?:“”【】、;‘’,。、]/g, '') this.dataForm.title = e.target.value }, @@ -190,17 +197,7 @@ export default { this.$refs.actinfoCancel.init() }) } - }, - setRegistTime () { //时间处理 - if (null == this.time){ - this.dataForm.startTime = '' - this.dataForm.endTime = '' - }else { - console.log(this.time[0]) - this.dataForm.startTime = this.time[0] - this.dataForm.endTime = this.time[1] - } - }, + } } } diff --git a/src/views/modules/message/mail-template-send.vue b/src/views/modules/message/mail-template-send.vue index 996dd41f..004bd807 100644 --- a/src/views/modules/message/mail-template-send.vue +++ b/src/views/modules/message/mail-template-send.vue @@ -41,10 +41,25 @@ export default { } callback() } + var validateEmailCc = (rule, value, callback) => { + if (value === null || value === '') { + // 未填写不做校验 + callback() + } else if (!isEmail(value)) { + // 填写做邮箱校验 + return callback(new Error(this.$t('validate.format', { 'attr': this.$t('user.email') }))) + } else { + callback() + } + } return { mailTo: [ { required: true, message: this.$t('validate.required'), trigger: 'blur' }, { validator: validateEmail, trigger: 'blur' } + ], + mailCc: [ + { required: false, message: this.$t('validate.required'), trigger: 'blur' }, + { validator: validateEmailCc, trigger: 'blur' } ] } } diff --git a/src/views/modules/user/authenticate-history.vue b/src/views/modules/user/authenticate-history.vue index e9240fe5..92219103 100644 --- a/src/views/modules/user/authenticate-history.vue +++ b/src/views/modules/user/authenticate-history.vue @@ -13,24 +13,29 @@ label="姓名" header-align="center" align="center" + width="100" >