Commit efdcdcf0 authored by 张伯涛's avatar 张伯涛

阳性人员的身份证重复提示

parent d6ced65c
...@@ -1021,10 +1021,14 @@ export default { ...@@ -1021,10 +1021,14 @@ export default {
} }
cardGetInfo(params).then(response => { cardGetInfo(params).then(response => {
if(response.code === 200) { if(response.code === 200) {
this.$message({ message: '数据查询成功', type: 'success' }) if(response.data.card === true) {
this.form.glPlace = response.data.glPlace this.$message({ message: '数据查询成功', type: 'success' })
this.form.fcName = response.data.fcName this.form.glPlace = response.data.glPlace
this.form.glName = response.data.glName this.form.fcName = response.data.fcName
this.form.glName = response.data.glName
}else {
this.$message({ message: '该身份证号码已存在', type: 'warning' })
}
} }
}); });
} }
......
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