|
@@ -112,67 +112,26 @@
|
|
label-class-name="my-label"
|
|
label-class-name="my-label"
|
|
class-name="my-content"
|
|
class-name="my-content"
|
|
>
|
|
>
|
|
- <div v-if="outboundData.attachments && outboundData.attachments.type && outboundData.attachments.type.includes('image')" class="image-container">
|
|
|
|
- <el-image
|
|
|
|
- class="h-80px w-80px"
|
|
|
|
- lazy
|
|
|
|
- :src="outboundData.attachments"
|
|
|
|
- :preview-src-list="outboundData.attachments ? [outboundData.attachments] : []"
|
|
|
|
- preview-teleported
|
|
|
|
- fit="cover"
|
|
|
|
- />
|
|
|
|
- </div>
|
|
|
|
- <el-link
|
|
|
|
- v-else-if="outboundData.attachments"
|
|
|
|
- type="primary"
|
|
|
|
- :href="outboundData.attachments"
|
|
|
|
- :underline="false"
|
|
|
|
- target="_blank"
|
|
|
|
- >下载</el-link>
|
|
|
|
-
|
|
|
|
-<!-- <div v-if="outboundData.attachments && outboundData.attachments.type('image')" class="image-container">-->
|
|
|
|
|
|
+<!-- <div v-if="outboundData.attachments && outboundData.attachments.type && outboundData.attachments.type.includes('image')" class="image-container">-->
|
|
<!-- <el-image-->
|
|
<!-- <el-image-->
|
|
<!-- class="h-80px w-80px"-->
|
|
<!-- class="h-80px w-80px"-->
|
|
<!-- lazy-->
|
|
<!-- lazy-->
|
|
-<!-- :src="outboundData.attachments.url"-->
|
|
|
|
-<!-- :preview-src-list="[attachments]"-->
|
|
|
|
|
|
+<!-- :src="outboundData.attachments"-->
|
|
|
|
+<!-- :preview-src-list="outboundData.attachments ? [outboundData.attachments] : []"-->
|
|
<!-- preview-teleported-->
|
|
<!-- preview-teleported-->
|
|
<!-- fit="cover"-->
|
|
<!-- fit="cover"-->
|
|
<!-- />-->
|
|
<!-- />-->
|
|
<!-- </div>-->
|
|
<!-- </div>-->
|
|
<!-- <el-link-->
|
|
<!-- <el-link-->
|
|
-<!-- v-else-if="outboundData.attachments && outboundData.attachments.type.includes('pdf')"-->
|
|
|
|
-<!-- type="primary"-->
|
|
|
|
-<!-- :href="outboundData.attachments"-->
|
|
|
|
-<!-- :underline="false"-->
|
|
|
|
-<!-- target="_blank"-->
|
|
|
|
-<!-- >预览</el-link>-->
|
|
|
|
-<!-- <el-link-->
|
|
|
|
-<!-- v-else-->
|
|
|
|
|
|
+<!-- v-else-if="outboundData.attachments"-->
|
|
<!-- type="primary"-->
|
|
<!-- type="primary"-->
|
|
-<!-- download-->
|
|
|
|
<!-- :href="outboundData.attachments"-->
|
|
<!-- :href="outboundData.attachments"-->
|
|
<!-- :underline="false"-->
|
|
<!-- :underline="false"-->
|
|
<!-- target="_blank"-->
|
|
<!-- target="_blank"-->
|
|
<!-- >下载</el-link>-->
|
|
<!-- >下载</el-link>-->
|
|
-
|
|
|
|
-
|
|
|
|
- <!-- <div class="demo-image__preview" v-if="outboundData" >-->
|
|
|
|
-
|
|
|
|
- <!-- <el-image-->
|
|
|
|
- <!-- style="width: 40px; height:40px;margin-right: 5px"-->
|
|
|
|
- <!-- class="h-80px w-80px"-->
|
|
|
|
- <!-- lazy-->
|
|
|
|
- <!-- :src="outboundData.attachments"-->
|
|
|
|
- <!-- :preview-src-list="outboundData.attachments"-->
|
|
|
|
- <!-- preview-teleported-->
|
|
|
|
- <!-- fit="cover"-->
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- <!-- />-->
|
|
|
|
-
|
|
|
|
- <!-- </div>-->
|
|
|
|
-
|
|
|
|
|
|
+ <div class="demo-image__preview" v-if="outboundData">
|
|
|
|
+ <a :href="outboundData.attachments" target="_blank">下载附件</a>
|
|
|
|
+ </div>
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
<el-descriptions-item
|
|
<el-descriptions-item
|
|
:rowspan="4"
|
|
:rowspan="4"
|
|
@@ -181,37 +140,29 @@
|
|
align="center"
|
|
align="center"
|
|
label-class-name="my-label"
|
|
label-class-name="my-label"
|
|
class-name="my-content"
|
|
class-name="my-content"
|
|
- ><div class="demo-image__preview" v-if="outboundData" >
|
|
|
|
-
|
|
|
|
-<!-- <el-image-->
|
|
|
|
-<!-- style="width: 40px; height:40px;margin-right: 5px"-->
|
|
|
|
-<!-- class="h-80px w-80px"-->
|
|
|
|
-<!-- lazy-->
|
|
|
|
-<!-- :src="outboundData.sampleStatus"-->
|
|
|
|
-<!-- :preview-src-list="outboundData.sampleStatus"-->
|
|
|
|
-<!-- preview-teleported-->
|
|
|
|
-<!-- fit="cover"-->
|
|
|
|
-
|
|
|
|
|
|
+ >
|
|
|
|
|
|
-<!-- />-->
|
|
|
|
- <div v-if="outboundData.sampleStatus && outboundData.sampleStatus.type && outboundData.sampleStatus.type.includes('image')" class="image-container">
|
|
|
|
- <el-image
|
|
|
|
- class="h-80px w-80px"
|
|
|
|
- lazy
|
|
|
|
- :src="outboundData.sampleStatus"
|
|
|
|
- :preview-src-list="outboundData.sampleStatus ? [outboundData.sampleStatus] : []"
|
|
|
|
- preview-teleported
|
|
|
|
- fit="cover"
|
|
|
|
- />
|
|
|
|
|
|
+ <div class="demo-image__preview" v-if="outboundData">
|
|
|
|
+ <a :href="outboundData.sampleStatus" target="_blank">下载附件</a>
|
|
</div>
|
|
</div>
|
|
- <el-link
|
|
|
|
- v-else-if="outboundData.sampleStatus"
|
|
|
|
- type="primary"
|
|
|
|
- :href="outboundData.sampleStatus"
|
|
|
|
- :underline="false"
|
|
|
|
- target="_blank"
|
|
|
|
- >下载</el-link>
|
|
|
|
- </div>
|
|
|
|
|
|
+<!-- <div v-if="outboundData.sampleStatus && outboundData.sampleStatus.type && outboundData.sampleStatus.type.includes('image')" class="image-container">-->
|
|
|
|
+<!-- <el-image-->
|
|
|
|
+<!-- class="h-80px w-80px"-->
|
|
|
|
+<!-- lazy-->
|
|
|
|
+<!-- :src="outboundData.sampleStatus"-->
|
|
|
|
+<!-- :preview-src-list="outboundData.sampleStatus ? [outboundData.sampleStatus] : []"-->
|
|
|
|
+<!-- preview-teleported-->
|
|
|
|
+<!-- fit="cover"-->
|
|
|
|
+<!-- />-->
|
|
|
|
+<!-- </div>-->
|
|
|
|
+<!-- <el-link-->
|
|
|
|
+<!-- v-else-if="outboundData.sampleStatus"-->
|
|
|
|
+<!-- type="primary"-->
|
|
|
|
+<!-- :href="outboundData.sampleStatus"-->
|
|
|
|
+<!-- :underline="false"-->
|
|
|
|
+<!-- target="_blank"-->
|
|
|
|
+<!-- >下载</el-link>-->
|
|
|
|
+<!-- </div>-->
|
|
|
|
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
</el-descriptions>
|
|
</el-descriptions>
|