From b69e532604a3d35db009fb7c9f0048b299f60306 Mon Sep 17 00:00:00 2001 From: wanggongfeng <1305282856@qq.com> Date: Thu, 17 Sep 2020 14:51:02 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=B8=82=E5=8C=97=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=87=B3=E5=AE=89=E5=AE=81=E3=80=91=E3=80=90?= =?UTF-8?q?=E5=B1=85=E6=B0=91=E7=AE=A1=E7=90=86=E3=80=91-=E7=8E=8B?= =?UTF-8?q?=E5=85=AC=E5=B3=B0-2020-09-17?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/custom/enterpriseinfo.vue | 279 ++++++++++-------- src/views/modules/user/alluser.vue | 114 ++++--- .../modules/user/fail-authentication.vue | 143 ++++++--- .../modules/user/pass-authentication.vue | 128 +++++--- src/views/modules/user/unauthorized.vue | 148 +++++++--- .../modules/user/wait-authentication.vue | 132 ++++++--- 6 files changed, 642 insertions(+), 302 deletions(-) diff --git a/src/views/modules/custom/enterpriseinfo.vue b/src/views/modules/custom/enterpriseinfo.vue index 1a73a80..499fd38 100644 --- a/src/views/modules/custom/enterpriseinfo.vue +++ b/src/views/modules/custom/enterpriseinfo.vue @@ -1,125 +1,170 @@ diff --git a/src/views/modules/user/alluser.vue b/src/views/modules/user/alluser.vue index 2727d8e..c2cc592 100644 --- a/src/views/modules/user/alluser.vue +++ b/src/views/modules/user/alluser.vue @@ -4,54 +4,70 @@
- - + + - - + - - - + + -
- 注册时间   - --> + +   + format="yyyy-MM-dd" + placeholder="选择日期时间" + style="width:200px" @change="changeTime"> + + + + + + - {{ $t('query') }} + {{ $t('query') }} -
+
- + width="50"> --> + + align="center" min-width=200> + align="center" width="120"> + align="center" width="150"> + align="center" width="200"> + align="center" width="120"> + align="center" width="120"> + align="center" width="180"> + align="center" width="180"> + align="center" min-width=400> + align="center" min-width=200> { + 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() + } + } + }, deptIdList: [], options: [], userDetailVisible: false, @@ -230,10 +262,6 @@ export default { }).catch(() => { }) } }, - setRegistTime () { - this.dataForm.startTime = this.time[0] - this.dataForm.endTime = this.time[1] - }, formatPartyFlag: function (row, column) { return row.partyFlag === '1' ? '是' : row.state === '0' ? '未知' : '否' }, @@ -293,7 +321,23 @@ export default { this.$refs.userGrid.dataForm.id = userId this.$refs.userGrid.init() }) - } + }, + btKeyUpnickname(e){ + e.target.value = e.target.value.replace(/[`~!#$%^&*()_\+=<>?:"{}|~!#¥%……&*()={}|《》?:“”【】\\[\]、;‘’,。、\s+]/g, '') + this.dataForm.nickname = e.target.value + }, + btKeyUprealName(e){ + e.target.value = e.target.value.replace(/[`~!#$%^&*()_\+=<>?:"{}|~!#¥%……&*()={}|《》?:“”【】\\[\]、;‘’,。、\s+]/g, '') + this.dataForm.realName = e.target.value + }, + btKeyUpmobile(e){ + e.target.value = e.target.value.replace(/[`~!#$%^&*()_\+=<>?:"{}|~!#¥%……&*()={}|《》?:“”【】\\[\]、;‘’,。、\s+]/g, '') + this.dataForm.mobile = e.target.value + }, + btKeyUpidentityNo(e){ + e.target.value = e.target.value.replace(/[`~!#$%^&*()_\+=<>?:"{}|~!#¥%……&*()={}|《》?:“”【】\\[\]、;‘’,。、\s+]/g, '') + this.dataForm.identityNo = e.target.value + }, }, components: { AddOrUpdate, diff --git a/src/views/modules/user/fail-authentication.vue b/src/views/modules/user/fail-authentication.vue index 1acd562..4883668 100644 --- a/src/views/modules/user/fail-authentication.vue +++ b/src/views/modules/user/fail-authentication.vue @@ -4,7 +4,7 @@
+ @keyup.enter.native="getDataListSearch()"> - - +
- 注册时间   -   + + + + + + + + - {{ $t('query') }} + {{ $t('query') }} {{ $t('export') }}
@@ -81,52 +94,55 @@ border @selection-change="dataListSelectionChangeHandle" style="width: 100%;"> - - + + + + align="center" + width="120"> - - - - + align="center" + width="200"> + + align="center" + width="200" + show-overflow-tooltip> + align="center" + width="100"> + align="center" + width="180"> + show-overflow-tooltip> + width="150">