Views/Stats/Attendance/UserOvertime.aspx.cs
(开头部分) 11KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using MicroDTHelper;
using MicroFormHelper;
using MicroPublicHelper;
using MicroAuthHelper;
using MicroUserHelper;
public partial class Views_Stats_Attendance_UserOvertime : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
//动作Action 可选值Add、Modify、View
string Action = MicroPublic.GetFriendlyUrlParm(0);
txtAction.Value = Action;
string ShortTableName = MicroPublic.GetFriendlyUrlParm(1);
txtShortTableName.Value = ShortTableName;
string ModuleID = MicroPublic.GetFriendlyUrlParm(2);
txtMID.Value = ModuleID;
string CurrDate = DateTime.Now.toDateFormat();
txtDateRange.Value = CurrDate.toDateMFirstDay() + " ~ " + CurrDate.toDateMLastDay();
divScript.InnerHtml = MicroForm.GetLayCheckBoxTpl(ShortTableName, ModuleID);
//检查是否已经登录和页面唯一识别是否一致(ShortTableName)
MicroAuth.CheckAuth(ModuleID, ShortTableName);
//检查是否有页面浏览权限
MicroAuth.CheckBrowse(ModuleID);
//if (!MicroAuth.CheckPermit(ModuleID, "2"))
//{
// btnAddOpenLink.Disabled = true;
// btnAddOpenLink.Attributes.Add("class", "layui-btn layui-btn-disabled");
//}
//if (!MicroAuth.CheckPermit(ModuleID, "3"))
//{
// btnMore.Disabled = true;
// btnMore.Attributes.Add("class", "layui-btn layui-btn-disabled");
//}
//if (!MicroAuth.CheckPermit(ModuleID, "4"))
//{
// btnDel.Disabled = true;
// btnDel.Attributes.Add("class", "layui-btn layui-btn-disabled");
//}
if (!MicroAuth.CheckPermit(ModuleID, "11"))
{
link1ChangeDept.Attributes.Add("class", "");
link1ChangeDept.Attributes.Remove("lay-event");
后面还有 218 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
