- import request from '@/utils/request';
- // 信息
- export function patrolTaskpage(query) {
- return request({
- url: '/business/patrolTask/page',
- method: 'get',
- params: query,
- });
- }
- export function patrolTasklist(query) {
- return request({
- url: '/business/patrolTask/list',
- method: 'get',
- params: query,
- });
- }
- // // 搜索巡查任务
- export function PatrolTaskID(id) {
- return request({
- url: '/business/patrolTask/' + id,
- method: 'get',
- });
- }
- // 新增
- export function patrolTaskadd(data) {
- return request({
- url: '/business/patrolTask/add',
- method: 'post',
- data: data,
- });
- }
-
- export function patrolBasicInfopage(query) {
- return request({
- url: '/business/patrolBasicInfo/list',
- method: 'get',
- params: query,
- });
- }
-
- export function patrolProblempage(query) {
- return request({
- url: '/business/patrolProblem/page',
- method: 'get',
- params: query,
- });
- }
-
- export function patrolProblemlist(query) {
- return request({
- url: '/business/patrolProblem/list',
- method: 'get',
- params: query,
- });
- }