From 222729bf73abf9cd43b09e2a5b1521fce9560cea Mon Sep 17 00:00:00 2001 From: "Lyj@210615" <18050528999@163.com> Date: Fri, 6 Jan 2023 18:10:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A1=AB=E6=8A=A5=E5=9B=9E=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/followup.js | 2 +- src/components/FormComponents/index.vue | 6 ++ src/views/followupentry/index.vue | 13 ++- src/views/followupresearch/index.vue | 93 +++++++++++++++++-- .../screening/components/ConfigForms.vue | 1 + src/views/screening/components/FormTab.vue | 9 ++ 6 files changed, 112 insertions(+), 12 deletions(-) diff --git a/src/api/followup.js b/src/api/followup.js index b26fd90..c6f7a48 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 efdf536..670138e 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 d20a39d..f6be797 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 b8e3487..aa4e0ac 100644 --- a/src/views/followupresearch/index.vue +++ b/src/views/followupresearch/index.vue @@ -2,7 +2,7 @@