fqsq.js 4.6 KB
import request from '@/utils/request'
import SERVER from './config'
// 转出
export function completeTask (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/business/workFlow/completeTask',
        method: 'post',
        data
    })
}
// 回退表格数据
export function getTaskBackNode (params) {
    return request({
        url: SERVER.SERVERAPI + '/rest/business/workFlow/getTaskBackNode',
        method: 'get',
        params: params
    })
}
//   退回确认接口
export function sendBackTask (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/business/workFlow/sendBackTask',
        method: 'post',
        data
    })
}
// 获取左侧列表
export function leftMenu (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/business/workFlow/leftMenu',
        method: 'post',
        data
    })
}
// 材料目录明细初始化
export function clmlInit (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/zhcx/clml/Init',
        method: 'post',
        data
    })
}

// 材料目录明细移动
export function move (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/zhcx/clml/move',
        method: 'post',
        data
    })
}

// 材料目录明细保存
export function save (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/zhcx/clml/save',
        method: 'post',
        data
    })
}

// 材料目录批量删除
export function clmlDelete (params) {
    return request({
        url: SERVER.SERVERAPI + '/rest/zhcx/clml/delete',
        method: 'delete',
        params: params
    })
}

// 获取下一环节信息
export function getNextLinkInfo (params) {
    return request({
        url: SERVER.SERVERAPI + '/rest/business/workFlow/getNextLinkInfo',
        method: 'get',
        params: params
    });
}

//获取单元对应的环节表单信息
export function getStepFormInfo (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/business/workFlow/getStepFormInfo',
        method: 'post',
        data
    });
}
// 环节扩展信息
export function stepExpandInfo (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/business/workFlow/stepExpandInfo',
        method: 'post',
        data
    })
}

// 获取审批意见
export function getSpyjList (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/business/workFlow/getSpyjList',
        method: 'post',
        data
    })
}

// 保存审批意见
export function saveSpyj (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/business/workFlow/saveSpyj',
        method: 'post',
        data
    })
}
// 根据受理申请保存审批意见
export function saveSpyjBySlsq (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/business/workFlow/saveSpyjBySlsq',
        method: 'post',
        data
    })
}
// 登簿接口
export function record (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/business/workFlow/record',
        method: 'post',
        data
    })
}
// 获取不动产权证列表
export function getBdcqzList (params) {
    return request({
        url: SERVER.SERVERAPI + '/rest/business/workFlow/getBdcqzList',
        method: 'get',
        params: params
    })
}
// 获取印刷序列号
export function readYsxlh (params) {
    return request({
        url: SERVER.SERVERAPI + '/rest/business/workFlow/readYsxlh',
        method: 'get',
        params: params
    })
}
// 缮证
export function certificate (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/business/workFlow/certificate',
        method: 'post',
        data
    })
}
// 作废缮证信息
export function invalidCertificate (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/business/workFlow/invalidCertificate',
        method: 'post',
        data
    })
}
// 缮证列表
export function getCertificateList (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/business/workFlow/getCertificateList',
        method: 'post',
        data
    })
}
// 发证
export function issueCertificate (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/business/workFlow/issueCertificate',
        method: 'post',
        data
    })
}
// 获取受理申请下全部不动产权证
export function getSlsqBdcqzList (params) {
    return request({
        url: SERVER.SERVERAPI + '/rest/business/workFlow/getSlsqBdcqzList',
        method: 'get',
        params
    })
}
// 终止任务
export function stopTask (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/business/workFlow/stopTask',
        method: 'post',
        data
    })
}