Browse Source

党员完善信息通过后加积分操作

feature/syp_points
songyunpeng 5 years ago
parent
commit
1c7e50d9a5
  1. 2
      src/views/modules/user/identityno-repeat.vue
  2. 5
      src/views/modules/user/party-review.vue
  3. 4
      src/views/modules/user/real-name-repeat.vue

2
src/views/modules/user/identityno-repeat.vue

@ -134,6 +134,8 @@ export default {
if (res.code !== 0) { if (res.code !== 0) {
return this.$message.error(res.msg) return this.$message.error(res.msg)
} }
this.$http.post('/app-user/user/addPerfectPoints/', postData).then(({ data: res }) => {
}).catch(() => { })
this.$message({ this.$message({
message: this.$t('prompt.success'), message: this.$t('prompt.success'),
type: 'success', type: 'success',

5
src/views/modules/user/party-review.vue

@ -203,7 +203,8 @@ export default {
remark: this.dataForm.remark, remark: this.dataForm.remark,
realName: this.dataForm.realName, realName: this.dataForm.realName,
mobile: this.dataForm.mobile, mobile: this.dataForm.mobile,
identityNo: this.dataForm.identityNo identityNo: this.dataForm.identityNo,
userId: this.dataForm.id
} }
this.$http[!this.dataForm.id ? 'post' : 'post']('/app-user/user/partyReview/', postData).then(({ data: res }) => { this.$http[!this.dataForm.id ? 'post' : 'post']('/app-user/user/partyReview/', postData).then(({ data: res }) => {
this.isAble = false this.isAble = false
@ -236,6 +237,8 @@ export default {
} else if (res.code !== 0) { } else if (res.code !== 0) {
return this.$message.error(res.msg) return this.$message.error(res.msg)
} else { } else {
this.$http.post('/app-user/user/addPerfectPoints/', postData).then(({ data: res }) => {
}).catch(() => { })
this.$message({ this.$message({
message: this.$t('prompt.success'), message: this.$t('prompt.success'),
type: 'success', type: 'success',

4
src/views/modules/user/real-name-repeat.vue

@ -132,6 +132,8 @@ export default {
if (res.code !== 0) { if (res.code !== 0) {
return this.$message.error(res.msg) return this.$message.error(res.msg)
} }
this.$http.post('/app-user/user/addPerfectPoints/', postData).then(({ data: res }) => {
}).catch(() => { })
this.$message({ this.$message({
message: this.$t('prompt.success'), message: this.$t('prompt.success'),
type: 'success', type: 'success',
@ -163,6 +165,8 @@ export default {
if (res.code !== 0) { if (res.code !== 0) {
return this.$message.error(res.msg) return this.$message.error(res.msg)
} }
this.$http.post('/app-user/user/addPerfectPoints/', postData).then(({ data: res }) => {
}).catch(() => { })
this.$message({ this.$message({
message: this.$t('prompt.success'), message: this.$t('prompt.success'),
type: 'success', type: 'success',

Loading…
Cancel
Save