Commit 5a18f64a authored by miaojiale's avatar miaojiale

修改随访进来获取数据

parent bfcb1b18
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
:patient-standby-id="patientStandbyId" :patient-standby-id="patientStandbyId"
:newform-record-id="newformRecordId" :newform-record-id="newformRecordId"
:form="form" :form="form"
:formType="formType"
:disabled="disabled" :disabled="disabled"
:operation="operation" :operation="operation"
:isDraft="isDraft" :isDraft="isDraft"
......
...@@ -95,6 +95,7 @@ export default { ...@@ -95,6 +95,7 @@ export default {
disabled: Boolean, disabled: Boolean,
contrast: Boolean, //同屏对照 contrast: Boolean, //同屏对照
form: Object, form: Object,
formType: String,
patientId: String, patientId: String,
patientStandbyId: String, patientStandbyId: String,
newformRecordId: String, newformRecordId: String,
...@@ -406,6 +407,7 @@ export default { ...@@ -406,6 +407,7 @@ export default {
) )
} else { } else {
// 监听form.silent 获取当前tab页数据 // 监听form.silent 获取当前tab页数据
if (this.formType != 2) {
this.$watch( this.$watch(
"form.silent", "form.silent",
() => { () => {
...@@ -414,6 +416,7 @@ export default { ...@@ -414,6 +416,7 @@ export default {
{ immediate: true } { immediate: true }
) )
} }
}
}, },
mounted() { mounted() {
//! 设置新增判断 //! 设置新增判断
......
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