diff --git a/dist.tar b/dist.tar new file mode 100644 index 0000000..819068d Binary files /dev/null and b/dist.tar differ diff --git a/src/assets/images/背景.webp b/src/assets/images/背景.webp new file mode 100644 index 0000000..e148eea Binary files /dev/null and b/src/assets/images/背景.webp differ diff --git a/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue index af1d101..c621ee3 100644 --- a/src/layout/components/AppMain.vue +++ b/src/layout/components/AppMain.vue @@ -2,7 +2,7 @@ * @Author: qinzhenpen qzp1807@126.com * @Date: 2024-07-15 15:44:46 * @LastEditors: qinzhenpen qzp1807@126.com - * @LastEditTime: 2024-08-16 17:40:50 + * @LastEditTime: 2024-08-21 17:54:11 * @FilePath: \vue3\src\layout\components\AppMain.vue * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE --> @@ -32,7 +32,7 @@ const tagsViewStore = useTagsViewStore(); width: 100%; position: relative; overflow: hidden; - background: url("@/assets/images/背景.png") no-repeat; + background: url("@/assets/images/背景.webp") no-repeat; background-size: 100% 100%; } diff --git a/src/utils/request.js b/src/utils/request.js index 1cabe46..eb322f5 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -16,8 +16,8 @@ axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8' const service = axios.create({ // axios中请求配置有baseURL选项,表示请求URL公共部分 // baseURL: import.meta.env.VITE_APP_BASE_API, - - baseURL:'http://192.168.2.16:9868/', + baseURL:'http://118.31.7.2:9868/', + // baseURL:'http://192.168.2.16:9868/', // 超时 timeout: 100000 }) diff --git a/src/views/digitalMarketTech/artificialIntelligence/components/Robot-learning.vue b/src/views/digitalMarketTech/artificialIntelligence/components/Robot-learning.vue index 9ad1610..8705492 100644 --- a/src/views/digitalMarketTech/artificialIntelligence/components/Robot-learning.vue +++ b/src/views/digitalMarketTech/artificialIntelligence/components/Robot-learning.vue @@ -1,631 +1,692 @@ - \ No newline at end of file + diff --git a/src/views/digitalMarketTech/artificialIntelligence/index.vue b/src/views/digitalMarketTech/artificialIntelligence/index.vue index ac91ef4..c7a028b 100644 --- a/src/views/digitalMarketTech/artificialIntelligence/index.vue +++ b/src/views/digitalMarketTech/artificialIntelligence/index.vue @@ -2,7 +2,7 @@ * @Author: qinzhenpen qzp1807@126.com * @Date: 2024-08-16 17:56:32 * @LastEditors: qinzhenpen qzp1807@126.com - * @LastEditTime: 2024-08-21 11:17:00 + * @LastEditTime: 2024-08-21 18:16:01 * @FilePath: \vue3\src\views\digitalMarketTech\artificialIntelligence\index.vue * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE --> diff --git a/src/views/digitalMarketingAlgorithms/components/clusterAnalysis.vue b/src/views/digitalMarketingAlgorithms/components/clusterAnalysis.vue index ae7f068..9e46724 100644 --- a/src/views/digitalMarketingAlgorithms/components/clusterAnalysis.vue +++ b/src/views/digitalMarketingAlgorithms/components/clusterAnalysis.vue @@ -342,7 +342,7 @@ onMounted(() => { getList(); var chartDom = document.getElementById("main"); var chartDom2 = document.getElementById("main2"); - myChart = echarts.init(chartDom); + myChart = echarts.init(chartDom);472 myChart2 = echarts.init(chartDom2); // 初始化图表配置 var option = { @@ -367,7 +367,6 @@ onMounted(() => { }, ], }; - // 设置初始的配置 myChart.setOption(option); myChart2.setOption(option); @@ -472,7 +471,6 @@ const resTable2=ref() }) } } -}; const showChart = ref(false); //生产表格 diff --git a/src/views/digitalMarketingAlgorithms/components/descriptiveStatistics.vue b/src/views/digitalMarketingAlgorithms/components/descriptiveStatistics.vue index 0abb45f..d2aea2e 100644 --- a/src/views/digitalMarketingAlgorithms/components/descriptiveStatistics.vue +++ b/src/views/digitalMarketingAlgorithms/components/descriptiveStatistics.vue @@ -400,7 +400,7 @@ const modelCalculation = () => { proxy.$modal.msgWarning("请先分析数据/未选择模型参数!"); return; } - const processedData = processArrayData(analysisHanderKry.value, analysisData.value); + const processedData = processArrayData(analysisHanderKry.value, aAnalyzeTheRawData.value); loading.value = true; marketingAlgorithmApi .getMarketingAlgorithmPreprocessing(JSON.stringify({ map: processedData, statistic: g_modelParameter.value, userId: n_dataTableQuery.value.userId })) diff --git a/src/views/digitalMarketingAlgorithms/components/emotion-analysis.vue b/src/views/digitalMarketingAlgorithms/components/emotion-analysis.vue index 54a4371..cbbb723 100644 --- a/src/views/digitalMarketingAlgorithms/components/emotion-analysis.vue +++ b/src/views/digitalMarketingAlgorithms/components/emotion-analysis.vue @@ -82,7 +82,7 @@
分析结果: - 下载 + 下载

词频列表

你可以对词频词语进行修改删除以及增加,频次数越大,显示越大,最多200关键词。

@@ -107,7 +107,7 @@
-
+
正向情感 @@ -182,21 +182,232 @@ - @@ -216,7 +427,7 @@ import useAlgorithmStore from "@/store/modules/algorithm.js"; import useUserStore from "@/store/modules/user"; import { getUserInfo } from "@/utils/auth"; // 算法知识 -const b_algorithmKnowledge=ref(false) +const b_algorithmKnowledge = ref(false); const userInfo = JSON.parse(getUserInfo()); const loading = ref(false); const loading2 = ref(false); @@ -506,6 +717,7 @@ const sentimentAnalysis = () => { g_emotionAnalysisinfo = JSON.parse(res.data); g_emotionAnalysis.value = JSON.parse(res.data)?.items[0]?.sentiment; n_emotiveTendency.value = Math.round(g_emotionAnalysisinfo.items[0].positive_prob * 100); + console.log(n_emotiveTendency.value, " n_emotiveTendency.value"); } else { aCommentOpinion.value = JSON.parse(res.data).items.reduce((groups, item) => { // 如果该 sentiment 的组不存在,则创建 diff --git a/src/views/learningCenter/Achievement.vue b/src/views/learningCenter/Achievement.vue index c92ca0d..de97247 100644 --- a/src/views/learningCenter/Achievement.vue +++ b/src/views/learningCenter/Achievement.vue @@ -467,7 +467,7 @@ const uploadReport = async (id) => { if(!id){ return } - window.open(`http://192.168.2.16:9868/api/stu/concept/block/download?TOKEN=${'Bearer '+getToken()}&id=${id}`); + window.open(`http://118.31.7.2:9868/api/stu/concept/block/download?TOKEN=${'Bearer '+getToken()}&id=${id}`); // window.open(`http://202.97.179.126:8800/api/stu/concept/block/download?reportName=${tableData2.value[0].reportName}&TOKEN= ${'Bearer '+getToken()}&module=${data2.module}&userId=${data.userId}`) // window.open(`http://202.199.90.115:8800/api/stu/concept/block/download?reportName=${tableData2.value[0].reportName}&TOKEN= ${'Bearer '+getToken()}&module=${data2.module}&userId=${data.userId}`) }; diff --git a/src/views/learningCenter/learningResources.vue b/src/views/learningCenter/learningResources.vue index 1b9ed47..2f83aff 100644 --- a/src/views/learningCenter/learningResources.vue +++ b/src/views/learningCenter/learningResources.vue @@ -12,7 +12,7 @@
diff --git a/vite.config.js b/vite.config.js index 57188f5..a85f05e 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,3 +1,11 @@ +/* + * @Author: qinzhenpen qzp1807@126.com + * @Date: 2024-07-15 15:44:46 + * @LastEditors: qinzhenpen qzp1807@126.com + * @LastEditTime: 2024-08-21 17:56:44 + * @FilePath: \digital-marketing\vite.config.js + * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE + */ import { defineConfig, loadEnv } from 'vite' import path from 'path' import createVitePlugins from './vite/plugins' @@ -37,6 +45,9 @@ export default defineConfig(({ mode, command }) => { } } }, + esbuild: { + drop: ['console', 'debugger'], + }, //fix:error:stdin>:7356:1: warning: "@charset" must be the first rule in the file css: { postcss: {