修复导出相关问题
parent
4933738b6d
commit
ce40b8f194
|
@ -59,6 +59,7 @@
|
||||||
ref="upload"
|
ref="upload"
|
||||||
:disabled="isDisabled"
|
:disabled="isDisabled"
|
||||||
:file-list.sync="fileList"
|
:file-list.sync="fileList"
|
||||||
|
:src="config.fileUrl + infoForm.photos"
|
||||||
:multiple="false"
|
:multiple="false"
|
||||||
:auto-upload="true"
|
:auto-upload="true"
|
||||||
:limit="limitNum"
|
:limit="limitNum"
|
||||||
|
@ -323,9 +324,10 @@ export default {
|
||||||
* 表单确认按钮
|
* 表单确认按钮
|
||||||
*/
|
*/
|
||||||
confirm() {
|
confirm() {
|
||||||
|
console.log('ok >>>>' + this.infoForm.photos)
|
||||||
const params = {
|
const params = {
|
||||||
...this.infoForm,
|
...this.infoForm
|
||||||
photos: this.infoForm.photos[0].remotePathName
|
// photos: this.infoForm.photos[0].remotePathName
|
||||||
}
|
}
|
||||||
requestFN('/accident' + (this.tableName === '修改' ? '/update' : '/save'), params)
|
requestFN('/accident' + (this.tableName === '修改' ? '/update' : '/save'), params)
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
|
|
Loading…
Reference in New Issue