diff --git a/src/api/index.js b/src/api/index.js index b1320c6..9dee423 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -23,17 +23,16 @@ export default { editCompetition: `competition/competition/management/editCompetition`, getCompetition: `competition/competition/management/getCompetition`, queryRegistrationByCondition: `competition/competition/registration/queryRegistrationByCondition`, - enterpriseCertificationDetails: `users/enterprise/certification/enterpriseCertificationDetails`, + enterpriseCertificationDetails: `nakadai/enterprise/certification/enterpriseCertificationDetails`, - delCertification: `users/enterprise/certification/batchDeletion`, - findCertification: `users/enterprise/certification/findById`, - selectEnterpriseCertificationList: `users/enterprise/certification/selectEnterpriseCertificationList`, - informationAudit: `users/enterprise/certification/informationAudit`, - deletePlatformAuthenticationInformation: `users/users/autonym/deletePlatformAuthenticationInformation`, - updateCertification: `users/enterprise/certification/update`, + delCertification: `nakadai/enterprise/certification/batchDeletion`, + findCertification: `nakadai/enterprise/certification/findById`, + selectEnterpriseCertificationList: `nakadai/enterprise/certification/selectEnterpriseCertificationList`, + informationAudit: `nakadai/enterprise/certification/informationAudit`, + deletePlatformAuthenticationInformation: `nakadai/users/autonym/deletePlatformAuthenticationInformation`, + updateCertification: `nakadai/enterprise/certification/update`, queryTeamInfo: `nakadai/kindergarten/platformTeamAccount/queryTeamInfo`, updateTeamInfo: `nakadai/kindergarten/platformTeamAccount/updateTeamInfo`, - platformTeamAccountList: `nakadai/kindergarten/platformTeamAccount/platformTeamAccountList`, queryUserInfoList: `users/users/userAccount/queryUserInfoList`, viewUserDetails: `users/users/userAccount/viewUserDetails`, diff --git a/src/pages/activity/manage/matchSignup.vue b/src/pages/activity/manage/matchSignup.vue index a4e865c..7ad3986 100644 --- a/src/pages/activity/manage/matchSignup.vue +++ b/src/pages/activity/manage/matchSignup.vue @@ -103,13 +103,13 @@ export default { }, methods: { getData () { - this.$post(this.api.platformTeamAccountList, { - type: 1, + this.$post(this.api.queryRegistrationByCondition, { pageNum: this.page, pageSize: this.pageSize, + competitionId: this.id, keyWord: this.keyword, - platformId: 5, - classificationId: this.teamId + isDisable: this.isDisable, + teamOrder: this.teamOrder, }).then(({ data }) => { this.list = data.records; this.total = data.total; diff --git a/src/pages/preschool/audit/index.vue b/src/pages/preschool/audit/index.vue index 27f03bb..4372203 100644 --- a/src/pages/preschool/audit/index.vue +++ b/src/pages/preschool/audit/index.vue @@ -54,11 +54,25 @@
通过 + @click="confirmSubmit(2)">通过 不通过 + @click="confirmSubmit(3)">不通过 返回
+ + + + + 取 消 + 确 定 + + @@ -70,7 +84,9 @@ export default { return { id: this.$route.query.id, form: {}, + remark: '', submiting: false, + auditVisible: false }; }, mounted () { @@ -92,12 +108,21 @@ export default { this.form = data }).catch(err => { }) }, + // 提交前判断 + confirmSubmit (auditStatus) { + // 通过:直接提交,不通过:弹框填写意见 + if (auditStatus === 2) { + this.submit(2) + } else { + this.auditVisible = true + } + }, // 提交 async submit (auditStatus) { if (this.submiting) return false this.submiting = true try { - await this.$post(`${this.api.informationAudit}?auditStatus=${auditStatus}&id=${this.id}`).then(res => { + await this.$post(`${this.api.informationAudit}?auditStatus=${auditStatus}&id=${this.id}&openId=${this.form.openId}&remark=${this.remark}`).then(res => { this.$router.back() Util.successMsg('审核成功!'); }) diff --git a/src/pages/preschool/list/index.vue b/src/pages/preschool/list/index.vue index 2664525..8ef4e7e 100644 --- a/src/pages/preschool/list/index.vue +++ b/src/pages/preschool/list/index.vue @@ -4,7 +4,7 @@