提交
This commit is contained in:
1 parent
aec39f984b
commit
e772cd1435
55 files changed
+4466
-652
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import type { AxiosPromise } from 'axios'
|
||||
import type { CwProjectPerformanceSelfEvaluationVO, CwProjectPerformanceSelfEvaluationQuery } from './performanceEvaluation'
|
||||
import request from '@/utils/request';
|
||||
import type { AxiosPromise } from 'axios';
|
||||
import type { CwProjectPerformanceSelfEvaluationVO, CwProjectPerformanceSelfEvaluationQuery } from './performanceEvaluation';
|
||||
|
||||
/**
|
||||
* 运行监控管理API
|
||||
@@ -11,7 +11,7 @@ import type { CwProjectPerformanceSelfEvaluationVO, CwProjectPerformanceSelfEval
|
||||
* 运行监控管理查询对象
|
||||
*/
|
||||
export interface MonitoringManagementQuery extends CwProjectPerformanceSelfEvaluationQuery {
|
||||
isLocked?: number
|
||||
isLocked?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -22,7 +22,7 @@ export function listMonitoringManagement(query: MonitoringManagementQuery): Axio
|
||||
url: '/cw/monitoringManagement/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -32,7 +32,7 @@ export function getMonitoringManagement(id: number): AxiosPromise<CwProjectPerfo
|
||||
return request({
|
||||
url: `/cw/monitoringManagement/${id}`,
|
||||
method: 'get'
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -42,7 +42,7 @@ export function lockEvaluation(id: number): AxiosPromise<any> {
|
||||
return request({
|
||||
url: `/cw/monitoringManagement/lock/${id}`,
|
||||
method: 'post'
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -52,7 +52,7 @@ export function unlockEvaluation(id: number): AxiosPromise<any> {
|
||||
return request({
|
||||
url: `/cw/monitoringManagement/unlock/${id}`,
|
||||
method: 'post'
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -63,7 +63,7 @@ export function lockBatchEvaluation(ids: number[]): AxiosPromise<any> {
|
||||
url: '/cw/monitoringManagement/lock/batch',
|
||||
method: 'post',
|
||||
data: ids
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -74,6 +74,5 @@ export function unlockBatchEvaluation(ids: number[]): AxiosPromise<any> {
|
||||
url: '/cw/monitoringManagement/unlock/batch',
|
||||
method: 'post',
|
||||
data: ids
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user