|
1 | 1 | <template> |
2 | | - <default-layout :show-navbar="false"> |
| 2 | + <default-layout |
| 3 | + title="精弘毅行管理后台" |
| 4 | + :show-back="false" |
| 5 | + @click-navbar-right="handleSearchClick" |
| 6 | + > |
3 | 7 | <admin-info /> |
4 | 8 | <section :class="styles.main"> |
5 | 9 | <van-cell-group title="签到"> |
6 | 10 | <van-cell title="扫码签到" is-link /> |
7 | 11 | <van-cell title="输入签到" is-link /> |
8 | 12 | </van-cell-group> |
9 | 13 |
|
10 | | - <van-cell-group title="起终点人员管理"> |
11 | | - <van-cell title="单人登记" is-link /> |
| 14 | + <van-cell-group title="数据大盘"> |
| 15 | + <van-cell title="屏峰可视化地图" is-link /> |
| 16 | + <van-cell title="莫干山可视化地图" is-link /> |
| 17 | + <van-cell title="数据表格" is-link /> |
| 18 | + </van-cell-group> |
| 19 | + |
| 20 | + <van-cell-group title="人员管理"> |
12 | 21 | <van-cell title="重组队伍" is-link to="/team-rebuild" /> |
13 | 22 | <div :class="styles.functionButtonContainer"> |
14 | | - <van-button type="primary" plain :class="styles.functionButton" block> |
| 23 | + <van-button type="primary" :class="styles.functionButton" block> |
15 | 24 | 待出发→进行中 |
16 | 25 | </van-button> |
17 | | - <van-button type="primary" plain :class="styles.functionButton" block> |
18 | | - 直接提交队伍 |
19 | | - </van-button> |
20 | 26 | </div> |
21 | 27 | </van-cell-group> |
22 | | - |
23 | | - <van-cell-group title="数据大盘"> |
24 | | - <van-cell title="屏峰地图可视化" is-link /> |
25 | | - <van-cell title="莫干山地图可视化" is-link /> |
26 | | - <van-cell title="表格数据查看" is-link /> |
27 | | - </van-cell-group> |
28 | 28 | </section> |
29 | 29 | </default-layout> |
30 | 30 | </template> |
31 | 31 |
|
32 | 32 | <script setup lang="ts"> |
| 33 | +import { useRouter } from "vue-router"; |
| 34 | +
|
33 | 35 | import DefaultLayout from "@/layouts/default-layout/index.vue"; |
34 | 36 |
|
35 | 37 | import AdminInfo from "./components/admin-info/index.vue"; |
36 | 38 | import styles from "./index.module.scss"; |
| 39 | +
|
| 40 | +const router = useRouter(); |
| 41 | +
|
| 42 | +/** 前往搜索页 */ |
| 43 | +const handleSearchClick = () => { |
| 44 | + router.push("/team-list"); |
| 45 | +}; |
37 | 46 | </script> |
0 commit comments