医学审核更改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
db4632fb9b
commit
750c465b18
|
@ -78,11 +78,22 @@
|
||||||
{{ $t('trials:medicalFeedback:message:msg5') }}
|
{{ $t('trials:medicalFeedback:message:msg5') }}
|
||||||
<ol>
|
<ol>
|
||||||
<li v-for="file in record.FileList" :key="file.ImagePath" style="list-style: none;">
|
<li v-for="file in record.FileList" :key="file.ImagePath" style="list-style: none;">
|
||||||
<el-button
|
<viewer
|
||||||
type="text"
|
v-if="file.ImagePath"
|
||||||
size="mini"
|
:ref="file.ImagePath"
|
||||||
@click="previewImage(file.ImagePath)"
|
style="margin:0 10px;"
|
||||||
>{{ file.FileName }}</el-button>
|
:images="[`${OSSclientConfig.basePath}${file.ImagePath}`]"
|
||||||
|
>
|
||||||
|
<el-button type="text" @click="previewImage(file.ImagePath)">
|
||||||
|
{{ file.FileName }}
|
||||||
|
</el-button>
|
||||||
|
<img
|
||||||
|
v-show="false"
|
||||||
|
crossorigin="anonymous"
|
||||||
|
:src="`${OSSclientConfig.basePath}${file.ImagePath}`"
|
||||||
|
alt="Image"
|
||||||
|
>
|
||||||
|
</viewer>
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -138,20 +138,22 @@
|
||||||
>
|
>
|
||||||
<i slot="default" class="el-icon-plus" />
|
<i slot="default" class="el-icon-plus" />
|
||||||
<div slot="file" slot-scope="{file}">
|
<div slot="file" slot-scope="{file}">
|
||||||
<img
|
<viewer :ref="file.url" :images="images">
|
||||||
class="el-upload-list__item-thumbnail"
|
<img
|
||||||
:src="OSSclientConfig.basePath + file.url"
|
class="el-upload-list__item-thumbnail"
|
||||||
alt=""
|
:src="OSSclientConfig.basePath + file.url"
|
||||||
crossorigin="anonymous"
|
alt=""
|
||||||
>
|
crossorigin="anonymous"
|
||||||
<span class="el-upload-list__item-actions">
|
>
|
||||||
<span
|
<span class="el-upload-list__item-actions">
|
||||||
class="el-upload-list__item-preview"
|
<span
|
||||||
@click="handlePictureCardPreview(file)"
|
class="el-upload-list__item-preview"
|
||||||
>
|
@click="handlePictureCardPreview(file)"
|
||||||
<i class="el-icon-zoom-in" />
|
>
|
||||||
</span>
|
<i class="el-icon-zoom-in" />
|
||||||
</span>
|
</span>
|
||||||
|
</span>
|
||||||
|
</viewer>
|
||||||
</div>
|
</div>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
<el-dialog
|
<el-dialog
|
||||||
|
@ -237,8 +239,8 @@ export default {
|
||||||
this.visitTaskArmList = JudgeInfo.VisitTaskArmList
|
this.visitTaskArmList = JudgeInfo.VisitTaskArmList
|
||||||
},
|
},
|
||||||
handlePictureCardPreview(file) {
|
handlePictureCardPreview(file) {
|
||||||
this.imageUrl = this.OSSclientConfig.basePath + file.url
|
this.images = this.fileList.map(f => this.OSSclientConfig.basePath + f.url)
|
||||||
this.imgVisible = true
|
this.$refs[file.url].$viewer.show()
|
||||||
},
|
},
|
||||||
handleViewDetail(visitTaskId) {
|
handleViewDetail(visitTaskId) {
|
||||||
console.log(this.rowData)
|
console.log(this.rowData)
|
||||||
|
|
|
@ -78,11 +78,22 @@
|
||||||
{{ $t('trials:medicalFeedback:message:msg5') }}
|
{{ $t('trials:medicalFeedback:message:msg5') }}
|
||||||
<ol>
|
<ol>
|
||||||
<li v-for="file in record.FileList" :key="file.ImagePath" style="list-style: none;">
|
<li v-for="file in record.FileList" :key="file.ImagePath" style="list-style: none;">
|
||||||
<el-button
|
<viewer
|
||||||
type="text"
|
v-if="file.ImagePath"
|
||||||
size="mini"
|
:ref="file.ImagePath"
|
||||||
@click="previewImage(file.ImagePath)"
|
style="margin:0 10px;"
|
||||||
>{{ file.FileName }}</el-button>
|
:images="[`${OSSclientConfig.basePath}${file.ImagePath}`]"
|
||||||
|
>
|
||||||
|
<el-button type="text" @click="previewImage(file.ImagePath)">
|
||||||
|
{{ file.FileName }}
|
||||||
|
</el-button>
|
||||||
|
<img
|
||||||
|
v-show="false"
|
||||||
|
crossorigin="anonymous"
|
||||||
|
:src="`${OSSclientConfig.basePath}${file.ImagePath}`"
|
||||||
|
alt="Image"
|
||||||
|
>
|
||||||
|
</viewer>
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue