Commit 45bb256e authored by liang's avatar liang

随访查询显示bug修复

parent 671977cd
......@@ -53,6 +53,7 @@
<MyCustomForm
v-show="activeTab === '0'"
v-for="form in formTabs"
formType="1"
:key="form.id"
:form="form"
:patientId="currentRow.patientId"
......@@ -60,6 +61,7 @@
<MyCustomForm
v-show="activeTab !== '0'"
v-for="form in followForms"
formType="2"
:key="form.id"
:form="form"
ref="myForm"
......
......@@ -20,9 +20,11 @@ export default {
name: "MyCustomForm",
components: { CustomForm },
props: {
formType: String,
form: {},
patientId: {},
followId: {},
followId: {},
},
data() {
return {
......@@ -103,7 +105,7 @@ export default {
this.$nextTick(() => {
this.$refs.form && this.$refs.form.resetForm()
})
if (!this.patientId || this.followId) return
if (!this.patientId || this.formType === "2") return
this.loading = true
getPatientDetail({
patientId: this.patientId,
......
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