diff --git a/.env.development b/.env.development index 10cbf3d..01b88b2 100644 --- a/.env.development +++ b/.env.development @@ -5,4 +5,4 @@ VITE_APP_TITLE = 数字营销实训系统 VITE_APP_ENV = 'development' # 若依管理系统/开发环境 -VITE_APP_BASE_API = 'http://192.168.2.16:9868' +VITE_APP_BASE_API = 'http://192.168.2.28:9868' diff --git a/package.json b/package.json index f6854b6..d9e12de 100644 --- a/package.json +++ b/package.json @@ -1,47 +1,48 @@ -{ - "name": "ruoyi", - "version": "3.8.6", - "description": "若依管理系统", - "author": "若依", - "license": "MIT", - "scripts": { - "dev": "vite", - "build:prod": "vite build", - "build:stage": "vite build --mode staging", - "preview": "vite preview" - }, - "repository": { - "type": "git", - "url": "https://gitee.com/y_project/RuoYi-Vue.git" - }, - "dependencies": { - "@element-plus/icons-vue": "2.0.10", - "@vueup/vue-quill": "1.1.0", - "@vueuse/core": "9.5.0", - "axios": "0.27.2", - "echarts": "5.4.0", - "element-plus": "2.2.27", - "file-saver": "2.0.5", - "fuse.js": "6.6.2", - "highlight.js": "^11.10.0", - "js-cookie": "3.0.1", - "jsencrypt": "3.3.1", - "marked": "^14.0.0", - "md-editor-v3": "^4.18.1", - "nprogress": "0.2.0", - "pinia": "2.0.22", - "vue": "^3.2.47", - "vue-cropper": "1.0.3", - "vue-router": "4.1.4" - }, - "devDependencies": { - "@vitejs/plugin-vue": "3.1.0", - "@vue/compiler-sfc": "3.2.45", - "sass": "1.56.1", - "unplugin-auto-import": "0.11.4", - "vite": "3.2.3", - "vite-plugin-compression": "0.5.1", - "vite-plugin-svg-icons": "2.0.1", - "vite-plugin-vue-setup-extend": "0.4.0" - } -} +{ + "name": "ruoyi", + "version": "3.8.6", + "description": "若依管理系统", + "author": "若依", + "license": "MIT", + "scripts": { + "dev": "vite", + "build:prod": "vite build", + "build:stage": "vite build --mode staging", + "preview": "vite preview" + }, + "repository": { + "type": "git", + "url": "https://gitee.com/y_project/RuoYi-Vue.git" + }, + "dependencies": { + "@element-plus/icons-vue": "2.0.10", + "@vueup/vue-quill": "1.1.0", + "@vueuse/core": "9.5.0", + "axios": "0.27.2", + "echarts": "5.4.0", + "echarts-stat": "^1.2.0", + "element-plus": "2.2.27", + "file-saver": "2.0.5", + "fuse.js": "6.6.2", + "highlight.js": "^11.10.0", + "js-cookie": "3.0.1", + "jsencrypt": "3.3.1", + "marked": "^14.0.0", + "md-editor-v3": "^4.18.1", + "nprogress": "0.2.0", + "pinia": "2.0.22", + "vue": "^3.2.47", + "vue-cropper": "1.0.3", + "vue-router": "4.1.4" + }, + "devDependencies": { + "@vitejs/plugin-vue": "3.1.0", + "@vue/compiler-sfc": "3.2.45", + "sass": "1.56.1", + "unplugin-auto-import": "0.11.4", + "vite": "3.2.3", + "vite-plugin-compression": "0.5.1", + "vite-plugin-svg-icons": "2.0.1", + "vite-plugin-vue-setup-extend": "0.4.0" + } +} diff --git a/src/api/AI.js b/src/api/AI.js index fccc94b..e854241 100644 --- a/src/api/AI.js +++ b/src/api/AI.js @@ -8,4 +8,44 @@ export function accessAI(data) { data:data, timeout: 100000, }) - } \ No newline at end of file + } +//选择指标--下拉框 +export function selectionMetrics(data) { + return request({ + url: '/api/model/dropdownBox', + method: 'post', + data:data, + }) +} +//选择指标--查看指标 +export function viewingMetrics(data) { + return request({ + url: '/api/model/viewMetrics', + method: 'post', + params:data, + }) +} +//选择指标--分析数据展示 +export function analysisDataDisplay(data) { + return request({ + url: '/api/model/viewAnalyzeData', + method: 'post', + data:data, + }) +} +//数据预处理 +export function dataPreprocessing(data) { + return request({ + url: '/api/model/dataPreprocessing', + method: 'post', + data:data, + }) +} +//聚类分析--分析结果 +export function clusterAnalysis(data) { + return request({ + url: '/api/model/clusterScatterPlot', + method: 'post', + data:data, + }) +} \ No newline at end of file diff --git a/src/api/prtrait/prtrait.js b/src/api/prtrait/prtrait.js index 361808a..2e85300 100644 --- a/src/api/prtrait/prtrait.js +++ b/src/api/prtrait/prtrait.js @@ -31,10 +31,17 @@ export function checkLearningAssessment(query) { params:query }); } +export function hashFunctionLearningReview(query) { + return request({ + url: "/api/stu/concept/block/getLearningAssessment", + method: "post", + params:query + }); +} //学习测评计分 export function scoreLearningAssessment(query) { return request({ - url: "/api/stu/digitalCredit/hashLearningAssessmentScore", + url: "/api/stu/concept/block/hashWatchScore", method: "post", data:query }); diff --git a/src/assets/images/图1.png b/src/assets/images/图1.png new file mode 100644 index 0000000..cd74714 Binary files /dev/null and b/src/assets/images/图1.png differ diff --git a/src/assets/images/图2.png b/src/assets/images/图2.png new file mode 100644 index 0000000..4c1647e Binary files /dev/null and b/src/assets/images/图2.png differ diff --git a/src/views/digitalMarketTech/artificialIntelligence/components/article-identification.vue b/src/views/digitalMarketTech/artificialIntelligence/components/article-identification.vue index 3de6077..47d1b09 100644 --- a/src/views/digitalMarketTech/artificialIntelligence/components/article-identification.vue +++ b/src/views/digitalMarketTech/artificialIntelligence/components/article-identification.vue @@ -213,7 +213,7 @@ const downloadArticle=()=>{ return proxy.$modal.msgWarning("请先完成上一步") } answerRecord.value=2 - window.open(`http://szjj.sztzjy.com:9909/api/stu/experimental/downloadImg?userId=${JSON.parse(getUserInfo()).userId}&TOKEN=${getToken()}`) + window.open(`http://192.168.2.16:9868/api/stu/experimental/downloadImg?userId=${JSON.parse(getUserInfo()).userId}&TOKEN=${getToken()}`) } // 识别文字 diff --git a/src/views/digitalMarketingAlgorithms/components/associationRuleMining.vue b/src/views/digitalMarketingAlgorithms/components/associationRuleMining.vue new file mode 100644 index 0000000..d4bb7a7 --- /dev/null +++ b/src/views/digitalMarketingAlgorithms/components/associationRuleMining.vue @@ -0,0 +1,502 @@ + + + + + + \ No newline at end of file diff --git a/src/views/digitalMarketingAlgorithms/components/clusterAnalysis.vue b/src/views/digitalMarketingAlgorithms/components/clusterAnalysis.vue index fbcffde..771e48c 100644 --- a/src/views/digitalMarketingAlgorithms/components/clusterAnalysis.vue +++ b/src/views/digitalMarketingAlgorithms/components/clusterAnalysis.vue @@ -5,7 +5,20 @@

(给出任务清单参考,做哪些数据的统计分析)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.

- 算法知识导入 + + + + 实训任务提交
@@ -15,7 +28,7 @@ 一、选择指标
- +
- - - + + + - 确定 + 确定
二、数据预处理
- +
- + 三、模型参数设置
- - - - - 计算 + + 聚类方法: + +
+ + + +
+
+ + 设置簇数K值: + + +
+
+ + 最大迭代次数: + + +
+ 计算
@@ -76,7 +110,7 @@
分析数据: - + @@ -89,6 +123,17 @@
+
+ +
+
+
+ +
+
+
+ +
@@ -96,7 +141,7 @@ @@ -108,44 +153,29 @@
- - - - - - - - + + - + - - + + 各簇类特征描述: + + + - - + + - - + + - - + + - - - - - - - - - - - - - +