31 lines
640 B
JavaScript
31 lines
640 B
JavaScript
import { stationurl,brigade } from "../../../../public/js/url.js";
|
|
function getYearStarTime(){
|
|
var data={
|
|
"brigade":brigade,
|
|
"type":"star"
|
|
}
|
|
var loginurl=stationurl+"/iotserver/school/timelabel/getlist";
|
|
return axios({
|
|
method: 'post',
|
|
url:loginurl,
|
|
data: data
|
|
})
|
|
}
|
|
|
|
function getYearColorTime(){
|
|
var data={
|
|
"brigade":brigade,
|
|
"type":"color"
|
|
}
|
|
var loginurl=stationurl+"/iotserver/school/timelabel/getlist";
|
|
return axios({
|
|
method: 'post',
|
|
url:loginurl,
|
|
data: data
|
|
})
|
|
}
|
|
|
|
export {
|
|
getYearStarTime,
|
|
getYearColorTime
|
|
} |