|
|
@@ -165,12 +165,13 @@ export default {
|
|
|
locationRemark: localStorage.getItem('locationRemark'),
|
|
|
deptName: localStorage.getItem('deptName'),
|
|
|
};
|
|
|
- this.toastLoading(0, '上传中...', true);
|
|
|
// 需要图匠校验的添加参数和loading
|
|
|
if (this.photoIdentifyType) {
|
|
|
// store.dispatch('setShotsNum', this.shotsNum + 1);
|
|
|
form.photoIdentifyType = this.photoIdentifyType;
|
|
|
this.progress();
|
|
|
+ } else {
|
|
|
+ this.toastLoading(0, '上传中...', true);
|
|
|
}
|
|
|
uploadImagev(form).then((res) => {
|
|
|
this.toastLoading().clear();
|
|
|
@@ -205,7 +206,7 @@ export default {
|
|
|
}, 1000);
|
|
|
},
|
|
|
format(percentage) {
|
|
|
- return 'format';
|
|
|
+ return `${percentage} %\n图像识别中`;
|
|
|
},
|
|
|
requestTimeOut(res) {
|
|
|
this.resetProgress();
|