|
|
|
@ -234,7 +234,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
//图片批量上传
|
|
|
|
//图片批量上传
|
|
|
|
async uploadImgs() {
|
|
|
|
async uploadImgs() {
|
|
|
|
let res = await uni.chooseImage()
|
|
|
|
let res = await uni.chooseImage({
|
|
|
|
|
|
|
|
sourceType: ['camera']
|
|
|
|
|
|
|
|
})
|
|
|
|
if (res[1]) {
|
|
|
|
if (res[1]) {
|
|
|
|
let promiseAll = res[1].tempFilePaths.map(item => {
|
|
|
|
let promiseAll = res[1].tempFilePaths.map(item => {
|
|
|
|
console.log(`${ROOTPATH}/api/nurse/upload-file`);
|
|
|
|
console.log(`${ROOTPATH}/api/nurse/upload-file`);
|
|
|
|
@ -442,7 +444,7 @@
|
|
|
|
},
|
|
|
|
},
|
|
|
|
mounted() {
|
|
|
|
mounted() {
|
|
|
|
this.load()
|
|
|
|
this.load()
|
|
|
|
this.getLoaction()
|
|
|
|
//this.getLoaction()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|