From eacf692b09aa92bf7b6baeafede78ee7151c05fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B2=E6=A0=91=E9=80=9A?= <1976590620@qq.com> Date: Tue, 24 Dec 2019 09:49:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=85=9A=E5=91=98=20?= =?UTF-8?q?=E7=94=A8=E6=88=B7=20=E8=AE=A4=E8=AF=81=E6=97=B6=E9=97=B4=20?= =?UTF-8?q?=E6=B3=A8=E5=86=8C=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/user/fail-authentication.vue | 205 +++++++++++----- .../user/hasAuthenticationpartymembers.vue | 6 +- src/views/modules/user/partymembers.vue | 2 +- .../modules/user/pass-authentication.vue | 4 + src/views/modules/user/unauthorized.vue | 229 ++++++++++++------ .../modules/user/wait-authentication.vue | 2 +- 6 files changed, 318 insertions(+), 130 deletions(-) diff --git a/src/views/modules/user/fail-authentication.vue b/src/views/modules/user/fail-authentication.vue index 9059b1ed..a6694db6 100644 --- a/src/views/modules/user/fail-authentication.vue +++ b/src/views/modules/user/fail-authentication.vue @@ -1,59 +1,148 @@ @@ -108,7 +197,7 @@ export default { } this.options = res.data.options }) - .catch(() => {}) + .catch(() => { }) }, watch: { 'deptIdList': function (val) { @@ -141,7 +230,7 @@ export default { return this.$message.error(res.msg) } this.streetOptions = res.data - }).catch(() => {}) + }).catch(() => { }) }, getCommunityList () { this.communityOptions = this.gridOptions = [] @@ -152,7 +241,7 @@ export default { return this.$message.error(res.msg) } this.communityOptions = res.data - }).catch(() => {}) + }).catch(() => { }) } }, getGridList () { @@ -164,7 +253,7 @@ export default { return this.$message.error(res.msg) } this.gridOptions = res.data - }).catch(() => {}) + }).catch(() => { }) } }, setRegistTime () { diff --git a/src/views/modules/user/hasAuthenticationpartymembers.vue b/src/views/modules/user/hasAuthenticationpartymembers.vue index 2190221a..aeaaf048 100644 --- a/src/views/modules/user/hasAuthenticationpartymembers.vue +++ b/src/views/modules/user/hasAuthenticationpartymembers.vue @@ -95,7 +95,11 @@ :formatter="formatRegist" header-align="center" align="center"> - + diff --git a/src/views/modules/user/partymembers.vue b/src/views/modules/user/partymembers.vue index bc9d601a..ea35b9ab 100755 --- a/src/views/modules/user/partymembers.vue +++ b/src/views/modules/user/partymembers.vue @@ -170,7 +170,7 @@ header-align="center" align="center"> + diff --git a/src/views/modules/user/unauthorized.vue b/src/views/modules/user/unauthorized.vue index 061d1afe..bbe450cb 100644 --- a/src/views/modules/user/unauthorized.vue +++ b/src/views/modules/user/unauthorized.vue @@ -1,59 +1,150 @@ @@ -109,7 +200,7 @@ export default { } this.options = res.data.options }) - .catch(() => {}) + .catch(() => { }) }, watch: { 'deptIdList': function (val) { @@ -142,7 +233,7 @@ export default { return this.$message.error(res.msg) } this.streetOptions = res.data - }).catch(() => {}) + }).catch(() => { }) }, getCommunityList () { this.communityOptions = this.gridOptions = [] @@ -153,7 +244,7 @@ export default { return this.$message.error(res.msg) } this.communityOptions = res.data - }).catch(() => {}) + }).catch(() => { }) } }, getGridList () { @@ -165,7 +256,7 @@ export default { return this.$message.error(res.msg) } this.gridOptions = res.data - }).catch(() => {}) + }).catch(() => { }) } }, setRegistTime () { @@ -205,17 +296,17 @@ export default { ...this.dataForm } }).then(({ data: res }) => { - this.dataListLoading = false - if (res.code !== 0) { - this.dataList = [] - this.total = 0 - return this.$message.error(res.msg) - } - this.dataList = this.mixinViewModuleOptions.getDataListIsPage ? res.data.list : res.data - this.total = this.mixinViewModuleOptions.getDataListIsPage ? res.data.total : 0 - }).catch(() => { - this.dataListLoading = false - }) + this.dataListLoading = false + if (res.code !== 0) { + this.dataList = [] + this.total = 0 + return this.$message.error(res.msg) + } + this.dataList = this.mixinViewModuleOptions.getDataListIsPage ? res.data.list : res.data + this.total = this.mixinViewModuleOptions.getDataListIsPage ? res.data.total : 0 + }).catch(() => { + this.dataListLoading = false + }) }, userDetailHandle (userId) { this.userDetailVisible = true diff --git a/src/views/modules/user/wait-authentication.vue b/src/views/modules/user/wait-authentication.vue index ad2a8115..51e4787c 100644 --- a/src/views/modules/user/wait-authentication.vue +++ b/src/views/modules/user/wait-authentication.vue @@ -95,7 +95,7 @@ label="手机号" header-align="center" align="center"> -