import { layuiObj } from "../index.js"; import { stationurl } from "../../../../public/js/url.js"; function getEntranceStaffSign(data){ var obj={ "brigade":data["brigade"], "borough":data["borough"], "detachment":data["detachment"], "station":data["name"] } var loginurl=stationurl+"/firectrl/client/sensor/entrance/staff_sign_list"; return axios({ method: 'post', url:loginurl, data: obj }) } function showEntranceStaffSign(data){ var tempData=[]; var tempObj={}; for(var i=0;i
`, success: function(layero){ layuiObj.layuitable.render({ elem:'#clockInfTable', data:clockInfo, cols: [[ {field:'persionName', width:"24%", title: '姓名'}, {field:'post', width:"24%", title: '职务'}, {field:'time', width:"50%", title: '打卡时间'}, ]], limit:Number.MAX_VALUE // 数据表格默认全部显示 }); } }); } export { getEntranceStaffSign, showEntranceStaffSign }