Views/Home/Console.aspx.cs

(开头部分) 20KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MicroAuthHelper;
using MicroDBHelper;
using MicroPublicHelper;
using MicroUserHelper;

public partial class Views_home_Console : System.Web.UI.Page
{
    public string ModuleID = "0",
        AllQty = "0",
        YearQty = "0",
        MonthQty = "0",
        WeekQty = "0",
        DayQty = "0",
        MyQty = "0",

        MyApply = "0",  //我的申请
        MyApplyWaitApproval = "0", //我的申请等待审批
        MyApplyWaitAccept = "0",  //我的申请等待处理
        MyApplyAccepting = "0",  //我的申请等待处理
        MyApplyFinish = "0", //我的申请完成
        MyApplyReject = "0", //我的申请驳回
        MyApplyWithdrawal="0", //我的申请撤回

        PendingMyApproval = "0",  //等待我审批
        PendingMyAccept = "0",  //等待我处理
        Accepting = "0",  //处理中
        Finish = "0", //完成
        RunTime = "0",

        Disabled = "",

        CalendarPlanColor = string.Empty,
        CalendarActualColor = string.Empty,
        CalendarOvertimeColor = string.Empty,
        CalendarBusinessTripColor = string.Empty,
        CalendarHolidayColor = string.Empty,
        CalendarAbnormalColor = string.Empty;



    public Boolean AdminRole = false;

    protected void Page_Load(object sender, EventArgs e)
    {
        ModuleID = MicroPublic.GetFriendlyUrlParm(0);
        txtMID.Value = ModuleID;
        string UID = MicroUserInfo.GetUserInfo("UID");
        //DateTime beforeDT = DateTime.Now;

        //允许设置日历,休息日或法定日
        if (MicroAuth.CheckPermit(ModuleID, "3"))
        {
            ckSetCalendarDays.Visible = true;
后面还有 241 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。