2025-02-07 16:12:06 +08:00
|
|
|
import Http from '../http';
|
2025-02-08 18:01:48 +08:00
|
|
|
export const login = function(loginForm: any) {
|
|
|
|
return Http.post('/api/backend/user/login', loginForm)
|
|
|
|
}
|
2025-02-07 16:12:06 +08:00
|
|
|
//基础评分项列表
|
|
|
|
export const homeGetHierarchicalData = function(date: any) {
|
|
|
|
return Http.post('/api/backend/basic_rating/getHierarchicalData', date)
|
|
|
|
}
|
|
|
|
//基础评分项新增
|
|
|
|
export const homeGetHierarchicalDataCreate= function(date: any) {
|
|
|
|
return Http.post('/api/backend/basic_rating/create', date)
|
|
|
|
}
|
|
|
|
//基础评分项编辑
|
|
|
|
export const homeGetHierarchicalDataUpdate= function(date: any) {
|
|
|
|
return Http.post('/api/backend/basic_rating/update', date)
|
|
|
|
}
|
|
|
|
//基础评分项删除
|
|
|
|
export const homeGetHierarchicalDataDelete= function(date: any) {
|
|
|
|
return Http.post('/api/backend/basic_rating/delete', date)
|
|
|
|
}
|
|
|
|
//加减分列表
|
|
|
|
export const scoringGetHierarchicalData= function(date: any) {
|
|
|
|
return Http.post('/api/backend/plus_minus_scoring/getHierarchicalData', date)
|
|
|
|
}
|
|
|
|
//加减分添加
|
|
|
|
export const scoringGetHierarchicalDataCreate= function(date: any) {
|
|
|
|
return Http.post('/api/backend/plus_minus_scoring/create', date)
|
|
|
|
}
|
|
|
|
//加减分编辑
|
|
|
|
export const scoringGetHierarchicalDataUpdate= function(date: any) {
|
|
|
|
return Http.post('/api/backend/plus_minus_scoring/update', date)
|
|
|
|
}
|
|
|
|
//加减分删除
|
|
|
|
export const scoringGetHierarchicalDataDelete= function(date: any) {
|
|
|
|
return Http.post('/api/backend/plus_minus_scoring/delete', date)
|
|
|
|
}
|
|
|
|
//所属考评项目
|
|
|
|
export const getHierarchicalTwo= function(date: any) {
|
|
|
|
return Http.post('/api/backend/basic_rating/getHierarchicalTwo', date)
|
|
|
|
}
|
|
|
|
|
|
|
|
//考评时间管理
|
|
|
|
export const scheduleList= function(date: any) {
|
|
|
|
return Http.post('/api/backend/evaluation_schedule/getHierarchicalData', date)
|
|
|
|
}
|
|
|
|
//考评时间管理
|
|
|
|
export const scheduleCreate= function(date: any) {
|
|
|
|
return Http.post('/api/backend/evaluation_schedule/create', date)
|
|
|
|
}
|
|
|
|
|
|
|
|
//考评时间管理
|
|
|
|
export const scheduleUpdate= function(date: any) {
|
|
|
|
return Http.post('/api/backend/evaluation_schedule/update', date)
|
|
|
|
}
|
|
|
|
|
|
|
|
//考评时间管理
|
|
|
|
export const scheduleDelete= function(date: any) {
|
|
|
|
return Http.post('/api/backend/evaluation_schedule/delete', date)
|
|
|
|
}
|
2025-02-08 18:01:48 +08:00
|
|
|
//月度考评
|
|
|
|
export const MonthlyList= function(date: any) {
|
|
|
|
return Http.post('/api/backend/Monthly/getMonthlyData', date)
|
|
|
|
}
|
|
|
|
//月度考评(考评题目)
|
|
|
|
export const MonthlyContent= function(date: any) {
|
|
|
|
return Http.post('/api/backend/Monthly/getMonthly', date)
|
|
|
|
}
|
2025-02-10 18:04:59 +08:00
|
|
|
//月度考评(考评题目评价)
|
2025-02-08 18:01:48 +08:00
|
|
|
export const MonthlyCreate= function(date: any) {
|
|
|
|
return Http.post('/api/backend/Monthly/create', date)
|
|
|
|
}
|
|
|
|
//月度考评(详情)
|
|
|
|
export const MonthlyInfo= function(date: any) {
|
|
|
|
return Http.post('/api/backend/Monthly/getMonthlyFind', date)
|
|
|
|
}
|
|
|
|
|
2025-02-10 18:04:59 +08:00
|
|
|
//季度考评
|
|
|
|
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)
|
|
|
|
}
|
2025-02-11 18:06:06 +08:00
|
|
|
//科室列表
|
|
|
|
export const userGroupData= function(date: any) {
|
|
|
|
return Http.post('/api/backend/User_group/getUserGroupData', date)
|
|
|
|
}
|
|
|
|
//科室列表(新增)
|
|
|
|
export const userGroupDataAdd= function(date: any) {
|
|
|
|
return Http.post('/api/backend/User_group/create', date)
|
|
|
|
}
|
|
|
|
//科室列表(编辑)
|
|
|
|
export const userGroupDataEdit= function(date: any) {
|
|
|
|
return Http.post('/api/backend/User_group/update', date)
|
|
|
|
}
|
|
|
|
//科室列表(删除)
|
|
|
|
export const userGroupDataDel= function(date: any) {
|
|
|
|
return Http.post('/api/backend/User_group/delete', date)
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//党支部列表
|
|
|
|
export const partyGroupData= function(date: any) {
|
|
|
|
return Http.post('/api/backend/Party_group/getPartyGroupData', date)
|
|
|
|
}
|
|
|
|
//党支部列表(新增)
|
|
|
|
export const partyGroupDataAdd= function(date: any) {
|
|
|
|
return Http.post('/api/backend/Party_group/create', date)
|
|
|
|
}
|
|
|
|
//党支部列表(编辑)
|
|
|
|
export const partyGroupDataEdit= function(date: any) {
|
|
|
|
return Http.post('/api/backend/Party_group/update', date)
|
|
|
|
}
|
|
|
|
//党支部列表(删除)
|
|
|
|
export const partyGroupDataDel= function(date: any) {
|
|
|
|
return Http.post('/api/backend/Party_group/delete', date)
|
|
|
|
}
|
|
|
|
|
|
|
|
//菜单列表
|
|
|
|
export const menuData= function(date: any) {
|
|
|
|
return Http.post('/api/backend/auth_rule/getAuthRuleData', date)
|
|
|
|
}
|
|
|
|
//菜单列表(新增)
|
|
|
|
export const menuDataAdd= function(date: any) {
|
|
|
|
return Http.post('/api/backend/auth_rule/create', date)
|
|
|
|
}
|
|
|
|
//菜单(编辑)
|
|
|
|
export const menuDataEdit= function(date: any) {
|
|
|
|
return Http.post('/api/backend/auth_rule/update', date)
|
|
|
|
}
|
|
|
|
//菜单(删除)
|
|
|
|
export const menuDataDel= function(date: any) {
|
|
|
|
return Http.post('/api/backend/auth_rule/delete', date)
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2025-02-10 18:04:59 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
2025-02-08 18:01:48 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
2025-02-07 16:12:06 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|