MyOAExx/Views/System/SignCount.cshtml
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
@{
ViewBag.Title = "SignCount";
Layout = "~/Views/_Master.cshtml";
}
@using OA.BLL;
@using OA.Models;
@{
IList<DepartInfo> deps = ViewData["Deps"] as IList<DepartInfo>;
int dep = ViewData["Dep"] == null ? 0 : int.Parse(ViewData["Dep"].ToString());
int countSign = ViewData["AllSign"] == null ? 0 : int.Parse(ViewData["AllSign"].ToString());
UserInfo u = Session["User"] as UserInfo;
DateTime t1 = DateTime.Parse(DateTime.Now.ToShortDateString());
DateTime t2 = DateTime.Now;
}
<script type="text/javascript">
function Success(data) {
if (data != null && data.length != undefined) {
console.log(data);
console.log(data.length);
var result = "";
for (index = 0; index < data.length; index++) {
result += "<div>" + data[index].UserName + "</div>";
}
console.log(result);
$("#sign").html(result);
} else {
$("#sign").html("没有签卡的员工");
}
}
function Before() {
$("#Loading").show();
}
function Error(a, b, c) {
alert(b.responseText);
}
function Complete() {
$("#Loading").hide();
}
function GetUserSign(dep) {
console.log(dep);
$.ajax({
type: "POST",
contentType: "application/json",
//data:data
dataType: 'json',
data: "{ 'dep': '" + dep + "'}",
//url:url
url: "/System/SelUserSign",
beforeSend: Before,
后面还有 38 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。