sysSqdjyw.js 1.59 KB
/*
 * @Description: 申请登记业务规则
 * @Autor: renchao
 * @LastEditTime: 2023-05-16 16:02:32
 */

import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))

/**
 * @description: 申请业务规则API-根据条件进行列表查询
 * @param {*} data
 * @author: renchao
 */
export function getSysSqdjywBysearch (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/getSysSqdjywBysearch',
    method: 'post',
    data
  })
}

/**
 * @description: 获取登记类型信息-申请业务规则
 * @param {*} id
 * @author: renchao
 */
export function getDjlxInfo (id) {
  return request({
    url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/getDjlxInfo?parentid=' + id,
    method: 'post'
  })
}

/**
 * @description: 获取登记类型信息-申请业务规则
 * @param {*} id
 * @author: renchao
 */
export function getQllxByBsmSqyw (id) {
  return request({
    url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/getQllxByBsmSqyw?bsmSqyw=' + id,
    method: 'post'
  })
}


/**
 * @description: 读取申请登记业务信息-申请业务规则
 * @param {*} bsmSqyw
 * @author: renchao
 */
export function getSqdjywDetail (bsmSqyw) {
  return request({
    url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/getSqdjywDetail?bsmSqyw=' + bsmSqyw,
    method: 'get'
  })
}
/**
 * @description: 保存登记业务信息-申请业务规则
 * @param {*} data
 * @author: renchao
 */
export function saveSqdjyw (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/system/sysSqdjyw/saveSqdjyw',
    method: 'post',
    data
  })
}