Commit ac52410c authored by LiZongLin's avatar LiZongLin

报名身份证校验

parent 0fb211ef
......@@ -78,6 +78,7 @@
import {
mapState
} from 'vuex'
import { resolve } from 'path';
// import { info } from 'console';
export default {
data() {
......@@ -286,12 +287,15 @@
},
//获取当前报名此活动者
getPerson() {
getPeople(this.info.activityId).then(res => {
console.log("报名信息", res);
if (res.length > 0) {
this.peopleList = res
}
})
// return new Promise((resolve,reject)=>{
getPeople(this.info.activityId).then(res => {
console.log("报名信息", res);
if (res.length > 0) {
this.peopleList = res
}
})
resolve()
// })
},
//活动详情
getActivityDetial(id) {
......@@ -358,6 +362,26 @@
}
addTjtActivitySignupExams(this.info).then(res => {
console.log(res);
this.cityIndex = this.cityList.length - 1
this.cityCode = ''
this.info.cityId = ''
this.areaIndex = 16
this.areaDisable = true
this.areaCode = ''
this.info.cityAreaId = ''
this.schoolIndex = -1
this.schoolCode = ''
this.info.schoolId = ''
this.schoolDisable = true
this.info.idFlag = false
this.info.areaId = 1
this.info.parentName = ''
this.info.name = ''
this.info.phone = ''
this.info.idCard = ''
this.info.cityId = ''
this.info.cityAreaId = ''
this.info.schoolId = ''
if (res >= 0 && res !== '') {
if (Date.parse(this.activityInfo.activityStart) > new Date()) {
this.cityCancel()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment