This commit is contained in:
2021-08-30 21:49:56 +08:00
parent 969c81925b
commit 8ce6070be5
110 changed files with 967 additions and 106 deletions
+2
View File
@@ -822,6 +822,7 @@ namespace BLL
{
newPerson.Isprint = "0";
newPerson.PersonId = SQLHelper.GetNewID();
newPerson.IsCardNoOK = IDCardValid.CheckIDCard(person.IdentityCard);
db.SitePerson_Person.InsertOnSubmit(newPerson);
db.SubmitChanges();
CodeRecordsService.InsertCodeRecordsByMenuIdProjectIdUnitId(Const.PersonListMenuId, person.ProjectId, person.UnitId, person.PersonId, newPerson.InTime);
@@ -901,6 +902,7 @@ namespace BLL
getPerson.RealNameUpdateTime = null;
getPerson.IsForeign = person.IsForeign;
getPerson.IsOutside = person.IsOutside;
getPerson.IsCardNoOK = IDCardValid.CheckIDCard(getPerson.IdentityCard);
db.SubmitChanges();
}
if (!string.IsNullOrEmpty(newPerson.PersonId))
+2
View File
@@ -710,6 +710,8 @@
<Compile Include="ZHGL\ProjectAccident\AccidentStatisticsService.cs" />
<Compile Include="ZHGL\ProjectAccident\ProjectAccidentReportService.cs" />
<Compile Include="ZHGL\RealName\BasicDataService.cs" />
<Compile Include="ZHGL\RealName\RealName_ProjectService.cs" />
<Compile Include="ZHGL\RealName\OnPostService.cs" />
<Compile Include="ZHGL\RealName\LeavePostService.cs" />
<Compile Include="ZHGL\RealName\CityService.cs" />
<Compile Include="ZHGL\RealName\CountryService.cs" />
+15
View File
@@ -590,5 +590,20 @@ namespace BLL
}
}
#endregion
/// <summary>
/// 获取年龄
/// </summary>
/// <param name="birthDate"></param>
/// <param name="now"></param>
/// <returns></returns>
public static int CalculateAgeCorrect(DateTime birthDate)
{
DateTime now = DateTime.Now;
int age = now.Year - birthDate.Year;
if (now.Month < birthDate.Month || (now.Month == birthDate.Month && now.Day < birthDate.Day)) age--;
return age;
}
}
}
+4
View File
@@ -16,6 +16,10 @@ namespace BLL
/// <returns>验证成功为True,否则为False</returns>
public static bool CheckIDCard(string Id)
{
if (string.IsNullOrEmpty(Id))
{
return false;
}
if (Id.Length == 18)
{
bool check = CheckIDCard18(Id);
@@ -410,6 +410,7 @@ namespace BLL
Nation = person.Nation,
CountryCode = person.CountryCode,
ProvinceCode = person.ProvinceCode,
IsCardNoOK=IDCardValid.CheckIDCard(person.IdentityCard),
};
if (person.InTime.HasValue)
@@ -500,6 +501,7 @@ namespace BLL
newPerson.Nation = person.Nation;
newPerson.CountryCode = person.CountryCode;
newPerson.ProvinceCode = person.ProvinceCode;
newPerson.IsCardNoOK = IDCardValid.CheckIDCard(person.IdentityCard);
db.SubmitChanges();
}
}
+113
View File
@@ -0,0 +1,113 @@
using FineUIPro;
using System;
using System.Collections;
using System.Linq;
namespace BLL
{
public static class OnPostService
{
public static Model.SGGLDB db = Funs.DB;
#region
/// <summary>
/// 记录数
/// </summary>
public static int count
{
get;
set;
}
/// <summary>
/// 定义变量
/// </summary>
private static IQueryable<Model.SitePerson_Person> getDataLists = from x in db.SitePerson_Person
where x.IsUsed == true
select x;
/// <summary>
///
/// </summary>
/// <param name="projectId"></param>
/// <param name="personName"></param>
/// <param name="identityCard"></param>
/// <param name="Grid1"></param>
/// <returns></returns>
public static IEnumerable getListData(string projectId, string personName, string identityCard, string rblStates, string rbInfo, string rbIDCardNo, string rbRealName,
Grid Grid1)
{
IQueryable<Model.SitePerson_Person> getDataList = getDataLists;
if (projectId != Const._Null && !string.IsNullOrEmpty(projectId))
{
getDataList = getDataList.Where(x => x.ProjectId == projectId);
}
if (!string.IsNullOrEmpty(personName))
{
getDataList = getDataList.Where(x => x.PersonName.Contains(personName));
}
if (!string.IsNullOrEmpty(identityCard))
{
getDataList = getDataList.Where(x => x.IdentityCard.Contains(identityCard));
}
if (rblStates == "1")
{
getDataList = getDataList.Where(x => !x.OutTime.HasValue);
}
if (rblStates == "0")
{
getDataList = getDataList.Where(x => x.OutTime.HasValue);
}
if (rbInfo == "1")
{
getDataList = getDataList.Where(x => x.HeadImage != null && x.IsCardNoOK ==true);
}
if (rbInfo == "0")
{
getDataList = getDataList.Where(x => x.HeadImage == null || x.IsCardNoOK ==false);
}
if (rbInfo == "1")
{
getDataList = getDataList.Where(x => x.IsCardNoOK == true);
}
if (rbInfo == "0")
{
getDataList = getDataList.Where(x =>x.IsCardNoOK == false);
}
if (rbRealName == "1")
{
getDataList = getDataList.Where(x => x.RealNameAddTime.HasValue);
}
if (rbRealName == "0")
{
getDataList = getDataList.Where(x => !x.RealNameAddTime.HasValue);
}
count = getDataList.Count();
if (count == 0)
{
return null;
}
getDataList = SortConditionHelper.SortingAndPaging(getDataList, Grid1.SortField, Grid1.SortDirection, Grid1.PageIndex, Grid1.PageSize);
return from x in getDataList
select new
{
x.PersonId,
x.IdentityCard,
x.PersonName,
x.ProjectId,
//db.Base_Project.First(y => x.ProjectId == y.ProjectId).ShortName,
SexName = x.Sex == "1" ? "男" : "女",
x.InTime,
x.OutTime,
x.Birthday,
x.CountryCode,
x.ProvinceCode,
db.ProjectData_TeamGroup.First(z => x.TeamGroupId == z.TeamGroupId).TeamGroupName,
db.Base_WorkPost.First(z => x.WorkPostId == z.WorkPostId).WorkPostName,
IsPostName = x.OutTime.HasValue ? "是" : "否",
};
}
#endregion
}
}
@@ -0,0 +1,42 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BLL
{
public static class RealName_ProjectService
{
public static Model.SGGLDB db = Funs.DB;
/// <summary>
///
/// </summary>
/// <returns></returns>
public static List<Model.RealName_Project> GetRealName_ProjectList()
{
return (from x in Funs.DB.RealName_Project orderby x.ProCode select x).ToList();
}
/// <summary>
///
/// </summary>
/// <param name="proCode"></param>
/// <returns></returns>
public static string GeJTproCodeByproCode(string proCode)
{
string code = string.Empty;
var project = Funs.DB.RealName_Project.FirstOrDefault(e => e.ProCode == proCode);
if (project != null)
{
code = project.JTproCode;
if (string.IsNullOrEmpty(code))
{
code = project.ProCode;
}
}
return code;
}
}
}
+24 -15
View File
@@ -502,7 +502,7 @@ namespace BLL
JArray arr = JArray.Parse(obj["data"].ToString());
foreach (var item in arr)
{
proCode = item["proCode"].ToString();
string JTproCode = item["proCode"].ToString();
string proName = item["proName"].ToString();
string proShortName = item["proShortName"].ToString();
if (!string.IsNullOrEmpty(proCode))
@@ -512,6 +512,7 @@ namespace BLL
{
getProject.ProName = proName;
getProject.ProShortName = proShortName;
getProject.JTproCode = JTproCode;
Funs.DB.SubmitChanges();
}
else
@@ -520,6 +521,7 @@ namespace BLL
{
ID = SQLHelper.GetNewID(),
ProCode = proCode,
JTproCode=JTproCode,
ProName = proName,
ProShortName = proShortName
};
@@ -719,7 +721,7 @@ namespace BLL
select new
{
unitId=x.UnitId,
proCode = y.JTProjectCode,
proCode = z.JTproCode,
collCropCode = u.CollCropCode,
collCropType = db.Sys_Const.First(t => t.GroupId == ConstValue.Group_ProjectUnitType && t.ConstValue == x.UnitType).Remark,
entryTime = string.Format("{0:yyyy-MM-dd}", x.InTime),
@@ -840,7 +842,7 @@ namespace BLL
&& u.CollCropCode != null && u.CollCropCode != ""
select new
{
proCode = y.JTProjectCode,
proCode = z.JTproCode,
collCropCode = u.CollCropCode,
teamType = x.TeamTypeId,
teamName = x.TeamGroupName,
@@ -913,13 +915,14 @@ namespace BLL
string contenttype = "application/json;charset=unicode";
var getData = (from x in Funs.DB.SitePerson_Person
join y in Funs.DB.Base_Project on x.ProjectId equals y.ProjectId
join z in Funs.DB.RealName_Project on y.JTProjectCode equals z.ProCode
join u in Funs.DB.Base_Unit on x.UnitId equals u.UnitId
join v in Funs.DB.ProjectData_TeamGroup on x.TeamGroupId equals v.TeamGroupId
join w in Funs.DB.Base_WorkPost on x.WorkPostId equals w.WorkPostId
where ((x.IdentityCard != null && x.IdentityCard != "" && identityCard == null) || (identityCard != null && x.IdentityCard == identityCard))
&& y.JTProjectCode == proCode
&& y.JTProjectCode == proCode && z.JTproCode != null
&& v.TeamId.HasValue && x.HeadImage != null && x.HeadImage.Length > 0
&& ((type == Const.BtnModify && !x.RealNameUpdateTime.HasValue) || (type != Const.BtnModify && !x.RealNameAddTime.HasValue && x.IsUsed && !x.OutTime.HasValue))
&& ((type == Const.BtnModify && !x.RealNameUpdateTime.HasValue && x.RealNameAddTime.HasValue) || (type != Const.BtnModify && !x.RealNameAddTime.HasValue && x.IsUsed && !x.OutTime.HasValue))
&& (x.IdentityCard.Length == 15 || x.IdentityCard.Length == 18)
select new
{
@@ -942,7 +945,7 @@ namespace BLL
//positiveIdcardImage = db.AttachFile.First(t => (x.PersonId + "#1") == t.ToKeyId).ImageByte,
//negativeIdcardImage = db.AttachFile.First(t => (x.PersonId + "#5") == t.ToKeyId).ImageByte,
headImage = x.HeadImage,
proCode = y.JTProjectCode,
proCode = z.JTproCode,
teamId = v.TeamId,
mobile = x.Telephone,
teamLeaderFlag = (v.GroupLeaderId == x.PersonId ? "Y" : "N"),
@@ -1036,12 +1039,14 @@ namespace BLL
string contenttype = "application/json;charset=unicode";
var getData = (from x in Funs.DB.SitePerson_Person
join y in Funs.DB.Base_Project on x.ProjectId equals y.ProjectId
join z in Funs.DB.RealName_Project on y.JTProjectCode equals z.ProCode
join u in Funs.DB.Base_Unit on x.UnitId equals u.UnitId
join v in Funs.DB.ProjectData_TeamGroup on x.TeamGroupId equals v.TeamGroupId
join w in Funs.DB.Base_WorkPost on x.WorkPostId equals w.WorkPostId
where x.IdentityCard == identityCard && y.JTProjectCode == proCode
&& v.TeamId.HasValue && x.HeadImage != null && x.HeadImage.Length > 0
&& (x.IdentityCard.Length == 15 || x.IdentityCard.Length == 18)
&& (x.IdentityCard.Length == 15 || x.IdentityCard.Length == 18)
&& z.JTproCode != null
select new
{
name = x.PersonName,
@@ -1061,7 +1066,7 @@ namespace BLL
countryCode = x.CountryCode,
provinceCode = x.ProvinceCode,
headImage = x.HeadImage,
proCode = y.JTProjectCode,
proCode = z.JTproCode,
teamId = v.TeamId,
mobile = x.Telephone,
teamLeaderFlag = (v.GroupLeaderId == x.PersonId ? "Y" : "N"),
@@ -1160,15 +1165,17 @@ namespace BLL
join p in Funs.DB.SitePerson_Person on x.PersonId equals p.PersonId
join v in Funs.DB.ProjectData_TeamGroup on p.TeamGroupId equals v.TeamGroupId
join r in Funs.DB.RealName_CollTeam on v.TeamId equals r.TeamId
join z in Funs.DB.RealName_Project on x.ProCode equals z.ProCode
where x.IdcardNumber != null && x.IdcardType != null && x.ChangeTime.HasValue
&& (proCode == null || x.ProCode == proCode) && p.HeadImage != null && p.HeadImage.Length > 0
&& v.TeamId.HasValue && p.HeadImage != null && r.TeamId.HasValue
&& (p.IdentityCard.Length == 15 || p.IdentityCard.Length == 18)
&& (p.IdentityCard.Length == 15 || p.IdentityCard.Length == 18) && p.RealNameAddTime.HasValue
&& z.JTproCode != null
orderby x.ChangeTime descending
select new
{
p.PersonId,
proCode = x.ProCode,
proCode = z.JTproCode,
name = x.Name,
idcardType = x.IdcardType,
idcardNumber = x.IdcardNumber,
@@ -1247,7 +1254,7 @@ namespace BLL
{
var getProject = new
{
proCode
proCode = RealName_ProjectService.GeJTproCodeByproCode(proCode),
};
var returndata = BLL.APIGetHttpService.OutsideHttp(Funs.RealNameApiUrl + "/foreignApi/baseData/getCollTeam", "POST", null, newToken, JsonConvert.SerializeObject(getProject));
if (!string.IsNullOrEmpty(returndata))
@@ -1304,13 +1311,14 @@ namespace BLL
{
var getCollTeam = (from x in Funs.DB.ProjectData_TeamGroup
join y in Funs.DB.Base_Project on x.ProjectId equals y.ProjectId
join z in Funs.DB.RealName_Project on y.JTProjectCode equals z.ProCode
join u in Funs.DB.Base_Unit on x.UnitId equals u.UnitId
join s in Funs.DB.SitePerson_Person on x.GroupLeaderId equals s.PersonId into jonPerson
from s in jonPerson.DefaultIfEmpty()
where teamGroupIds.Contains(x.TeamGroupId)
where teamGroupIds.Contains(x.TeamGroupId) && z.JTproCode != null
select new
{
proCode = y.JTProjectCode,
proCode = z.JTproCode,
collCropCode = u.CollCropCode,
teamType = x.TeamTypeId,
teamName = x.TeamGroupName,
@@ -1344,9 +1352,10 @@ namespace BLL
{
var getData = (from x in db.SitePerson_Person
join y in db.Base_Project on x.ProjectId equals y.ProjectId
join z in Funs.DB.RealName_Project on y.JTProjectCode equals z.ProCode
join v in db.ProjectData_TeamGroup on x.TeamGroupId equals v.TeamGroupId
join w in db.Base_WorkPost on x.WorkPostId equals w.WorkPostId
where personList.Contains(x.PersonId)
where personList.Contains(x.PersonId) && z.JTproCode != null
select new
{
name = x.PersonName,
@@ -1368,7 +1377,7 @@ namespace BLL
//positiveIdcardImage = db.AttachFile.First(t => (x.PersonId + "#1") == t.ToKeyId).ImageByte,
//negativeIdcardImage = db.AttachFile.First(t => (x.PersonId + "#5") == t.ToKeyId).ImageByte,
headImage = x.HeadImage,
proCode = y.JTProjectCode,
proCode = z.JTproCode,
teamId = v.TeamId,
mobile = x.Telephone,
teamLeaderFlag = (v.GroupLeaderId == x.PersonId ? "Y" : "N"),
+8
View File
@@ -1486,6 +1486,7 @@
<Content Include="ZHGL\ProjectAccident\AccidentStatistics.aspx" />
<Content Include="ZHGL\ProjectAccident\AccidentStatisticsEdit.aspx" />
<Content Include="ZHGL\ProjectAccident\AccidentStatisticsView.aspx" />
<Content Include="ZHGL\RealName\OnPost.aspx" />
<Content Include="ZHGL\RealName\LeavePost.aspx" />
<Content Include="ZHGL\RealName\LeavePostIn.aspx" />
<Content Include="ZHGL\RealName\SynchroRecord.aspx" />
@@ -14642,6 +14643,13 @@
<Compile Include="ZHGL\ProjectAccident\AccidentStatisticsView.aspx.designer.cs">
<DependentUpon>AccidentStatisticsView.aspx</DependentUpon>
</Compile>
<Compile Include="ZHGL\RealName\OnPost.aspx.cs">
<DependentUpon>OnPost.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="ZHGL\RealName\OnPost.aspx.designer.cs">
<DependentUpon>OnPost.aspx</DependentUpon>
</Compile>
<Compile Include="ZHGL\RealName\LeavePost.aspx.cs">
<DependentUpon>LeavePost.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -1133,6 +1133,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
getPerson.Telephone = persons[i].Telephone;
getPerson.IsUsed = persons[i].IsUsedName == "是" ? true : false;
getPerson.IsCardUsed = persons[i].IsCardUsedName == "是" ? true : false;
getPerson.IsCardNoOK = IDCardValid.CheckIDCard(persons[i].IdentityCard);
Funs.DB.SubmitChanges();
}
}
@@ -421,8 +421,13 @@ namespace FineUIPro.Web.HSSE.SitePerson
foreach (var item in getPerfomances)
{
content += "人员绩效【" + item.PersonPerfomanceCode + "】";
}
}
var getPerson = Funs.DB.SitePerson_Person.FirstOrDefault(x => x.PersonId == rowID && x.RealNameAddTime.HasValue);
if (getPerson != null)
{
content += "人员【" + getPerson.PersonName + "】已上传集团。";
}
if (!string.IsNullOrEmpty(content))
{
content += "中已使用该人员【" + name + "】!";
@@ -0,0 +1,137 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OnPost.aspx.cs"
Inherits="FineUIPro.Web.ZHGL.RealName.OnPost" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>实名制人员</title>
<style type="text/css">
.f-grid-row .f-grid-cell-inner {
white-space: normal;
word-break: break-all;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
<f:Panel ID="Panel1" runat="server" Margin="5px" BodyPadding="5px" ShowBorder="false"
ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
<Items>
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="实名制人员" EnableCollapse="true"
runat="server" BoxFlex="1" DataKeyNames="PersonId" AllowPaging="true"
IsDatabasePaging="true" PageSize="20" OnPageIndexChange="Grid1_PageIndexChange"
DataIDField="PersonId" AllowSorting="true" SortField="InTime" EnableTextSelection="True"
SortDirection="DESC" EnableColumnLines="true" OnSort="Grid1_Sort" ForceFit="true">
<Toolbars>
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Left">
<Items>
<f:RadioButtonList runat="server" ID="rblStates" AutoPostBack="true" Width="250px" LabelWidth="50px"
OnSelectedIndexChanged="btnSearch_Click" Label="状态">
<f:RadioItem Value="-1" Text="全部" Selected="true" />
<f:RadioItem Value="1" Text="在岗" />
<f:RadioItem Value="0" Text="离岗" />
</f:RadioButtonList>
<f:RadioButtonList runat="server" ID="rbInfo" AutoPostBack="true" Width="250px" LabelWidth="50px"
OnSelectedIndexChanged="btnSearch_Click" Label="信息">
<f:RadioItem Value="-1" Text="全部" Selected="true" />
<f:RadioItem Value="1" Text="完整" />
<f:RadioItem Value="0" Text="不全" />
</f:RadioButtonList>
<f:RadioButtonList runat="server" ID="rbIDCardNo" AutoPostBack="true" Width="250px" LabelWidth="70px"
OnSelectedIndexChanged="btnSearch_Click" Label="身份证">
<f:RadioItem Value="-1" Text="全部" Selected="true" />
<f:RadioItem Value="1" Text="合法" />
<f:RadioItem Value="0" Text="非法" />
</f:RadioButtonList>
<f:RadioButtonList runat="server" ID="rbRealName" AutoPostBack="true" Width="300px" LabelWidth="70px"
OnSelectedIndexChanged="btnSearch_Click" Label="实名制">
<f:RadioItem Value="-1" Text="全部" Selected="true" />
<f:RadioItem Value="1" Text="已同步" />
<f:RadioItem Value="0" Text="未同步" />
</f:RadioButtonList>
</Items>
</f:Toolbar>
<f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Left">
<Items>
<f:DropDownList runat="server" Label="项目" ID="drpProject" LabelWidth="50px" Width="400px"></f:DropDownList>
<f:TextBox runat="server" Label="姓名" ID="txtName" LabelWidth="50px" Width="200px"></f:TextBox>
<f:TextBox runat="server" Label="身份证" ID="txtIdentityCard" LabelWidth="70px" Width="270px"></f:TextBox>
<f:ToolbarFill runat="server"></f:ToolbarFill>
<f:Button ID="btnSearch" runat="server" Icon="SystemSearch" ToolTip="查询" OnClick="btnSearch_Click">
</f:Button>
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" ToolTip="导出" Icon="FolderUp"
EnableAjax="false" DisableControlBeforePostBack="false">
</f:Button>
<f:Button ID="btnIDCard" runat="server" Icon="ArrowRefresh" ToolTip="验证身份证号码" OnClick="btnIDCard_Click">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
<Columns>
<f:TemplateField ColumnID="tfNumber" Width="60px" HeaderText="序号" HeaderTextAlign="Center"
TextAlign="Center">
<ItemTemplate>
<asp:Label ID="labNumber" runat="server" Text='<%# Grid1.PageIndex * Grid1.PageSize + Container.DataItemIndex + 1 %>'></asp:Label>
</ItemTemplate>
</f:TemplateField>
<f:RenderField Width="80px" ColumnID="PersonName" DataField="PersonName"
SortField="PersonName" FieldType="String" HeaderText="姓名" HeaderTextAlign="Center"
TextAlign="Left">
</f:RenderField>
<f:RenderField Width="200px" ColumnID="IdentityCard" DataField="IdentityCard"
SortField="IdentityCard" FieldType="String" HeaderText="身份证" HeaderTextAlign="Center"
TextAlign="Left">
</f:RenderField>
<f:TemplateField ColumnID="tfShortName" Width="150px" HeaderText="项目简称" HeaderTextAlign="Center" TextAlign="Left">
<ItemTemplate>
<asp:Label ID="lblShortName" runat="server" Text='<%# ConvertShortName(Eval("ProjectId")) %>'></asp:Label>
</ItemTemplate>
</f:TemplateField>
<f:RenderField Width="80px" ColumnID="SexName" DataField="SexName"
SortField="SexName" FieldType="String" HeaderText="性别" HeaderTextAlign="Center"
TextAlign="Left">
</f:RenderField>
<f:TemplateField ColumnID="tfAge" Width="80px" HeaderText="年龄" HeaderTextAlign="Center" TextAlign="Left">
<ItemTemplate>
<asp:Label ID="lblAge" runat="server" Text='<%# ConvertAge(Eval("Birthday")) %>'></asp:Label>
</ItemTemplate>
</f:TemplateField>
<f:TemplateField ColumnID="tfProvince" Width="80px" HeaderText="籍贯" HeaderTextAlign="Center" TextAlign="Left">
<ItemTemplate>
<asp:Label ID="lblProvince" runat="server" Text='<%# ConvertProvinceCode(Eval("ProvinceCode")) %>'></asp:Label>
</ItemTemplate>
</f:TemplateField>
<f:RenderField Width="140px" ColumnID="TeamGroupName" DataField="TeamGroupName" FieldType="String"
HeaderText="班组" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField>
<f:RenderField Width="100px" ColumnID="WorkPostName" DataField="WorkPostName" FieldType="String"
HeaderText="工种" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField>
<f:RenderField Width="110px" ColumnID="InTime" DataField="InTime" SortField="InTime"
FieldType="Date" Renderer="Date" RendererArgument="yyyy-MM-dd" HeaderText="入场时间"
HeaderTextAlign="Center" TextAlign="Center">
</f:RenderField>
<f:RenderField Width="110px" ColumnID="OutTime" DataField="OutTime" SortField="OutTime"
FieldType="Date" Renderer="Date" RendererArgument="yyyy-MM-dd" HeaderText="出场时间"
HeaderTextAlign="Center" TextAlign="Center">
</f:RenderField>
<f:RenderField Width="80px" ColumnID="IsPostName" DataField="IsPostName" FieldType="String"
HeaderText="是否离场" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField>
</Columns>
<PageItems>
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
</f:ToolbarSeparator>
<f:ToolbarText ID="ToolbarText1" runat="server" Text="每页记录数:">
</f:ToolbarText>
<f:DropDownList runat="server" ID="ddlPageSize" Width="80px" AutoPostBack="true"
OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged">
</f:DropDownList>
</PageItems>
</f:Grid>
</Items>
</f:Panel>
</form>
</body>
</html>

Some files were not shown because too many files have changed in this diff Show More