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 39cf03c..35a9559 100644 --- a/package.json +++ b/package.json @@ -1,45 +1,46 @@ -{ - "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": { - "@antv/g2": "^5.2.3", - "@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", - "js-cookie": "3.0.1", - "jsencrypt": "3.3.1", - "nprogress": "0.2.0", - "pinia": "2.0.22", - "vue": "3.2.45", - "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": { + "@antv/g2": "^5.2.3", + "echarts-stat": "^1.2.0", + "@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", + "js-cookie": "3.0.1", + "jsencrypt": "3.3.1", + "nprogress": "0.2.0", + "pinia": "2.0.22", + "vue": "3.2.45", + "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..4a1c18b 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/hashLearningAssessmentScore", 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 new file mode 100644 index 0000000..771e48c --- /dev/null +++ b/src/views/digitalMarketingAlgorithms/components/clusterAnalysis.vue @@ -0,0 +1,671 @@ + + + + + + \ No newline at end of file diff --git a/src/views/digitalMarketingAlgorithms/components/descriptiveStatistics.vue b/src/views/digitalMarketingAlgorithms/components/descriptiveStatistics.vue index ed3f1a7..a2bdd56 100644 --- a/src/views/digitalMarketingAlgorithms/components/descriptiveStatistics.vue +++ b/src/views/digitalMarketingAlgorithms/components/descriptiveStatistics.vue @@ -10,7 +10,8 @@
-
+
+
一、选择指标
@@ -63,10 +64,14 @@ 计算
-
+
+
+
重新开始
+
+
@@ -91,7 +96,7 @@ @@ -102,13 +107,51 @@
- This is dialog content. - This is a message +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
@@ -131,6 +174,10 @@ const tableLabel=reactive([ {prop:'name',label:'注册时间'}, {prop:'name',label:'所在地'} ]) +const formInline=reactive({ + user:'', + region:'' +}) const input=ref() const options = [ { @@ -173,8 +220,40 @@ const tableData = [ name: 'Tom', address: 'No. 189, Grove St, Los Angeles', }, - { - date: '2016-05-01', +{ + date: '2016-05-04', + name: 'Tom', + address: 'No. 189, Grove St, Los Angeles', + },{ + date: '2016-05-04', + name: 'Tom', + address: 'No. 189, Grove St, Los Angeles', + },{ + date: '2016-05-04', + name: 'Tom', + address: 'No. 189, Grove St, Los Angeles', + },{ + date: '2016-05-04', + name: 'Tom', + address: 'No. 189, Grove St, Los Angeles', + },{ + date: '2016-05-04', + name: 'Tom', + address: 'No. 189, Grove St, Los Angeles', + },{ + date: '2016-05-04', + name: 'Tom', + address: 'No. 189, Grove St, Los Angeles', + },{ + date: '2016-05-04', + name: 'Tom', + address: 'No. 189, Grove St, Los Angeles', + },{ + date: '2016-05-04', + name: 'Tom', + address: 'No. 189, Grove St, Los Angeles', + },{ + date: '2016-05-04', name: 'Tom', address: 'No. 189, Grove St, Los Angeles', }, @@ -216,12 +295,16 @@ margin: 20px 20px 0; } .app-main { // background-color: #f5f5f5; + min-height: 965px; margin: 5px 20px 0; - height: calc(117vh - 150px); + height: 100%; display: flex; overflow: auto; .main-left { //水平居中 + flex-direction: column; + min-height: 965px; + display: flex; width: 205px; height: 100%; background: #041c49; @@ -246,7 +329,6 @@ margin: 20px 20px 0; } } .startOver{ - margin-top: 70px; margin-left: -10px; width: 205px; height: 55px; @@ -268,7 +350,7 @@ margin: 20px 20px 0; } .main-right { width: 1639px; - height: 100%; + // height: 100%; padding: 20px; border: 1px solid #0452c6; :deep(.el-table__header){ @@ -317,14 +399,28 @@ margin: 20px 20px 0; margin: 15px 0px 5px; } } - +:deep(.el-form-item__label){ + color: #FFFFFF;; +} +.from-item{ + padding: 20px; + .el-input{ + --el-input-text-color:#FFFFFF; + --el-input-bg-color:#002651; + --el-input-border-color:#67B3D6; + } +} +.dialog-footer{ + margin-bottom: 20px; +} \ No newline at end of file diff --git a/src/views/digitalMarketingAlgorithms/index.vue b/src/views/digitalMarketingAlgorithms/index.vue index 2004695..22e73f1 100644 --- a/src/views/digitalMarketingAlgorithms/index.vue +++ b/src/views/digitalMarketingAlgorithms/index.vue @@ -19,8 +19,9 @@ // import AIGC from './AIGCLargeModel/index.vue' import big from './components/bigData.vue' import descriptiveStatistics from './components/descriptiveStatistics.vue' + import clusterAnalysis from './components/clusterAnalysis.vue' const component=ref(big) - const pageData=[big,descriptiveStatistics,null] + const pageData=[big,descriptiveStatistics,clusterAnalysis] const isActive=ref(1) const activeIndex=(index)=>{ isActive.value=index diff --git a/src/views/learningCenter/evaluation.vue b/src/views/learningCenter/evaluation.vue index d81ca53..f205d2f 100644 --- a/src/views/learningCenter/evaluation.vue +++ b/src/views/learningCenter/evaluation.vue @@ -1,5 +1,5 @@