Views/Forms/MicroFormList.aspx.cs
(开头部分) 6KB这里只显示每个文件的开头 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 System.Data.SqlClient;
using MicroDBHelper;
using MicroFormHelper;
using MicroPublicHelper;
using MicroAuthHelper;
using MicroDTHelper;
public partial class Views_Forms_MicroFormList : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
MicroAuth.CheckLogin();
// 动作Action 可选值Add、Modify、View、Draft
string Action = MicroPublic.GetFriendlyUrlParm(0);
txtAction.Value = Action;
string ShortTableName = MicroPublic.GetFriendlyUrlParm(1);
txtShortTableName.Value = ShortTableName;
string ModuleID = MicroPublic.GetFriendlyUrlParm(2);
txtMID.Value = ModuleID;
//检查是否有页面浏览权限
MicroAuth.CheckBrowse(ModuleID);
string FormID = MicroPublic.GetFriendlyUrlParm(3);
txtFormID.Value = FormID;
//主要用于点击外部超链接(通常通过外部超链接进入的是MicroFormList页面)时传入主键值,弹出该条数据的详细内容
string FormsID = MicroPublic.GetFriendlyUrlParm(4);
txtPrimaryKeyValue.Value = FormsID;
string FormNumber = MicroPublic.GetFriendlyUrlParm(5);
txtFormNumber.Value = FormNumber;
string DataType = MicroPublic.GetFriendlyUrlParm(6);
txtDataType.Value = DataType;
//显示批量审批按钮
if (DataType == "GetPendingMyApprovalList")
{
btnBatchAgree.Visible = true;
btnBatchReturn.Visible = true;
}
string StartDate = MicroPublic.GetFriendlyUrlParm(7);
if (string.IsNullOrEmpty(Server.UrlDecode(StartDate)))
StartDate = DateTime.Now.toDateFormat("yyyy-MM-dd");
txtStartDate.Value = StartDate;
string EndDate = MicroPublic.GetFriendlyUrlParm(8);
后面还有 108 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
