修复导出相关问题

hyx_2024-10-30_new
shanao 2024-09-12 10:18:12 +08:00
parent 4933738b6d
commit ce40b8f194
1 changed files with 4 additions and 2 deletions

View File

@ -59,6 +59,7 @@
ref="upload"
:disabled="isDisabled"
:file-list.sync="fileList"
:src="config.fileUrl + infoForm.photos"
:multiple="false"
:auto-upload="true"
:limit="limitNum"
@ -323,9 +324,10 @@ export default {
* 表单确认按钮
*/
confirm() {
console.log('ok >>>>' + this.infoForm.photos)
const params = {
...this.infoForm,
photos: this.infoForm.photos[0].remotePathName
...this.infoForm
// photos: this.infoForm.photos[0].remotePathName
}
requestFN('/accident' + (this.tableName === '修改' ? '/update' : '/save'), params)
.then((response) => {