修改
This commit is contained in:
parent
c506e48496
commit
bb02635d9a
@ -160,6 +160,7 @@
|
|||||||
uni.chooseImage({
|
uni.chooseImage({
|
||||||
count: 9,
|
count: 9,
|
||||||
success(res) {
|
success(res) {
|
||||||
|
that.certificateimg = []
|
||||||
res.tempFilePaths.forEach(e => {
|
res.tempFilePaths.forEach(e => {
|
||||||
that.uploadcertificateimg.push(e)
|
that.uploadcertificateimg.push(e)
|
||||||
that.certificateimg.push(e)
|
that.certificateimg.push(e)
|
||||||
@ -204,7 +205,7 @@
|
|||||||
uploadcertificateimgs() {
|
uploadcertificateimgs() {
|
||||||
let that = this
|
let that = this
|
||||||
if (this.uploadcertificateimg && this.uploadcertificateimg.length > 0) {
|
if (this.uploadcertificateimg && this.uploadcertificateimg.length > 0) {
|
||||||
this.certificateimg.forEach(e => {
|
this.uploadcertificateimg.forEach(e => {
|
||||||
uni.uploadFile({
|
uni.uploadFile({
|
||||||
url: baseurl +
|
url: baseurl +
|
||||||
'/nurseApplet/personCenter/uploadNurseStationPersonCertificateUrl',
|
'/nurseApplet/personCenter/uploadNurseStationPersonCertificateUrl',
|
||||||
@ -215,8 +216,6 @@
|
|||||||
},
|
},
|
||||||
timeout: 5000,
|
timeout: 5000,
|
||||||
success(res) {
|
success(res) {
|
||||||
console.log(that.appPersonallist.nurseStationPersonCheckList.length, that
|
|
||||||
.uploadcertificateimg.length)
|
|
||||||
var img = {
|
var img = {
|
||||||
certificateUrl: JSON.parse(res.data).imgUrl
|
certificateUrl: JSON.parse(res.data).imgUrl
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user