You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
118 lines
2.4 KiB
118 lines
2.4 KiB
import request from '@/axios'; |
|
|
|
// 获取月度指标数据 |
|
export const getMonthList = (params) =>{ |
|
return request({ |
|
url:'/api/blade-desk/QA/IndicatorMonth/list', |
|
method:'get', |
|
params |
|
}) |
|
} |
|
|
|
// 月份数据新增 |
|
export const addMonth = (data) =>{ |
|
return request({ |
|
url:'/api/blade-desk/QA/IndicatorMonth/saveBat', |
|
method:'post', |
|
data |
|
}) |
|
} |
|
|
|
// 月度数据删除 |
|
export const deleteMonth = (params) =>{ |
|
return request({ |
|
url:'/api/blade-desk/QA/IndicatorMonth/remove', |
|
method:'post', |
|
params |
|
}) |
|
} |
|
|
|
// 月度指标详情 |
|
export const getMonthDetail = (params) =>{ |
|
return request({ |
|
url:'/api/blade-desk/QA/IndicatorMonth/detail', |
|
method:'get', |
|
params |
|
}) |
|
} |
|
|
|
// 月度数据修改 |
|
export const editMonth = (data) =>{ |
|
return request({ |
|
url:'/api/blade-desk/QA/IndicatorMonth/update', |
|
method:'post', |
|
data |
|
}) |
|
} |
|
|
|
|
|
// 年度指标数据 |
|
export const getYearData = (params) =>{ |
|
return request({ |
|
url:'/api/blade-desk/QA/IndicatorYear/list', |
|
method:'get', |
|
params |
|
}) |
|
} |
|
|
|
// 年度指标类别下拉 |
|
export const getTypeList = () =>{ |
|
return request({ |
|
url:'/api/blade-system/dict/dictionary?code=IndicatorYear-IndicatorType', |
|
method:'get' |
|
}) |
|
} |
|
|
|
// 作业中心下拉接口 |
|
export const getWorkCenter = () =>{ |
|
return request({ |
|
url:'/api/blade-desk/BA/WorkCenter/listForSelect', |
|
method:'get' |
|
}) |
|
} |
|
|
|
// 年度指标新增 |
|
export const addYearData = (data) =>{ |
|
return request({ |
|
url:'/api/blade-desk/QA/IndicatorYear/save', |
|
method:'post', |
|
data |
|
}) |
|
} |
|
|
|
|
|
// 年度指标详情 |
|
export const getYearDetail = (params) =>{ |
|
return request({ |
|
url:'/api/blade-desk/QA/IndicatorYear/detail', |
|
method:'get', |
|
params |
|
}) |
|
} |
|
|
|
// 年度指标数据修改 |
|
export const editYearData = (data) =>{ |
|
return request({ |
|
url:'/api/blade-desk/QA/IndicatorYear/update', |
|
method:'post', |
|
data |
|
}) |
|
} |
|
|
|
// 年度指标删除 |
|
export const deleteYear = (params) =>{ |
|
return request({ |
|
url:'/api/blade-desk/QA/IndicatorYear/remove', |
|
method:'post', |
|
params |
|
}) |
|
} |
|
|
|
// 根据作业中心获取班组 |
|
export const getTeam = (params) =>{ |
|
return request({ |
|
url:'/api/blade-desk/BA/TeamSet/listForSelectByWcId', |
|
method:"get", |
|
params |
|
}) |
|
} |