| | |
| | | /> |
| | | <wd-cell title="报修图片" title-width="200rpx" prop="fileList"> |
| | | <wd-upload |
| | | :auto-upload="false" |
| | | :file-list="model.fileList" |
| | | :action="VITE_UPLOAD_BASEURL" |
| | | @change="handleFileChange" |
| | |
| | | model.reqTime = formatDate(new Date()) |
| | | model.reqDept = userStore?.userInfo?.deptId |
| | | model.reqUser = userStore?.userInfo?.userId |
| | | model.faultPicture = model.fileList.join(',') |
| | | addRepairReq(model) |
| | | .then((res: any) => { |
| | | if (res?.code === 200) { |
| | |
| | | * @param fileList |
| | | */ |
| | | function handleFileChange({ fileList }) { |
| | | console.log('fileList:', fileList) |
| | | model.fileList = fileList |
| | | } |
| | | |