main
suixy 5 days ago
parent c77de86121
commit f4964aed29

@ -636,13 +636,13 @@
<el-card v-if="dotIndex2>-1" shadow="always" style="margin-top: 12px;position:relative"> <el-card v-if="dotIndex2>-1" shadow="always" style="margin-top: 12px;position:relative">
<el-image <el-image
v-for="(i,k) in (tableData3[dotIndex2]||{}).fileList ||[]" v-for="(i,k) in (tableData3[dotIndex2]||{}).files ||[]"
style="width: 100px; height: 100px;margin-right: 12px;" style="width: 100px; height: 100px;margin-right: 12px;"
:src="i" :src="i"
:zoom-rate="1.2" :zoom-rate="1.2"
:max-scale="7" :max-scale="7"
:min-scale="0.2" :min-scale="0.2"
:preview-src-list="(tableData3[dotIndex2]||{}).fileList" :preview-src-list="(tableData3[dotIndex2]||{}).files"
show-progress show-progress
:initial-index="k" :initial-index="k"
fit="cover" fit="cover"
@ -2231,7 +2231,13 @@ const delObstacleItem = (e) => {
// //
const openHandleObstacleDialog3 = (e) => { const openHandleObstacleDialog3 = (e) => {
console.log(e) console.log(e)
dialog4Form.value = e.row dialog4Form.value = {
...e.row,
fileList: e.row.files.map(v => {
return {url: v}
})
}
console.log(dialog4Form.value)
dialog4.value = true dialog4.value = true
} }
// //

Loading…
Cancel
Save