阅片人预览文件修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
eec23b9d42
commit
5c05a11ec4
|
|
@ -137,7 +137,8 @@
|
|||
)
|
||||
}).StatementCriterionFileList.length > 0
|
||||
">
|
||||
<el-button type="text" @click="preview(scope.row, ite.TrialReadingCriterionId)">View</el-button>
|
||||
<el-button type="text"
|
||||
@click="preview(scope.row, ite.TrialReadingCriterionId, 'StatementCriterionFileList')">View</el-button>
|
||||
<!-- <el-button type="text" @click="windowOpen(scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}).StatementCriterionFileList[0].FilePath)">View</el-button> -->
|
||||
</div>
|
||||
<div v-else>
|
||||
|
|
@ -167,7 +168,8 @@
|
|||
)
|
||||
}).AcknowledgementCriterionFileList.length > 0
|
||||
">
|
||||
<el-button type="text" @click="preview(scope.row, ite.TrialReadingCriterionId)">
|
||||
<el-button type="text"
|
||||
@click="preview(scope.row, ite.TrialReadingCriterionId, 'AcknowledgementCriterionFileList')">
|
||||
View
|
||||
</el-button>
|
||||
</div>
|
||||
|
|
@ -469,10 +471,10 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
// 预览
|
||||
preview(row, TrialReadingCriterionId) {
|
||||
preview(row, TrialReadingCriterionId, key) {
|
||||
let file = row.CriterionCategoryList.find((v) => {
|
||||
return v.TrialReadingCriterionId === TrialReadingCriterionId
|
||||
}).StatementCriterionFileList[0]
|
||||
})[key][0]
|
||||
let arr = file.FilePath.split('.')
|
||||
|
||||
this.$preview({
|
||||
|
|
|
|||
Loading…
Reference in New Issue