diff --git a/src/api/module/home.ts b/src/api/module/home.ts index 8b5958e..71cb6db 100644 --- a/src/api/module/home.ts +++ b/src/api/module/home.ts @@ -65,7 +65,7 @@ export const MonthlyList= function(date: any) { export const MonthlyContent= function(date: any) { return Http.post('/api/backend/Monthly/getMonthly', date) } -//月度考评(考评题目) +//月度考评(考评题目评价) export const MonthlyCreate= function(date: any) { return Http.post('/api/backend/Monthly/create', date) } @@ -74,6 +74,45 @@ export const MonthlyInfo= function(date: any) { return Http.post('/api/backend/Monthly/getMonthlyFind', date) } +//季度考评 +export const QuarterList= function(date: any) { + return Http.post('/api/backend/Quarter/getQuarterlyData', date) +} +//季度考评 +export const QuarterContent= function(date: any) { + return Http.post('/api/backend/Quarter/getMonthly', date) +} + +//季度考评(考评题目评价) +export const QuarterCreate= function(date: any) { + return Http.post('/api/backend/Quarter/create', date) +} +//季度考评(考评题目详情) +export const QuarterInfo= function(date: any) { + return Http.post('/api/backend/Quarter/getQuarterFind', date) +} + + +//年度考评(列表) +export const YearList= function(date: any) { + return Http.post('/api/backend/Year/getAnnualData', date) +} +//年度考评(考评题目) +export const YearContent= function(date: any) { + return Http.post('/api/backend/Year/getYear', date) +} + +//年度考评(考评题目评价) +export const YearCreate= function(date: any) { + return Http.post('/api/backend/Year/create', date) +} +//年度考评(考评题目详情) +export const YearInfo= function(date: any) { + return Http.post('/api/backend/Year/getYearFind', date) +} + + + diff --git a/src/router/module/base-routes.ts b/src/router/module/base-routes.ts index 60108f1..c0d7253 100644 --- a/src/router/module/base-routes.ts +++ b/src/router/module/base-routes.ts @@ -118,7 +118,7 @@ export default [ { path: '/season_evaluation/index', name: 'seasonEvaluationIndex', - component: () => import('../../views/day_evaluation/index.vue'), + component: () => import('../../views/season_evaluation/index.vue'), meta: {title: '季度考评', requireAuth: true, affix: true, closable: true}, },{ path: '/season_evaluation/examine', @@ -154,7 +154,7 @@ export default [ { path: '/year_evaluation/index', name: 'yearEvaluationIndex', - component: () => import('../../views/day_evaluation/index.vue'), + component: () => import('../../views/year_evaluation/index.vue'), meta: {title: '年度考评', requireAuth: true, affix: true, closable: true}, },{ path: '/year_evaluation/examine', diff --git a/src/views/configuration/foundation.vue b/src/views/configuration/foundation.vue index e3c225b..6c31e42 100644 --- a/src/views/configuration/foundation.vue +++ b/src/views/configuration/foundation.vue @@ -84,6 +84,7 @@ const getHierarchicalData = () => { const addShowMsd = (data,pid) => { console.log(data); addShow.value = true; + addData.id=0; addData.scoring_type=data.scoring_type; addData.pid=pid; addIsEdit.value=1; @@ -93,6 +94,7 @@ const editShowMsd = (data) => { addShow.value = true; addData.id=data.id; addData.project_name=data.project_name; + addData.pid=data.pid; addData.project_code=data.project_code; addData.base_score=data.base_score; addData.scoring_type=data.scoring_type; diff --git a/src/views/month_evaluation/index.vue b/src/views/month_evaluation/index.vue index 828f30e..e350f3c 100644 --- a/src/views/month_evaluation/index.vue +++ b/src/views/month_evaluation/index.vue @@ -38,6 +38,9 @@ + @@ -201,6 +204,7 @@ const columns = [ }, { title: '科室评分', key: 'department_score', + customSlot: 'department_score', align: 'center', }, { diff --git a/src/views/season_evaluation/index.vue b/src/views/season_evaluation/index.vue new file mode 100644 index 0000000..07ff9cf --- /dev/null +++ b/src/views/season_evaluation/index.vue @@ -0,0 +1,267 @@ + + + + diff --git a/src/views/year_evaluation/index.vue b/src/views/year_evaluation/index.vue new file mode 100644 index 0000000..d7f1dbb --- /dev/null +++ b/src/views/year_evaluation/index.vue @@ -0,0 +1,269 @@ + + + +