From eb18ecdafc7ac222e886ad2cc0817c5aa6e10779 Mon Sep 17 00:00:00 2001 From: yujintao Date: Tue, 24 Sep 2019 11:09:51 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E7=AE=A1=E7=90=86=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=9F=A5=E8=AF=A2=E4=B8=8E=E5=AF=BC=E5=87=BA=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/user/user.vue | 77 ++++----------------------------- 1 file changed, 8 insertions(+), 69 deletions(-) diff --git a/src/views/modules/user/user.vue b/src/views/modules/user/user.vue index 197ed8ff..47c529ac 100644 --- a/src/views/modules/user/user.vue +++ b/src/views/modules/user/user.vue @@ -68,15 +68,9 @@ {{ $t('query') }} - {{ $t('export') }} + {{ $t('export') }} - - {{ $t('add') }} - - - {{ $t('deleteBatch') }} - @@ -87,15 +81,11 @@ {{scope.$index+1}} - - - - @@ -103,7 +93,6 @@ @@ -116,8 +105,6 @@ @size-change="pageSizeChangeHandle" @current-change="pageCurrentChangeHandle"> - - @@ -194,19 +181,12 @@ {{ $t('query') }} - {{ $t('export') }} + {{ $t('export') }} - - {{ $t('add') }} - - - {{ $t('deleteBatch') }} - - @@ -215,23 +195,15 @@ - - + - - - - @@ -310,15 +280,9 @@ {{ $t('query') }} - {{ $t('export') }} + {{ $t('export') }} - - {{ $t('add') }} - - - {{ $t('deleteBatch') }} - @@ -329,25 +293,15 @@ {{scope.$index+1}} - - - - - {}) }, setRegistTime () { - console.log(this.time[0]) this.dataForm.startTime = this.time[0] this.dataForm.endTime = this.time[1] }, formatState: function (row, column) { - console.log(row.state) return row.state === '1' ? '审核通过' : row.state === '0' ? '待审核' : '审核未通过' }, formatPartyFlag: function (row, column) { - console.log(row.partyFlag) - return row.partyFlag === '1' ? '党员' : row.state === '0' ? '不是党员' : '未知' + return row.partyFlag === '1' ? '是' : row.state === '0' ? '未知' : '否' }, handleClick (tab, event) { this.dataForm.streetId = '' @@ -478,9 +420,7 @@ export default { this.dataForm.startTime = '' this.dataForm.endTime = '' this.dataForm.isParty = '' - this.dataForm.tabFlag = '0' this.dataForm.auditState = '' - console.log(tab, event) if (this.tabFlag === '0') { this.dataForm.auditState = 0 this.dataForm.isParty = '' @@ -490,7 +430,6 @@ export default { this.dataForm.auditState = 2 this.dataForm.isParty = '' } - console.log(this.dataForm.auditState) this.getDataList() } },