|
@@ -269,8 +269,6 @@ export default {
|
|
|
|
|
|
// 上传采集图片
|
|
|
async chooseCollectImg(index) {
|
|
|
- uni.showLoading()
|
|
|
-
|
|
|
if (!this.address) {
|
|
|
try {
|
|
|
const lo = await this.$getAddress()
|
|
@@ -288,6 +286,7 @@ export default {
|
|
|
sizeType: ['compressed'],
|
|
|
sourceType: ['album', 'camera'],
|
|
|
success: async res => {
|
|
|
+ uni.showLoading()
|
|
|
let data = await uploadImgFull(res.tempFilePaths[0])
|
|
|
this.$api
|
|
|
.post('/changeOrder/submitPic', {
|
|
@@ -314,8 +313,6 @@ export default {
|
|
|
|
|
|
// 选择故障图片
|
|
|
async chooseFaultImg(index) {
|
|
|
- uni.showLoading()
|
|
|
-
|
|
|
if (!this.address) {
|
|
|
try {
|
|
|
const lo = await this.$getAddress()
|
|
@@ -333,6 +330,7 @@ export default {
|
|
|
sizeType: ['compressed'],
|
|
|
sourceType: ['album', 'camera'],
|
|
|
success: async res => {
|
|
|
+ uni.showLoading()
|
|
|
let data = await uploadImgFull(res.tempFilePaths[0])
|
|
|
this.$api
|
|
|
.post('/changeOrder/submitPic', {
|