Browse Source

44

wangmq
unknown 1 year ago
parent
commit
a5866f44d6
1 changed files with 12 additions and 12 deletions
  1. +12
    -12
      src/api/dashboard/index.js

+ 12
- 12
src/api/dashboard/index.js View File

@@ -4,7 +4,7 @@ import { defAxios as request } from '@/utils/http'
* @description: 获取巡检机场
* @return {*}
*/
export function airportList (params) {
export function airportList(params) {
return request({
url: '/inspection/airport',
method: 'GET',
@@ -16,7 +16,7 @@ export function airportList (params) {
* @description: 获取航线
* @return {*}
*/
export function airportLine (id) {
export function airportLine(id) {
return request({
url: `/inspection/airport/line/${id}`,
method: 'GET'
@@ -28,7 +28,7 @@ export function airportLine (id) {
* @param {*} id 机场id
* @return {*}
*/
export function airportWeather (id) {
export function airportWeather(id) {
return request({
url: `/inspection/airport/weather/${id}`,
method: 'GET'
@@ -40,7 +40,7 @@ export function airportWeather (id) {
* @param {*} id 机场id
* @return {*}
*/
export function airportTrack (id) {
export function airportTrack(id) {
return request({
url: `/inspection/track/${id}`,
method: 'GET'
@@ -52,7 +52,7 @@ export function airportTrack (id) {
* @param {*} id 机场id
* @return {*}
*/
export function missionLive (id) {
export function missionLive(id) {
return request({
url: `/mission/live/${id}`,
method: 'GET'
@@ -62,11 +62,11 @@ export function missionLive (id) {
* @description:获取机场详细信息
* @param id 机场id
*/
export function getAirportInfo (data) {
export function getAirportInfo(data) {
return request({
url: `/index/getAirportDetail`,
method: 'POST',
data
url: `/index/getAirportDetail?airportId=${data}`,
method: 'GET'
})
}
/**
@@ -74,7 +74,7 @@ export function getAirportInfo (data) {
* @param page 页数
* @param limit 每页显示数
*/
export function getMissionList (data) {
export function getMissionList(data) {
return request({
url: `/index/getMissionList`,
method: 'POST',
@@ -85,7 +85,7 @@ export function getMissionList (data) {
* @description:获取问题多选类型
*
*/
export function getQuestionType () {
export function getQuestionType() {
return request({
url: `/question/type`,
method: 'GET'
@@ -94,7 +94,7 @@ export function getQuestionType () {
/**
* @description:获取问题列表数据
*/
export function getQuestionList (data) {
export function getQuestionList(data) {
return request({
url: `/index/getQuestionList`,
method: 'POST',

Loading…
Cancel
Save