|
|
@ -319,7 +319,7 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
// 下一步操作 |
|
|
|
handleNextStep() { |
|
|
|
async handleNextStep() { |
|
|
|
if (this.currentStep < this.dataList.length) { |
|
|
|
if(this.currentStep === 1){ |
|
|
|
if(!this.userInfo.checkInTime || !this.userInfo.checkOutTime){ |
|
|
@ -328,8 +328,9 @@ export default { |
|
|
|
} |
|
|
|
this.updateMzGraduateInfo(); // 更新时间 |
|
|
|
this.currentStep++; |
|
|
|
await this.createMzGraduateInfo() |
|
|
|
this.handleQuery() |
|
|
|
this.stepCompleted[0] = true; |
|
|
|
this.createMzGraduateInfo() |
|
|
|
return; |
|
|
|
} |
|
|
|
if (this.currentStep == 2) { |
|
|
@ -427,7 +428,7 @@ export default { |
|
|
|
// 这里可以监听数据变化 |
|
|
|
$route:{ |
|
|
|
handler: function (newVal, oldVal) { |
|
|
|
if (newVal.query) { |
|
|
|
if (newVal.query.idCard) { |
|
|
|
this.$nextTick(()=>{ |
|
|
|
this.checnInForm.idCard = newVal.query.idCard; |
|
|
|
this.handleQuery() |
|
|
|