diff --git a/dist.zip b/dist.zip new file mode 100644 index 0000000..78cd708 Binary files /dev/null and b/dist.zip differ diff --git a/src/api/http.ts b/src/api/http.ts index 06743ca..99106c0 100644 --- a/src/api/http.ts +++ b/src/api/http.ts @@ -8,7 +8,10 @@ type TAxiosOption = { baseURL: string; } -const baseURL = 'http://yfyd.hschool.com.cn' // 设置基础URL前缀 +//const baseURL = 'http://yfyd.hschool.com.cn' // 设置基础URL前缀 +const baseURL="/api"; + + const config: TAxiosOption = { timeout: 5000, diff --git a/src/router/module/base-routes.ts b/src/router/module/base-routes.ts index 0ade622..7fcbe4d 100644 --- a/src/router/module/base-routes.ts +++ b/src/router/module/base-routes.ts @@ -76,7 +76,7 @@ export default [ { path: '/complaint/index', name: 'Complaint', - component: () => import('../../views/home/index.vue'), + component: () => import('../../views/complaint/index.vue'), meta: { title: '投诉管理', requireAuth: true, closable: true }, }, ] @@ -214,22 +214,22 @@ export default [ },{ path: '/census/day', name: 'censusDay', - component: () => import('../../views/day_evaluation/examine.vue'), + component: () => import('../../views/census/day.vue'), meta: {title: '日常考评报表统计', requireAuth: true, closable: true}, },{ path: '/census/month', name: 'censusMonth', - component: () => import('../../views/day_evaluation/examine.vue'), + component: () => import('../../views/census/month.vue'), meta: {title: '月度考评报表统计', requireAuth: true, closable: true}, },{ path: '/census/season', name: 'censusSeason', - component: () => import('../../views/day_evaluation/examine.vue'), + component: () => import('../../views/census/season.vue'), meta: {title: '季度考评报表统计', requireAuth: true, closable: true}, },{ path: '/census/year', name: 'censusYear', - component: () => import('../../views/day_evaluation/examine.vue'), + component: () => import('../../views/census/year.vue'), meta: {title: '年度考评报表统计', requireAuth: true, closable: true}, } ] @@ -242,7 +242,7 @@ export default [ { path: '/configuration/index', name: 'configurationIndex', - component: () => import('../../views/day_evaluation/index.vue'), + component: () => import('../../views/configuration/index.vue'), meta: {title: '登陆日志管理', requireAuth: true, closable: true}, },{ path: '/configuration/foundation', @@ -262,18 +262,13 @@ export default [ },{ path: '/configuration/level', name: 'configurationLevel', - component: () => import('../../views/day_evaluation/examine.vue'), + component: () => import('../../views/configuration/level.vue'), meta: {title: '考评级别管理', requireAuth: true, closable: true}, },{ path: '/configuration/opinion', name: 'configurationOpinion', - component: () => import('../../views/day_evaluation/examine.vue'), + component: () => import('../../views/configuration/opinion.vue'), meta: {title: '医德征求意见管理', requireAuth: true, closable: true}, - },{ - path: '/configuration/year', - name: 'configurationBase', - component: () => import('../../views/day_evaluation/examine.vue'), - meta: {title: '字典管理', requireAuth: true, closable: true}, } ] },{ diff --git a/src/views/census/day.vue b/src/views/census/day.vue new file mode 100644 index 0000000..6593e96 --- /dev/null +++ b/src/views/census/day.vue @@ -0,0 +1,414 @@ + + + + + diff --git a/src/views/census/month.vue b/src/views/census/month.vue new file mode 100644 index 0000000..6593e96 --- /dev/null +++ b/src/views/census/month.vue @@ -0,0 +1,414 @@ + + + + + diff --git a/src/views/census/season.vue b/src/views/census/season.vue new file mode 100644 index 0000000..cd2d37d --- /dev/null +++ b/src/views/census/season.vue @@ -0,0 +1,426 @@ + + + + + diff --git a/src/views/census/year.vue b/src/views/census/year.vue new file mode 100644 index 0000000..826f817 --- /dev/null +++ b/src/views/census/year.vue @@ -0,0 +1,414 @@ + + + + + diff --git a/src/views/complaint/index.vue b/src/views/complaint/index.vue new file mode 100644 index 0000000..920217b --- /dev/null +++ b/src/views/complaint/index.vue @@ -0,0 +1,181 @@ + + + + + \ No newline at end of file diff --git a/src/views/configuration/index.vue b/src/views/configuration/index.vue new file mode 100644 index 0000000..0b443ae --- /dev/null +++ b/src/views/configuration/index.vue @@ -0,0 +1,102 @@ + + + + + diff --git a/src/views/configuration/level.vue b/src/views/configuration/level.vue new file mode 100644 index 0000000..e86e160 --- /dev/null +++ b/src/views/configuration/level.vue @@ -0,0 +1,519 @@ + + + + diff --git a/src/views/configuration/opinion.vue b/src/views/configuration/opinion.vue new file mode 100644 index 0000000..eacf5ac --- /dev/null +++ b/src/views/configuration/opinion.vue @@ -0,0 +1,471 @@ + + + + diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 2804b53..853bca2 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -11,7 +11,7 @@ diff --git a/vite.config.ts b/vite.config.ts index a7de925..79cb503 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -20,7 +20,7 @@ export default defineConfig({ server: { proxy: { '/api': { - target: 'http://192.168.10.158/', + target: 'http://192.168.10.124/', changeOrigin: true, rewrite: (path) => path.replace(/^\/api/, '') }