|
|
@ -174,14 +174,14 @@ export default { |
|
|
|
vaccinationStateOptions: [ |
|
|
|
{ value: 0, label: '未接种' }, |
|
|
|
{ value: 1, label: '接种中' }, |
|
|
|
{value: 2, label: '接种完成'}, |
|
|
|
{ value: 2, label: '接种完成' } |
|
|
|
], |
|
|
|
isAble: false, |
|
|
|
showFlagIn: true, |
|
|
|
showFlagOut: true, |
|
|
|
gender: [ |
|
|
|
{ dictValue: '男', dictName: '男' }, |
|
|
|
{ dictValue: '女', dictName: '女' }, |
|
|
|
{ dictValue: '女', dictName: '女' } |
|
|
|
], |
|
|
|
vueLoading: true, |
|
|
|
id: '' |
|
|
@ -278,7 +278,7 @@ export default { |
|
|
|
}).catch(() => { }) |
|
|
|
if (this.dataForm.companyId !== this.historyCompanyId) { |
|
|
|
this.dataForm.vaccinationState = 1 |
|
|
|
return this.$message.warning("与上次接种疫苗厂家不同") |
|
|
|
return this.$message.warning('与上次接种疫苗厂家不同') |
|
|
|
} else { |
|
|
|
if (this.dataForm.dose === this.maxDose) { |
|
|
|
this.dataForm.vaccinationState = 2 |
|
|
|