diff --git a/src/assets/styles/reset.scss b/src/assets/styles/reset.scss index 2530f14..0f32223 100644 --- a/src/assets/styles/reset.scss +++ b/src/assets/styles/reset.scss @@ -99,7 +99,8 @@ vertical-align: middle; } -.cursor { +.cursor, +.cursor-pointer { cursor: pointer; } diff --git a/src/enums/tc.js b/src/enums/tc.js index aaf0a44..770f3a5 100644 --- a/src/enums/tc.js +++ b/src/enums/tc.js @@ -5,4 +5,37 @@ export const MatchResults = { CRS: '比分', TTG: '总进球', HAFU: '半全场胜平负', -} \ No newline at end of file +} + + +// 添加 pickerOptions 配置,提供星期选项 +export const PickerOptions = reactive( [ + { + text: '周一', + value: '1' + }, + { + text: '周二', + value: '2' + }, + { + text: '周三', + value: '3' + }, + { + text: '周四', + value: '4' + }, + { + text: '周五', + value: '5' + }, + { + text: '周六', + value: '6' + }, + { + text: '周日', + value: '0' + } +]) \ No newline at end of file diff --git a/src/views/operation/report/index.vue b/src/views/operation/report/index.vue index 40f1afc..3336adc 100644 --- a/src/views/operation/report/index.vue +++ b/src/views/operation/report/index.vue @@ -24,6 +24,7 @@ 查询 重置 + 导出 @@ -41,10 +42,21 @@ - + + + + @@ -88,6 +100,7 @@ import { jumpLink } from "@/utils/tc" import { processMatchResults } from "@/utils/tc" import EditHad from "@/views/tc/eventAnalysisReport/components/EditHad.vue" + import { ref } from "vue" const router = useRouter() @@ -119,6 +132,15 @@ const data = reactive({ const { queryParams } = toRefs(data) + +/** 导出按钮操作 */ +function handleExport() { + + // proxy.download("system/user/export", { +// ...queryParams.value, +// },`user_${new Date().getTime()}.xlsx`) +} + /** 提交表单 */ function submitForm() { const data = editHadRef.value.getFormData() diff --git a/src/views/tc/eventAnalysisReport/components/basketball.vue b/src/views/tc/eventAnalysisReport/components/basketball.vue index 2d14706..cdc8caf 100644 --- a/src/views/tc/eventAnalysisReport/components/basketball.vue +++ b/src/views/tc/eventAnalysisReport/components/basketball.vue @@ -18,10 +18,27 @@ - + + + + + + 查询 重置 @@ -84,7 +101,22 @@ 未生成 - + + - - - - + +