diff --git a/components.d.ts b/components.d.ts index d712427..5f20b40 100644 --- a/components.d.ts +++ b/components.d.ts @@ -14,6 +14,7 @@ declare module 'vue' { LayButton: typeof import('@layui/layui-vue')['LayButton'] LayCard: typeof import('@layui/layui-vue')['LayCard'] LayCascader: typeof import('@layui/layui-vue')['LayCascader'] + LayCheckbox: typeof import('@layui/layui-vue')['LayCheckbox'] LayCol: typeof import('@layui/layui-vue')['LayCol'] LayConfigProvider: typeof import('@layui/layui-vue')['LayConfigProvider'] LayContainer: typeof import('@layui/layui-vue')['LayContainer'] diff --git a/src/api/http.ts b/src/api/http.ts index c2acbf2..06743ca 100644 --- a/src/api/http.ts +++ b/src/api/http.ts @@ -8,11 +8,11 @@ type TAxiosOption = { baseURL: string; } -const baseURL = '/api' // 设置基础URL前缀 +const baseURL = 'http://yfyd.hschool.com.cn' // 设置基础URL前缀 const config: TAxiosOption = { timeout: 5000, - baseURL: "http://yfyd.hschool.com.cn", + baseURL: baseURL, } class Http { diff --git a/src/api/module/home.ts b/src/api/module/home.ts index 2a5024c..f8a481c 100644 --- a/src/api/module/home.ts +++ b/src/api/module/home.ts @@ -219,6 +219,73 @@ export const userYearData= function(date: any) { } +//根据用户判断当前科室 +export const getUserGroupNew= function(date: any) { + return Http.post('/api/backend/Monthly/getUserGroup', date) +} + + +//当前月度管理tab +export const getGroupEvaluation= function(date: any) { + return Http.post('/api/backend/Monthly/getGroupEvaluation', date) +} +//当前月度管理List +export const getMonthlyUserList= function(date: any) { + return Http.post('/api/backend/Monthly/getUserList', date) +} +//当前月度用户详情 +export const getMonthlyListFind= function(date: any) { + return Http.post('/api/backend/Monthly/getMonthlyListFind', date) +} +//当前月度用户科室评价 +export const getMonthlyListUpdate= function(date: any) { + return Http.post('/api/backend/Monthly/getMonthlyListUpdate', date) +} + + + +//当前季度管理tab +export const getGroupQuarter= function(date: any) { + return Http.post('/api/backend/Quarter/getGroupEvaluation', date) +} +//当前季度管理List +export const getQuarterUserList= function(date: any) { + return Http.post('/api/backend/Quarter/getUserList', date) +} +//当前季度用户详情 +export const getQuarterListFind= function(date: any) { + return Http.post('/api/backend/Quarter/getMonthlyListFind', date) +} +//当前季度用户科室评价 +export const getQuarterListUpdate= function(date: any) { + return Http.post('/api/backend/Quarter/getMonthlyListUpdate', date) +} + + + +//当前月度管理tab +export const getGroupYear= function(date: any) { + return Http.post('/api/backend/Year/getGroupEvaluation', date) +} +//当前月度管理List +export const getYearUserList= function(date: any) { + return Http.post('/api/backend/Year/getUserList', date) +} +//当前月度用户详情 +export const getYearListFind= function(date: any) { + return Http.post('/api/backend/Year/getMonthlyListFind', date) +} +//当前月度用户科室评价 +export const getYearListUpdate= function(date: any) { + return Http.post('/api/backend/Year/getMonthlyListUpdate', date) +} + + + + + + + diff --git a/src/router/module/base-routes.ts b/src/router/module/base-routes.ts index 8a940fd..0ade622 100644 --- a/src/router/module/base-routes.ts +++ b/src/router/module/base-routes.ts @@ -40,7 +40,7 @@ export default [ name: 'systemIndex', component: () => import('../../views/system/index.vue'), meta: { - title: '人员管理', + title: '人员管理', requireAuth: true, closable: true, permissions: ['sys:user:add'] @@ -88,7 +88,7 @@ export default [ { path: '/packet/index', name: 'Packet', - component: () => import('../../views/home/index.vue'), + component: () => import('../../views/packet/index.vue'), meta: { title: '拒收红包', requireAuth: true, closable: true }, }, ] @@ -142,7 +142,7 @@ export default [ },{ path: '/season_evaluation/examine', name: 'seasonEvaluationExamine', - component: () => import('../../views/day_evaluation/examine.vue'), + component: () => import('../../views/season_evaluation/examine.vue'), meta: {title: '季度考评管理', requireAuth: true, closable: true}, } ] @@ -178,7 +178,7 @@ export default [ },{ path: '/year_evaluation/examine', name: 'yearEvaluationExamine', - component: () => import('../../views/day_evaluation/examine.vue'), + component: () => import('../../views/year_evaluation/examine.vue'), meta: {title: '年度考评管理', requireAuth: true, closable: true}, } ] diff --git a/src/views/month_evaluation/examine.vue b/src/views/month_evaluation/examine.vue index d48f630..4b5abb7 100644 --- a/src/views/month_evaluation/examine.vue +++ b/src/views/month_evaluation/examine.vue @@ -1,32 +1,12 @@ - diff --git a/src/views/month_evaluation/index.vue b/src/views/month_evaluation/index.vue index 2164e1b..d661676 100644 --- a/src/views/month_evaluation/index.vue +++ b/src/views/month_evaluation/index.vue @@ -63,25 +63,6 @@ - -
- - - - - - - - -
-