From 926815d9d88c31453dcfefed9d35e5a52a05a764 Mon Sep 17 00:00:00 2001
From: miaojiale <1123971748@qq.com>
Date: Wed, 8 Feb 2023 17:35:51 +0800
Subject: [PATCH] =?UTF-8?q?1.=E7=AD=9B=E6=9F=A5=E6=9F=A5=E8=AF=A2=E5=9B=9E?=
=?UTF-8?q?=E6=98=BE=E5=BC=82=E6=AD=A5=E5=8C=BB=E8=81=94=E4=BD=93=E9=97=AE?=
=?UTF-8?q?=E9=A2=98=202.=E6=95=B0=E6=8D=AE=E7=BB=93=E6=9E=84=E9=97=AE?=
=?UTF-8?q?=E9=A2=98=E5=AF=BC=E8=87=B4=E9=A1=B5=E9=9D=A2=E9=A1=B5=E7=A0=81?=
=?UTF-8?q?=E9=94=99=E8=AF=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../CustomForm/FormItemSelf.vue | 6 +-
.../CustomForm/FormItemText.vue | 14 +
.../FormComponents/CustomForm/index.vue | 2 +-
...00\346\237\245\350\241\250\345\215\225.js" | 1114 +++++++++++++++++
4 files changed, 1134 insertions(+), 2 deletions(-)
create mode 100644 "src/components/FormComponents/CustomForm/\350\203\203\351\225\234\346\243\200\346\237\245\350\241\250\345\215\225.js"
diff --git a/src/components/FormComponents/CustomForm/FormItemSelf.vue b/src/components/FormComponents/CustomForm/FormItemSelf.vue
index 9da2981..c4ae25c 100644
--- a/src/components/FormComponents/CustomForm/FormItemSelf.vue
+++ b/src/components/FormComponents/CustomForm/FormItemSelf.vue
@@ -50,7 +50,11 @@
>
-
+
diff --git a/src/components/FormComponents/CustomForm/FormItemText.vue b/src/components/FormComponents/CustomForm/FormItemText.vue
index 23cc0fb..81b2b0f 100644
--- a/src/components/FormComponents/CustomForm/FormItemText.vue
+++ b/src/components/FormComponents/CustomForm/FormItemText.vue
@@ -24,6 +24,9 @@
>
{{ screeningAdvise[form[item.prop]] }}
+
+ {{ unionName }}
+
{{
String(form[item.prop]) | getItemText(item.dicData, item.type)
}}
@@ -43,6 +46,7 @@ export default {
props: {
item: Object,
form: Object | Array,
+ unionList: Array,
},
data() {
return {
@@ -51,6 +55,7 @@ export default {
medium: "中危",
high: "高危",
},
+ unionName: "",
screeningAdvise: {
1: "可定期随访",
2: "推荐胶囊内镜或胃镜检查",
@@ -70,6 +75,15 @@ export default {
return val
},
},
+ watch: {
+ unionList(v) {
+ if (v.length > 0) {
+ this.unionName = v.filter(
+ (e) => e.unionNo == this.form[this.item.prop]
+ )[0].unionName
+ }
+ },
+ },
}