Compare commits
No commits in common. "bc9edcaa89e68511aa7f78542218bc02c384210f" and "d844e9b94935faf156a10eb9d22697b384d89771" have entirely different histories.
bc9edcaa89
...
d844e9b949
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div id="app" style="position: relative">
|
<div id="app" style="position: relative">
|
||||||
<router-view />
|
<router-view />
|
||||||
<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">
|
<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">
|
||||||
i18n
|
i18n
|
||||||
</div>
|
</div>
|
||||||
<el-drawer
|
<el-drawer
|
||||||
|
|
|
@ -999,10 +999,6 @@ 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,
|
||||||
|
@ -1010,7 +1006,6 @@ 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,7 +147,6 @@
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<!-- 预览 -->
|
<!-- 预览 -->
|
||||||
|
|
||||||
<el-button
|
<el-button
|
||||||
type="text"
|
type="text"
|
||||||
size="small"
|
size="small"
|
||||||
|
@ -175,19 +174,7 @@
|
||||||
</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>
|
||||||
|
@ -232,7 +219,6 @@ 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: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -240,15 +226,6 @@ 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 = {
|
||||||
|
@ -274,10 +251,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