|
|
@@ -50,16 +50,17 @@
|
|
|
<span>辅助检查:</span>
|
|
|
{{patiensMsg.outpatientElectronicmedicalrecord.supplementaryexamination}}
|
|
|
</p>
|
|
|
- <p v-if="patiensMsg.outpatientElectronicmedicalrecord.image1.length>0">
|
|
|
+ <div v-if="patiensMsg.outpatientElectronicmedicalrecord.image1.length>0">
|
|
|
+ <div style="margin: 4px 0 8px;">报告上传:</div>
|
|
|
<el-image
|
|
|
- :preview-src-list="[item]"
|
|
|
+ :preview-src-list="patiensMsg.outpatientElectronicmedicalrecord.image1"
|
|
|
:src="item"
|
|
|
:key="index"
|
|
|
style="width:64px;height: 64px;margin-right: 10px;"
|
|
|
alt
|
|
|
v-for="(item,index) in patiensMsg.outpatientElectronicmedicalrecord.image1"
|
|
|
/>
|
|
|
- </p>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<!-- mr-t30 -->
|
|
|
<div class="pre-title" v-if="false">
|
|
|
@@ -1179,6 +1180,8 @@ import { getExperinceDetail } from "@/api/business.js";
|
|
|
import { setTimeout } from "timers";
|
|
|
import prescribing from "../../utils/minix/prescribing";
|
|
|
|
|
|
+import {formatPicture} from "@/utils/picture";
|
|
|
+
|
|
|
export default {
|
|
|
mixins: [prescribing],
|
|
|
components: {
|
|
|
@@ -3153,20 +3156,7 @@ export default {
|
|
|
: [];
|
|
|
this.patiensMsg = res.Data;
|
|
|
|
|
|
- if (this.patiensMsg.outpatientElectronicmedicalrecord.image1) {
|
|
|
- let img1 = res.Data.outpatientElectronicmedicalrecord.image1.split(
|
|
|
- ","
|
|
|
- );
|
|
|
- let arr = [];
|
|
|
- img1.forEach(item => {
|
|
|
- item = process.env.VUE_APP_UPLOAD + "file/" + item;
|
|
|
-
|
|
|
- arr.push(item);
|
|
|
- });
|
|
|
- res.Data.outpatientElectronicmedicalrecord.image1 = arr;
|
|
|
- } else {
|
|
|
- this.patiensMsg.outpatientElectronicmedicalrecord.image1 = [];
|
|
|
- }
|
|
|
+ this.patiensMsg.outpatientElectronicmedicalrecord.image1 = formatPicture(this.patiensMsg.outpatientElectronicmedicalrecord.image1);
|
|
|
// if (!this.patiensMsg.maindiagnosis.disid) {
|
|
|
// this.$message.warning("请先提交一条诊断信息");
|
|
|
// this.$router.replace({
|