feat(review-tablet): 优化平板端适配与交互

pull/874/head
Codewoc 2026-04-03 14:22:55 +08:00
parent f5789503eb
commit 823e50e52f
3 changed files with 1749 additions and 510 deletions

View File

@ -1,5 +1,13 @@
import request from '@/config/axios'
export interface ReviewTabletExpertInfoVO {
name: string
organization: string
title: string
position: string
remark: string
}
export interface ReviewTabletCatalogVO {
reviewMeetingId: number
meetingName: string
@ -12,6 +20,8 @@ export interface ReviewTabletCatalogVO {
reporter: string
reporterUnit: string
fileCount: number
expertNames: string[]
expertInfos: ReviewTabletExpertInfoVO[]
}
export interface ReviewTabletOpenUrlVO {
@ -22,8 +32,7 @@ export interface ReviewTabletOpenUrlVO {
visitUrl: string
}
export const getTodayCatalog = () =>
request.get({ url: '/project/review-tablet/catalog/today' })
export const getTodayCatalog = () => request.get({ url: '/project/review-tablet/catalog/today' })
export const getProjectFiles = (reviewMeetingProjectId: number) =>
request.get({

File diff suppressed because it is too large Load Diff

View File

@ -20,6 +20,7 @@ export default ({command, mode}: ConfigEnv): UserConfig => {
} else {
env = loadEnv(mode, root)
}
const apiProxyTarget = env.VITE_BASE_URL || 'http://127.0.0.1:48080'
return {
base: env.VITE_BASE_PATH,
root: root,
@ -31,7 +32,7 @@ export default ({command, mode}: ConfigEnv): UserConfig => {
open: env.VITE_OPEN === 'true',
proxy: {
['/admin-api']: {
target: env.VITE_BASE_URL,
target: apiProxyTarget,
ws: false,
changeOrigin: true
},