1
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-09-25 17:10:22 +08:00
parent 590949e207
commit 112c78a832
5 changed files with 48 additions and 8 deletions
@@ -497,6 +497,25 @@
<h2 v-else style="color:#ddd">
Developing...
</h2>
<!-- iseCRFShowInDicomReading && currentReadingTaskState < 2 -->
<div v-if="false">
<el-button
type="primary"
size="small"
@click="skipTask"
>
<!-- 跳过 -->
{{ $t('trials:readingReport:button:skip') }}
</el-button>
<el-button
type="primary"
size="small"
@click="submit"
>
<!-- 提交 -->
{{ $t('common:button:submit') }}
</el-button>
</div>
</div>
</div>
@@ -809,6 +828,10 @@ export default {
type: Boolean,
required: true
},
iseCRFShowInDicomReading: {
type: Boolean,
required: true
},
questionFormChangeState: {
type: Boolean,
default() {
@@ -2190,6 +2213,8 @@ export default {
this.isFullscreen = false
this.manualsDialog.visible = true
},
skipTask(){},
submit(){},
handleFusion() {
// https 或者 本地开发环境才是安全上下文
// if (!window.isSecureContext) {
@@ -2522,6 +2547,7 @@ export default {
width: 350px;
height: 100%;
border: 1px solid #727272;
position: relative;
// overflow-y: auto;
}
.viewer-container{
@@ -657,11 +657,15 @@ export default {
}
const res = await submitTableQuestion(params)
if (res.IsSuccess) {
// 保存成功!
this.$message.success(this.$t('common:message:savedSuccessfully'))
this.addOrEdit.visible = false
this.refreshQuestions()
// this.refreshQuestions()
await this.getReadingQuestionAndAnswer(this.visitTaskId)
this.$refs['ecrf'].getQuestions(this.visitTaskId, true)
this.$refs['ecrf2'].getQuestions(this.visitTaskId, true)
this.$refs['ecrf3'].getQuestions(this.visitTaskId, true)
DicomEvent.$emit('getReportInfo', true)
// 保存成功!
this.addOrEdit.visible = false
this.$message.success(this.$t('common:message:savedSuccessfully'))
}
loading.close()
} catch (e) {
@@ -664,11 +664,15 @@ export default {
}
const res = await submitTableQuestion(params)
if (res.IsSuccess) {
// 保存成功!
this.$message.success(this.$t('common:message:savedSuccessfully'))
this.addOrEdit.visible = false
this.refreshQuestions()
// this.refreshQuestions()
await this.getReadingQuestionAndAnswer(this.visitTaskId)
this.$refs['ecrf'].getQuestions(this.visitTaskId, true)
this.$refs['ecrf2'].getQuestions(this.visitTaskId, true)
this.$refs['ecrf3'].getQuestions(this.visitTaskId, true)
DicomEvent.$emit('getReportInfo', true)
// 保存成功!
this.addOrEdit.visible = false
this.$message.success(this.$t('common:message:savedSuccessfully'))
}
loading.close()
} catch (e) {
@@ -57,6 +57,7 @@
:is-reading-show-subject-info="isReadingShowSubjectInfo"
:is-reading-task-view-in-order="isReadingTaskViewInOrder"
:is-exists-manual="isExistsManual"
:iseCRFShowInDicomReading="iseCRFShowInDicomReading"
@previewCD="previewCD"
/>
</div>
@@ -136,6 +137,10 @@ export default {
type: Boolean,
required: true
},
iseCRFShowInDicomReading: {
type: Boolean,
required: true
},
questionFormChangeState: {
type: Boolean,
default() {
@@ -19,6 +19,7 @@
:is-exists-clinical-data="isExistsClinicalData"
:is-exists-no-dicom-file="isExistsNoDicomFile"
:is-exists-manual="isExistsManual"
:iseCRFShowInDicomReading="IseCRFShowInDicomReading"
@previewCD="previewCD"
/>
</el-tab-pane>