diff --git a/package.json b/package.json index 9d8fc1d..f4d4f28 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "@element-plus/icons-vue": "^2.3.1", "axios": "^1.6.8", "echarts": "5.3.2", - "element-plus": "^2.6.2", + "element-plus": "^2.8.3", "pinia": "^2.1.7", "postcss-plugin-px2rem": "^0.8.1", "px2rem-loader": "^0.1.9", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9046d11..557beaa 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,8 +11,8 @@ dependencies: specifier: 5.3.2 version: 5.3.2 element-plus: - specifier: ^2.6.2 - version: 2.6.2(vue@3.4.21) + specifier: ^2.8.3 + version: 2.8.3(vue@3.4.21) pinia: specifier: ^2.1.7 version: 2.1.7(typescript@5.2.2)(vue@3.4.21) @@ -1984,8 +1984,8 @@ packages: resolution: {integrity: sha512-kMb204zvK3PsSlgvvwzI3wBIcAw15tRkYk+NQdsjdDtcQWTp2RABbMQ9rUBy8KNEOM+/E6ep+XC3AykiWZld4g==} dev: true - /element-plus@2.6.2(vue@3.4.21): - resolution: {integrity: sha512-WFMv1v83l437Xu+GeeM+ytxd9VUQpR4418BowvTVIPYItsoj6yK0ITIuSv19iCesF405FbAOaCIHXhJch0ilFA==} + /element-plus@2.8.3(vue@3.4.21): + resolution: {integrity: sha512-BXQOyDf0s7JHyNEV8iaO+iaOzTZPsBXVKMzMI967vLCodUBDLrtiY5vglAn1YEebQcUOEUMhGcttTpIvEkcBjQ==} peerDependencies: vue: ^3.2.0 dependencies: diff --git a/src/Layout/tabbar/index.vue b/src/Layout/tabbar/index.vue index a117025..978f492 100644 --- a/src/Layout/tabbar/index.vue +++ b/src/Layout/tabbar/index.vue @@ -28,11 +28,11 @@
- +
- {{ useUserStore.userInfo.username }} + {{ useUserStore.userInfo.realname }} @@ -71,6 +71,9 @@ onMounted(() => { const layout = async () => { useUserStore.layOut() } +const setImageUrl = (url: string) => { + return import.meta.env.VITE_APP_BASE_API + "/sys/common/static/" + url +} \ No newline at end of file diff --git a/src/views/raceInfo/index.vue b/src/views/raceInfo/index.vue index 4dd2f00..abb919b 100644 --- a/src/views/raceInfo/index.vue +++ b/src/views/raceInfo/index.vue @@ -75,11 +75,11 @@
  • 负责部门:
    -
    {{ raceInfo.dept }}
    +
    {{ raceInfo.comporderc }}
  • 比赛类型:
    -
    A
    +
    {{ raceInfo.compTypeId }}
  • 比赛权重:
    @@ -94,14 +94,15 @@
  • 比赛简介:
    -
    - 亲爱的同学们、老师们以及各位编程爱好者们: +
    + {{ raceInfo.compInfo }} +
    附件:
    @@ -158,7 +159,7 @@ const getRaceProjectListEvent = async () => { } getRaceProjectListEvent() const setImageUrl = (url: string) => { - return import.meta.env.VITE_APP_BASE_API + url + return import.meta.env.VITE_APP_BASE_API + "/sys/common/static/" + url } // 获取比赛详情 const raceInfo = ref({}) diff --git a/src/views/registrationPersonage/index.vue b/src/views/registrationPersonage/index.vue index 1a326a3..3312568 100644 --- a/src/views/registrationPersonage/index.vue +++ b/src/views/registrationPersonage/index.vue @@ -84,22 +84,22 @@
    姓名
    -
    王不留行
    +
    {{ info.realname }}
    姓别
    -
    +
    {{ pasSex(info.sex) }}
    学号
    -
    2023010236
    +
    {{ info.workNo }}
    手机号
    -
    17725633652
    +
    {{ info.phone }}
    @@ -137,6 +137,20 @@