Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web into main
continuous-integration/drone/push Build is passing Details

uat_us
caiyiling 2024-09-24 13:28:16 +08:00
commit 06c56889d0
6 changed files with 37 additions and 14 deletions

View File

@ -302,7 +302,10 @@
/> />
<span> <span>
{{ $t('trials:uploadDicomList:table:uploadNow') {{ $t('trials:uploadDicomList:table:uploadNow')
}}{{ scope.row.dicomInfo.failedFileCount }}/{{ scope.row.dicomInfo.fileCount }} ({{ }}{{ scope.row.dicomInfo.failedFileCount }}/{{
scope.row.dicomInfo.fileCount
}}
({{
(scope.row.dicomInfo.uploadFileSize / 1024 / 1024).toFixed(2) (scope.row.dicomInfo.uploadFileSize / 1024 / 1024).toFixed(2)
}}MB/{{ }}MB/{{
(scope.row.dicomInfo.fileSize / 1024 / 1024).toFixed(2) (scope.row.dicomInfo.fileSize / 1024 / 1024).toFixed(2)
@ -483,6 +486,10 @@ export default {
return {} return {}
}, },
}, },
VisitTaskId: {
type: String,
default: '',
},
}, },
components: { components: {
'study-view': studyView, 'study-view': studyView,
@ -556,6 +563,9 @@ export default {
TrialReadingCriterionId: this.Criterion.TrialReadingCriterionId, TrialReadingCriterionId: this.Criterion.TrialReadingCriterionId,
SubjectCode: this.SubjectCode, SubjectCode: this.SubjectCode,
} }
if (this.VisitTaskId) {
params.VisitTaskId = this.VisitTaskId
}
this.loading = true this.loading = true
let res = await getSubjectImageUploadList(params) let res = await getSubjectImageUploadList(params)
this.loading = false this.loading = false

View File

@ -18,6 +18,7 @@
:SubjectId="SubjectId" :SubjectId="SubjectId"
:SubjectCode="SubjectCode" :SubjectCode="SubjectCode"
:Criterion="Criterion" :Criterion="Criterion"
:VisitTaskId="VisitTaskId"
/> />
</el-tab-pane> </el-tab-pane>
<el-tab-pane <el-tab-pane
@ -29,6 +30,7 @@
:SubjectId="SubjectId" :SubjectId="SubjectId"
:SubjectCode="SubjectCode" :SubjectCode="SubjectCode"
:Criterion="Criterion" :Criterion="Criterion"
:VisitTaskId="VisitTaskId"
/> />
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
@ -60,6 +62,10 @@ export default {
return {} return {}
}, },
}, },
VisitTaskId: {
type: String,
default: '',
},
}, },
data() { data() {
return { return {

View File

@ -63,7 +63,7 @@
<!-- 预览 --> <!-- 预览 -->
<viewer <viewer
:ref="files.row.Path" :ref="files.row.Path"
style="margin:0 10px;" style="margin: 0 10px"
:images="[`${OSSclientConfig.basePath}${files.row.Path}`]" :images="[`${OSSclientConfig.basePath}${files.row.Path}`]"
> >
<el-button <el-button
@ -81,7 +81,7 @@
crossorigin="anonymous" crossorigin="anonymous"
:src="`${OSSclientConfig.basePath}${files.row.Path}`" :src="`${OSSclientConfig.basePath}${files.row.Path}`"
alt="Image" alt="Image"
> />
</viewer> </viewer>
</template> </template>
</el-table-column> </el-table-column>
@ -122,7 +122,7 @@
<!-- 预览 --> <!-- 预览 -->
<viewer <viewer
:ref="files.row.Path" :ref="files.row.Path"
style="margin:0 10px;" style="margin: 0 10px"
:images="[`${OSSclientConfig.basePath}${files.row.Path}`]" :images="[`${OSSclientConfig.basePath}${files.row.Path}`]"
> >
<el-button <el-button
@ -140,7 +140,7 @@
crossorigin="anonymous" crossorigin="anonymous"
:src="`${OSSclientConfig.basePath}${files.row.Path}`" :src="`${OSSclientConfig.basePath}${files.row.Path}`"
alt="Image" alt="Image"
> />
</viewer> </viewer>
</template> </template>
</el-table-column> </el-table-column>
@ -394,6 +394,10 @@ export default {
return {} return {}
}, },
}, },
VisitTaskId: {
type: String,
default: '',
},
}, },
data() { data() {
return { return {
@ -452,6 +456,9 @@ export default {
this.searchData.TrialReadingCriterionId = this.searchData.TrialReadingCriterionId =
this.Criterion.TrialReadingCriterionId this.Criterion.TrialReadingCriterionId
this.searchData.SubjectCode = this.SubjectCode this.searchData.SubjectCode = this.SubjectCode
if (this.VisitTaskId) {
this.searchData.VisitTaskId = this.VisitTaskId
}
this.loading = true this.loading = true
let res = await getIRUploadTaskNoneDicomStudyList(this.searchData) let res = await getIRUploadTaskNoneDicomStudyList(this.searchData)
this.loading = false this.loading = false

View File

@ -719,6 +719,7 @@
:subject-code="uploadSubjectCode" :subject-code="uploadSubjectCode"
:criterion="uploadTrialCriterion" :criterion="uploadTrialCriterion"
:visible.sync="uploadImageVisible" :visible.sync="uploadImageVisible"
:VisitTaskId="taskId"
/> />
<download-dicom-and-nonedicom <download-dicom-and-nonedicom
v-if="downloadImageVisible" v-if="downloadImageVisible"

View File

@ -473,7 +473,9 @@
</div> </div>
</el-tooltip> </el-tooltip>
<el-tooltip <el-tooltip
v-if="trialCriterion.ImageUploadEnum > 0 && currentReadingTaskState < 2" v-if="
trialCriterion.ImageUploadEnum > 0 && currentReadingTaskState < 2
"
v-hasPermi="['role:ir']" v-hasPermi="['role:ir']"
class="item" class="item"
effect="dark" effect="dark"
@ -663,6 +665,7 @@
:SubjectCode="uploadSubjectCode" :SubjectCode="uploadSubjectCode"
:Criterion="uploadTrialCriterion" :Criterion="uploadTrialCriterion"
:visible.sync="uploadImageVisible" :visible.sync="uploadImageVisible"
:VisitTaskId="taskId"
/> />
<download-dicom-and-nonedicom <download-dicom-and-nonedicom
v-if="downloadImageVisible" v-if="downloadImageVisible"
@ -890,7 +893,7 @@ export default {
uploadSubjectCode: null, uploadSubjectCode: null,
uploadTrialCriterion: {}, uploadTrialCriterion: {},
uploadStatus: 'upload', uploadStatus: 'upload',
taskId: '' taskId: '',
} }
}, },
@ -1075,7 +1078,7 @@ export default {
.catch(() => {}) .catch(() => {})
}, },
openUploadImage(status) { openUploadImage(status) {
const idx = this.visitTaskList.findIndex(i => i.IsCurrentTask) const idx = this.visitTaskList.findIndex((i) => i.IsCurrentTask)
if (idx > -1) { if (idx > -1) {
this.taskId = this.visitTaskList[idx].VisitTaskId this.taskId = this.visitTaskList[idx].VisitTaskId
} }

View File

@ -367,9 +367,7 @@
v-model="form.ImageDownloadEnum" v-model="form.ImageDownloadEnum"
:disabled=" :disabled="
isConfirm || isConfirm ||
!hasPermi(['trials:trials-panel:setting:reading-unit:edit']) || !hasPermi(['trials:trials-panel:setting:reading-unit:edit'])
form.IsReadingTaskViewInOrder === 0 ||
form.IsReadingTaskViewInOrder === 1
" "
> >
<el-radio <el-radio
@ -390,9 +388,7 @@
v-model="form.ImageUploadEnum" v-model="form.ImageUploadEnum"
:disabled=" :disabled="
isConfirm || isConfirm ||
!hasPermi(['trials:trials-panel:setting:reading-unit:edit']) || !hasPermi(['trials:trials-panel:setting:reading-unit:edit'])
form.IsReadingTaskViewInOrder === 0 ||
form.IsReadingTaskViewInOrder === 1
" "
> >
<el-radio <el-radio