|
@@ -272,9 +272,12 @@ export default {
|
|
|
if(!isEnough) return this.$message.warning('请填写完整信息');
|
|
|
|
|
|
this.loading=true
|
|
|
- this.$message.success('请等待计算完成,该过程可能持续2-3分钟')
|
|
|
+ const tipMsg=setTimeout(() => {
|
|
|
+ this.$message.success('请等待计算完成,该过程可能持续2-3分钟')
|
|
|
+ }, 500);
|
|
|
const res=this.isEdit?await dataBaseInterface.batchCalculateTargetEdit(params) : await dataBaseInterface.batchCalculateTargetAdd(params)
|
|
|
this.loading=false
|
|
|
+ clearTimeout(tipMsg)
|
|
|
|
|
|
if(res.Ret !== 200) return
|
|
|
|