import request from '@/utils/request' export function getLineData() { return request({ url: 'qdtl/common/railwayLine', method: 'get' }) } export function getResource(query) { console.log(query); return request({ url: 'qdtl/common/resource?date='+query.date, method: 'get', params:query }) } export function getgovern(query) { console.log(query); return request({ url: 'qdtl/common/govern?date=2022-03-12', method: 'get', params:query }) } export function getSchedule(query) { return request({ url: '/qdtl/plan/getSchedule', method: 'get', params:query }) } export function getVideoHttp(query) { return request({ url: '/qdtl/common/rtmp/'+query, method: 'get', params:query }) } export function queryCheck(query) { return request({ url: '/qdtl/document/queryCheck', method: 'get', params:query }) } export function documentSave(query) { return request({ url: '/qdtl/document', method: 'post', data: query }) } export function getPatrolman(query) { return request({ url: '/qdtl/patrolman/list', method: 'get', params:query }) } // export function queryCheck(query) { // console.log(query); // return request({ // url: '/qdtl/document/queryCheck/'+query, // method: 'get', // param:query // }) // }