diff --git a/src/api/sportsStation.js b/src/api/sportsStation.js new file mode 100644 index 0000000..081eabc --- /dev/null +++ b/src/api/sportsStation.js @@ -0,0 +1,6 @@ +import http from './http.js' + +// 获取AI运动站列表 +export function GetAiSportsStationList(a, b, c, d, e, f, g, h) { + return http.get(`/api/AiSportsStation/GetAiSportsStationList?StudentName=${a ?? ''}&Sex=${b ?? ''}&ClassId=${c ?? 0}&ProjectName=${d ?? ''}&StartTime=${e ?? ''}&EndTime=${f ?? ''}&PageIndex=${g}&PageSize=${h}`) +} diff --git a/src/router/index.js b/src/router/index.js index c3cd52e..5a38b0f 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -283,6 +283,14 @@ const routes = [{ keepAlive: false } }, + { + path: '/AiSportsStation', //AI运动站 + name: 'AiSportsStation', + component: () => import('@/views/AiSportsStation/index.vue'), + meta: { + keepAlive: false + } + }, { path: '/schoolManage', //学校管理 name: 'schoolManage', diff --git a/src/views/AiSportsStation/index.vue b/src/views/AiSportsStation/index.vue new file mode 100644 index 0000000..a6ed3fb --- /dev/null +++ b/src/views/AiSportsStation/index.vue @@ -0,0 +1,293 @@ + + + diff --git a/src/views/index.vue b/src/views/index.vue index 2230dd0..3afa13f 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -844,6 +844,7 @@ export default defineComponent({ '/formDraggable': 'el-icon-s-operation', '/formSubmit': 'el-icon-s-release', '/formCollectionResultTree': 'el-icon-s-data', + '/AiSportsStation': 'el-icon-s-platform', }; data.forEach((d) => { d.path = (d.url || "").replace("/Manager", ""); diff --git a/vite.config.ts b/vite.config.ts index ff8062f..e5594b0 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -15,7 +15,7 @@ export default ({ mode }: ConfigEnv) => { console.log(`ENV:`, ENV) return defineConfig({ - base: 'https://yuedong-wechatapplet.oss-cn-shanghai.aliyuncs.com/static/web/samart-static/202606181400/', + base: 'https://yuedong-wechatapplet.oss-cn-shanghai.aliyuncs.com/static/web/samart-static/202607021745/', server: { host: '0.0.0.0', // https: false,