修改分布图获取设备接口
This commit is contained in:
parent
84428dba0a
commit
0878434b03
@ -13,8 +13,8 @@ import {get,post,put} from "@/utils/http"
|
||||
export function getSensorInfodata(){
|
||||
return get('/device/getSensorInfo')
|
||||
}
|
||||
export function deviceDistributeInMachineryFactorydata(){
|
||||
return get('/device/deviceDistributeInMachineryFactory')
|
||||
export function deviceDistributeInMachineryFactorydata(data){
|
||||
return get('/device/deviceDistributeInMachineryFactory',data)
|
||||
}
|
||||
|
||||
export function getSensorInfoByType(data){
|
||||
|
@ -310,6 +310,7 @@ export default {
|
||||
'工作时间':'工作时间',
|
||||
'空闲时间':'空闲时间',
|
||||
'智能货架物联管理系统':'智能货架物联管理系统',
|
||||
'微工厂':'微工厂',
|
||||
'微工厂':'微工厂',
|
||||
'微工厂环境实时监测系统':'微工厂环境实时监测系统',
|
||||
}
|
||||
}
|
@ -311,5 +311,6 @@ export default {
|
||||
'空闲时间':'空闲时间',
|
||||
'智能货架物联管理系统':'智能货架物联管理系统',
|
||||
'微工厂':'微工厂',
|
||||
'微工厂环境实时监测系统':'微工厂环境实时监测系统',
|
||||
}
|
||||
}
|
@ -263,6 +263,11 @@ const routes: Array<RouteRecordRaw> = [
|
||||
name: "intelligentShelves",
|
||||
component: () => import("../views/intelligentShelves/index.vue"),
|
||||
},
|
||||
{
|
||||
path: "/MicEnvironment",
|
||||
name: "MicEnvironment",
|
||||
component: () => import("../views/MicEnvironment/index.vue"),
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
@ -56,7 +56,7 @@ async function getSensorInfodatafun() {
|
||||
}
|
||||
//获取设备列表
|
||||
async function deviceDistributeInMachineryFactorydatafun() {
|
||||
let result: any = await deviceDistributeInMachineryFactorydata();
|
||||
let result: any = await deviceDistributeInMachineryFactorydata({ids:'6,7,9,10,11'});
|
||||
|
||||
if (result.code == 200) {
|
||||
store.setdevList(result.data);
|
||||
|
@ -48,7 +48,7 @@ async function getSensorInfodatafun() {
|
||||
}
|
||||
//获取设备列表
|
||||
async function deviceDistributeInMachineryFactorydatafun() {
|
||||
let result: any = await deviceDistributeInMachineryFactorydata();
|
||||
let result: any = await deviceDistributeInMachineryFactorydata({ids:'6,7,8,9,10,11'});
|
||||
|
||||
if (result.code == 200) {
|
||||
|
||||
|
@ -48,7 +48,7 @@ async function getSensorInfodatafun() {
|
||||
}
|
||||
//获取设备列表
|
||||
async function deviceDistributeInMachineryFactorydatafun() {
|
||||
let result: any = await deviceDistributeInMachineryFactorydata();
|
||||
let result: any = await deviceDistributeInMachineryFactorydata({ids:'6,7,8,9,10,11'});
|
||||
|
||||
if (result.code == 200) {
|
||||
|
||||
|
@ -60,7 +60,7 @@ async function getSensorInfodatafun() {
|
||||
}
|
||||
//获取设备列表
|
||||
async function deviceDistributeInMachineryFactorydatafun() {
|
||||
let result: any = await deviceDistributeInMachineryFactorydata();
|
||||
let result: any = await deviceDistributeInMachineryFactorydata({ids:'6,7,9,10,11'});
|
||||
|
||||
if (result.code == 200) {
|
||||
// setTimeout(() => {
|
||||
|
@ -60,7 +60,7 @@ async function getSensorInfodatafun() {
|
||||
}
|
||||
//获取设备列表
|
||||
async function deviceDistributeInMachineryFactorydatafun() {
|
||||
let result: any = await deviceDistributeInMachineryFactorydata();
|
||||
let result: any = await deviceDistributeInMachineryFactorydata({ids:'6,7,9,10,11'});
|
||||
|
||||
if (result.code == 200) {
|
||||
// setTimeout(() => {
|
||||
|
@ -60,7 +60,7 @@ async function getSensorInfodatafun() {
|
||||
}
|
||||
//获取设备列表
|
||||
async function deviceDistributeInMachineryFactorydatafun() {
|
||||
let result: any = await deviceDistributeInMachineryFactorydata();
|
||||
let result: any = await deviceDistributeInMachineryFactorydata({ids:'6,7,9,10,11'});
|
||||
|
||||
if (result.code == 200) {
|
||||
|
||||
|
@ -58,7 +58,7 @@ async function getSensorInfodatafun() {
|
||||
}
|
||||
//获取设备列表
|
||||
async function deviceDistributeInMachineryFactorydatafun() {
|
||||
let result: any = await deviceDistributeInMachineryFactorydata();
|
||||
let result: any = await deviceDistributeInMachineryFactorydata({ids:'6,7,9,10,11'});
|
||||
|
||||
if (result.code == 200) {
|
||||
store.setdevList({"焊接车间":result.data['焊接车间']});
|
||||
|
@ -58,7 +58,7 @@ async function getSensorInfodatafun() {
|
||||
}
|
||||
//获取设备列表
|
||||
async function deviceDistributeInMachineryFactorydatafun() {
|
||||
let result: any = await deviceDistributeInMachineryFactorydata();
|
||||
let result: any = await deviceDistributeInMachineryFactorydata({ids:'6,7,9,10,11'});
|
||||
|
||||
if (result.code == 200) {
|
||||
store.setdevList({"机加车间":result.data['机加车间']});
|
||||
|
@ -56,7 +56,7 @@ async function getSensorInfodatafun() {
|
||||
}
|
||||
//获取设备列表
|
||||
async function deviceDistributeInMachineryFactorydatafun() {
|
||||
let result: any = await deviceDistributeInMachineryFactorydata();
|
||||
let result: any = await deviceDistributeInMachineryFactorydata({ids:'6,7,9,10,11'});
|
||||
|
||||
if (result.code == 200) {
|
||||
store.setdevList({"精加车间":result.data['精加车间']});
|
||||
|
@ -59,7 +59,7 @@ async function getSensorInfodatafun() {
|
||||
}
|
||||
//获取设备列表
|
||||
async function deviceDistributeInMachineryFactorydatafun() {
|
||||
let result: any = await deviceDistributeInMachineryFactorydata();
|
||||
let result: any = await deviceDistributeInMachineryFactorydata({ids:'6,7,9,10,11'});
|
||||
|
||||
if (result.code == 200) {
|
||||
store.setdevList({"精饰车间":result.data['精饰车间']});
|
||||
|
Loading…
Reference in New Issue
Block a user