diff --git a/src/views/modules/base/smartImport/cpts/executeTask.vue b/src/views/modules/base/smartImport/cpts/executeTask.vue index 9c6237ca9..c2efa4b5f 100644 --- a/src/views/modules/base/smartImport/cpts/executeTask.vue +++ b/src/views/modules/base/smartImport/cpts/executeTask.vue @@ -168,7 +168,7 @@ export default { }; let res = await requestPost(url, parm); if (res.code == 0) { - if (res.data === 100) { + if (res.data >= 100) { this.stopTimer(); this.$emit('successImport') }else{ diff --git a/src/views/modules/base/smartImport/cpts/smartImportInfo.vue b/src/views/modules/base/smartImport/cpts/smartImportInfo.vue index ef596f07f..d1c28ac2d 100644 --- a/src/views/modules/base/smartImport/cpts/smartImportInfo.vue +++ b/src/views/modules/base/smartImport/cpts/smartImportInfo.vue @@ -91,7 +91,12 @@ export default { this.progressNum = 100; }, updateProgress(num) { - this.progressNum = num; + if(num > 100){ + this.progress = 3; + this.progressNum = 100; + }else{ + this.progressNum = num; + } }, updateoperatorName({ operatorName, createdTime }) { this.operatorName = operatorName;