From 595b03b7c88e6dc5529dd7d50e1a3c3bbc33b886 Mon Sep 17 00:00:00 2001
From: pengjun <158915633@qq.com>
Date: Thu, 2 May 2024 15:09:06 +0800
Subject: [PATCH] doctor
---
src/components/doctorCheck/CheckItemList.vue | 6 +--
.../doctorCheck/CheckPictureUpload.vue | 13 +++--
.../doctorCheck/PatientRegisterList.vue | 2 +-
.../doctorCheck/RegisterCheckList.vue | 2 +-
.../patientRegister/AsbChargeRequest.vue | 50 +++++++++++++------
.../patientRegister/PatientRegisterItem.vue | 2 +-
.../patientRegisterAsbItem.vue | 33 ++++++++++--
.../customerReport/combinationDetails.vue | 2 +-
src/views/customerReport/detailedIitems.vue | 2 +-
.../customerReport/diseaseStatistics.vue | 2 +-
.../customerReport/personnelPositive.vue | 2 +-
.../customerReport/positiveResultsList.vue | 2 +-
src/views/customerReport/unitSettlement.vue | 2 +-
.../doctorCheck/unitphysicalexamination.vue | 2 +-
src/views/report/chargeAsbitem.vue | 2 +-
src/views/report/checkStatus.vue | 2 +-
src/views/report/unCheckAsbitem.vue | 2 +-
17 files changed, 90 insertions(+), 38 deletions(-)
diff --git a/src/components/doctorCheck/CheckItemList.vue b/src/components/doctorCheck/CheckItemList.vue
index 80d4ffd..618d35c 100644
--- a/src/components/doctorCheck/CheckItemList.vue
+++ b/src/components/doctorCheck/CheckItemList.vue
@@ -34,16 +34,14 @@
-
+
{{ item.displayName }}
diff --git a/src/components/doctorCheck/CheckPictureUpload.vue b/src/components/doctorCheck/CheckPictureUpload.vue
index 3a99de2..ddd1d14 100644
--- a/src/components/doctorCheck/CheckPictureUpload.vue
+++ b/src/components/doctorCheck/CheckPictureUpload.vue
@@ -92,7 +92,7 @@ export default {
btnUpload() {
console.log('that.registerCheckId', this.registerCheckId)
if (!(this.fileList && typeof this.fileList == 'object' && this.fileList.length > 0)) {
- this.$message.warning({ showClose: true, message: "请选择要上传的文件!"})
+ this.$message.warning({ showClose: true, message: "请选择要上传的文件!" })
return
}
let checkSize = []
@@ -101,7 +101,7 @@ export default {
});
if (checkSize.length > 0) {
- this.$message.error({ showClose: true, message: `所选文件 ${JSON.stringify(checkSize)} 大于 20MB ,文件过大无法上传`})
+ this.$message.error({ showClose: true, message: `所选文件 ${JSON.stringify(checkSize)} 大于 20MB ,文件过大无法上传` })
return;
}
@@ -111,15 +111,22 @@ export default {
for (let i = 0; i < this.fileList.length; i++) {
if (err) break;
let file = this.fileList[i]
+ console.log('file',file)
let reader = new FileReader();
let that = this;
// 定义读取文件
reader.onload = (event) => {
+ let fileName = ""
+ let dotIndex = file.name.lastIndexOf('.');
+ if(dotIndex>-1) fileName = file.name.substring(0, dotIndex);
let data = event.target.result;
console.log('base64', data.length, data)
let body = {
registerCheckId: that.registerCheckId,
- pictureBaseStrs: [data]
+ pictureBaseStrs: [{
+ fileName,
+ pictureBaseStr: data
+ }]
}
postapi('/api/app/registercheckpicture/uploadregistercheckpicturemany', body)
.then(res => {
diff --git a/src/components/doctorCheck/PatientRegisterList.vue b/src/components/doctorCheck/PatientRegisterList.vue
index b269b3d..b450d08 100644
--- a/src/components/doctorCheck/PatientRegisterList.vue
+++ b/src/components/doctorCheck/PatientRegisterList.vue
@@ -172,7 +172,7 @@
+ width="880px" height="600px">
diff --git a/src/components/doctorCheck/RegisterCheckList.vue b/src/components/doctorCheck/RegisterCheckList.vue
index b0c16ce..8a3b6ab 100644
--- a/src/components/doctorCheck/RegisterCheckList.vue
+++ b/src/components/doctorCheck/RegisterCheckList.vue
@@ -102,7 +102,7 @@ export default {
return
}
console.log(`/api/app/register-check/register-check-or-asbitem/${patientRegisterId}`)
- getapi(`/api/app/register-check/register-check-or-asbitem/${patientRegisterId}`)
+ postapi('/api/app/RegisterCheck/GetRegisterCheckWithAsbitems', { patientRegisterId })
.then((res) => {
console.log("registerCheckList", res.data);
if (res.code != -1) {
diff --git a/src/components/patientRegister/AsbChargeRequest.vue b/src/components/patientRegister/AsbChargeRequest.vue
index 8383711..370708c 100644
--- a/src/components/patientRegister/AsbChargeRequest.vue
+++ b/src/components/patientRegister/AsbChargeRequest.vue
@@ -16,15 +16,15 @@
-
+
- {{ scope.row.chargeRequestFlag }}
+ {{ setChargeRequestFlag(scope.row.chargeRequestFlag) }}
@@ -33,18 +33,20 @@
- 撤消申请
+ 撤消申请
- 退费申请
+ 退费申请
申请单包含项目
-
+
@@ -125,28 +127,46 @@ export default {
})
},
+ setChargeRequestFlag(chargeRequestFlag) {
+ let ret = '未收费'
+ switch (chargeRequestFlag) {
+ case '1':
+ ret = '已收费'
+ break;
+ case '2':
+ ret = '已作废'
+ break;
+ case '3':
+ ret = '已撤消'
+ break;
+ default:
+ break;
+ }
+ return ret
+ },
+
handleSelectionChange(v) {
this.selectedData = v;
},
- setBtnDisabled(row,oprType){
+ setBtnDisabled(row, oprType) {
let ret = true
- if(oprType == 'chargeBack'){
-
- }else{
-
+ if (oprType == 'chargeBack') {
+ if(row.chargeRequestFlag == '1') ret = false
+ } else {
+ if(row.chargeRequestFlag == '0') ret = false
}
-
+ return ret
},
// 获取申请单明细
- rowClick(row){
+ rowClick(row) {
this.hisRequestDataDetails = []
postapi('/api/app/ChargeRequest/GetChargeRequestAsbitemsByChargeQuestId', { chargeRequestId: row.id })
.then(res => {
if (res.code > -1) {
res.data.forEach(e => {
- e.total = Number(e.chargePrice*e.amount)
+ e.total = Number(e.chargePrice * e.amount)
this.hisRequestDataDetails.push(e)
});
}
diff --git a/src/components/patientRegister/PatientRegisterItem.vue b/src/components/patientRegister/PatientRegisterItem.vue
index 07d1d65..694cbd4 100644
--- a/src/components/patientRegister/PatientRegisterItem.vue
+++ b/src/components/patientRegister/PatientRegisterItem.vue
@@ -1133,7 +1133,7 @@ export default {
// 通过组合项目,获取包含明细
getAsbItems(asbId) {
let asbItems = this.asbItems.filter(e => { return e.asbitemId == asbId })
- console.log(asbId,asbItems)
+ // console.log(asbId,asbItems)
let ret = []
asbItems.forEach(e => {
ret.push(' ' + e.itemName)
diff --git a/src/components/patientRegister/patientRegisterAsbItem.vue b/src/components/patientRegister/patientRegisterAsbItem.vue
index facb5da..640d469 100644
--- a/src/components/patientRegister/patientRegisterAsbItem.vue
+++ b/src/components/patientRegister/patientRegisterAsbItem.vue
@@ -6,6 +6,10 @@
+
+
+
@@ -59,7 +63,9 @@ import { getapi, postapi, putapi, deletapi } from "../../api/api";
export default {
components: {},
data() {
- return {};
+ return {
+ asbItems: [], // 组合项目包含明细(全)
+ };
},
created() {
@@ -73,7 +79,8 @@ export default {
},
//挂载完成
- mounted() {
+ mounted() {
+ this.dictInit()
this.retrieveregister_check_asbitem(this.dataTransOpts.tableS.patient_register.id)
},
@@ -83,6 +90,26 @@ export default {
methods: {
dddw, moment,
+ // 初始化字典信息
+ dictInit() {
+ // 获取组合项目包含的明细
+ postapi('/api/app/Asbitem/GetSimpleAsbitemWithDetails')
+ .then(res => {
+ if (res.code > -1) this.asbItems = res.data
+ })
+ },
+
+ // 通过组合项目,获取包含明细
+ getAsbItems(asbId) {
+ let asbItems = this.asbItems.filter(e => { return e.asbitemId == asbId })
+ // console.log(asbId,asbItems)
+ let ret = []
+ asbItems.forEach(e => {
+ ret.push(' ' + e.itemName)
+ });
+ return `${ret}`
+ },
+
// 设置颜色
setColor(checkCompleteFlag) {
let color = "#52555F"
@@ -174,7 +201,7 @@ export default {
// immediate:true,
handler(newVal, oldVal) {
console.log(`watch 人员登记 newVal:${newVal} oldVal:${oldVal} registerCheckId: ${this.dataTransOpts.tableS.patient_register.id}`);
- if(newVal != oldVal) this.retrieveregister_check_asbitem(this.dataTransOpts.tableS.patient_register.id)
+ if (newVal != oldVal) this.retrieveregister_check_asbitem(this.dataTransOpts.tableS.patient_register.id)
}
},
}
diff --git a/src/views/customerReport/combinationDetails.vue b/src/views/customerReport/combinationDetails.vue
index a8aa7da..c2e3c23 100644
--- a/src/views/customerReport/combinationDetails.vue
+++ b/src/views/customerReport/combinationDetails.vue
@@ -116,7 +116,7 @@
title="体检单位选择"
:visible.sync="report.dialogCusOrgOCX"
:close-on-click-modal="false"
- width="840px"
+ width="880px"
height="600px"
>
diff --git a/src/views/customerReport/detailedIitems.vue b/src/views/customerReport/detailedIitems.vue
index 0687ef8..4179208 100644
--- a/src/views/customerReport/detailedIitems.vue
+++ b/src/views/customerReport/detailedIitems.vue
@@ -151,7 +151,7 @@
title="体检单位选择"
:visible.sync="project.dialogCusOrgOCX"
:close-on-click-modal="false"
- width="840px"
+ width="880px"
height="600px"
>
diff --git a/src/views/customerReport/diseaseStatistics.vue b/src/views/customerReport/diseaseStatistics.vue
index d2a1dba..f416d84 100644
--- a/src/views/customerReport/diseaseStatistics.vue
+++ b/src/views/customerReport/diseaseStatistics.vue
@@ -170,7 +170,7 @@
title="体检单位选择"
:visible.sync="diagnosis.dialogCusOrgOCX"
:close-on-click-modal="false"
- width="840px"
+ width="880px"
height="600px"
>
diff --git a/src/views/customerReport/personnelPositive.vue b/src/views/customerReport/personnelPositive.vue
index b49a697..ab96d5c 100644
--- a/src/views/customerReport/personnelPositive.vue
+++ b/src/views/customerReport/personnelPositive.vue
@@ -74,7 +74,7 @@
+ :close-on-click-modal="false" width="880px" height="600px">
diff --git a/src/views/customerReport/positiveResultsList.vue b/src/views/customerReport/positiveResultsList.vue
index 08fc9f4..c447a58 100644
--- a/src/views/customerReport/positiveResultsList.vue
+++ b/src/views/customerReport/positiveResultsList.vue
@@ -202,7 +202,7 @@
title="体检单位选择"
:visible.sync="diagnosis.dialogCusOrgOCX"
:close-on-click-modal="false"
- width="840px"
+ width="880px"
height="600px"
>