diff --git a/src/api/module/home.ts b/src/api/module/home.ts index b88b63d..288408d 100644 --- a/src/api/module/home.ts +++ b/src/api/module/home.ts @@ -263,19 +263,19 @@ export const getQuarterListUpdate= function(date: any) { -//当前月度管理tab +//当前年末管理tab export const getGroupYear= function(date: any) { return Http.post('/api/backend/Year/getGroupEvaluation', date) } -//当前月度管理List +//当前年末管理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 e2a33da..35cd06f 100644 --- a/src/router/module/base-routes.ts +++ b/src/router/module/base-routes.ts @@ -108,14 +108,7 @@ export default [ name: 'dayEvaluationExamine', component: () => import('../../views/day_evaluation/examine.vue'), meta: { title: '加减分审核', requireAuth: true, closable: true }, - } - ] - }, { - path: '/month_evaluation', - redirect: '/month_evaluation/index', - component: BasicLayout, - meta: { title: '月度考评' }, - children: [ + }, { path: '/month_evaluation/index', name: 'monthEvaluationIndex', @@ -126,14 +119,7 @@ export default [ name: 'monthEvaluationExamine', component: () => import('../../views/month_evaluation/examine.vue'), meta: { title: '月度考评管理', closable: true }, - } - ] - }, { - path: '/season_evaluation', - redirect: '/season_evaluation/index', - component: BasicLayout, - meta: { title: '季度考评' }, - children: [ + }, { path: '/season_evaluation/index', name: 'seasonEvaluationIndex', @@ -146,7 +132,45 @@ export default [ meta: { title: '季度考评管理', closable: true }, } ] - }, { + }, + // { + // path: '/month_evaluation', + // redirect: '/month_evaluation/index', + // component: BasicLayout, + // meta: { title: '月度考评' }, + // children: [ + // { + // path: '/month_evaluation/index', + // name: 'monthEvaluationIndex', + // component: () => import('../../views/month_evaluation/index.vue'), + // meta: { title: '月度考评填报', requireAuth: true, closable: true }, + // }, { + // path: '/month_evaluation/examine/:id*', + // name: 'monthEvaluationExamine', + // component: () => import('../../views/month_evaluation/examine.vue'), + // meta: { title: '月度考评管理', closable: true }, + // } + // ] + // }, { + // path: '/season_evaluation', + // redirect: '/season_evaluation/index', + // component: BasicLayout, + // meta: { title: '季度考评' }, + // children: [ + // { + // path: '/season_evaluation/index', + // name: 'seasonEvaluationIndex', + // component: () => import('../../views/season_evaluation/index.vue'), + // meta: { title: '季度考评', requireAuth: true, closable: true }, + // }, { + // path: '/season_evaluation/examine/:id*', + // name: 'seasonEvaluationExamine', + // component: () => import('../../views/season_evaluation/examine.vue'), + // meta: { title: '季度考评管理', closable: true }, + // } + // ] + // }, + { path: '/outside_evaluation', redirect: '/outside_evaluation/index', component: BasicLayout, diff --git a/src/views/configuration/add.vue b/src/views/configuration/add.vue index 94b8d36..a7509a0 100644 --- a/src/views/configuration/add.vue +++ b/src/views/configuration/add.vue @@ -111,9 +111,9 @@ const getHierarchicalTwoList = () => { layer.msg(res.msg, {icon: 2}) } }) -} +} const getHierarchicalData = () => { - scoringGetHierarchicalData({}).then((res) => { + scoringGetHierarchicalData({page:1,size:1000}).then((res) => { console.log(res) if (res.code == 1) { dataSource6.value = res.data; diff --git a/src/views/configuration/foundation.vue b/src/views/configuration/foundation.vue index a13c2a8..8e72ed2 100644 --- a/src/views/configuration/foundation.vue +++ b/src/views/configuration/foundation.vue @@ -149,12 +149,11 @@ const addButton = ref([ console.log(addData); if (addData.project_name == '') { layer.msg('项目名称不能为空!', {icon: 2}) - } - if (addData.project_code == '') { - layer.msg('项目代码不能为空!', {icon: 2}) + return; } if (addData.base_score == '' || addData.base_score == 0) { layer.msg('基础分值不能为空或为0!', {icon: 2, time: 1000}) + return; } if(addIsEdit.value==1){ var res = await homeGetHierarchicalDataCreate(addData); diff --git a/src/views/day_evaluation/index.vue b/src/views/day_evaluation/index.vue index 1054a1c..bdf3464 100644 --- a/src/views/day_evaluation/index.vue +++ b/src/views/day_evaluation/index.vue @@ -281,7 +281,7 @@ const evaluationItems = ref([]) const selectedItemTips = ref('') const getHierarchicalData = () => { - scoringGetHierarchicalData({}).then((res) => { + scoringGetHierarchicalData({page:1,size:1000}).then((res) => { console.log(res) if (res.code == 1) { evaluationItems.value = res.data; diff --git a/src/views/month_evaluation/examine.vue b/src/views/month_evaluation/examine.vue index a86b02f..75b4812 100644 --- a/src/views/month_evaluation/examine.vue +++ b/src/views/month_evaluation/examine.vue @@ -29,7 +29,8 @@ - + @@ -69,16 +70,16 @@ 已自评 未自评 科室已评 - 医院已评 +