/*
 * @Author: zc
 * @description 工单甄别
 */
import request from '/@/utils/request';
/**
 * @description 工单待申请甄别列表
 * @param {object} params
 */
export const screenApplyList = (params: object) => {
    return request({
        url: `/api/v1/Order/mayscreen`,
        method: 'get',
        params
    });
};
/**
 * @description 工单甄别列表
 * @param {object} params
 */
export const screenList = (params: object) => {
    return request({
        url: `/api/v1/Order/screen`,
        method: 'get',
        params
    });
};
/**
 * @description 甄别列表页基础数据
 */
export const screenBaseData = () => {
    return request({
        url: `/api/v1/Order/screen/base`,
        method: 'GET',
    });
};
/**
 * @description 甄别详情
 * @param {string} id
 */
export const screenDetail = (id: string) => {
    return request({
        url: `/api/v1/Order/screen/${id}`,
        method: 'get',
    });
};
/**
 * @description 发起甄别（申请甄别）开启流程
 * @param {object} data
 */
export const discernApply = (data: object) => {
    return request({
        url: `/api/v1/Order/screen/startflow`,
        method: 'post',
        data
    });
};
/**
 * @description 查询工单甄别流程开启参数
 */
export const workflowDiscernParams = () => {
    return request({
        url: `/api/v1/Order/screen/startflow`,
        method: 'get'
    });
};