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"> -