Commit b6f32a0d authored by liang's avatar liang

bug修复

parent dbc0eabb
...@@ -182,7 +182,7 @@ export default { ...@@ -182,7 +182,7 @@ export default {
inject: { inject: {
tabFollowId: { tabFollowId: {
type: String, type: String,
default: "", default: () => {},
}, },
}, },
data() { data() {
...@@ -197,7 +197,9 @@ export default { ...@@ -197,7 +197,9 @@ export default {
}, },
computed: { computed: {
getTabFollowId() { getTabFollowId() {
return this.tabFollowId() if (this.tabFollowId) {
return this.tabFollowId()
}
}, },
survivalFlag() { survivalFlag() {
if (this.activeName == "index0" && this.formClass) { if (this.activeName == "index0" && this.formClass) {
...@@ -397,7 +399,7 @@ export default { ...@@ -397,7 +399,7 @@ export default {
path: "/followupquery", path: "/followupquery",
query: { query: {
patientId: this.patientId, patientId: this.patientId,
followId: this.followId || this.tabFollowId, followId: this.followId || this.getTabFollowId,
followBatch: 1, followBatch: 1,
}, },
}) })
......
...@@ -163,7 +163,9 @@ export default { ...@@ -163,7 +163,9 @@ export default {
.length .length
}, },
getTabFollowId() { getTabFollowId() {
return this.tabFollowId() if (this.tabFollowId) {
return this.tabFollowId()
}
}, },
// sideWidth() { // sideWidth() {
// return this.asideShow ? "200px" : "0px" // return this.asideShow ? "200px" : "0px"
......
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