|
|
@@ -146,7 +146,7 @@ |
|
|
|
|
|
|
|
<script> |
|
|
|
import { getCodeImg } from "@/api/login"; |
|
|
|
import {base64Upload, realtimeBackList, userRegister,depositList} from "@/api/register/index"; |
|
|
|
import {attachmentUpload, realtimeBackList, userRegister,depositList} from "@/api/register/index"; |
|
|
|
import {options} from "@/api/user"; |
|
|
|
export default { |
|
|
|
name: "companyRegister", |
|
|
@@ -285,10 +285,9 @@ export default { |
|
|
|
forbidClick: true, |
|
|
|
duration: 0, |
|
|
|
}); |
|
|
|
let params1 = { |
|
|
|
file:file.content |
|
|
|
} |
|
|
|
base64Upload(params1).then((r1) => { |
|
|
|
let params1 = new FormData(); |
|
|
|
params1.append("file", file.file); |
|
|
|
attachmentUpload(params1).then((r1) => { |
|
|
|
this.form.idCardPic = r1.fileName; |
|
|
|
}) |
|
|
|
}, |
|
|
@@ -305,11 +304,9 @@ export default { |
|
|
|
forbidClick: true, |
|
|
|
duration: 0, |
|
|
|
}); |
|
|
|
// 此时可以自行将文件上传至服务器 |
|
|
|
let params1 = { |
|
|
|
file:file.content |
|
|
|
} |
|
|
|
base64Upload(params1).then((r1) => { |
|
|
|
let params1 = new FormData(); |
|
|
|
params1.append("file", file.file); |
|
|
|
attachmentUpload(params1).then((r1) => { |
|
|
|
this.form.accountOpenCert = r1.fileName; |
|
|
|
}) |
|
|
|
}, |
|
|
@@ -327,10 +324,9 @@ export default { |
|
|
|
duration: 0, |
|
|
|
}); |
|
|
|
// 此时可以自行将文件上传至服务器 |
|
|
|
let params1 = { |
|
|
|
file:file.content |
|
|
|
} |
|
|
|
base64Upload(params1).then((r1) => { |
|
|
|
let params1 = new FormData(); |
|
|
|
params1.append("file", file.file); |
|
|
|
attachmentUpload(params1).then((r1) => { |
|
|
|
this.form.companyLicense = r1.fileName; |
|
|
|
}) |
|
|
|
}, |
|
|
|