|
@@ -31,7 +31,7 @@
|
31
|
31
|
<view class="deital_item">
|
32
|
32
|
<text class="name">报修图片:</text>
|
33
|
33
|
<view class="value img">
|
34
|
|
- <image class="imgItem" :src="img.previewUrl" mode="aspectFill" v-for="(img, i) in dataInfo.repairImgs" :key="i" @click="previewImg(i, 'repairImgs')"></image>
|
|
34
|
+ <image class="imgItem" :src="img.thumbFilePath" mode="aspectFill" v-for="(img, i) in dataInfo.repairImgs" :key="i" @click="previewImg(i, 'repairImgs')"></image>
|
35
|
35
|
</view>
|
36
|
36
|
</view>
|
37
|
37
|
<view class="deital_item">
|
|
@@ -99,7 +99,7 @@
|
99
|
99
|
<view class="deital_item">
|
100
|
100
|
<text class="name">处理图片:</text>
|
101
|
101
|
<view class="value img">
|
102
|
|
- <image class="imgItem" :src="img.previewUrl" mode="aspectFill" v-for="(img, i) in dataInfo.handlerImgs" :key="i" @click="previewImg(i, 'handlerImgs')"></image>
|
|
102
|
+ <image class="imgItem" :src="img.thumbFilePath" mode="aspectFill" v-for="(img, i) in dataInfo.handlerImgs" :key="i" @click="previewImg(i, 'handlerImgs')"></image>
|
103
|
103
|
</view>
|
104
|
104
|
</view>
|
105
|
105
|
<view class="deital_item">
|
|
@@ -390,6 +390,7 @@
|
390
|
390
|
res.data = res.data || [];
|
391
|
391
|
res.data.forEach(v => {
|
392
|
392
|
v.previewUrl = location.origin + "/file" + v.relativeFilePath;
|
|
393
|
+ v.thumbFilePath = location.origin + "/file" + v.thumbFilePath;
|
393
|
394
|
})
|
394
|
395
|
dataInfo.repairImgs = res.data;
|
395
|
396
|
})
|
|
@@ -406,6 +407,7 @@
|
406
|
407
|
res.data = res.data || [];
|
407
|
408
|
res.data.forEach(v => {
|
408
|
409
|
v.previewUrl = location.origin + "/file" + v.relativeFilePath;
|
|
410
|
+ v.thumbFilePath = location.origin + "/file" + v.thumbFilePath;
|
409
|
411
|
})
|
410
|
412
|
dataInfo.handlerImgs = res.data;
|
411
|
413
|
})
|