sysSqywmbsz.js 1.04 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: 其他及附记模板-列表详情
 * @param {*} data
 * @author: renchao
 */
export function sysSqywmbszSearch (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/system/sysSqywmbsz/search',
    method: 'post',
    data
  })
}

/**
 * @description: 其他及附记模板-读取明细
 * @param {*} id
 * @author: renchao
 */
export function getSysSqywmbszDetailById (id) {
  return request({
    url: SERVER.SERVERAPI + '/rest/system/sysSqywmbsz/getSysSqywmbszDetailById?id=' + id,
    method: 'get'
  })
}
/**
 * @description: 其他及附记模板-修改申请业务模板设置
 * @param {*} data
 * @author: renchao
 */
export function updateSysSqywmbsz (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/system/sysSqywmbsz/updateSysSqywmbsz',
    method: 'put',
    data
  })
}