From 11661cb4d746dde79f02a937f83de97981dccf33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E4=BD=B3=20=E5=8D=9A?= <12742597+fang-jiabo@user.noreply.gitee.com> Date: Wed, 28 Aug 2024 14:00:53 +0800 Subject: [PATCH] 'tj' --- .../components/associationRuleMining.vue | 4 +++- .../digitalMarketingAlgorithms/components/clusterAnalysis.vue | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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