system.js 1.66 KB
import request from '@/utils/request'
/* 
系统管理    
申请业务规则API-根据条件进行列表查询
*/
export function getSysSqdjywBysearch (data) {
  return request({
    url: '/service-bdcdj/rest/system/sysSqdjyw/getSysSqdjywBysearch',
    method: 'post',
    data,
    showLoading: true
  })
}
/* 
获取登记类型信息-申请业务规则
*/
export function getDjlxInfo (id) {
  return request({
    url: '/service-bdcdj/rest/system/sysSqdjyw/getDjlxInfo?parentid=' + id,
    method: 'post'
  })
}

/* 
读取申请登记业务信息-申请业务规则
*/
export function getSqdjywDetail (bsmSqyw) {
  return request({
    url: '/service-bdcdj/rest/system/sysSqdjyw/getSqdjywDetail?bsmSqyw=' + bsmSqyw,
    method: 'get'
  })
}
/* 
保存登记业务信息-申请业务规则
*/
export function saveSqdjyw (data) {
  return request({
    url: '/service-bdcdj/rest/system/sysSqdjyw/saveSqdjyw',
    method: 'post',
    data,
    showLoading: true,
    loadingTarget: '正在保存中...'
  })
}

/* 
其他及附记模板-列表详情
*/
export function sysSqywmbszSearch (data) {
  return request({
    url: '/service-bdcdj/rest/system/sysSqywmbsz/search',
    method: 'post',
    data,
    showLoading: true
  })
}
/* 
其他及附记模板-读取明细
*/
export function getSysSqywmbszDetailById (id) {
  return request({
    url: '/service-bdcdj/rest/system/sysSqywmbsz/getSysSqywmbszDetailById?id=' + id,
    method: 'get'
  })
}
/* 
其他及附记模板-修改申请业务模板设置
*/
export function updateSysSqywmbsz (data) {
  return request({
    url: '/service-bdcdj/rest/system/sysSqywmbsz/updateSysSqywmbsz',
    method: 'put',
    data,
    showLoading: true
  })
}