|
|
|
@ -108,8 +108,8 @@ |
|
|
|
<PatientRegisterForChoose :params="PatientRegisterList" @chooseBak="chooseBak" /> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
<el-dialog title="调查问卷" :visible.sync="dialogWin.question" width="800px" |
|
|
|
:close-on-click-modal="false" :append-to-body="true"> |
|
|
|
<el-dialog title="调查问卷" :visible.sync="dialogWin.question" width="800px" :close-on-click-modal="false" |
|
|
|
:append-to-body="true"> |
|
|
|
<Question :refParams="questionParams" /> |
|
|
|
</el-dialog> |
|
|
|
</div> |
|
|
|
@ -124,7 +124,7 @@ import Question from "../../components/doctorCheck/Question.vue"; |
|
|
|
|
|
|
|
export default { |
|
|
|
components: { |
|
|
|
PatientRegisterForChoose,Question |
|
|
|
PatientRegisterForChoose, Question |
|
|
|
}, |
|
|
|
props: ["refParams"], |
|
|
|
data() { |
|
|
|
@ -159,9 +159,9 @@ export default { |
|
|
|
PatientRegisterList: [], // 参数 |
|
|
|
userId: '', |
|
|
|
// 调查问卷参数 |
|
|
|
questionParams:{ |
|
|
|
questionParams: { |
|
|
|
idNo: '', // 身份证号 |
|
|
|
refresh:0, // 刷新调查问卷 |
|
|
|
refresh: 0, // 刷新调查问卷 |
|
|
|
} |
|
|
|
}; |
|
|
|
}, |
|
|
|
@ -215,9 +215,9 @@ export default { |
|
|
|
this.$emit("triggerQuery", rd) |
|
|
|
}, |
|
|
|
|
|
|
|
btnQuestion(){ |
|
|
|
if(!this.prBase.idNo){ |
|
|
|
this.$message.warning({showClose:true,message:'该人员无身份证号,无调查问卷!'}) |
|
|
|
btnQuestion() { |
|
|
|
if (!this.prBase.idNo) { |
|
|
|
this.$message.warning({ showClose: true, message: '该人员无身份证号,无调查问卷!' }) |
|
|
|
return |
|
|
|
} |
|
|
|
this.dialogWin.question = true |
|
|
|
@ -519,6 +519,9 @@ export default { |
|
|
|
console.log(`watch.refParams.resetTimes newVal: ${newVal} oldVal: ${oldVal}`); |
|
|
|
if (newVal && newVal != oldVal) { |
|
|
|
this.prBase = Object.assign({}, this.prBase, this.prBaseInit) |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$refs['tmh'].focus(); //打开光标定位到条码栏里 |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
|