uat_us
parent
431eab7e49
commit
5f26711862
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div id="app" style="position: relative">
|
<div id="app" style="position: relative">
|
||||||
<router-view />
|
<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
|
i18n
|
||||||
</div>
|
</div>
|
||||||
<el-drawer
|
<el-drawer
|
||||||
|
|
|
@ -999,6 +999,10 @@ export default {
|
||||||
})
|
})
|
||||||
}, 5000)
|
}, 5000)
|
||||||
scope.myInterval.push(t)
|
scope.myInterval.push(t)
|
||||||
|
let Record = {
|
||||||
|
successFile: [],
|
||||||
|
errorFile: []
|
||||||
|
}
|
||||||
let params = {
|
let params = {
|
||||||
trialId: scope.trialId,
|
trialId: scope.trialId,
|
||||||
siteId: scope.data.SiteId,
|
siteId: scope.data.SiteId,
|
||||||
|
@ -1006,6 +1010,7 @@ export default {
|
||||||
subjectVisitId: scope.subjectVisitId,
|
subjectVisitId: scope.subjectVisitId,
|
||||||
studyMonitorId: res.Result,
|
studyMonitorId: res.Result,
|
||||||
failedFileCount: 0,
|
failedFileCount: 0,
|
||||||
|
RecordPath: null,
|
||||||
study: {
|
study: {
|
||||||
studyId: dicomInfo.studyId,
|
studyId: dicomInfo.studyId,
|
||||||
studyInstanceUid: dicomInfo.studyUid,
|
studyInstanceUid: dicomInfo.studyUid,
|
||||||
|
|
|
@ -147,6 +147,7 @@
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<!-- 预览 -->
|
<!-- 预览 -->
|
||||||
|
|
||||||
<el-button
|
<el-button
|
||||||
type="text"
|
type="text"
|
||||||
size="small"
|
size="small"
|
||||||
|
@ -174,7 +175,19 @@
|
||||||
</div>
|
</div>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
</el-tabs>
|
</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>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
@ -219,6 +232,7 @@ export default {
|
||||||
// PreviousOtherList: this.subjectClinicalData.PreviousOtherList,
|
// PreviousOtherList: this.subjectClinicalData.PreviousOtherList,
|
||||||
// PreviousPDFList: this.subjectClinicalData.PreviousPDFList,
|
// PreviousPDFList: this.subjectClinicalData.PreviousPDFList,
|
||||||
moment,
|
moment,
|
||||||
|
previewObj:{visible:false,filePath:'',fileType:''},
|
||||||
clinicalDatas: []
|
clinicalDatas: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -226,6 +240,15 @@ export default {
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
methods: {
|
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() {
|
getList() {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
var param = {
|
var param = {
|
||||||
|
@ -251,10 +274,10 @@ export default {
|
||||||
// },
|
// },
|
||||||
|
|
||||||
// 文件预览
|
// 文件预览
|
||||||
preview(path) {
|
// preview(path) {
|
||||||
if (!path) return
|
// if (!path) return
|
||||||
window.open(this.OSSclientConfig.basePath + path, '_blank')
|
// window.open(this.OSSclientConfig.basePath + path, '_blank')
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue