123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- // 质量月报
- import request from '@/utils/request'
- import { projectManagementUrl } from '@/apiConfig/api'
- // 获取月报
- export function getMonthlyReport(reportId) {
- return request({
- url: projectManagementUrl + '/monthlyReport/get',
- method: 'get',
- params: {
- reportId
- }
- })
- }
- // 删除月报
- export function delMonthlyReport(reportId) {
- return request({
- url: projectManagementUrl + '/monthlyReport/delete',
- method: 'get',
- params: {
- reportId
- }
- })
- }
- // 更新整个月报
- export function updateMonthlyReport(data) {
- return request({
- url: projectManagementUrl + '/monthlyReport/update',
- method: 'post',
- data
- })
- }
- // 仅更新子月报
- export function updatSettingMonthlyReport(data) {
- return request({
- url: projectManagementUrl + '/monthlyReport/updatSetting',
- method: 'post',
- data
- })
- }
- // 获取完整报告
- /**
- *
- * @param data[reportId] 月报ID(93|94)
- * @param data[catalogTitle] (上月问题跟进|本月重点问题|服务端详情|客户端详情|硬件详情|本月优秀&持续改进)
- * @returns {*}
- */
- export function getAllSubReportCatalog(data) {
- return request({
- url: projectManagementUrl + '/monthlyReport/getAllSubReportCatalog',
- method: 'post',
- data
- })
- }
- // 更新反馈信息
- export function updateAnalyticFeedback(data) {
- return request({
- url: projectManagementUrl + '/monthlyReport/updateAnalyticFeedback',
- method: 'post',
- data
- })
- }
- // 获取部门数据
- export function getReportDependence(params) {
- return request({
- url: projectManagementUrl + '/monthlyReport/getReportDependence',
- method: 'get',
- params
- })
- }
- // 月报发送确认
- export function sendConfirm(data) {
- return request({
- url: projectManagementUrl + '/monthlyReport/sendConfirm',
- method: 'post',
- data
- })
- }
- // 子月报发送确认
- export function sendSubConfirm(data) {
- return request({
- url: projectManagementUrl + '/monthlyReport/confirm',
- method: 'post',
- data
- })
- }
- // 月报回退 /monthlyReport/returnReport subReportIds
- export function returnReport(data) {
- return request({
- url: projectManagementUrl + '/monthlyReport/returnReport',
- method: 'post',
- data
- })
- }
- // 获取子月报
- export function getSubReport(params) {
- return request({
- url: projectManagementUrl + '/monthlyReport/subReport/get',
- method: 'get',
- params
- })
- }
- // 月报发布
- export function publishReport(data) {
- return request({
- url: projectManagementUrl + '/monthlyReport/publish',
- method: 'post',
- data
- })
- }
|