1
continuous-integration/drone/push Build is passing Details

uat_us
caiyiling 2024-09-25 17:10:22 +08:00
parent 590949e207
commit 112c78a832
5 changed files with 48 additions and 8 deletions

View File

@ -497,6 +497,25 @@
<h2 v-else style="color:#ddd"> <h2 v-else style="color:#ddd">
Developing... Developing...
</h2> </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>
</div> </div>
@ -809,6 +828,10 @@ export default {
type: Boolean, type: Boolean,
required: true required: true
}, },
iseCRFShowInDicomReading: {
type: Boolean,
required: true
},
questionFormChangeState: { questionFormChangeState: {
type: Boolean, type: Boolean,
default() { default() {
@ -2190,6 +2213,8 @@ export default {
this.isFullscreen = false this.isFullscreen = false
this.manualsDialog.visible = true this.manualsDialog.visible = true
}, },
skipTask(){},
submit(){},
handleFusion() { handleFusion() {
// https // https
// if (!window.isSecureContext) { // if (!window.isSecureContext) {
@ -2522,6 +2547,7 @@ export default {
width: 350px; width: 350px;
height: 100%; height: 100%;
border: 1px solid #727272; border: 1px solid #727272;
position: relative;
// overflow-y: auto; // overflow-y: auto;
} }
.viewer-container{ .viewer-container{

View File

@ -657,11 +657,15 @@ export default {
} }
const res = await submitTableQuestion(params) const res = await submitTableQuestion(params)
if (res.IsSuccess) { if (res.IsSuccess) {
// // this.refreshQuestions()
this.$message.success(this.$t('common:message:savedSuccessfully')) await this.getReadingQuestionAndAnswer(this.visitTaskId)
this.addOrEdit.visible = false this.$refs['ecrf'].getQuestions(this.visitTaskId, true)
this.refreshQuestions() this.$refs['ecrf2'].getQuestions(this.visitTaskId, true)
this.$refs['ecrf3'].getQuestions(this.visitTaskId, true)
DicomEvent.$emit('getReportInfo', true) DicomEvent.$emit('getReportInfo', true)
//
this.addOrEdit.visible = false
this.$message.success(this.$t('common:message:savedSuccessfully'))
} }
loading.close() loading.close()
} catch (e) { } catch (e) {

View File

@ -664,11 +664,15 @@ export default {
} }
const res = await submitTableQuestion(params) const res = await submitTableQuestion(params)
if (res.IsSuccess) { if (res.IsSuccess) {
// // this.refreshQuestions()
this.$message.success(this.$t('common:message:savedSuccessfully')) await this.getReadingQuestionAndAnswer(this.visitTaskId)
this.addOrEdit.visible = false this.$refs['ecrf'].getQuestions(this.visitTaskId, true)
this.refreshQuestions() this.$refs['ecrf2'].getQuestions(this.visitTaskId, true)
this.$refs['ecrf3'].getQuestions(this.visitTaskId, true)
DicomEvent.$emit('getReportInfo', true) DicomEvent.$emit('getReportInfo', true)
//
this.addOrEdit.visible = false
this.$message.success(this.$t('common:message:savedSuccessfully'))
} }
loading.close() loading.close()
} catch (e) { } catch (e) {

View File

@ -57,6 +57,7 @@
:is-reading-show-subject-info="isReadingShowSubjectInfo" :is-reading-show-subject-info="isReadingShowSubjectInfo"
:is-reading-task-view-in-order="isReadingTaskViewInOrder" :is-reading-task-view-in-order="isReadingTaskViewInOrder"
:is-exists-manual="isExistsManual" :is-exists-manual="isExistsManual"
:iseCRFShowInDicomReading="iseCRFShowInDicomReading"
@previewCD="previewCD" @previewCD="previewCD"
/> />
</div> </div>
@ -136,6 +137,10 @@ export default {
type: Boolean, type: Boolean,
required: true required: true
}, },
iseCRFShowInDicomReading: {
type: Boolean,
required: true
},
questionFormChangeState: { questionFormChangeState: {
type: Boolean, type: Boolean,
default() { default() {

View File

@ -19,6 +19,7 @@
:is-exists-clinical-data="isExistsClinicalData" :is-exists-clinical-data="isExistsClinicalData"
:is-exists-no-dicom-file="isExistsNoDicomFile" :is-exists-no-dicom-file="isExistsNoDicomFile"
:is-exists-manual="isExistsManual" :is-exists-manual="isExistsManual"
:iseCRFShowInDicomReading="IseCRFShowInDicomReading"
@previewCD="previewCD" @previewCD="previewCD"
/> />
</el-tab-pane> </el-tab-pane>