wuzhen 新增财务项目绩效填报模块
This commit is contained in:
1 parent
058a4d1cdd
commit
4815b4b3cd
56 files changed
+11914
-8
No files matched your search
@@ -0,0 +1,79 @@
|
||||
import request from '@/utils/request'
|
||||
import type { AxiosPromise } from 'axios'
|
||||
import type { CwProjectPerformanceSelfEvaluationVO, CwProjectPerformanceSelfEvaluationQuery } from './performanceEvaluation'
|
||||
|
||||
/**
|
||||
* 运行监控管理API
|
||||
* 财务管理员和学校领导使用,用于查看所有人提交的绩效自评,并进行锁定/解锁操作
|
||||
*/
|
||||
|
||||
/**
|
||||
* 运行监控管理查询对象
|
||||
*/
|
||||
export interface MonitoringManagementQuery extends CwProjectPerformanceSelfEvaluationQuery {
|
||||
isLocked?: number
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询绩效自评列表(运行监控管理)
|
||||
*/
|
||||
export function listMonitoringManagement(query: MonitoringManagementQuery): AxiosPromise<any> {
|
||||
return request({
|
||||
url: '/cw/monitoringManagement/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询绩效自评详细(运行监控管理)
|
||||
*/
|
||||
export function getMonitoringManagement(id: number): AxiosPromise<CwProjectPerformanceSelfEvaluationVO> {
|
||||
return request({
|
||||
url: `/cw/monitoringManagement/${id}`,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 锁定绩效自评(单个)
|
||||
*/
|
||||
export function lockEvaluation(id: number): AxiosPromise<any> {
|
||||
return request({
|
||||
url: `/cw/monitoringManagement/lock/${id}`,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 解锁绩效自评(单个)
|
||||
*/
|
||||
export function unlockEvaluation(id: number): AxiosPromise<any> {
|
||||
return request({
|
||||
url: `/cw/monitoringManagement/unlock/${id}`,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量锁定绩效自评
|
||||
*/
|
||||
export function lockBatchEvaluation(ids: number[]): AxiosPromise<any> {
|
||||
return request({
|
||||
url: '/cw/monitoringManagement/lock/batch',
|
||||
method: 'post',
|
||||
data: ids
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量解锁绩效自评
|
||||
*/
|
||||
export function unlockBatchEvaluation(ids: number[]): AxiosPromise<any> {
|
||||
return request({
|
||||
url: '/cw/monitoringManagement/unlock/batch',
|
||||
method: 'post',
|
||||
data: ids
|
||||
})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user