diff --git a/src/api/followup.js b/src/api/followup.js index b26fd90fee73c9f985f27598c5fdcc0bc613cead..c6f7a48c1bcf01cabbf992db4d186427c7ed8297 100644 --- a/src/api/followup.js +++ b/src/api/followup.js @@ -15,7 +15,7 @@ export function getFollowSurvey(params = {}) { //审核质控 随访 export function getFollowCheck(params = {}) { return request({ - url: "/follow/check/:patientFrom", + url: "/disease-data/follow/check/patientFrom", method: "get", params, }); diff --git a/src/components/FormComponents/index.vue b/src/components/FormComponents/index.vue index efdf5363d5e5742678425bc1249e4bd2b7f59a1a..670138e3a6aa5d99c4d4efbb1d3b74640fab6f6e 100644 --- a/src/components/FormComponents/index.vue +++ b/src/components/FormComponents/index.vue @@ -230,6 +230,7 @@ export default { inlineFlag: { type: Boolean, default: false }, forms: { type: Array }, // 表单组, lists: { type: Array }, // 按钮组 + formEdit:{type: Object} }, data() { const form = {} @@ -322,6 +323,11 @@ export default { this.modifiedFlag = !this.modifiedFlag }, }, + watch: { + formEdit(val){ + this.initforms(val) + } + } } diff --git a/src/views/followupentry/index.vue b/src/views/followupentry/index.vue index d20a39d6b71c19f0932561e3662dba25c878d6f6..f6be79711d8c18623502dbb8a686a65932c43f6c 100644 --- a/src/views/followupentry/index.vue +++ b/src/views/followupentry/index.vue @@ -16,8 +16,19 @@ export default { return { } }, - created() {}, + created() { + }, + computed:{ + formEdit(){ + return this.$route.query + } + }, methods: {}, + provide() { + return { + formEdit:this.$route.query.formEdit + } + }, } diff --git a/src/views/followupresearch/index.vue b/src/views/followupresearch/index.vue index b8e3487a16929c3ca0baa5bb7dbe06f99d081e13..aa4e0acae4809961d48763f85f5364a472da27c7 100644 --- a/src/views/followupresearch/index.vue +++ b/src/views/followupresearch/index.vue @@ -2,7 +2,7 @@