From f0f22709fb7f9945e5bc246181e21fd0c282e694 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 04 六月 2026 15:51:29 +0800
Subject: [PATCH] 马铃薯app 1.客户往来、供应商往来查询展示修改 2.环境检测页面展示修改
---
src/pages/inspectionUpload/components/qrCodeFormDia.vue | 21 ++++++++++-----------
1 files changed, 10 insertions(+), 11 deletions(-)
diff --git a/src/pages/inspectionUpload/components/qrCodeFormDia.vue b/src/pages/inspectionUpload/components/qrCodeFormDia.vue
index bcf30ef..ccc0e4d 100644
--- a/src/pages/inspectionUpload/components/qrCodeFormDia.vue
+++ b/src/pages/inspectionUpload/components/qrCodeFormDia.vue
@@ -40,16 +40,15 @@
</u-input>
</u-form-item>
- <u-form-item label="闄勪欢" prop="storageBlobDTO" labelWidth="80">
+ <u-form-item label="闄勪欢" prop="commonFileListDTO" labelWidth="80">
<view class="upload-container">
<ImageUpload
- v-model="form.storageBlobDTO"
+ v-model="form.commonFileListDTO"
:limit="10"
:fileSize="50"
:fileType="['jpg', 'jpeg', 'png', 'mp4', 'mov']"
:maxVideoDuration="60"
- :statusType="0"
- @update:modelValue="handleStorageBlobUpdate"
+ @update:modelValue="handleFileListUpdate"
/>
</view>
</u-form-item>
@@ -116,7 +115,7 @@
scannerName: '',
scannerId: '',
scanTime: '',
- storageBlobDTO: [],
+ commonFileListDTO: [],
qrCode: {
id: ''
}
@@ -144,9 +143,9 @@
}
})
-// 澶勭悊storageBlobDTO鏁版嵁鏇存柊
-const handleStorageBlobUpdate = (value) => {
- form.storageBlobDTO = value || []
+// 澶勭悊commonFileListDTO鏁版嵁鏇存柊
+const handleFileListUpdate = (value) => {
+ form.commonFileListDTO = value || []
}
// 鑾峰彇褰撳墠浣嶇疆
@@ -259,7 +258,7 @@
form.deviceName = row.deviceName || ''
form.location = row.location || ''
form.qrCodeId = row.qrCodeId
- form.storageBlobDTO = []
+ form.commonFileListDTO = []
console.log('寮规琛ㄥ崟鏁版嵁:', form)
// 寮哄埗鏇存柊瑙嗗浘
@@ -308,8 +307,8 @@
scannerName: form.scannerName,
scannerId: form.scannerId,
scanTime: form.scanTime,
- storageBlobDTO: form.storageBlobDTO.map(file => ({
- id: file.id, // 娣诲姞id瀛楁
+ commonFileListDTO: form.commonFileListDTO.map(file => ({
+ id: file.id,
url: file.url,
bucketFilename: file.bucketFilename || file.name,
downloadUrl: file.downloadUrl || file.url,
--
Gitblit v1.9.3