anxiao_web/pages/newIndex/js/orgApi/getStartratingcompose.js

18 lines
520 B
JavaScript

import { stationurl,brigade } from "../../../../public/js/url.js";
import { starYearTimeList } from "../index.js";
function getStartRatingcompose(){
var data={
"brigade":brigade,
//"schoolTime":"2022年上半年"
"schoolTime":starYearTimeList[starYearTimeList.length-1]["schoolTime"]
}
var loginurl=stationurl+"/iotserver/school/star_rating/getcompose";
return axios({
method: 'post',
url:loginurl,
data: data
})
}
export {
getStartRatingcompose
}