diff --git a/src/api/AI.js b/src/api/AI.js index 45ffb26..e5d9e31 100644 --- a/src/api/AI.js +++ b/src/api/AI.js @@ -72,4 +72,20 @@ export function linearRegression(data) { method: 'post', data:data, }) +} +//线性回归-逻辑回归--预测 +export function logisticRegressionPrediction(data) { + return request({ + url: '/api/model/prediction', + method: 'post', + data:data, + }) +} +//聚类分析表格下载 +export function downloadClusterAnalysisForm(data) { + return request({ + url: '/api/analysis/cAMExport', + method: 'post', + data:data, + }) } \ No newline at end of file diff --git a/src/assets/images/取消.png b/src/assets/images/取消.png new file mode 100644 index 0000000..eeae4a2 Binary files /dev/null and b/src/assets/images/取消.png differ diff --git a/src/assets/images/确定222.png b/src/assets/images/确定222.png new file mode 100644 index 0000000..f131128 Binary files /dev/null and b/src/assets/images/确定222.png differ diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 331e95f..4680572 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -193,23 +193,23 @@ aside { .dialog-footer { text-align: center; .el-button:nth-child(1) { - background: url("../../assets/images/szjj/提交任务.png") no-repeat; + background: url("../../assets/images/确定222.png") no-repeat; background-size: 100% 100%; } .el-button:nth-child(2) { - background: url("../../assets/images/szjj/重新开始.png") no-repeat; + background: url("../../assets/images/取消.png") no-repeat; background-size: 100% 100%; } .el-button--large.is-round { padding: 12px 20px 12px 40px !important; } .el-button{ - width: 136px; - height: 40px; + width: 89px; + height: 31px; padding: 12px 20px 12px 40px !important; font-size: 15px; border: none; - color: #ffffff; + color: #080138; } } .app-container2 { diff --git a/src/views/components/popModel.vue b/src/views/components/popModel.vue new file mode 100644 index 0000000..1b65c94 --- /dev/null +++ b/src/views/components/popModel.vue @@ -0,0 +1,115 @@ + + + + diff --git a/src/views/digitalMarketingAlgorithms/components/associationRuleMining.vue b/src/views/digitalMarketingAlgorithms/components/associationRuleMining.vue index 6f489d8..c4ceb56 100644 --- a/src/views/digitalMarketingAlgorithms/components/associationRuleMining.vue +++ b/src/views/digitalMarketingAlgorithms/components/associationRuleMining.vue @@ -340,6 +340,8 @@ const startOver=()=>{ input4.value='' input5.value='' input6.value='' + tableLabel.length=0 + tableLabel2.length=0 } diff --git a/src/views/digitalMarketingAlgorithms/components/clusterAnalysis.vue b/src/views/digitalMarketingAlgorithms/components/clusterAnalysis.vue index b904f29..9b72343 100644 --- a/src/views/digitalMarketingAlgorithms/components/clusterAnalysis.vue +++ b/src/views/digitalMarketingAlgorithms/components/clusterAnalysis.vue @@ -5,20 +5,7 @@

(给出任务清单参考,做哪些数据的统计分析)Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viverra justo commodo. Proin sodales pulvinar sic tempor. Sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nam fermentum, nulla luctus pharetra vulputate, felis tellus mollis orci, sed rhoncus pronin sapien nunc accuan eget.

- - - - + 算法知识导入 实训任务提交
@@ -117,7 +104,7 @@
分析结果: - 下载 + 下载 @@ -186,14 +173,32 @@
+ + + + diff --git a/src/views/digitalMarketingAlgorithms/components/regressionAnalysis.vue b/src/views/digitalMarketingAlgorithms/components/regressionAnalysis.vue index 0bd9253..533fec0 100644 --- a/src/views/digitalMarketingAlgorithms/components/regressionAnalysis.vue +++ b/src/views/digitalMarketingAlgorithms/components/regressionAnalysis.vue @@ -84,17 +84,33 @@ /> -
+
Y变量选择: - + + + +
-
+
X变量选择: - + + + +
计算
@@ -117,11 +133,16 @@
分析结果: - 下载 + 下载 + + + -
@@ -175,6 +196,34 @@ + + + +
+ + + + + +
+ +
@@ -472,9 +595,26 @@ } } } + .metrics2{ + :deep(.el-input){ + .el-input__wrapper{ + background-color:#FFFFFF00; + } + --el-input-text-color:#FFFFFF; + --el-input-border-color:#409EFF; + --el-input-hover-border-color:#409EFF; + --el-input-hover-border:#409EFF; + --el-select-border-color-hover:#409EFF; + --el-select-input-focus-border-color:#409EFF; + --el-input-placeholder-color:#FFFFFF; + .el-input__inner{ + color:#FFFFFF; + } + } + } } .analysisResults{ - .el-button { + .imgBtn { width: 89px; height: 31px; background: url('../../../assets/images/下载.png');