From daddff164abbf751e1a0cc92bd0a8ea5699796de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E6=96=8C=E6=9D=B0?= <> Date: Fri, 26 Jan 2024 17:01:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/itemSet/ReferenceRange.vue | 13 +- src/components/report/AsbitemOCX.vue | 29 +- src/components/report/StatisticsOCX.vue | 4 +- src/views/common-settings/ItemType.vue | 57 ++-- .../customerReport/combinationDetails.vue | 255 +++++++----------- src/views/fee-settings/Asbitem.vue | 119 ++++++-- src/views/fee-settings/Item.vue | 140 ++++++---- 7 files changed, 328 insertions(+), 289 deletions(-) diff --git a/src/components/itemSet/ReferenceRange.vue b/src/components/itemSet/ReferenceRange.vue index 4002e16..8a765eb 100644 --- a/src/components/itemSet/ReferenceRange.vue +++ b/src/components/itemSet/ReferenceRange.vue @@ -267,10 +267,12 @@ export default { } }, rowick(row) { - getapi(`/api/app/reference-range/${row.id}`).then((res) => { - this.curRowes = res.data; - this.id = res.data.id; - }); + this.curRowes = row; + this.id = row.id; + // getapi(`/api/app/reference-range/${row.id}`).then((res) => { + // this.curRowes = res.data; + // this.id = res.data.id; + // }); }, quckEditdigoisce(e){ if(!e){ @@ -312,6 +314,9 @@ export default { this.form = { itemId: this.itemId, referenceRangeTypeFlag: this.ReferenceRangeTypeFlag, + forSexId: "U", + ageLowerLimit: "0", + ageUpperLimit: "200", }; }, diff --git a/src/components/report/AsbitemOCX.vue b/src/components/report/AsbitemOCX.vue index 6182b48..d189944 100644 --- a/src/components/report/AsbitemOCX.vue +++ b/src/components/report/AsbitemOCX.vue @@ -5,7 +5,7 @@ 项目类别 + clearable filterable @change="parseAsbitem" size="small" ref="example" popper-class="example" >
@@ -188,13 +188,16 @@ export default { }, //分析可选组合项目,及快速可选组合项目的数据 - parseAsbitem() { + parseAsbitem(v) { this.asbItemQuick = deepCopy(this.dict.asbItemAll); arrayReduce(this.asbItemQuick, this.report.dataAsbitemOCX, 'id'); this.asbItems = deepCopy(this.asbItemQuick); if (this.itemTypeIds && this.itemTypeIds.length > 0) { this.asbItems = arrayFilter(this.asbItems, 'itemTypeId', this.itemTypeIds[this.itemTypeIds.length - 1]) } + if(v){ + this.$refs.example.toggleDropDownVisible(); + } }, @@ -395,4 +398,24 @@ export default { ::v-deep .el-icon-date:before { content: "" -} \ No newline at end of file +} + \ No newline at end of file diff --git a/src/components/report/StatisticsOCX.vue b/src/components/report/StatisticsOCX.vue index 2aacd75..9ee7551 100644 --- a/src/components/report/StatisticsOCX.vue +++ b/src/components/report/StatisticsOCX.vue @@ -196,7 +196,7 @@ export default { addAbs(asbItemChoosed) { if (asbItemChoosed.length < 1) { - alert("请选择要添加的组合项目") + alert("请选择要添加的诊断") return } arrayReduce(this.asbItems, asbItemChoosed, 'id') @@ -215,7 +215,7 @@ export default { ///api/app/register-asbitem/many?RegisterAsbitemIds=3fa85f64-5717-4562-b3fc-2c963f66afa6 delAbs(absForDel) { if (absForDel.length < 1) { - alert("请选择要移除的组合项目") + alert("请选择要移除的诊断") return } arrayReduce(this.report.dataAsbitemOCX, absForDel, 'id'); diff --git a/src/views/common-settings/ItemType.vue b/src/views/common-settings/ItemType.vue index 293965c..d73db02 100644 --- a/src/views/common-settings/ItemType.vue +++ b/src/views/common-settings/ItemType.vue @@ -1,23 +1,19 @@