| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- import request from '@/router/axios';
- export const getPage = (current, size, params) => {
- return request({
- url: '/api/galaxy-business/rtu/warning/page',
- method: 'get',
- params: {
- current,
- size,
- ...params
- }
- })
- }
- export const getDetail = (params) => {
- return request({
- url: '/api/galaxy-business/rtu/warning/detail',
- method: 'get',
- params: {
- ...params
- }
- })
- }
- // 维修列表
- export const getOrderList = (current, size, params) => {
- return request({
- url: '/api/galaxy-business/rtu/check/order/page',
- method: 'get',
- params: {
- current,
- size,
- ...params
- }
- })
- }
- // 维修列表
- export const getProcessList = (current, size, params) => {
- return request({
- url: '/api/galaxy-business/rtu/check/order/process/page',
- method: 'get',
- params: {
- current,
- size,
- ...params
- }
- })
- }
- // 维修工单关闭
- export const close = (params) => {
- return request({
- url: '/api/galaxy-business/rtu/check/order/close',
- method: 'post',
- data: {
- ...params
- }
- })
- }
- export const remove = (params) => {
- return request({
- url: '/api/galaxy-business/rtu/check/order/close',
- method: 'post',
- data: {
- ...params
- }
- })
- }
- // 预警信息
- export const getWrningInfo = (params) => {
- return request({
- url: '/api/galaxy-business/rtu/warning/page',
- method: 'post',
- data: {
- ...params
- }
- })
- }
|