|
|
|
@ -791,7 +791,7 @@
|
|
|
|
|
v-if="['1', '3'].includes(form.basis.workOrderType)" |
|
|
|
|
> |
|
|
|
|
<el-form-item label=""> |
|
|
|
|
<el-tab-pane label="照片" name="0"> |
|
|
|
|
<el-tab-pane label="照片" name="0" class="el_foort_img"> |
|
|
|
|
<el-upload |
|
|
|
|
v-model:file-list="form.fileList" |
|
|
|
|
:action="action" |
|
|
|
@ -801,6 +801,7 @@
|
|
|
|
|
drag |
|
|
|
|
multiple |
|
|
|
|
list-type="picture-card" |
|
|
|
|
disabled |
|
|
|
|
> |
|
|
|
|
<el-icon><Plus /></el-icon> |
|
|
|
|
</el-upload> |
|
|
|
@ -2093,10 +2094,12 @@ const onSubmit = () => {
|
|
|
|
|
) { |
|
|
|
|
submitData.decreaseImageEntityList = []; |
|
|
|
|
form.value.fileList.forEach(item => { |
|
|
|
|
if (item.response) { |
|
|
|
|
console.log(item,'图片12'); |
|
|
|
|
|
|
|
|
|
if (item.response || item.url) { |
|
|
|
|
submitData['decreaseImageEntityList'].push({ |
|
|
|
|
imageName: item.response.data.originalName, //图片名称 |
|
|
|
|
imagePath: item.response.data.link, //图片地址 |
|
|
|
|
imageName: item.response?.data.originalName || item.name, //图片名称 |
|
|
|
|
imagePath: item.response?.data.link || item.url, //图片地址 |
|
|
|
|
imageType: form.value.basis.workOrderType == 1 ? 10 : 20, //图片类型 |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
@ -2695,4 +2698,9 @@ const TabactiveClick = (a, b) => {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
:deep(.el_foort_img){ |
|
|
|
|
.el-upload{ |
|
|
|
|
display: none; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
</style> |
|
|
|
|