anxiao_web/pages/cmddispatch/js/orgApi/getSkynetIpcList.js

30 lines
892 B
JavaScript

import { stationurl,brigade } from "../../../../public/js/url.js";
import {drawSkynetIpcMarker} from "../marker/skynetIpcMarker.js"
import {stationInfoTableList} from "../index.js"
import { showSchoolBaseInfo } from "../schoolBaseInfo.js";
function showSkynetIpcInfo(){
drawSkynetIpcMarker();
//显示第一个学校的数据
// for(var i=0;i<stationInfoTableList.length;i++){
// var name=stationInfoTableList[i]["name"];
// if(name=="实验小学"){
// showSchoolBaseInfo(stationInfoTableList[i]);
// }
// }
}
function getSkynetIpcList(){
var data={
"brigade":brigade,
"pageindex":0,
"pagesize":1000
}
var loginurl=stationurl+"/firectrl/client/skynet_ipc/getlist";
return axios({
method: 'post',
url:loginurl,
data: data
})
}
export {getSkynetIpcList,showSkynetIpcInfo}