diff --git a/src/views/digitalMarketingAlgorithms/components/associationRuleMining.vue b/src/views/digitalMarketingAlgorithms/components/associationRuleMining.vue index 9ef628b..048619b 100644 --- a/src/views/digitalMarketingAlgorithms/components/associationRuleMining.vue +++ b/src/views/digitalMarketingAlgorithms/components/associationRuleMining.vue @@ -575,7 +575,6 @@ const computation = () => { return; } if (input5.value && input6.value && input4.value) { - loading1.value = true; const sendData = { confidence: parseFloat(input5.value) / 100, support: parseFloat(input6.value) / 100, @@ -584,6 +583,7 @@ const computation = () => { }; API.associationRuleMining(sendData) .then((res) => { + loading1.value = true; uplodFlag.value = true; tableData3.value = []; tableLabel2.length = 0; @@ -615,6 +615,7 @@ const computation = () => { }); } else { proxy.$modal.msgWarning("请模型参数进行设置!"); + loading1.value = false; } }; const upload = () => { @@ -639,6 +640,7 @@ const startOver = () => { tableLabel.length = 0; tableLabel2.length = 0; uplodFlag.value = false; + loading1.value = false; }; diff --git a/src/views/digitalMarketingAlgorithms/components/clusterAnalysis.vue b/src/views/digitalMarketingAlgorithms/components/clusterAnalysis.vue index 5aa164a..ca8ab68 100644 --- a/src/views/digitalMarketingAlgorithms/components/clusterAnalysis.vue +++ b/src/views/digitalMarketingAlgorithms/components/clusterAnalysis.vue @@ -311,7 +311,7 @@ const task = () => { if(parseFloat(formInline2.value2)!==parseFloat(iterations.value)){ errorNumber=1 } - if(input.value!=="客户细分数据"){ + if(input.value!=="客户细分数据表"){ errorNumber=1 } portraitModel