yudao-init/src/api/produceData/index.js
2024-05-17 10:31:47 +08:00

42 lines
874 B
JavaScript

/*
* @Author: zhp
* @Date: 2024-05-07 08:54:59
* @LastEditTime: 2024-05-14 15:43:50
* @LastEditors: zhp
* @Description:
*/
import request from '@/utils/request'
// 查询部门列表
export function getProduceDataPage(data) {
return request({
url: 'ip/prod-output/prodOutputDataPage',
method: 'post',
data: data
})
}
export function getProduceDataDetail(data){
return request({
url: '/ip/prod-output/get=' + id,
method: 'get',
query: data
})
}
// export function cockpitDataMonitor(data) {
// return request({
// url: '/ip/prod-output/cockpitDataMonitor',
// method: 'post',
// data: data
// })
// }
export function cockpitDataMonitor(query) {
return request({
url: 'https://restapi.amap.com/v3/weather/weatherInfo?key=95bdbdc1c387a170105f84cd416c4c9f&city=110108',
method: 'get',
query: query
})
}