This commit is contained in:
曹辉 2023-04-11 15:05:54 +08:00
parent c506e48496
commit bb02635d9a

View File

@ -160,6 +160,7 @@
uni.chooseImage({
count: 9,
success(res) {
that.certificateimg = []
res.tempFilePaths.forEach(e => {
that.uploadcertificateimg.push(e)
that.certificateimg.push(e)
@ -204,7 +205,7 @@
uploadcertificateimgs() {
let that = this
if (this.uploadcertificateimg && this.uploadcertificateimg.length > 0) {
this.certificateimg.forEach(e => {
this.uploadcertificateimg.forEach(e => {
uni.uploadFile({
url: baseurl +
'/nurseApplet/personCenter/uploadNurseStationPersonCertificateUrl',
@ -215,8 +216,6 @@
},
timeout: 5000,
success(res) {
console.log(that.appPersonallist.nurseStationPersonCheckList.length, that
.uploadcertificateimg.length)
var img = {
certificateUrl: JSON.parse(res.data).imgUrl
}