From f36a00cf81cf68cf8455f2b57a8e7467b5a8b332 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Mon, 4 Aug 2025 11:46:52 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E5=88=86=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reading/dicoms3D/components/ReadPage.vue | 22 ++++++++++++++----- .../components/configList.vue | 2 +- .../reading/reading-tracking/index.vue | 2 +- .../setting/email-manage/index.vue | 13 ++++++++++- 4 files changed, 30 insertions(+), 9 deletions(-) diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue index e3e236fa..1f33dd0f 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue @@ -2040,7 +2040,7 @@ export default { }, // 激活标注工具 setAnnotateToolActive(toolName) { - if (this.readingTaskState === 2) return + // if (this.readingTaskState === 2) return const toolObj = this.tools.find(i => i.toolName === toolName) if (!toolObj || toolObj.isDisabled) return const series = this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].series @@ -2130,7 +2130,10 @@ export default { const series = this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].series const isCurrentTask = series.TaskInfo.IsCurrentTask const readingTaskState = this.readingTaskState - if (!isCurrentTask || readingTaskState >= 2) { + if (isCurrentTask && readingTaskState >= 2) { + this.tools[i].isDisabled = false + e.target.style.cursor = 'pointer' + } else if (!isCurrentTask || readingTaskState >= 2) { this.tools[i].isDisabled = true e.target.style.cursor = 'not-allowed' if (this.activeTool) { @@ -2948,15 +2951,22 @@ export default { const that = this // 请输入标记名称 let message = this.$t('trials:noneDicom:message:msg1') - if (isShowCancelButton) { - message = `

${this.$t('trials:noneDicom:message:msg1')}

${this.$t('trials:noneDicom:message:saveTip')}

` - } + // if (isShowCancelButton) { + // message = `

${this.$t('trials:noneDicom:message:msg1')}

${this.$t('trials:noneDicom:message:saveTip')}

` + // } const { value } = await this.$prompt( message, '', { showClose: false, cancelButtonText: isShowCancelButton ? this.$t('trials:reading:button:temporarySave') : this.$t('common:button:cancel'), confirmButtonText: isShowCancelButton ? this.$t('trials:reading:button:enduringSave') : this.$t('trials:reading:button:relevancy'), // showCancelButton: isShowCancelButton, - dangerouslyUseHTMLString: isShowCancelButton, + // dangerouslyUseHTMLString: isShowCancelButton, + inputValidator: (res) => { + if (!res) { + return false + } + return this.$t('trials:noneDicom:message:saveTip') + }, + inputErrorMessage: this.$t('trials:noneDicom:message:saveTip'), showCancelButton: true, closeOnClickModal: false, closeOnPressEscape: false, diff --git a/src/views/trials/trials-panel/reading/reading-tracking/components/configList.vue b/src/views/trials/trials-panel/reading/reading-tracking/components/configList.vue index fcf155cc..208e7f68 100644 --- a/src/views/trials/trials-panel/reading/reading-tracking/components/configList.vue +++ b/src/views/trials/trials-panel/reading/reading-tracking/components/configList.vue @@ -152,7 +152,7 @@ export default { } else if ((this.exportInfo.CriterionGroup === 0 || this.exportInfo.CriterionType === 0 ) && item.Code === 1 && (row.HasChildren || row.IsTableQuestion)) { // 自定义或非肿瘤阅片标准阅片结果表(1)不能配置表格问题 return true - } else if (item.Code === 8 && (row.HasChildren || (row.IsTableQuestion && this.exportInfo.CriterionType !== 0))) { + } else if (this.exportInfo.CriterionGroup !== 0 && item.Code === 8 && (row.HasChildren || (row.IsTableQuestion && this.exportInfo.CriterionType !== 0))) { // else if (item.Code === 8 && (row.HasChildren || row.IsTableQuestion)) // CDISC导出不能配置表格问题 return true diff --git a/src/views/trials/trials-panel/reading/reading-tracking/index.vue b/src/views/trials/trials-panel/reading/reading-tracking/index.vue index fa1c2967..32ae9761 100644 --- a/src/views/trials/trials-panel/reading/reading-tracking/index.vue +++ b/src/views/trials/trials-panel/reading/reading-tracking/index.vue @@ -340,7 +340,7 @@