src/pages/inspectionUpload/index.vue
@@ -27,6 +27,17 @@ }"> 扫码上传 </u-button> <u-button type="primary" size="small" @click.stop="startUploadForTask(item)" :customStyle="{ borderRadius: '15px', height: '30px', fontSize: '12px', marginRight: '8px' }"> 图片上传 </u-button> <u-button type="success" size="small" @click.stop="viewAttachments(item)" @@ -855,6 +866,12 @@ } }; // 图片上传(可选择图片上传或者是相机拍照) const startUploadForTask = async (task, type) => { // 直接打开上传弹窗 openUploadDialog(task); }; // 查看附件 const viewAttachments = async task => { try {