From 2f4ace45b8d316494fb90d5fa9015768017760e7 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Fri, 27 Dec 2024 11:48:22 +0800 Subject: [PATCH 01/15] =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=9C=80=E5=90=8E=E4=B8=80=E6=AC=A1=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E5=AF=86=E7=A0=81=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/user/list/index.vue | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/src/views/system/user/list/index.vue b/src/views/system/user/list/index.vue index cadd4563..053e5dc5 100644 --- a/src/views/system/user/list/index.vue +++ b/src/views/system/user/list/index.vue @@ -95,8 +95,12 @@ const searchDataDefault = () => { RealName: '', BeginCreateTime: '', EndCreateTime: '', + EndLastLoginTime: null, + EndLastChangePassWordTime: null, + BeginLastChangePassWordTime: null, CreateTimeArr: [], LastLoginTimeArr: [], + LastChangePassWordTimeArr: [], SortField: 'CreateTime', } } @@ -202,6 +206,13 @@ export default { sortable: 'custom', showOverflowTooltip: true, }, + { + prop: 'LastChangePassWordTime', + label: this.$t('system:userlist:table:LastChangePassWordTime'), + minWidth: 200, + sortable: 'custom', + showOverflowTooltip: true, + }, { prop: 'CreateTime', label: this.$t('system:userlist:table:createTime'), @@ -213,7 +224,7 @@ export default { type: 'operate', label: this.$t('common:action:action'), minWidth: 200, - fixed:"right", + fixed: 'right', operates: [ { name: this.$t('common:button:edit'), @@ -338,6 +349,13 @@ export default { width: '400px', placeholder: '', }, + { + type: 'Daterange', + label: this.$t('system:userlist:label:LastChangePassWordTime'), + prop: 'LastChangePassWordTimeArr', + width: '400px', + placeholder: '', + }, { type: 'Daterange', label: this.$t('system:userlist:label:CreateTime'), @@ -442,6 +460,12 @@ export default { this.searchData.BeginLastLoginTime = this.searchData.LastLoginTimeArr[0] this.searchData.EndLastLoginTime = this.searchData.LastLoginTimeArr[1] } + if (this.searchData.LastChangePassWordTimeArr.length > 0) { + this.searchData.BeginLastChangePassWordTime = + this.searchData.LastChangePassWordTimeArr[0] + this.searchData.EndLastChangePassWordTime = + this.searchData.LastChangePassWordTimeArr[1] + } this.getList() }, }, From f739563fe90b96db81982a1366e5935cc6dab2b6 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Fri, 27 Dec 2024 11:48:49 +0800 Subject: [PATCH 02/15] =?UTF-8?q?=E5=A4=96=E9=83=A8=E4=BA=BA=E5=91=98?= =?UTF-8?q?=E5=8F=91=E9=80=81=E9=82=AE=E4=BB=B6=E6=8E=A5=E5=8F=A3=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0UserTypeId=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/trials/trials-myinfo/account.vue | 7 +- .../components/staffExternalForm.vue | 328 ++++++++++++------ 2 files changed, 230 insertions(+), 105 deletions(-) diff --git a/src/views/trials/trials-myinfo/account.vue b/src/views/trials/trials-myinfo/account.vue index 4e1c2282..4d543460 100644 --- a/src/views/trials/trials-myinfo/account.vue +++ b/src/views/trials/trials-myinfo/account.vue @@ -336,4 +336,9 @@ export default { }, }, } - \ No newline at end of file + + \ No newline at end of file diff --git a/src/views/trials/trials-panel/setting/personnel-manage/components/staffExternalForm.vue b/src/views/trials/trials-panel/setting/personnel-manage/components/staffExternalForm.vue index b068b91c..cb616a7d 100644 --- a/src/views/trials/trials-panel/setting/personnel-manage/components/staffExternalForm.vue +++ b/src/views/trials/trials-panel/setting/personnel-manage/components/staffExternalForm.vue @@ -1,6 +1,6 @@