|
@ -486,7 +486,7 @@ import {onLoad} from "@dcloudio/uni-app"; |
|
|
import {$toast, chooseImg} from "@/utils"; |
|
|
import {$toast, chooseImg} from "@/utils"; |
|
|
import { |
|
|
import { |
|
|
signUpInfoReq, |
|
|
signUpInfoReq, |
|
|
signUpJoinReq, |
|
|
|
|
|
|
|
|
signUpJoinReq, signUpSelfIdCardHeaderReq, |
|
|
signUpSelfInfoReq, |
|
|
signUpSelfInfoReq, |
|
|
signUpSelfJoinReq, |
|
|
signUpSelfJoinReq, |
|
|
signUpSelfUpdateReq, |
|
|
signUpSelfUpdateReq, |
|
@ -1010,12 +1010,25 @@ const uploadIdCardBack = async () => { |
|
|
|
|
|
|
|
|
const uploadHeadPhoto = async () => { |
|
|
const uploadHeadPhoto = async () => { |
|
|
const res = await chooseImg(1) |
|
|
const res = await chooseImg(1) |
|
|
form.value.idCardHeader = res[0] |
|
|
|
|
|
|
|
|
uni.showLoading({title: '转换中'}) |
|
|
|
|
|
const transRes = await signUpSelfIdCardHeaderReq({ |
|
|
|
|
|
url: res[0], |
|
|
|
|
|
spec: 69 |
|
|
|
|
|
}) |
|
|
|
|
|
uni.hideLoading() |
|
|
|
|
|
if (transRes.data.code !== 200) return $toast(transRes.data.msg) |
|
|
|
|
|
form.value.idCardHeader = transRes.data.data.result |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const uploadHeadPhoto2 = async () => { |
|
|
const uploadHeadPhoto2 = async () => { |
|
|
const res = await chooseImg(1) |
|
|
const res = await chooseImg(1) |
|
|
form.value.idCardHeader2 = res[0] |
|
|
|
|
|
|
|
|
const transRes = await signUpSelfIdCardHeaderReq({ |
|
|
|
|
|
url: res[0], |
|
|
|
|
|
spec: 25 |
|
|
|
|
|
}) |
|
|
|
|
|
uni.hideLoading() |
|
|
|
|
|
if (transRes.data.code !== 200) return $toast(transRes.data.msg) |
|
|
|
|
|
form.value.idCardHeader2 = transRes.data.data.result |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const uploadWorkTypePaper = async () => { |
|
|
const uploadWorkTypePaper = async () => { |
|
|