From 9a6f009f8c61dd01d791473dae7315235dec321b Mon Sep 17 00:00:00 2001 From: pengjun <158915633@qq.com> Date: Mon, 23 Sep 2024 19:37:23 +0800 Subject: [PATCH] dj --- src/components/doctorCheck/CheckItemList.vue | 19 +- src/components/doctorCheck/CheckPicture.vue | 19 +- src/components/doctorCheck/PacsDcmList.vue | 284 ++++++++++++++ src/components/doctorCheck/PacsTemplate.vue | 274 +++++--------- .../doctorCheck/PacsTemplateBak.vue | 356 ++++++++++++++++++ .../patientRegister/PatientRegisterList.vue | 20 +- .../patientRegister/patientRegisterQuery.vue | 3 +- src/router/index.js | 6 + 8 files changed, 787 insertions(+), 194 deletions(-) create mode 100644 src/components/doctorCheck/PacsDcmList.vue create mode 100644 src/components/doctorCheck/PacsTemplateBak.vue diff --git a/src/components/doctorCheck/CheckItemList.vue b/src/components/doctorCheck/CheckItemList.vue index 7bf290a..51df040 100644 --- a/src/components/doctorCheck/CheckItemList.vue +++ b/src/components/doctorCheck/CheckItemList.vue @@ -85,7 +85,7 @@ - @@ -131,6 +131,7 @@ export default { currentRow: -1, //当前操作的行 dialogWinMoreResult: false, + dialogWinPacsTemplate:false, moreResult: { data: [], result: '', @@ -147,6 +148,8 @@ export default { // pacs 结果录入 pacsParams: { + from:'doctor', + refresh:-1, // 强制刷新 row: {}, index: 0, result: '', @@ -430,12 +433,15 @@ export default { summary += e.summary }); - this.pacsParams = { - row, index, result, summary - } - console.log('this.pacsParams ', this.pacsParams ) + + this.pacsParams.row = row + this.pacsParams.index = index + this.pacsParams.result = result + this.pacsParams.summary = summary + this.pacsParams.refresh++ + - this.dialogWin.PacsTemplate = true + this.dialogWinPacsTemplate = true }, // 双击选择结果模版的结果 @@ -488,6 +494,7 @@ export default { summary: pacsResult.summary, summaryFlag: 'N', }] + this.dialogWinPacsTemplate = false }, diff --git a/src/components/doctorCheck/CheckPicture.vue b/src/components/doctorCheck/CheckPicture.vue index b428c39..677fef8 100644 --- a/src/components/doctorCheck/CheckPicture.vue +++ b/src/components/doctorCheck/CheckPicture.vue @@ -82,7 +82,7 @@
检查条码 + @keyup.native.enter="onQueryByPacsNo(checkRequestNo)" @focus="onFocus" disabled/>
姓名 @@ -126,7 +126,7 @@
- @@ -159,6 +159,8 @@ export default { dialogDcm: false, iframeSrc: '', pacsParams: { + from:'dcm', + refresh: -1, row: {}, index: 0, result: '', @@ -374,6 +376,7 @@ export default { this.pacsParams.summary = summary this.pacsParams.row = deepCopy(this.doctorCheck.checkItemList[0]) this.pacsParams.index = 0 + this.pacsParams.refresh++ // console.log('pacsParams', this.pacsParams) let token = window.sessionStorage.getItem('token') @@ -385,7 +388,8 @@ export default { // 选择描述与结论 btnChooseBigtext() { - console.log('this.pacsParams', this.pacsParams) + // console.log('this.pacsParams', this.pacsParams) + this.pacsParams.refresh++ this.dialogWin.PacsTemplate = true }, @@ -615,6 +619,7 @@ export default { // 通过检查条码查询相关数据 onQueryByPacsNo(checkRequestNo) { + this.checkRequestNo = checkRequestNo this.$refs['checkRequestNo'].select() postapi('/api/app/PacsBusiness/GetPatientRegisterWithCheckResultByCheckRequestNo', { checkRequestNo }) .then(res => { @@ -623,11 +628,11 @@ export default { this.dataTransOpts.tableS.patient_register = res.data.patientRegisterDetail // 组合项目 - this.doctorCheck.RegisterCheckList = res.data.patientRegisterDetail.registerCheckAsbitems + this.doctorCheck.RegisterCheckList = [res.data.registerCheckDetail] // 组合项目明细 - this.octorCheck.checkItemList = res.data.registerCheckItemDetails - + this.doctorCheck.checkItemList = res.data.registerCheckItemDetails + // 小结与建议 this.doctorCheck.checkSummaryList = res.data.registerCheckSummaryDetails this.doctorCheck.checkSuggestionList = res.data.registerCheckSuggestionDetails @@ -639,7 +644,7 @@ export default { this.doctorCheck.RegisterCheckEdit = res.data.registerCheckDetail // 图片 - this.checkPictures = res.data.registerCheckPictureDetails + this.checkPictures = res.data.registerCheckPictureDetails this.checkPictures.forEach(e => { e.isPrintTrans = e.isPrint == "Y" ? true : false }); diff --git a/src/components/doctorCheck/PacsDcmList.vue b/src/components/doctorCheck/PacsDcmList.vue new file mode 100644 index 0000000..32de7b7 --- /dev/null +++ b/src/components/doctorCheck/PacsDcmList.vue @@ -0,0 +1,284 @@ + + + diff --git a/src/components/doctorCheck/PacsTemplate.vue b/src/components/doctorCheck/PacsTemplate.vue index 8b45cd3..014003d 100644 --- a/src/components/doctorCheck/PacsTemplate.vue +++ b/src/components/doctorCheck/PacsTemplate.vue @@ -1,13 +1,13 @@