cfdjFlow.js 971 Bytes
import request from '@/utils/request'

// 初始化内容
export function Init(data) {
    let apiUrl = "";
    switch (data.get("sqywbm")) {
        case "B39300":
            apiUrl = "/ywbl/cfdj/xfInit";
            break;
        case "B39400":
            apiUrl = "/ywbl/cfdj/jfInit";
            break;
        case "B39800":
            apiUrl = "/ywbl/cfdj/cfInit";
            break;
    }
    return request({
        url: apiUrl,
        method: 'post',
        data
    })
}

//批量查封
export function cfBatchInit (data) {
    return request({
        url: '/ywbl/cfdj/cfBatchInit',
        method: 'post',
        data
    })
}

// 数据保存
export function saveData (data) {
    return request({
        url: '/ywbl/cfdj/saveData',
        method: 'post',
        data
    })
}

// 批量数据保存
export function batchSaveData (data) {
    return request({
        url: '/ywbl/cfdj/batchSaveData',
        method: 'post',
        data
    })
}