2023-03-14
This commit is contained in:
Binary file not shown.
@@ -36,6 +36,9 @@
|
|||||||
<f:Button ID="btnNew" Icon="Add" EnablePostBack="true" Hidden="true"
|
<f:Button ID="btnNew" Icon="Add" EnablePostBack="true" Hidden="true"
|
||||||
runat="server">
|
runat="server">
|
||||||
</f:Button>
|
</f:Button>
|
||||||
|
<f:Button ID="imgBtnFile" Text="文件" ToolTip="查看" Icon="PageWhiteWord" runat="server"
|
||||||
|
OnClick="imgBtnFile_Click">
|
||||||
|
</f:Button>
|
||||||
</Items>
|
</Items>
|
||||||
</f:Toolbar>
|
</f:Toolbar>
|
||||||
</Toolbars>
|
</Toolbars>
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
using BLL;
|
using BLL;
|
||||||
|
using FineUIPro.Web.ZHGL.Plan;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
@@ -390,5 +391,19 @@ namespace FineUIPro.Web.CQMS.Plan
|
|||||||
{
|
{
|
||||||
BindGrid();
|
BindGrid();
|
||||||
}
|
}
|
||||||
|
protected void imgBtnFile_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (!string.IsNullOrEmpty(Grid1.SelectedRowID))
|
||||||
|
{
|
||||||
|
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/AttachFile/IndexOffice.aspx?cmd={0}|CQMSMainPlan", Grid1.SelectedRowID, "查看 -")));
|
||||||
|
PageContext.RegisterStartupScript(Window1.GetHideReference());
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+13
-2
@@ -7,10 +7,12 @@
|
|||||||
// </自动生成>
|
// </自动生成>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace FineUIPro.Web.CQMS.Plan {
|
namespace FineUIPro.Web.CQMS.Plan
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
public partial class MainPlan {
|
public partial class MainPlan
|
||||||
|
{
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// form1 控件。
|
/// form1 控件。
|
||||||
@@ -75,6 +77,15 @@ namespace FineUIPro.Web.CQMS.Plan {
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Button btnNew;
|
protected global::FineUIPro.Button btnNew;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// imgBtnFile 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button imgBtnFile;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// lblPageIndex 控件。
|
/// lblPageIndex 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -96,6 +96,9 @@
|
|||||||
</f:Button>
|
</f:Button>
|
||||||
<f:Button ID="btnNew" ToolTip="编制" Icon="Add" EnablePostBack="false" runat="server">
|
<f:Button ID="btnNew" ToolTip="编制" Icon="Add" EnablePostBack="false" runat="server">
|
||||||
</f:Button>
|
</f:Button>
|
||||||
|
<f:Button ID="imgBtnFile" Text="文件" ToolTip="查看" Icon="PageWhiteWord" runat="server"
|
||||||
|
OnClick="imgBtnFile_Click">
|
||||||
|
</f:Button>
|
||||||
</Items>
|
</Items>
|
||||||
</f:Toolbar>
|
</f:Toolbar>
|
||||||
|
|
||||||
|
|||||||
@@ -357,5 +357,19 @@ namespace FineUIPro.Web.CQMS.Plan
|
|||||||
}
|
}
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
protected void imgBtnFile_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (!string.IsNullOrEmpty(Grid1.SelectedRowID))
|
||||||
|
{
|
||||||
|
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/AttachFile/IndexOffice.aspx?cmd={0}|CQMSSubPlan", Grid1.SelectedRowID, "查看 -")));
|
||||||
|
PageContext.RegisterStartupScript(Window1.GetHideReference());
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+13
-2
@@ -7,10 +7,12 @@
|
|||||||
// </自动生成>
|
// </自动生成>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace FineUIPro.Web.CQMS.Plan {
|
namespace FineUIPro.Web.CQMS.Plan
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
public partial class SubPlan {
|
public partial class SubPlan
|
||||||
|
{
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// form1 控件。
|
/// form1 控件。
|
||||||
@@ -129,6 +131,15 @@ namespace FineUIPro.Web.CQMS.Plan {
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Button btnNew;
|
protected global::FineUIPro.Button btnNew;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// imgBtnFile 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button imgBtnFile;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// lblPageIndex 控件。
|
/// lblPageIndex 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user