From 393de6531cd6cfbe0b494620225d1623673c4c9d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com>
Date: Fri, 17 May 2024 09:42:55 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Prescriptionrecords.vue | 57 +++++++++----------
1 file changed, 26 insertions(+), 31 deletions(-)
diff --git a/pagesB/Prescriptionrecords/Prescriptionrecords.vue b/pagesB/Prescriptionrecords/Prescriptionrecords.vue
index 87e182e..804c27f 100644
--- a/pagesB/Prescriptionrecords/Prescriptionrecords.vue
+++ b/pagesB/Prescriptionrecords/Prescriptionrecords.vue
@@ -71,13 +71,13 @@
{{ uitem.content }}
-
-
- {{ bitem.content }}
-
-
+
+
+ {{ bitem.content }}
+
+
@@ -119,8 +119,7 @@
res.data.forEach(e => {
if (e.list && e.list.length > 0) {
e.list.forEach(el => {
- const parts =
- el.recordDate = el.recordDate.substr(5, 9);
+ el.recordDate = el.recordDate.substr(5, 9);
})
}
})
@@ -129,20 +128,9 @@
this.itemlistleft && this.itemlistleft.length > 0 ? this.itemlistleft[0].open = true : ''
res.data && res.data[0].list.length > 0 ? this.recordCode = res.data[0].list[0]
.recordCode : ''
- detail(this.recordCode).then(res => {
- res.data && res.data.ptList && res.data.ptList.length > 0 ? res.data.ptList[0]
- .open = true : ''
- res.data.ptList.forEach(e => {
- e.ptValList.forEach(el => {
- el.val == "true" ? el.val = true : el.val = false
- })
- e.onelist = e.ptValList.filter(el => el.itemType == '1')
- e.twolist = e.ptValList.filter(el => el.itemType == '2')
- e.threelist = e.ptValList.filter(el => el.itemType == '3')
- })
- this.itemList = res.data.ptList
- this.show = false
- })
+ this.dataies({
+ recordCode: this.recordCode
+ });
})
}
},
@@ -152,7 +140,18 @@
dataies(aitem) {
this.recordCode = aitem.recordCode
detail(this.recordCode).then(res => {
- this.itemList = res.data
+ res.data && res.data.ptList && res.data.ptList.length > 0 ? res.data.ptList[0]
+ .open = true : ''
+ res.data.ptList.forEach(e => {
+ e.ptValList.forEach(el => {
+ el.val == "true" ? el.val = true : el.val = false
+ })
+ e.onelist = e.ptValList.filter(el => el.itemType == '1')
+ e.twolist = e.ptValList.filter(el => el.itemType == '2')
+ e.threelist = e.ptValList.filter(el => el.itemType == '3')
+ })
+ this.itemList = res.data.ptList
+ this.show = false
})
},
tapcollapseleft(item) {
@@ -179,9 +178,10 @@
}
.checkboxtext {
+ color: #606266;
font-weight: 550;
- font-size: 20rpx;
- padding-left: 20rpx;
+ font-size: 22rpx;
+ padding-left: 40rpx;
}
.app {
@@ -300,7 +300,7 @@
font-size: 22rpx;
font-weight: 500;
color: #000;
- width: 94%;
+ width: 100%;
line-height: 40rpx;
margin: 0 auto;
padding: 10rpx;
@@ -310,15 +310,10 @@
.itemword {
margin: 15rpx;
-
-
}
-
}
-
}
}
-
}
}
}