From 531ffdd409492476995f25507135b0a6fe46f31d Mon Sep 17 00:00:00 2001 From: "Lyj@210615" <18050528999@163.com> Date: Wed, 7 Dec 2022 09:47:52 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=8F=E8=AE=BF=E5=AE=A1=E6=A0=B8=E9=83=A8?= =?UTF-8?q?=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 8 ++++---- src/views/audit-qualitycontrol/hospital.vue | 4 ++-- .../followupentry/{followaduit.vue => followaudit.vue} | 9 ++++++--- 3 files changed, 12 insertions(+), 9 deletions(-) rename src/views/followupentry/{followaduit.vue => followaudit.vue} (96%) diff --git a/src/router/index.js b/src/router/index.js index fcba141..c6509b7 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -53,14 +53,14 @@ export const constantRoutes = [ ], }, { - path: "/followaduit", + path: "/followaudit", component: Layout, children: [ { - path: "/followaduit", - component: () => import("@/views/followupentry/followaduit"), + path: "/followaudit", + component: () => import("@/views/followupentry/followaudit"), hidden: true, - name: "followaduit", + name: "followaudit", }, ], }, diff --git a/src/views/audit-qualitycontrol/hospital.vue b/src/views/audit-qualitycontrol/hospital.vue index c1ae726..5c5f42a 100644 --- a/src/views/audit-qualitycontrol/hospital.vue +++ b/src/views/audit-qualitycontrol/hospital.vue @@ -104,9 +104,9 @@ export default { } }, auditHandle(data, i) { - console.log(data,i) + console.log(data,i,"表å•") if(this.type=="1"){ - this.$router.push("/followaduit") + this.$router.push("/followaudit") } }, }, diff --git a/src/views/followupentry/followaduit.vue b/src/views/followupentry/followaudit.vue similarity index 96% rename from src/views/followupentry/followaduit.vue rename to src/views/followupentry/followaudit.vue index e24c5d9..161628e 100644 --- a/src/views/followupentry/followaduit.vue +++ b/src/views/followupentry/followaudit.vue @@ -1,20 +1,23 @@ <template> <!-- éšè®¿è°ƒæŸ¥å½•å…¥ --> <div> - <ConfigForms form-type="2" formClass="follow-form"></ConfigForms> + <!-- <ConfigForms form-type="2" formClass="follow-form"></ConfigForms> --> + <read-form ref="form" :options="followupForm"></read-form> </div> </template> <script> import ConfigForms from "@/views/screening/components/ConfigForms.vue" +import ReadForm from "@/components/FormComponents/ReadForm/index" export default { - name: "FollowupEntry", + name: "FollowupAudit", components: { ConfigForms, + ReadForm }, data() { return { - form:{ + followupForm:{ column: [], labelPosition: 'right', labelSuffix: ':', -- 2.22.0