20210706
This commit is contained in:
@@ -26,8 +26,12 @@ namespace FineUIPro.Web.ZHGL.RealName
|
||||
SynchroSetService.InitProjectDropDownList(this.drpProject, false);
|
||||
if (!string.IsNullOrEmpty(this.CurrUser.LoginProjectId))
|
||||
{
|
||||
this.drpProject.SelectedValue = this.CurrUser.LoginProjectId;
|
||||
this.drpProject.Readonly = true;
|
||||
var getproject = ProjectService.GetProjectByProjectId(this.CurrUser.LoginProjectId);
|
||||
if (getproject != null)
|
||||
{
|
||||
this.drpProject.SelectedValue = getproject.ProjectCode;
|
||||
this.drpProject.Readonly = true;
|
||||
}
|
||||
}
|
||||
// 绑定表格
|
||||
this.BindGrid();
|
||||
|
||||
@@ -41,12 +41,11 @@
|
||||
</f:NumberBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow >
|
||||
<f:FormRow ColumnWidths="90% 10%">
|
||||
<Items>
|
||||
<f:TextBox ID="txtIdentityCard" runat="server" Label="身份证号码" MaxLength="50"
|
||||
LabelWidth="120px" >
|
||||
</f:TextBox>
|
||||
<f:Button ID="btnPushData" Icon="Accept" runat="server" ToolTip="连接" OnClick="btnPushData_Click">
|
||||
<f:TextArea ID="txtIdentityCard" runat="server" Label="身份证号码" LabelWidth="120px" >
|
||||
</f:TextArea>
|
||||
<f:Button ID="btnPushData" Icon="Accept" runat="server" Text="提交" ToolTip="多身份证用逗号(,)隔开" OnClick="btnPushData_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
|
||||
@@ -262,9 +262,17 @@ namespace FineUIPro.Web.ZHGL.RealName
|
||||
var getRProjects = Funs.DB.RealName_Project.FirstOrDefault(x => x.ProCode == proCode);
|
||||
if (getRProjects != null && !string.IsNullOrEmpty(getRProjects.ProCode))
|
||||
{
|
||||
message += ("项目" + getRProjects.ProCode + "新增" + BLL.SynchroSetService.PushPersonsByIdentityCard(Const.BtnAdd, getRProjects.ProCode, this.txtIdentityCard.Text.Trim()) ?? "");
|
||||
message += ("|更新" + BLL.SynchroSetService.PushPersonsByIdentityCard(Const.BtnModify, getRProjects.ProCode, this.txtIdentityCard.Text.Trim()) ?? "");
|
||||
ShowNotify(message, MessageBoxIcon.Information);
|
||||
string idc = this.txtIdentityCard.Text.Trim().Replace(',', ',');
|
||||
var getList = Funs.GetStrListByStr(idc, ',');
|
||||
if (getList.Count > 0)
|
||||
{
|
||||
foreach (var item in getList)
|
||||
{
|
||||
message += ("项目" + getRProjects.ProCode + "新增" + BLL.SynchroSetService.PushPersonsByIdentityCard(Const.BtnAdd, getRProjects.ProCode, item) ?? "");
|
||||
message += ("|更新" + BLL.SynchroSetService.PushPersonsByIdentityCard(Const.BtnModify, getRProjects.ProCode, item) ?? "");
|
||||
}
|
||||
ShowNotify(message, MessageBoxIcon.Information);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -91,7 +91,7 @@ namespace FineUIPro.Web.ZHGL.RealName {
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtIdentityCard;
|
||||
protected global::FineUIPro.TextArea txtIdentityCard;
|
||||
|
||||
/// <summary>
|
||||
/// btnPushData 控件。
|
||||
|
||||
Reference in New Issue
Block a user