Commit 80461e33 authored by yanzhengyang's avatar yanzhengyang

refactor(CCAP控制计划管理):查看编制页面接口、查看变更履历页面接口

parent d8ce7c37
import request from '@/utils/request.js' import request from '@/utils/request.js'
// 查询CCAP控制计划审批和描述列表 // 查询CCAP控制计划审批和描述列表
export function getCCAPPlanDescriptions(controlPlanId) { export function getCCAPPlanDescriptions(id,taskType) {
return request({ return request({
url: '/control/compilationTask/' + controlPlanId, url: '/control/compilationTask/getCompilationTaskInfo',
method: 'get', method: 'get',
params: {
controlPlanId: id,
taskType
}
}) })
} }
...@@ -18,10 +22,13 @@ export function getCCAPPlanKeyList(query) { ...@@ -18,10 +22,13 @@ export function getCCAPPlanKeyList(query) {
} }
// 查询CCAP控制计划变更履历列表 // 查询CCAP控制计划变更履历列表
export function getCCAPPlanChangeList(query) { export function getCCAPPlanChangeList(controlPlanId,taskId) {
return request({ return request({
url: '/control/ccapPlan/changeLog/list', url: '/control/ccapPlan/changeLog/list',
method: 'get', method: 'get',
params: query params: {
controlPlanId,
taskId
}
}) })
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment