熊飞 2024-01-16 09:41:55 +08:00
parent 431eab7e49
commit 5f26711862
3 changed files with 34 additions and 6 deletions

View File

@ -1,7 +1,7 @@
<template>
<div id="app" style="position: relative">
<router-view />
<div @click="openI18n" style="position: fixed;bottom: 100px;right: 50px;z-index: 100000;width: 50px;height: 50px;background: #409eff88;line-height: 50px;text-align: center;color:#fff;border-radius: 50%;cursor: pointer">
<div v-adaptive @click="openI18n" style="position: fixed;bottom: 100px;left: 50px;z-index: 100000;width: 50px;height: 50px;background: #409eff88;line-height: 50px;text-align: center;color:#fff;border-radius: 50%;cursor: pointer">
i18n
</div>
<el-drawer

View File

@ -999,6 +999,10 @@ export default {
})
}, 5000)
scope.myInterval.push(t)
let Record = {
successFile: [],
errorFile: []
}
let params = {
trialId: scope.trialId,
siteId: scope.data.SiteId,
@ -1006,6 +1010,7 @@ export default {
subjectVisitId: scope.subjectVisitId,
studyMonitorId: res.Result,
failedFileCount: 0,
RecordPath: null,
study: {
studyId: dicomInfo.studyId,
studyInstanceUid: dicomInfo.studyUid,

View File

@ -147,6 +147,7 @@
>
<template slot-scope="scope">
<!-- 预览 -->
<el-button
type="text"
size="small"
@ -174,7 +175,19 @@
</div>
</el-tab-pane>
</el-tabs>
<!-- 预览文件 -->
<el-dialog
v-if="previewObj.visible"
:visible.sync="previewObj.visible"
:title="previewObj.fileName"
:fullscreen="true"
append-to-body
custom-class="base-dialog-wrapper"
>
<div class="base-modal-body" style="border:2px solid #ccc;padding: 10px">
<PreviewFile v-if="previewObj.visible" :file-path="previewObj.filePath" :file-type="previewObj.fileType" />
</div>
</el-dialog>
</div>
</template>
<script>
@ -219,6 +232,7 @@ export default {
// PreviousOtherList: this.subjectClinicalData.PreviousOtherList,
// PreviousPDFList: this.subjectClinicalData.PreviousPDFList,
moment,
previewObj:{visible:false,filePath:'',fileType:''},
clinicalDatas: []
}
},
@ -226,6 +240,15 @@ export default {
this.getList()
},
methods: {
//
preview(row) {
if (!row.Path) return
this.previewObj.fileName = row.FileName
this.previewObj.filePath = row.Path
this.previewObj.fileType ='pdf'
this.previewObj.visible = true
// window.open(this.OSSclientConfig.basePath + path, '_blank')
},
getList() {
this.loading = true
var param = {
@ -251,10 +274,10 @@ export default {
// },
//
preview(path) {
if (!path) return
window.open(this.OSSclientConfig.basePath + path, '_blank')
}
// preview(path) {
// if (!path) return
// window.open(this.OSSclientConfig.basePath + path, '_blank')
// }
}
}
</script>