diff --git a/src/saas/AppCountryAlbum/components/report/Daily.vue b/src/saas/AppCountryAlbum/components/report/Daily.vue index a20acde8..b85b0e3d 100644 --- a/src/saas/AppCountryAlbum/components/report/Daily.vue +++ b/src/saas/AppCountryAlbum/components/report/Daily.vue @@ -31,7 +31,7 @@ - + @@ -144,6 +144,7 @@ count: 1, sizeType: ['compressed'], success: res => { + this.$loading() let formData = new FormData() formData.append('file', res.tempFiles[0]) this.$http.post('/admin/file/add2?type=image', formData).then(res => { @@ -162,7 +163,7 @@ confirm () { if (!this.content) { - return this.$toast('文本不能为空') + return this.$u.toast('文本不能为空') } if (this.currIndex >= 0) { diff --git a/src/saas/AppCountryAlbum/components/report/InspectLog.vue b/src/saas/AppCountryAlbum/components/report/InspectLog.vue index df522e78..eabb59e1 100644 --- a/src/saas/AppCountryAlbum/components/report/InspectLog.vue +++ b/src/saas/AppCountryAlbum/components/report/InspectLog.vue @@ -33,7 +33,7 @@ - + @@ -153,6 +153,7 @@ count: 1, sizeType: ['compressed'], success: res => { + this.$loading() let formData = new FormData() formData.append('file', res.tempFiles[0]) this.$http.post('/admin/file/add2?type=image', formData).then(res => { @@ -171,7 +172,7 @@ confirm () { if (!this.content) { - return this.$toast('文本不能为空') + return this.$u.toast('文本不能为空') } if (this.currIndex >= 0) { diff --git a/src/saas/AppCountryAlbum/components/report/MeetingMminutes.vue b/src/saas/AppCountryAlbum/components/report/MeetingMminutes.vue index bd456d69..6e465c34 100644 --- a/src/saas/AppCountryAlbum/components/report/MeetingMminutes.vue +++ b/src/saas/AppCountryAlbum/components/report/MeetingMminutes.vue @@ -44,7 +44,7 @@ - + @@ -174,6 +174,7 @@ count: 1, sizeType: ['compressed'], success: res => { + this.$loading() let formData = new FormData() formData.append('file', res.tempFiles[0]) this.$http.post('/admin/file/add2?type=image', formData).then(res => { @@ -192,7 +193,7 @@ confirm () { if (!this.content) { - return this.$toast('文本不能为空') + return this.$u.toast('文本不能为空') } if (this.currIndex >= 0) { diff --git a/src/saas/AppCountryAlbum/components/report/WorkReport.vue b/src/saas/AppCountryAlbum/components/report/WorkReport.vue index 2b5bbc16..0e2ce8fe 100644 --- a/src/saas/AppCountryAlbum/components/report/WorkReport.vue +++ b/src/saas/AppCountryAlbum/components/report/WorkReport.vue @@ -30,7 +30,7 @@ - + @@ -144,6 +144,7 @@ count: 1, sizeType: ['compressed'], success: res => { + this.$loading() let formData = new FormData() formData.append('file', res.tempFiles[0]) this.$http.post('/admin/file/add2?type=image', formData).then(res => { @@ -162,7 +163,7 @@ confirm () { if (!this.content) { - return this.$toast('文本不能为空') + return this.$u.toast('文本不能为空') } if (this.currIndex >= 0) {