20230628 新增本部检查项页面
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
|
||||
VALUES('F004D9B0-6E6A-41E0-88F1-2306BB6397C6','本部检查项','BaseInfo/CheckTemplate.aspx',130,'8A2CEE72-2793-49C6-9E2E-E83B2676E2DD','Menu_SysSet',1,1,1)
|
||||
GO
|
||||
INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||
VALUES('FBB8C0B9-0CA6-445A-B682-4AC3FFBE232A','F004D9B0-6E6A-41E0-88F1-2306BB6397C6','增加',1)
|
||||
INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||
VALUES('7190D868-0CE6-4FAC-944F-07032176E101','F004D9B0-6E6A-41E0-88F1-2306BB6397C6','修改',2)
|
||||
INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||
VALUES('6077EBFF-3905-4D1E-959B-0795E9A1627C','F004D9B0-6E6A-41E0-88F1-2306BB6397C6','删除',3)
|
||||
INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||
VALUES('0E2074B0-53AF-4075-8C69-2F5E10A1E791','F004D9B0-6E6A-41E0-88F1-2306BB6397C6','保存',4)
|
||||
GO
|
||||
@@ -578,6 +578,19 @@ GO
|
||||
VALUES('7F9EAADC-69F4-4D97-8E0B-B6DB4919225E','3EC2676A-70EB-400E-BE17-EEBBA0B7E9D7','保存',4)
|
||||
GO
|
||||
|
||||
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
|
||||
VALUES('F004D9B0-6E6A-41E0-88F1-2306BB6397C6','本部检查项','BaseInfo/CheckTemplate.aspx',130,'8A2CEE72-2793-49C6-9E2E-E83B2676E2DD','Menu_SysSet',1,1,1)
|
||||
GO
|
||||
INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||
VALUES('FBB8C0B9-0CA6-445A-B682-4AC3FFBE232A','F004D9B0-6E6A-41E0-88F1-2306BB6397C6','增加',1)
|
||||
INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||
VALUES('7190D868-0CE6-4FAC-944F-07032176E101','F004D9B0-6E6A-41E0-88F1-2306BB6397C6','修改',2)
|
||||
INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||
VALUES('6077EBFF-3905-4D1E-959B-0795E9A1627C','F004D9B0-6E6A-41E0-88F1-2306BB6397C6','删除',3)
|
||||
INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||
VALUES('0E2074B0-53AF-4075-8C69-2F5E10A1E791','F004D9B0-6E6A-41E0-88F1-2306BB6397C6','保存',4)
|
||||
GO
|
||||
|
||||
------------------------------------------------本部焊接基础信息--------------------------------------------
|
||||
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
|
||||
VALUES('85DFE1D3-9E68-46B5-87E5-A525698F2F5F','焊接设置','',40,'D363BD9D-4DEC-45D8-89C8-B0E49DEF61B4','Menu_SysSet',1,0,1)
|
||||
|
||||
@@ -210,6 +210,7 @@
|
||||
<Compile Include="API\HSSE\APITrainingTaskService.cs" />
|
||||
<Compile Include="API\HSSE\APITrainRecordService.cs" />
|
||||
<Compile Include="API\HTGL\APIHTGLPersonService.cs" />
|
||||
<Compile Include="BaseInfo\CheckTemplateService.cs" />
|
||||
<Compile Include="BaseInfo\AccidentTypeService.cs" />
|
||||
<Compile Include="BaseInfo\BaseCompanytemplateService.cs" />
|
||||
<Compile Include="BaseInfo\BaseFactoryService.cs" />
|
||||
|
||||
@@ -0,0 +1,160 @@
|
||||
using FineUIPro;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace BLL
|
||||
{
|
||||
/// <summary>
|
||||
/// 本部检查项
|
||||
/// </summary>
|
||||
public static class CheckTemplateService
|
||||
{
|
||||
public static Model.SGGLDB db = Funs.DB;
|
||||
|
||||
#region 获取列表
|
||||
/// <summary>
|
||||
/// 记录数
|
||||
/// </summary>
|
||||
public static int count
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 定义变量
|
||||
/// </summary>
|
||||
private static IQueryable<Model.ProjectSupervision_CheckTemplate> getDataLists = from x in db.ProjectSupervision_CheckTemplate
|
||||
select x;
|
||||
|
||||
/// 获取分页列表
|
||||
/// </summary>
|
||||
/// <param name="PageIndex">页码</param>
|
||||
/// <param name="PageSize">每页数量</param>
|
||||
/// <returns></returns>
|
||||
public static IEnumerable getListData(Grid Grid1)
|
||||
{
|
||||
var q = getDataLists;
|
||||
count = q.Count();
|
||||
if (count == 0)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
q = SortConditionHelper.SortingAndPaging(q, Grid1.SortField, Grid1.SortDirection, Grid1.PageIndex, Grid1.PageSize);
|
||||
return from x in q
|
||||
select new
|
||||
{
|
||||
x.ID,
|
||||
x.SortIndex,
|
||||
x.CheckItem,
|
||||
x.CheckStandard,
|
||||
x.CheckMethod,
|
||||
x.BaseScore,
|
||||
x.Type,
|
||||
x.Indexs,
|
||||
};
|
||||
}
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// 根据主键获取本部检查项
|
||||
/// </summary>
|
||||
/// <param name="ID"></param>
|
||||
/// <returns></returns>
|
||||
public static Model.ProjectSupervision_CheckTemplate GetCheckTemplateById(string ID)
|
||||
{
|
||||
return Funs.DB.ProjectSupervision_CheckTemplate.FirstOrDefault(e => e.ID == ID);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 添加本部检查项
|
||||
/// </summary>
|
||||
/// <param name="CheckTemplate"></param>
|
||||
public static void AddCheckTemplate(Model.ProjectSupervision_CheckTemplate CheckTemplate)
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
{
|
||||
Model.ProjectSupervision_CheckTemplate newCheckTemplate = new Model.ProjectSupervision_CheckTemplate
|
||||
{
|
||||
ID = CheckTemplate.ID,
|
||||
SortIndex = CheckTemplate.SortIndex,
|
||||
CheckItem = CheckTemplate.CheckItem,
|
||||
CheckStandard = CheckTemplate.CheckStandard,
|
||||
CheckMethod = CheckTemplate.CheckMethod,
|
||||
BaseScore = CheckTemplate.BaseScore,
|
||||
Type = "1",// CheckTemplate.Type, //// 1-现场安全检查
|
||||
Indexs = CheckTemplate.Indexs,
|
||||
};
|
||||
db.ProjectSupervision_CheckTemplate.InsertOnSubmit(newCheckTemplate);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 修改本部检查项
|
||||
/// </summary>
|
||||
/// <param name="CheckTemplate"></param>
|
||||
public static void UpdateCheckTemplate(Model.ProjectSupervision_CheckTemplate CheckTemplate)
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
{
|
||||
Model.ProjectSupervision_CheckTemplate newCheckTemplate = db.ProjectSupervision_CheckTemplate.FirstOrDefault(e => e.ID == CheckTemplate.ID);
|
||||
if (newCheckTemplate != null)
|
||||
{
|
||||
newCheckTemplate.SortIndex = CheckTemplate.SortIndex;
|
||||
newCheckTemplate.CheckItem = CheckTemplate.CheckItem;
|
||||
newCheckTemplate.CheckStandard = CheckTemplate.CheckStandard;
|
||||
newCheckTemplate.CheckMethod = CheckTemplate.CheckMethod;
|
||||
newCheckTemplate.BaseScore = CheckTemplate.BaseScore;
|
||||
newCheckTemplate.Indexs = CheckTemplate.Indexs;
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据主键删除本部检查项
|
||||
/// </summary>
|
||||
/// <param name="ID"></param>
|
||||
public static void DeleteCheckTemplateById(string ID)
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
{
|
||||
Model.ProjectSupervision_CheckTemplate CheckTemplate = db.ProjectSupervision_CheckTemplate.FirstOrDefault(e => e.ID == ID);
|
||||
if (CheckTemplate != null)
|
||||
{
|
||||
db.ProjectSupervision_CheckTemplate.DeleteOnSubmit(CheckTemplate);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取本部检查项下拉列表项
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static List<Model.ProjectSupervision_CheckTemplate> GetCheckTemplateList()
|
||||
{
|
||||
return (from x in Funs.DB.ProjectSupervision_CheckTemplate orderby x.Indexs select x).ToList();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 应急响应类型下拉框
|
||||
/// </summary>
|
||||
/// <param name="dropName">下拉框名字</param>
|
||||
/// <param name="projectId">项目id</param>
|
||||
/// <param name="isShowPlease">是否显示请选择</param>
|
||||
public static void InitCheckTemplateDropDownList(FineUIPro.DropDownList dropName, bool isShowPlease)
|
||||
{
|
||||
dropName.DataValueField = "ID";
|
||||
dropName.DataTextField = "CheckTemplateName";
|
||||
dropName.DataSource = GetCheckTemplateList();
|
||||
dropName.DataBind();
|
||||
if (isShowPlease)
|
||||
{
|
||||
Funs.FineUIPleaseSelect(dropName);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -805,12 +805,10 @@
|
||||
/// </summary>
|
||||
public const string ServerCheckTwolevelMenuId = "6CBF1000-5E3C-4FBD-A7EC-965765F6F52D";
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 发起检查
|
||||
/// </summary>
|
||||
public const string CheckInfoMenuId = "6090DD54-FE59-4011-92EE-9906C9BC69B6";
|
||||
public const string Base_FactoryMenuId = "CD167198-1667-4552-9876-E768C2542C30";
|
||||
public const string CheckInfoMenuId = "6090DD54-FE59-4011-92EE-9906C9BC69B6";
|
||||
|
||||
/// <summary>
|
||||
/// 实业
|
||||
@@ -1152,6 +1150,14 @@
|
||||
/// 执业资格证书证书
|
||||
/// </summary>
|
||||
public const string PracticeCertificateMenuId = "1390195D8-874B-4E7B-8DBF-D81A5984E973";
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public const string Base_FactoryMenuId = "CD167198-1667-4552-9876-E768C2542C30";
|
||||
/// <summary>
|
||||
/// 本部检查项
|
||||
/// </summary>
|
||||
public const string CheckTemplateMenuId = "F004D9B0-6E6A-41E0-88F1-2306BB6397C6";
|
||||
#endregion
|
||||
|
||||
#region 质量基础信息
|
||||
|
||||
@@ -0,0 +1,108 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CheckTemplate.aspx.cs" Inherits="FineUIPro.Web.BaseInfo.CheckTemplate" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>本部检查项</title>
|
||||
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
|
||||
<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" AutoScroll="true"
|
||||
ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
|
||||
<Items>
|
||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="本部检查项" EnableCollapse="true"
|
||||
runat="server" BoxFlex="1" DataKeyNames="ID" ForceFit="true" DataIDField="ID" AllowSorting="true" SortField="Indexs"
|
||||
SortDirection="ASC" OnSort="Grid1_Sort" EnableColumnLines="true"
|
||||
AllowPaging="true" IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange"
|
||||
EnableRowDoubleClickEvent="true" OnRowDoubleClick="Grid1_RowDoubleClick">
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Right">
|
||||
<Items>
|
||||
<f:Button ID="btnNew" ToolTip="新增" Text="新增" Hidden="true" Icon="Add" runat="server"
|
||||
OnClick="btnNew_Click">
|
||||
</f:Button>
|
||||
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出" Icon="FolderUp"
|
||||
EnableAjax="false" DisableControlBeforePostBack="false">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Columns>
|
||||
<f:RenderField Width="60px" ColumnID="Indexs" DataField="Indexs" SortField="Indexs"
|
||||
FieldType="Int" HeaderText="行号" TextAlign="Center" HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="60px" ColumnID="SortIndex" DataField="SortIndex"
|
||||
FieldType="Int" HeaderText="序号" TextAlign="Center" HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="90px" ColumnID="CheckItem" DataField="CheckItem"
|
||||
FieldType="String" HeaderText="检查项" TextAlign="Left" HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="300px" ColumnID="CheckStandard" DataField="CheckStandard"
|
||||
FieldType="String" HeaderText="检查标准" TextAlign="Left" HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="300px" ColumnID="CheckMethod" DataField="CheckMethod"
|
||||
FieldType="String" HeaderText="检查方法" TextAlign="Left" HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="80px" ColumnID="BaseScore" DataField="BaseScore"
|
||||
FieldType="Double" HeaderText="基准分" TextAlign="Left" HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
</Columns>
|
||||
<Listeners>
|
||||
<f:Listener Event="dataload" Handler="onGridDataLoad" />
|
||||
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
|
||||
</Listeners>
|
||||
<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>
|
||||
<f:Window ID="Window1" runat="server" Hidden="true" ShowHeader="true"
|
||||
IsModal="true" Target="Parent" EnableMaximize="true" EnableResize="true" OnClose="Window1_Close"
|
||||
Title="编辑" EnableIFrame="true" Height="500px"
|
||||
Width="900px">
|
||||
</f:Window>
|
||||
<f:Menu ID="Menu1" runat="server">
|
||||
<f:MenuButton ID="btnMenuEdit" OnClick="btnEdit_Click" EnablePostBack="true"
|
||||
Hidden="true" runat="server" Text="编辑" Icon="TableEdit">
|
||||
</f:MenuButton>
|
||||
<f:MenuButton ID="btnMenuDelete" OnClick="btnDelete_Click" EnablePostBack="true" Icon="Delete"
|
||||
Hidden="true" ConfirmText="删除选中行?" ConfirmTarget="Parent" runat="server" Text="删除">
|
||||
</f:MenuButton>
|
||||
</f:Menu>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
var menuID = '<%= Menu1.ClientID %>';
|
||||
// 返回false,来阻止浏览器右键菜单
|
||||
function onRowContextMenu(event, rowId) {
|
||||
F(menuID).show(); //showAt(event.pageX, event.pageY);
|
||||
return false;
|
||||
}
|
||||
function onGridDataLoad(event) {
|
||||
this.mergeColumns(['SortIndex']);
|
||||
this.mergeColumns(['CheckItem']);
|
||||
}
|
||||
function reloadGrid() {
|
||||
__doPostBack(null, 'reloadGrid');
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,187 @@
|
||||
using BLL;
|
||||
using System;
|
||||
using System.Text;
|
||||
using AspNet = System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.BaseInfo
|
||||
{
|
||||
public partial class CheckTemplate : PageBase
|
||||
{
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
this.GetButtonPower();
|
||||
Funs.DropDownPageSize(this.ddlPageSize);
|
||||
this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString();
|
||||
// 绑定表格
|
||||
this.BindGrid();
|
||||
}
|
||||
}
|
||||
|
||||
#region 绑定数据
|
||||
/// <summary>
|
||||
/// 绑定数据
|
||||
/// </summary>
|
||||
private void BindGrid()
|
||||
{
|
||||
var tb = BLL.CheckTemplateService.getListData( Grid1);
|
||||
Grid1.RecordCount = CheckTemplateService.count;
|
||||
//tb = GetFilteredTable(Grid1.FilteredData, tb);
|
||||
Grid1.DataSource = tb;
|
||||
Grid1.DataBind();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region GV 数据操作
|
||||
/// <summary>
|
||||
/// 分页
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
|
||||
{
|
||||
this.Grid1.PageIndex = e.NewPageIndex;
|
||||
this.BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 排序
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Grid1_Sort(object sender, GridSortEventArgs e)
|
||||
{
|
||||
this.BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 分页显示条数下拉框
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.Grid1.PageSize = Convert.ToInt32(this.ddlPageSize.SelectedValue);
|
||||
this.BindGrid();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 数据编辑事件
|
||||
/// <summary>
|
||||
/// 新增
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnNew_Click(object sender, EventArgs e)
|
||||
{
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("CheckTemplateEdit.aspx?CheckTemplateID={0}", string.Empty, "增加 - ")));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 编辑按钮
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnEdit_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (Grid1.SelectedRowIndexArray.Length == 0)
|
||||
{
|
||||
Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("CheckTemplateEdit.aspx?CheckTemplateID={0}", Grid1.SelectedRowID, "编辑 - ")));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Grid行双击事件
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e)
|
||||
{
|
||||
this.btnEdit_Click(null, null);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 批量删除
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnDelete_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (Grid1.SelectedRowIndexArray.Length > 0)
|
||||
{
|
||||
foreach (int rowIndex in Grid1.SelectedRowIndexArray)
|
||||
{
|
||||
string rowID = Grid1.DataKeys[rowIndex][0].ToString();
|
||||
BLL.CheckTemplateService.DeleteCheckTemplateById(rowID);
|
||||
}
|
||||
|
||||
BindGrid();
|
||||
ShowNotify("删除数据成功!", MessageBoxIcon.Success);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 关闭弹出窗
|
||||
/// <summary>
|
||||
/// 关闭弹出窗
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Window1_Close(object sender, WindowCloseEventArgs e)
|
||||
{
|
||||
BindGrid();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 获取权限按钮
|
||||
/// <summary>
|
||||
/// 获取按钮权限
|
||||
/// </summary>
|
||||
/// <param name="button"></param>
|
||||
/// <returns></returns>
|
||||
private void GetButtonPower()
|
||||
{
|
||||
var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.PersonId, BLL.Const.CheckTemplateMenuId);
|
||||
if (buttonList.Count > 0)
|
||||
{
|
||||
if (buttonList.Contains(BLL.Const.BtnAdd))
|
||||
{
|
||||
this.btnNew.Hidden = false;
|
||||
}
|
||||
if (buttonList.Contains(BLL.Const.BtnModify))
|
||||
{
|
||||
this.btnMenuEdit.Hidden = false;
|
||||
}
|
||||
if (buttonList.Contains(BLL.Const.BtnDelete))
|
||||
{
|
||||
this.btnMenuDelete.Hidden = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 导出按钮
|
||||
/// 导出按钮
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnOut_Click(object sender, EventArgs e)
|
||||
{
|
||||
Response.ClearContent();
|
||||
string filename = Funs.GetNewFileName();
|
||||
Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("本部检查项" + filename, System.Text.Encoding.UTF8) + ".xls");
|
||||
Response.ContentType = "application/excel";
|
||||
Response.ContentEncoding = System.Text.Encoding.UTF8;
|
||||
this.Grid1.PageSize = this.Grid1.RecordCount;
|
||||
//this.BindGrid();
|
||||
Response.Write(GetGridTableHtml(Grid1));
|
||||
Response.End();
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,143 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.BaseInfo
|
||||
{
|
||||
|
||||
|
||||
public partial class CheckTemplate
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
/// <summary>
|
||||
/// Panel1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel1;
|
||||
|
||||
/// <summary>
|
||||
/// Grid1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid Grid1;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar2;
|
||||
|
||||
/// <summary>
|
||||
/// btnNew 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnNew;
|
||||
|
||||
/// <summary>
|
||||
/// btnOut 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnOut;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarSeparator1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarText1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarText ToolbarText1;
|
||||
|
||||
/// <summary>
|
||||
/// ddlPageSize 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList ddlPageSize;
|
||||
|
||||
/// <summary>
|
||||
/// Window1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window Window1;
|
||||
|
||||
/// <summary>
|
||||
/// Menu1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Menu Menu1;
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuEdit 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuEdit;
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuDelete 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuDelete;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CheckTemplateEdit.aspx.cs" Inherits="FineUIPro.Web.BaseInfo.CheckTemplateEdit" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title></title>
|
||||
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" AutoSizePanelID="SimpleForm1" runat="server" />
|
||||
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
|
||||
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:NumberBox ID="txtIndexs" runat="server" Label="行号"
|
||||
NoDecimal="true" NoNegative="true" Required="true" ShowRedStar="true">
|
||||
</f:NumberBox>
|
||||
<f:NumberBox ID="txtSortIndex" runat="server" Label="序号" FocusOnPageLoad="true"
|
||||
NoDecimal="true" NoNegative="true" Required="true" ShowRedStar="true">
|
||||
</f:NumberBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtCheckItem" runat="server" Label="检查项" MaxLength="50" Required="true" ShowRedStar="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtCheckStandard" runat="server" Label="检查标准" MaxLength="2000" Required="true" ShowRedStar="true">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtCheckMethod" runat="server" Label="检查方法" MaxLength="800" Required="true" ShowRedStar="true">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:NumberBox ID="txtBaseScore" runat="server" Label="基准分" DecimalPrecision="2" NoNegative="true" Required="true" ShowRedStar="true">
|
||||
</f:NumberBox>
|
||||
<f:Label runat="server" ID="lb"></f:Label>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
|
||||
<Items>
|
||||
<f:ToolbarFill runat="server"></f:ToolbarFill>
|
||||
<f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="保存" ValidateForms="SimpleForm1" Hidden="true"
|
||||
OnClick="btnSave_Click">
|
||||
</f:Button>
|
||||
<f:Button ID="btnClose" EnablePostBack="false" ToolTip="关闭" Text="关闭" runat="server" Icon="SystemClose">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
</f:Form>
|
||||
<f:Window ID="Window1" Title="弹出窗体" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px"
|
||||
Height="500px">
|
||||
</f:Window>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,107 @@
|
||||
using BLL;
|
||||
using System;
|
||||
using System.Linq;
|
||||
|
||||
namespace FineUIPro.Web.BaseInfo
|
||||
{
|
||||
public partial class CheckTemplateEdit : PageBase
|
||||
{
|
||||
#region
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
public string CheckTemplateID
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["CheckTemplateID"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["CheckTemplateID"] = value;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
|
||||
////权限按钮方法
|
||||
this.GetButtonPower();
|
||||
this.CheckTemplateID = Request.Params["CheckTemplateID"];
|
||||
if (!string.IsNullOrEmpty(this.ID))
|
||||
{
|
||||
var getData = BLL.CheckTemplateService.GetCheckTemplateById(this.CheckTemplateID);
|
||||
if (getData != null)
|
||||
{
|
||||
this.txtSortIndex.Text = getData.SortIndex.ToString();
|
||||
this.txtCheckItem.Text = getData.CheckItem;
|
||||
this.txtCheckStandard.Text = getData.CheckStandard;
|
||||
this.txtCheckMethod.Text = getData.CheckMethod;
|
||||
this.txtBaseScore.Text = getData.BaseScore.ToString();
|
||||
this.txtIndexs.Text = getData.Indexs.ToString();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.txtIndexs.Text= ((Funs.DB.ProjectSupervision_CheckTemplate.Max(x => x.Indexs) ?? 0) + 1).ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 保存按钮
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
Model.ProjectSupervision_CheckTemplate newCheckTemplate = new Model.ProjectSupervision_CheckTemplate
|
||||
{
|
||||
ID = this.CheckTemplateID,
|
||||
SortIndex = Funs.GetNewInt( this.txtSortIndex.Text),
|
||||
CheckItem = this.txtCheckItem.Text.Trim(),
|
||||
CheckStandard = this.txtCheckStandard.Text.Trim(),
|
||||
CheckMethod = this.txtCheckMethod.Text.Trim(),
|
||||
BaseScore = Funs.GetNewDecimal(this.txtBaseScore.Text.Trim()),
|
||||
Indexs = Funs.GetNewInt(this.txtIndexs.Text),
|
||||
};
|
||||
|
||||
if (string.IsNullOrEmpty(this.CheckTemplateID))
|
||||
{
|
||||
newCheckTemplate.ID = SQLHelper.GetNewID();
|
||||
BLL.CheckTemplateService.AddCheckTemplate(newCheckTemplate);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
newCheckTemplate.ID = this.CheckTemplateID;
|
||||
BLL.CheckTemplateService.UpdateCheckTemplate(newCheckTemplate);
|
||||
}
|
||||
|
||||
PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference());
|
||||
}
|
||||
|
||||
#region 获取按钮权限
|
||||
/// <summary>
|
||||
/// 获取按钮权限
|
||||
/// </summary>
|
||||
/// <param name="button"></param>
|
||||
/// <returns></returns>
|
||||
private void GetButtonPower()
|
||||
{
|
||||
var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.PersonId, BLL.Const.CheckTemplateMenuId);
|
||||
if (buttonList.Count() > 0)
|
||||
{
|
||||
if (buttonList.Contains(BLL.Const.BtnSave))
|
||||
{
|
||||
this.btnSave.Hidden = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,143 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.BaseInfo
|
||||
{
|
||||
|
||||
|
||||
public partial class CheckTemplateEdit
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
/// <summary>
|
||||
/// SimpleForm1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form SimpleForm1;
|
||||
|
||||
/// <summary>
|
||||
/// txtIndexs 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.NumberBox txtIndexs;
|
||||
|
||||
/// <summary>
|
||||
/// txtSortIndex 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.NumberBox txtSortIndex;
|
||||
|
||||
/// <summary>
|
||||
/// txtCheckItem 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtCheckItem;
|
||||
|
||||
/// <summary>
|
||||
/// txtCheckStandard 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtCheckStandard;
|
||||
|
||||
/// <summary>
|
||||
/// txtCheckMethod 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtCheckMethod;
|
||||
|
||||
/// <summary>
|
||||
/// txtBaseScore 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.NumberBox txtBaseScore;
|
||||
|
||||
/// <summary>
|
||||
/// lb 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Label lb;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar1;
|
||||
|
||||
/// <summary>
|
||||
/// btnSave 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSave;
|
||||
|
||||
/// <summary>
|
||||
/// btnClose 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnClose;
|
||||
|
||||
/// <summary>
|
||||
/// Window1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window Window1;
|
||||
}
|
||||
}
|
||||
@@ -242,7 +242,9 @@
|
||||
<Content Include="AttachFile\uploader.aspx" />
|
||||
<Content Include="AttachFile\webuploader.aspx" />
|
||||
<Content Include="BaseInfo\AccidentType.aspx" />
|
||||
<Content Include="BaseInfo\CheckTemplate.aspx" />
|
||||
<Content Include="BaseInfo\BaseFactory.aspx" />
|
||||
<Content Include="BaseInfo\CheckTemplateEdit.aspx" />
|
||||
<Content Include="BaseInfo\BaseFactoryEdit.aspx" />
|
||||
<Content Include="BaseInfo\Certificate.aspx" />
|
||||
<Content Include="BaseInfo\CNProfessional.aspx" />
|
||||
@@ -5824,6 +5826,13 @@
|
||||
<Compile Include="BaseInfo\AccidentType.aspx.designer.cs">
|
||||
<DependentUpon>AccidentType.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="BaseInfo\CheckTemplate.aspx.cs">
|
||||
<DependentUpon>CheckTemplate.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="BaseInfo\CheckTemplate.aspx.designer.cs">
|
||||
<DependentUpon>CheckTemplate.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="BaseInfo\BaseFactory.aspx.cs">
|
||||
<DependentUpon>BaseFactory.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -5831,6 +5840,13 @@
|
||||
<Compile Include="BaseInfo\BaseFactory.aspx.designer.cs">
|
||||
<DependentUpon>BaseFactory.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="BaseInfo\CheckTemplateEdit.aspx.cs">
|
||||
<DependentUpon>CheckTemplateEdit.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="BaseInfo\CheckTemplateEdit.aspx.designer.cs">
|
||||
<DependentUpon>CheckTemplateEdit.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="BaseInfo\BaseFactoryEdit.aspx.cs">
|
||||
<DependentUpon>BaseFactoryEdit.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -13927,7 +13943,7 @@
|
||||
<AutoAssignPort>True</AutoAssignPort>
|
||||
<DevelopmentServerPort>0</DevelopmentServerPort>
|
||||
<DevelopmentServerVPath>/</DevelopmentServerVPath>
|
||||
<IISUrl>http://localhost:8392/</IISUrl>
|
||||
<IISUrl>http://localhost:5423/</IISUrl>
|
||||
<NTLMAuthentication>False</NTLMAuthentication>
|
||||
<UseCustomServer>False</UseCustomServer>
|
||||
<CustomServerUrl>
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
<TreeNode id="38143A01-D17C-4234-A1A1-D90A3F887438" Text="工作阶段定义" NavigateUrl="BaseInfo/WorkStage.aspx"></TreeNode>
|
||||
<TreeNode id="4BB6AC40-D4D5-439B-85CC-100E431CF3F1" Text="安全措施类型定义" NavigateUrl="BaseInfo/SafetyMeasures.aspx"></TreeNode>
|
||||
<TreeNode id="3EC2676A-70EB-400E-BE17-EEBBA0B7E9D7" Text="安全巡检类型定义" NavigateUrl="BaseInfo/HazardRegisterTypes.aspx"></TreeNode>
|
||||
<TreeNode id="F004D9B0-6E6A-41E0-88F1-2306BB6397C6" Text="本部检查项" NavigateUrl="BaseInfo/CheckTemplate.aspx"></TreeNode>
|
||||
</TreeNode>
|
||||
<TreeNode id="85DFE1D3-9E68-46B5-87E5-A525698F2F5F" Text="焊接设置" NavigateUrl=""><TreeNode id="8IDKGJE2-09B1-4607-BC6D-865CE48F0013" Text="管道材质定义" NavigateUrl="HJGL/BaseInfo/Material.aspx"></TreeNode>
|
||||
<TreeNode id="8IDKGJE2-09B1-4607-BC6D-865CE48F0011" Text="管道规格定义" NavigateUrl="HJGL/BaseInfo/Control.aspx"></TreeNode>
|
||||
|
||||
Reference in New Issue
Block a user