12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- import request from '@/utils/request'
- // 查询特种设备压力管道台账列表
- export function listSpecYlgd(query) {
- return request({
- url: '/sems/specYlgd/list',
- method: 'get',
- params: query
- })
- }
- // 查询特种设备压力管道台账详细
- export function getSpecYlgd(id) {
- return request({
- url: '/sems/specYlgd/' + id,
- method: 'get'
- })
- }
- /**
- * 查询特种设备压力管道的改造记录
- */
- export function getSpecYlgdByReform(devId) {
- return request({
- url: '/his/ylgd/reform/' + devId,
- method: 'get'
- })
- }
- // 新增特种设备压力管道台账
- export function addSpecYlgd(data) {
- return request({
- url: '/sems/specYlgd',
- method: 'post',
- data: data
- })
- }
- // 修改特种设备压力管道台账
- export function updateSpecYlgd(data) {
- return request({
- url: '/sems/specYlgd',
- method: 'put',
- data: data
- })
- }
- // 修改特种设备压力管道台账(申请)
- export function updateSpecYlgdPre(data) {
- return request({
- url: '/his/ylgd',
- method: 'post',
- data: data
- })
- }
- // 删除特种设备压力管道台账
- export function delSpecYlgd(id) {
- return request({
- url: '/sems/specYlgd/' + id,
- method: 'delete'
- })
- }
- // 导出特种设备压力管道台账
- export function exportSpecYlgd(query) {
- return request({
- url: '/sems/specYlgd/export',
- method: 'get',
- params: query
- })
- }
- // 导出特种设备压力管道台账
- export function exportSpecList(query) {
- return request({
- url: '/sems/specYlgd/exportDevList',
- method: 'post',
- data: query
- })
- }
- // 去重
- export function duplicate(query) {
- return request({
- url: '/sems/specYlgd/duplicate',
- method: 'get',
- params: query
- })
- }
|