20240523 菜单精简
This commit is contained in:
@@ -154,9 +154,9 @@
|
||||
<f:Button ID="btnPunishNoticeUrl" Text="通知单" ToolTip="通知单上传及查看" Icon="TableCell" runat="server"
|
||||
OnClick="btnPunishNoticeUrl_Click" ValidateForms="SimpleForm1">
|
||||
</f:Button>
|
||||
<f:Button ID="btnAttachUrl" Text="回执单" ToolTip="回执单上传及查看" Icon="TableCell" runat="server"
|
||||
<%--<f:Button ID="btnAttachUrl" Text="回执单" ToolTip="回执单上传及查看" Icon="TableCell" runat="server"
|
||||
OnClick="btnUploadResources_Click" ValidateForms="SimpleForm1">
|
||||
</f:Button>
|
||||
</f:Button>--%>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||
</f:ToolbarFill>
|
||||
<f:Button ID="btnSave" Icon="SystemSave" runat="server" ToolTip="保存" ValidateForms="SimpleForm1"
|
||||
|
||||
@@ -191,14 +191,14 @@ namespace FineUIPro.Web.HSSE.Check
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnUploadResources_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (string.IsNullOrEmpty(this.PunishNoticeId))
|
||||
{
|
||||
this.PunishNoticeId = SQLHelper.GetNewID(typeof(Model.Check_RectifyNotices));
|
||||
}
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/PunishNotice&menuId=" + Const.ProjectPunishNoticeMenuId, this.PunishNoticeId)));
|
||||
}
|
||||
//protected void btnUploadResources_Click(object sender, EventArgs e)
|
||||
//{
|
||||
// if (string.IsNullOrEmpty(this.PunishNoticeId))
|
||||
// {
|
||||
// this.PunishNoticeId = SQLHelper.GetNewID(typeof(Model.Check_RectifyNotices));
|
||||
// }
|
||||
// PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/PunishNotice&menuId=" + Const.ProjectPunishNoticeMenuId, this.PunishNoticeId)));
|
||||
//}
|
||||
|
||||
/// <summary>
|
||||
/// 通知单上传附件资源
|
||||
|
||||
@@ -237,15 +237,6 @@ namespace FineUIPro.Web.HSSE.Check {
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnPunishNoticeUrl;
|
||||
|
||||
/// <summary>
|
||||
/// btnAttachUrl 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnAttachUrl;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarFill1 控件。
|
||||
/// </summary>
|
||||
|
||||
@@ -166,9 +166,9 @@
|
||||
<f:Button ID="btnPunishNoticeUrl" Text="通知单" ToolTip="通知单上传及查看" Icon="TableCell" runat="server"
|
||||
OnClick="btnPunishNoticeUrl_Click" ValidateForms="SimpleForm1">
|
||||
</f:Button>
|
||||
<f:Button ID="btnAttachUrl" Text="回执单" ToolTip="回执单上传及查看" Icon="TableCell" runat="server"
|
||||
<%--<f:Button ID="btnAttachUrl" Text="回执单" ToolTip="回执单上传及查看" Icon="TableCell" runat="server"
|
||||
OnClick="btnUploadResources_Click" ValidateForms="SimpleForm1">
|
||||
</f:Button>
|
||||
</f:Button>--%>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||
</f:ToolbarFill>
|
||||
<f:Button ID="btnSubmit" Icon="SystemSaveNew" runat="server" ToolTip="提交" ValidateForms="SimpleForm1"
|
||||
|
||||
@@ -202,11 +202,11 @@ namespace FineUIPro.Web.HSSE.Check
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnUploadResources_Click(object sender, EventArgs e)
|
||||
{
|
||||
//protected void btnUploadResources_Click(object sender, EventArgs e)
|
||||
//{
|
||||
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/PunishNotice&menuId=" + Const.ProjectPunishNoticeMenuId, this.PunishNoticeId)));
|
||||
}
|
||||
// PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/PunishNotice&menuId=" + Const.ProjectPunishNoticeMenuId, this.PunishNoticeId)));
|
||||
//}
|
||||
|
||||
/// <summary>
|
||||
/// 通知单上传附件资源
|
||||
|
||||
@@ -309,15 +309,6 @@ namespace FineUIPro.Web.HSSE.Check {
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnPunishNoticeUrl;
|
||||
|
||||
/// <summary>
|
||||
/// btnAttachUrl 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnAttachUrl;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarFill1 控件。
|
||||
/// </summary>
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
<Items>
|
||||
<f:TextBox ID="txtSignMan" runat="server" Label="签发人" LabelAlign="Right" Readonly="true" LabelWidth="90px">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtApproveMan" runat="server" Label="批准人" LabelAlign="Right" Readonly="true" LabelWidth="90px">
|
||||
<f:TextBox ID="txtApproveMan" runat="server" Label="批准人" LabelAlign="Right" Readonly="true" LabelWidth="90px" Hidden="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
@@ -123,9 +123,9 @@
|
||||
<f:Button ID="btnPunishNoticeUrl" Text="通知单" ToolTip="通知单上传及查看" Icon="TableCell" runat="server"
|
||||
OnClick="btnPunishNoticeUrl_Click" ValidateForms="SimpleForm1">
|
||||
</f:Button>
|
||||
<f:Button ID="btnAttachUrl" Text="回执单" ToolTip="回执单上传及查看" Icon="TableCell" runat="server"
|
||||
<%--<f:Button ID="btnAttachUrl" Text="回执单" ToolTip="回执单上传及查看" Icon="TableCell" runat="server"
|
||||
OnClick="btnUploadResources_Click" ValidateForms="SimpleForm1">
|
||||
</f:Button>
|
||||
</f:Button>--%>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||
</f:ToolbarFill>
|
||||
<f:Button ID="btnClose" EnablePostBack="false" ToolTip="关闭" runat="server" Icon="SystemClose">
|
||||
|
||||
@@ -88,11 +88,11 @@ namespace FineUIPro.Web.HSSE.Check
|
||||
{
|
||||
this.txtSignMan.Text = user1.UserName;
|
||||
}
|
||||
Model.Sys_User user2 = BLL.UserService.GetUserByUserId(punishNotice.ApproveMan);
|
||||
if (user2 != null)
|
||||
{
|
||||
this.txtApproveMan.Text = user2.UserName;
|
||||
}
|
||||
//Model.Sys_User user2 = BLL.UserService.GetUserByUserId(punishNotice.ApproveMan);
|
||||
//if (user2 != null)
|
||||
//{
|
||||
// this.txtApproveMan.Text = user2.UserName;
|
||||
//}
|
||||
if (punishNotice.PunishMoney != null)
|
||||
{
|
||||
this.txtPunishMoney.Text = Convert.ToString(punishNotice.PunishMoney);
|
||||
@@ -144,10 +144,10 @@ namespace FineUIPro.Web.HSSE.Check
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnUploadResources_Click(object sender, EventArgs e)
|
||||
{
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/PunishNotice&type=-1&menuId=" + BLL.Const.ProjectPunishNoticeMenuId, this.PunishNoticeId)));
|
||||
}
|
||||
//protected void btnUploadResources_Click(object sender, EventArgs e)
|
||||
//{
|
||||
// PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/PunishNotice&type=-1&menuId=" + BLL.Const.ProjectPunishNoticeMenuId, this.PunishNoticeId)));
|
||||
//}
|
||||
|
||||
/// <summary>
|
||||
/// 通知单上传附件资源
|
||||
|
||||
@@ -192,15 +192,6 @@ namespace FineUIPro.Web.HSSE.Check {
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnPunishNoticeUrl;
|
||||
|
||||
/// <summary>
|
||||
/// btnAttachUrl 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnAttachUrl;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarFill1 控件。
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user