修改质量会议及培训
This commit is contained in:
parent
a2fd7be5ef
commit
6908efcf2c
|
|
@ -0,0 +1,43 @@
|
||||||
|
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
|
||||||
|
VALUES('D2027C3D-ECE9-445E-8DBE-AF0DA10005FC','培训对象','BaseInfo/CQMSTrainObject.aspx',85,'A93BA810-3511-4BB2-9C10-9663351DF79F','Menu_SysSet',1,1,1)
|
||||||
|
GO
|
||||||
|
INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||||
|
VALUES('47CDCB0A-A025-47CC-9196-C6DCB5D329A8','D2027C3D-ECE9-445E-8DBE-AF0DA10005FC','增加',1)
|
||||||
|
INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||||
|
VALUES('E963573E-41E7-443F-AA8C-27B08573C96B','D2027C3D-ECE9-445E-8DBE-AF0DA10005FC','修改',2)
|
||||||
|
INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||||
|
VALUES('1D2D8B68-462D-4484-AB1A-98B1FAD0D8E3','D2027C3D-ECE9-445E-8DBE-AF0DA10005FC','删除',3)
|
||||||
|
INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||||
|
VALUES('AF40B71B-8179-4E09-BFAA-DFDAA5862942','D2027C3D-ECE9-445E-8DBE-AF0DA10005FC','保存',4)
|
||||||
|
GO
|
||||||
|
|
||||||
|
|
||||||
|
CREATE TABLE [dbo].[Base_CQMSTrainObject](
|
||||||
|
[TrainObjectId] [nvarchar](50) NOT NULL,
|
||||||
|
[TrainObjectCode] [nvarchar](50) NULL,
|
||||||
|
[TrainObjectName] [nvarchar](50) NULL,
|
||||||
|
[Remark] [nvarchar](200) NULL,
|
||||||
|
CONSTRAINT [PK_Base_CQMSTrainObject] PRIMARY KEY CLUSTERED
|
||||||
|
(
|
||||||
|
[TrainObjectId] ASC
|
||||||
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
||||||
|
) ON [PRIMARY]
|
||||||
|
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Base_CQMSTrainObject', @level2type=N'COLUMN',@level2name=N'TrainObjectId'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Base_CQMSTrainObject', @level2type=N'COLUMN',@level2name=N'TrainObjectCode'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Base_CQMSTrainObject', @level2type=N'COLUMN',@level2name=N'TrainObjectName'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Base_CQMSTrainObject', @level2type=N'COLUMN',@level2name=N'Remark'
|
||||||
|
GO
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'培训对象表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Base_CQMSTrainObject'
|
||||||
|
GO
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
--ADD BY gaofei 2022-09-12
|
||||||
|
1,调整质量会议页面
|
||||||
|
2,增加培训对象字典,修改培训计划及培训记录中的培训对象
|
||||||
|
--END
|
||||||
|
|
@ -347,6 +347,19 @@ GO
|
||||||
VALUES('D14B9367-64DC-4FE4-A9B8-4DD7730622D9','164CDCED-E794-4177-AADE-23CA8E1AA1B8','±£´æ',4)
|
VALUES('D14B9367-64DC-4FE4-A9B8-4DD7730622D9','164CDCED-E794-4177-AADE-23CA8E1AA1B8','±£´æ',4)
|
||||||
GO
|
GO
|
||||||
|
|
||||||
|
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
|
||||||
|
VALUES('D2027C3D-ECE9-445E-8DBE-AF0DA10005FC','培训对象','BaseInfo/CQMSTrainObject.aspx',85,'A93BA810-3511-4BB2-9C10-9663351DF79F','Menu_SysSet',1,1,1)
|
||||||
|
GO
|
||||||
|
INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||||
|
VALUES('47CDCB0A-A025-47CC-9196-C6DCB5D329A8','D2027C3D-ECE9-445E-8DBE-AF0DA10005FC','增加',1)
|
||||||
|
INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||||
|
VALUES('E963573E-41E7-443F-AA8C-27B08573C96B','D2027C3D-ECE9-445E-8DBE-AF0DA10005FC','修改',2)
|
||||||
|
INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||||
|
VALUES('1D2D8B68-462D-4484-AB1A-98B1FAD0D8E3','D2027C3D-ECE9-445E-8DBE-AF0DA10005FC','删除',3)
|
||||||
|
INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||||
|
VALUES('AF40B71B-8179-4E09-BFAA-DFDAA5862942','D2027C3D-ECE9-445E-8DBE-AF0DA10005FC','保存',4)
|
||||||
|
GO
|
||||||
|
|
||||||
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
|
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
|
||||||
VALUES('E20647B6-315D-483B-8E5D-4810DBECE79E','ÖÊÁ¿½±³Í¶¨Òå','',90,'A93BA810-3511-4BB2-9C10-9663351DF79F','Menu_SysSet',1,0,1)
|
VALUES('E20647B6-315D-483B-8E5D-4810DBECE79E','ÖÊÁ¿½±³Í¶¨Òå','',90,'A93BA810-3511-4BB2-9C10-9663351DF79F','Menu_SysSet',1,0,1)
|
||||||
GO
|
GO
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@
|
||||||
<HintPath>..\packages\EmitMapper.1.0.0\lib\EmitMapper.dll</HintPath>
|
<HintPath>..\packages\EmitMapper.1.0.0\lib\EmitMapper.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="FineUIPro">
|
<Reference Include="FineUIPro">
|
||||||
<HintPath>..\FineUIPro\FineUIPro.dll</HintPath>
|
<HintPath>..\FineUIPro\Reference BLL\FineUIPro.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="ICSharpCode.SharpZipLib, Version=1.3.3.11, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL">
|
<Reference Include="ICSharpCode.SharpZipLib, Version=1.3.3.11, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\SharpZipLib.1.3.3\lib\net45\ICSharpCode.SharpZipLib.dll</HintPath>
|
<HintPath>..\packages\SharpZipLib.1.3.3\lib\net45\ICSharpCode.SharpZipLib.dll</HintPath>
|
||||||
|
|
@ -169,6 +169,7 @@
|
||||||
<Compile Include="BaseInfo\CompanyModelService.cs" />
|
<Compile Include="BaseInfo\CompanyModelService.cs" />
|
||||||
<Compile Include="BaseInfo\ConstructionTestTypeService.cs" />
|
<Compile Include="BaseInfo\ConstructionTestTypeService.cs" />
|
||||||
<Compile Include="BaseInfo\CostTypeService.cs" />
|
<Compile Include="BaseInfo\CostTypeService.cs" />
|
||||||
|
<Compile Include="BaseInfo\CQMSTrainObjectService.cs" />
|
||||||
<Compile Include="BaseInfo\CQMSTrainTypeService.cs" />
|
<Compile Include="BaseInfo\CQMSTrainTypeService.cs" />
|
||||||
<Compile Include="BaseInfo\DesignProfessionalService.cs" />
|
<Compile Include="BaseInfo\DesignProfessionalService.cs" />
|
||||||
<Compile Include="BaseInfo\EmergencyTypeService.cs" />
|
<Compile Include="BaseInfo\EmergencyTypeService.cs" />
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,117 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace BLL
|
||||||
|
{
|
||||||
|
public static class CQMSTrainObjectService
|
||||||
|
{
|
||||||
|
public static Model.SGGLDB db = Funs.DB;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 根据主键获取培训对象
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="trainObjectId"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static Model.Base_CQMSTrainObject GetTrainObjectById(string trainObjectId)
|
||||||
|
{
|
||||||
|
return Funs.DB.Base_CQMSTrainObject.FirstOrDefault(e => e.TrainObjectId == trainObjectId);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 根据主键获取培训对象
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="trainObjectId"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static string GetTrainObjectNameById(string trainObjectId)
|
||||||
|
{
|
||||||
|
string name = string.Empty;
|
||||||
|
var o= Funs.DB.Base_CQMSTrainObject.FirstOrDefault(e => e.TrainObjectId == trainObjectId);
|
||||||
|
if (o != null)
|
||||||
|
{
|
||||||
|
name = o.TrainObjectName;
|
||||||
|
}
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 添加培训对象
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="trainObject"></param>
|
||||||
|
public static void AddTrainObject(Model.Base_CQMSTrainObject trainObject)
|
||||||
|
{
|
||||||
|
Model.SGGLDB db = Funs.DB;
|
||||||
|
Model.Base_CQMSTrainObject newTrainObject = new Model.Base_CQMSTrainObject
|
||||||
|
{
|
||||||
|
TrainObjectId = trainObject.TrainObjectId,
|
||||||
|
TrainObjectCode = trainObject.TrainObjectCode,
|
||||||
|
TrainObjectName = trainObject.TrainObjectName,
|
||||||
|
Remark = trainObject.Remark,
|
||||||
|
};
|
||||||
|
db.Base_CQMSTrainObject.InsertOnSubmit(newTrainObject);
|
||||||
|
db.SubmitChanges();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 修改培训对象
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="trainObject"></param>
|
||||||
|
public static void UpdateTrainObject(Model.Base_CQMSTrainObject trainObject)
|
||||||
|
{
|
||||||
|
Model.SGGLDB db = Funs.DB;
|
||||||
|
Model.Base_CQMSTrainObject newTrainObject = db.Base_CQMSTrainObject.FirstOrDefault(e => e.TrainObjectId == trainObject.TrainObjectId);
|
||||||
|
if (newTrainObject != null)
|
||||||
|
{
|
||||||
|
newTrainObject.TrainObjectCode = trainObject.TrainObjectCode;
|
||||||
|
newTrainObject.TrainObjectName = trainObject.TrainObjectName;
|
||||||
|
newTrainObject.Remark = trainObject.Remark;
|
||||||
|
db.SubmitChanges();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 根据主键删除培训对象
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="trainObjectId"></param>
|
||||||
|
public static void DeleteTrainObjectById(string trainObjectId)
|
||||||
|
{
|
||||||
|
Model.SGGLDB db = Funs.DB;
|
||||||
|
Model.Base_CQMSTrainObject trainObject = db.Base_CQMSTrainObject.FirstOrDefault(e => e.TrainObjectId == trainObjectId);
|
||||||
|
if (trainObject != null)
|
||||||
|
{
|
||||||
|
db.Base_CQMSTrainObject.DeleteOnSubmit(trainObject);
|
||||||
|
db.SubmitChanges();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取培训对象列表
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static List<Model.Base_CQMSTrainObject> GetTrainObjectList()
|
||||||
|
{
|
||||||
|
return (from x in Funs.DB.Base_CQMSTrainObject orderby x.TrainObjectCode select x).ToList();
|
||||||
|
}
|
||||||
|
|
||||||
|
#region 培训对象下拉框
|
||||||
|
/// <summary>
|
||||||
|
/// 培训对象下拉框
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="dropName">下拉框名字</param>
|
||||||
|
/// <param name="isShowPlease">是否显示请选择</param>
|
||||||
|
public static void InitTrainObjectDropDownList(FineUIPro.DropDownList dropName, bool isShowPlease)
|
||||||
|
{
|
||||||
|
dropName.DataValueField = "TrainObjectId";
|
||||||
|
dropName.DataTextField = "TrainObjectName";
|
||||||
|
dropName.DataSource = GetTrainObjectList();
|
||||||
|
dropName.DataBind();
|
||||||
|
if (isShowPlease)
|
||||||
|
{
|
||||||
|
Funs.FineUIPleaseSelect(dropName);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1015,6 +1015,11 @@
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public const string CQMSTrainTypeMenuId = "164CDCED-E794-4177-AADE-23CA8E1AA1B8";
|
public const string CQMSTrainTypeMenuId = "164CDCED-E794-4177-AADE-23CA8E1AA1B8";
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 培训对象
|
||||||
|
/// </summary>
|
||||||
|
public const string CQMSTrainObjectMenuId = "D2027C3D-ECE9-445E-8DBE-AF0DA10005FC";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 奖励定义
|
/// 奖励定义
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,147 @@
|
||||||
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CQMSTrainObject.aspx.cs" Inherits="FineUIPro.Web.BaseInfo.CQMSTrainObject" %>
|
||||||
|
|
||||||
|
<!DOCTYPE html>
|
||||||
|
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head runat="server">
|
||||||
|
<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="Panel1" runat="server" />
|
||||||
|
<f:Panel ID="Panel1" runat="server" Margin="5px" BodyPadding="5px" Title="培训对象" Layout="HBox" ShowHeader="false">
|
||||||
|
<Items>
|
||||||
|
<f:Grid ID="Grid1" Title="培训对象" ShowHeader="false" EnableCollapse="true" PageSize="10" EnableColumnLines="true"
|
||||||
|
ShowBorder="true" AllowPaging="true" IsDatabasePaging="true" runat="server" Width="750px" ForceFit="true"
|
||||||
|
DataKeyNames="TrainObjectId" DataIDField="TrainObjectId" OnPageIndexChange="Grid1_PageIndexChange"
|
||||||
|
AllowFilters="true" OnFilterChange="Grid1_FilterChange" EnableTextSelection="True">
|
||||||
|
<Columns>
|
||||||
|
<f:RowNumberField EnablePagingNumber="true" HeaderText="序号" Width="50px" HeaderTextAlign="Center"
|
||||||
|
TextAlign="Center" />
|
||||||
|
<f:RenderField Width="150px" ColumnID="TrainObjectCode" DataField="TrainObjectCode"
|
||||||
|
FieldType="String" HeaderText="对象编号" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="250px" ColumnID="TrainObjectName" DataField="TrainObjectName"
|
||||||
|
FieldType="String" HeaderText="对象名称" HeaderTextAlign="Center" TextAlign="Left">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="250px" ColumnID="Remark" DataField="Remark" FieldType="String"
|
||||||
|
HeaderText="备注" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
</Columns>
|
||||||
|
<Listeners>
|
||||||
|
<f:Listener Event="rowselect" Handler="onGridRowSelect" />
|
||||||
|
<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>
|
||||||
|
<f:SimpleForm ID="SimpleForm1" runat="server" ShowBorder="true" ShowHeader="false"
|
||||||
|
LabelWidth="80px" BodyPadding="5px" Width="350px">
|
||||||
|
<Items>
|
||||||
|
<f:HiddenField ID="hfFormID" runat="server">
|
||||||
|
</f:HiddenField>
|
||||||
|
<f:TextBox ID="txtTrainObjectCode" Label="编号" ShowRedStar="true" Required="true"
|
||||||
|
runat="server" LabelAlign="right" AutoPostBack="true" OnTextChanged="TextBox_TextChanged">
|
||||||
|
</f:TextBox>
|
||||||
|
<f:TextBox ID="txtTrainObjectName" Label="名称" ShowRedStar="true" Required="true"
|
||||||
|
runat="server" LabelAlign="right" AutoPostBack="true" OnTextChanged="TextBox_TextChanged">
|
||||||
|
</f:TextBox>
|
||||||
|
<f:TextArea ID="txtRemark" runat="server" Label="备注" LabelAlign="right">
|
||||||
|
</f:TextArea>
|
||||||
|
</Items>
|
||||||
|
<Toolbars>
|
||||||
|
<f:Toolbar ID="Toolbar1" Position="Bottom" runat="server">
|
||||||
|
<Items>
|
||||||
|
<f:Button ID="btnNew" Icon="Add" Text="新增" EnablePostBack="false" runat="server">
|
||||||
|
<Listeners>
|
||||||
|
<f:Listener Event="click" Handler="onNewButtonClick" />
|
||||||
|
</Listeners>
|
||||||
|
</f:Button>
|
||||||
|
<f:Button ID="btnDelete" Enabled="false" Text="删除" Icon="Delete" ConfirmText="确定删除当前数据?"
|
||||||
|
OnClick="btnDelete_Click" runat="server">
|
||||||
|
</f:Button>
|
||||||
|
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||||
|
</f:ToolbarFill>
|
||||||
|
<f:Button ID="btnSave" Icon="SystemSave" runat="server" ValidateForms="SimpleForm1"
|
||||||
|
OnClick="btnSave_Click" Text="保存">
|
||||||
|
</f:Button>
|
||||||
|
</Items>
|
||||||
|
</f:Toolbar>
|
||||||
|
</Toolbars>
|
||||||
|
</f:SimpleForm>
|
||||||
|
</Items>
|
||||||
|
</f:Panel>
|
||||||
|
<f:Menu ID="Menu1" runat="server">
|
||||||
|
<f:MenuButton ID="btnMenuEdit" OnClick="btnMenuEdit_Click" EnablePostBack="true"
|
||||||
|
Icon="Pencil" runat="server" Text="编辑" >
|
||||||
|
</f:MenuButton>
|
||||||
|
<f:MenuButton ID="btnMenuDelete" OnClick="btnMenuDelete_Click" EnablePostBack="true"
|
||||||
|
Icon="Delete" 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 reloadGrid() {
|
||||||
|
__doPostBack(null, 'reloadGrid');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
var gridClientID = '<%= Grid1.ClientID %>';
|
||||||
|
var btnDeleteClientID = '<%= btnDelete.ClientID %>';
|
||||||
|
var btnSaveClientID = '<%= btnSave.ClientID %>';
|
||||||
|
|
||||||
|
var formClientID = '<%= SimpleForm1.ClientID %>';
|
||||||
|
var hfFormIDClientID = '<%= hfFormID.ClientID %>';
|
||||||
|
var txtCodeClientID = '<%= txtTrainObjectCode.ClientID %>';
|
||||||
|
var txtNameClientID = '<%= txtTrainObjectName.ClientID %>';
|
||||||
|
var txtRemarkClientID = '<%=txtRemark.ClientID %>';
|
||||||
|
|
||||||
|
function onGridRowSelect(event, rowId) {
|
||||||
|
var grid = F(gridClientID);
|
||||||
|
|
||||||
|
// 启用删除按钮
|
||||||
|
F(btnDeleteClientID).enable();
|
||||||
|
|
||||||
|
// 当前行数据
|
||||||
|
var rowValue = grid.getRowValue(rowId);
|
||||||
|
|
||||||
|
// 使用当前行数据填充表单字段
|
||||||
|
F(hfFormIDClientID).setValue(rowId);
|
||||||
|
F(txtCodeClientID).setValue(rowValue['TrainObjectCode']);
|
||||||
|
F(txtNameClientID).setValue(rowValue['TrainObjectName']);
|
||||||
|
F(txtRemarkClientID).setValue(rowValue['Remark']);
|
||||||
|
|
||||||
|
// 更新保存按钮文本
|
||||||
|
// F(btnSaveClientID).setText('保存数据(编辑)');
|
||||||
|
}
|
||||||
|
|
||||||
|
function onNewButtonClick() {
|
||||||
|
// 重置表单字段
|
||||||
|
F(formClientID).reset();
|
||||||
|
F(hfFormIDClientID).reset();
|
||||||
|
// 清空表格选中行
|
||||||
|
F(gridClientID).clearSelections();
|
||||||
|
// 禁用删除按钮
|
||||||
|
F(btnDeleteClientID).disable();
|
||||||
|
|
||||||
|
// 更新保存按钮文本
|
||||||
|
// F(btnSaveClientID).setText('保存数据(新增)');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,278 @@
|
||||||
|
using BLL;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Web.UI.WebControls;
|
||||||
|
|
||||||
|
namespace FineUIPro.Web.BaseInfo
|
||||||
|
{
|
||||||
|
public partial class CQMSTrainObject : PageBase
|
||||||
|
{
|
||||||
|
#region 加载
|
||||||
|
/// <summary>
|
||||||
|
/// 加载页面
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void Page_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (!IsPostBack)
|
||||||
|
{
|
||||||
|
////权限按钮方法
|
||||||
|
this.GetButtonPower();
|
||||||
|
Funs.DropDownPageSize(this.ddlPageSize);
|
||||||
|
ddlPageSize.SelectedValue = Grid1.PageSize.ToString();
|
||||||
|
// 绑定表格
|
||||||
|
BindGrid();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 绑定数据
|
||||||
|
/// </summary>
|
||||||
|
private void BindGrid()
|
||||||
|
{
|
||||||
|
var q = from x in Funs.DB.Base_CQMSTrainObject orderby x.TrainObjectCode select x;
|
||||||
|
Grid1.RecordCount = q.Count();
|
||||||
|
// 2.获取当前分页数据
|
||||||
|
var table = GetPagedDataTable(Grid1.PageIndex, Grid1.PageSize);
|
||||||
|
Grid1.DataSource = table;
|
||||||
|
Grid1.DataBind();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 过滤表头
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void Grid1_FilterChange(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
BindGrid();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 分页
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
private List<Model.Base_CQMSTrainObject> GetPagedDataTable(int pageIndex, int pageSize)
|
||||||
|
{
|
||||||
|
List<Model.Base_CQMSTrainObject> source = (from x in Funs.DB.Base_CQMSTrainObject orderby x.TrainObjectCode select x).ToList();
|
||||||
|
List<Model.Base_CQMSTrainObject> paged = new List<Model.Base_CQMSTrainObject>();
|
||||||
|
|
||||||
|
int rowbegin = pageIndex * pageSize;
|
||||||
|
int rowend = (pageIndex + 1) * pageSize;
|
||||||
|
if (rowend > source.Count())
|
||||||
|
{
|
||||||
|
rowend = source.Count();
|
||||||
|
}
|
||||||
|
|
||||||
|
for (int i = rowbegin; i < rowend; i++)
|
||||||
|
{
|
||||||
|
paged.Add(source[i]);
|
||||||
|
}
|
||||||
|
|
||||||
|
return paged;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 改变索引事件
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
|
||||||
|
{
|
||||||
|
Grid1.PageIndex = e.NewPageIndex;
|
||||||
|
BindGrid();
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 分页下拉选择
|
||||||
|
/// <summary>
|
||||||
|
/// 分页下拉选择
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
|
||||||
|
BindGrid();
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 删除
|
||||||
|
/// <summary>
|
||||||
|
/// 删除
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void btnDelete_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
var getV = BLL.CQMSTrainObjectService.GetTrainObjectById(hfFormID.Text);
|
||||||
|
if (getV != null)
|
||||||
|
{
|
||||||
|
BLL.LogService.AddSys_Log(this.CurrUser, getV.TrainObjectCode, getV.TrainObjectId, BLL.Const.CQMSTrainObjectMenuId, BLL.Const.BtnDelete);
|
||||||
|
BLL.CQMSTrainObjectService.DeleteTrainObjectById(getV.TrainObjectId);
|
||||||
|
|
||||||
|
// 重新绑定表格,并模拟点击[新增按钮]
|
||||||
|
BindGrid();
|
||||||
|
PageContext.RegisterStartupScript("onNewButtonClick();");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// 右键删除事件
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void btnMenuDelete_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.DeleteData();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 删除方法
|
||||||
|
/// </summary>
|
||||||
|
private void DeleteData()
|
||||||
|
{
|
||||||
|
if (Grid1.SelectedRowIndexArray.Length > 0)
|
||||||
|
{
|
||||||
|
foreach (int rowIndex in Grid1.SelectedRowIndexArray)
|
||||||
|
{
|
||||||
|
string rowID = Grid1.DataKeys[rowIndex][0].ToString();
|
||||||
|
|
||||||
|
var getV = BLL.CQMSTrainObjectService.GetTrainObjectById(hfFormID.Text);
|
||||||
|
if (getV != null)
|
||||||
|
{
|
||||||
|
BLL.LogService.AddSys_Log(this.CurrUser, getV.TrainObjectCode, getV.TrainObjectId, BLL.Const.CQMSTrainObjectMenuId, BLL.Const.BtnDelete);
|
||||||
|
BLL.CQMSTrainObjectService.DeleteTrainObjectById(getV.TrainObjectId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
BindGrid();
|
||||||
|
PageContext.RegisterStartupScript("onNewButtonClick();");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 编辑
|
||||||
|
/// <summary>
|
||||||
|
/// 右键编辑事件
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void btnMenuEdit_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.EditData();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 编辑数据方法
|
||||||
|
/// </summary>
|
||||||
|
private void EditData()
|
||||||
|
{
|
||||||
|
if (Grid1.SelectedRowIndexArray.Length == 0)
|
||||||
|
{
|
||||||
|
Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
string Id = Grid1.SelectedRowID;
|
||||||
|
var TrainObject = BLL.CQMSTrainObjectService.GetTrainObjectById(Id);
|
||||||
|
if (TrainObject != null)
|
||||||
|
{
|
||||||
|
this.txtTrainObjectCode.Text = TrainObject.TrainObjectCode;
|
||||||
|
this.txtTrainObjectName.Text = TrainObject.TrainObjectName;
|
||||||
|
this.txtRemark.Text = TrainObject.Remark;
|
||||||
|
hfFormID.Text = Id;
|
||||||
|
this.btnDelete.Enabled = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 保存
|
||||||
|
/// <summary>
|
||||||
|
/// 保存按钮
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void btnSave_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
string strRowID = hfFormID.Text;
|
||||||
|
Model.Base_CQMSTrainObject TrainObject = new Model.Base_CQMSTrainObject
|
||||||
|
{
|
||||||
|
TrainObjectCode = this.txtTrainObjectCode.Text.Trim(),
|
||||||
|
TrainObjectName = this.txtTrainObjectName.Text.Trim(),
|
||||||
|
Remark = txtRemark.Text.Trim()
|
||||||
|
};
|
||||||
|
if (string.IsNullOrEmpty(strRowID))
|
||||||
|
{
|
||||||
|
TrainObject.TrainObjectId = SQLHelper.GetNewID(typeof(Model.Base_CQMSTrainObject));
|
||||||
|
BLL.CQMSTrainObjectService.AddTrainObject(TrainObject);
|
||||||
|
BLL.LogService.AddSys_Log(this.CurrUser, TrainObject.TrainObjectCode, TrainObject.TrainObjectId, BLL.Const.CQMSTrainObjectMenuId, BLL.Const.BtnAdd);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
TrainObject.TrainObjectId = strRowID;
|
||||||
|
BLL.CQMSTrainObjectService.UpdateTrainObject(TrainObject);
|
||||||
|
BLL.LogService.AddSys_Log(this.CurrUser, TrainObject.TrainObjectCode, TrainObject.TrainObjectId, BLL.Const.CQMSTrainObjectMenuId, BLL.Const.BtnModify);
|
||||||
|
}
|
||||||
|
|
||||||
|
this.SimpleForm1.Reset();
|
||||||
|
// 重新绑定表格,并点击当前编辑或者新增的行
|
||||||
|
BindGrid();
|
||||||
|
PageContext.RegisterStartupScript(String.Format("F('{0}').selectRow('{1}');", Grid1.ClientID, TrainObject.TrainObjectId));
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 验证对象名称、编号是否存在
|
||||||
|
/// <summary>
|
||||||
|
/// 验证对象名称、编号是否存在
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void TextBox_TextChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
var q = Funs.DB.Base_CQMSTrainObject.FirstOrDefault(x => x.TrainObjectCode == this.txtTrainObjectCode.Text.Trim() && (x.TrainObjectId != hfFormID.Text || (hfFormID.Text == null && x.TrainObjectId != null)));
|
||||||
|
if (q != null)
|
||||||
|
{
|
||||||
|
ShowNotify("输入的对象编号已存在!", MessageBoxIcon.Warning);
|
||||||
|
}
|
||||||
|
|
||||||
|
var q2 = Funs.DB.Base_CQMSTrainObject.FirstOrDefault(x => x.TrainObjectName == this.txtTrainObjectName.Text.Trim() && (x.TrainObjectId != hfFormID.Text || (hfFormID.Text == null && x.TrainObjectId != null)));
|
||||||
|
if (q2 != null)
|
||||||
|
{
|
||||||
|
ShowNotify("输入的对象名称已存在!", MessageBoxIcon.Warning);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#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.CQMSTrainObjectMenuId);
|
||||||
|
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.btnDelete.Hidden = false;
|
||||||
|
this.btnMenuDelete.Hidden = false;
|
||||||
|
}
|
||||||
|
if (buttonList.Contains(BLL.Const.BtnSave))
|
||||||
|
{
|
||||||
|
this.btnSave.Hidden = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,195 @@
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <自动生成>
|
||||||
|
// 此代码由工具生成。
|
||||||
|
//
|
||||||
|
// 对此文件的更改可能导致不正确的行为,如果
|
||||||
|
// 重新生成代码,则所做更改将丢失。
|
||||||
|
// </自动生成>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace FineUIPro.Web.BaseInfo {
|
||||||
|
|
||||||
|
|
||||||
|
public partial class CQMSTrainObject {
|
||||||
|
|
||||||
|
/// <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>
|
||||||
|
/// 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>
|
||||||
|
/// SimpleForm1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.SimpleForm SimpleForm1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// hfFormID 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.HiddenField hfFormID;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtTrainObjectCode 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox txtTrainObjectCode;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtTrainObjectName 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox txtTrainObjectName;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtRemark 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextArea txtRemark;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Toolbar1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Toolbar Toolbar1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnNew 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnNew;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnDelete 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnDelete;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// ToolbarFill1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnSave 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnSave;
|
||||||
|
|
||||||
|
/// <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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -39,20 +39,20 @@
|
||||||
</f:TextBox>
|
</f:TextBox>
|
||||||
<f:DropDownList ID="drpUnit" runat="server" ShowRedStar="true" Label="单位" LabelWidth="100px" LabelAlign="Right" EnableEdit="true" AutoPostBack="true" OnSelectedIndexChanged="drpUnit_SelectedIndexChanged">
|
<f:DropDownList ID="drpUnit" runat="server" ShowRedStar="true" Label="单位" LabelWidth="100px" LabelAlign="Right" EnableEdit="true" AutoPostBack="true" OnSelectedIndexChanged="drpUnit_SelectedIndexChanged">
|
||||||
</f:DropDownList>
|
</f:DropDownList>
|
||||||
</Items>
|
|
||||||
</f:FormRow>
|
|
||||||
<f:FormRow>
|
|
||||||
<Items>
|
|
||||||
<f:DatePicker ID="txtMeetingDate" ShowRedStar="true" Required="true" runat="server" Label="时间" LabelAlign="Right"
|
<f:DatePicker ID="txtMeetingDate" ShowRedStar="true" Required="true" runat="server" Label="时间" LabelAlign="Right"
|
||||||
EnableEdit="true">
|
EnableEdit="true">
|
||||||
</f:DatePicker>
|
</f:DatePicker>
|
||||||
<f:TextBox ID="txtPlace" runat="server" Label="地点" ShowRedStar="true" Required="true"
|
|
||||||
MaxLength="200" LabelWidth="100px">
|
|
||||||
</f:TextBox>
|
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
|
|
||||||
|
<f:TextBox ID="txtMeetingTheme" runat="server" Label="会议主题" ShowRedStar="true" Required="true"
|
||||||
|
MaxLength="200" LabelWidth="100px">
|
||||||
|
</f:TextBox>
|
||||||
|
<f:TextBox ID="txtPlace" runat="server" Label="地点" ShowRedStar="true" Required="true"
|
||||||
|
MaxLength="200" LabelWidth="100px">
|
||||||
|
</f:TextBox>
|
||||||
<f:DropDownList ID="drpHostMan" runat="server" ShowRedStar="true" Required="true" Label="主持人" LabelAlign="Right" EnableCheckBoxSelect="true" EnableMultiSelect="true" EnableEdit="true" LabelWidth="100px">
|
<f:DropDownList ID="drpHostMan" runat="server" ShowRedStar="true" Required="true" Label="主持人" LabelAlign="Right" EnableCheckBoxSelect="true" EnableMultiSelect="true" EnableEdit="true" LabelWidth="100px">
|
||||||
</f:DropDownList>
|
</f:DropDownList>
|
||||||
</Items>
|
</Items>
|
||||||
|
|
@ -65,14 +65,7 @@
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
<f:TextBox ID="txtMeetingTheme" runat="server" Label="会议主题" ShowRedStar="true" Required="true"
|
<f:TextArea ID="txtMeetingContents" ShowRedStar="true" Required="true" Height="200px" runat="server" Label="主要内容" MaxLength="3000">
|
||||||
MaxLength="200" LabelWidth="100px">
|
|
||||||
</f:TextBox>
|
|
||||||
</Items>
|
|
||||||
</f:FormRow>
|
|
||||||
<f:FormRow>
|
|
||||||
<Items>
|
|
||||||
<f:TextArea ID="txtMeetingContents" ShowRedStar="true" Required="true" runat="server" Label="主要内容" MaxLength="3000">
|
|
||||||
</f:TextArea>
|
</f:TextArea>
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
|
|
|
||||||
|
|
@ -84,6 +84,15 @@ namespace FineUIPro.Web.CQMS.Meeting {
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.DatePicker txtMeetingDate;
|
protected global::FineUIPro.DatePicker txtMeetingDate;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtMeetingTheme 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox txtMeetingTheme;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// txtPlace 控件。
|
/// txtPlace 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -111,15 +120,6 @@ namespace FineUIPro.Web.CQMS.Meeting {
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.DropDownList drpAttentPerson;
|
protected global::FineUIPro.DropDownList drpAttentPerson;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// txtMeetingTheme 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.TextBox txtMeetingTheme;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// txtMeetingContents 控件。
|
/// txtMeetingContents 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
||||||
|
|
@ -39,20 +39,19 @@
|
||||||
</f:TextBox>
|
</f:TextBox>
|
||||||
<f:DropDownList ID="drpUnit" runat="server" ShowRedStar="true" Label="单位" LabelWidth="100px" LabelAlign="Right" EnableEdit="true" Readonly="true">
|
<f:DropDownList ID="drpUnit" runat="server" ShowRedStar="true" Label="单位" LabelWidth="100px" LabelAlign="Right" EnableEdit="true" Readonly="true">
|
||||||
</f:DropDownList>
|
</f:DropDownList>
|
||||||
</Items>
|
|
||||||
</f:FormRow>
|
|
||||||
<f:FormRow>
|
|
||||||
<Items>
|
|
||||||
<f:DatePicker ID="txtMeetingDate" ShowRedStar="true" Required="true" runat="server" Label="时间" LabelAlign="Right" Readonly="true"
|
<f:DatePicker ID="txtMeetingDate" ShowRedStar="true" Required="true" runat="server" Label="时间" LabelAlign="Right" Readonly="true"
|
||||||
EnableEdit="true">
|
EnableEdit="true">
|
||||||
</f:DatePicker>
|
</f:DatePicker>
|
||||||
<f:TextBox ID="txtPlace" runat="server" Label="地点" ShowRedStar="true" Required="true" Readonly="true"
|
|
||||||
MaxLength="200" LabelWidth="100px">
|
|
||||||
</f:TextBox>
|
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
|
<f:TextBox ID="txtMeetingTheme" runat="server" Label="会议主题" ShowRedStar="true" Required="true" Readonly="true"
|
||||||
|
MaxLength="200" LabelWidth="100px">
|
||||||
|
</f:TextBox>
|
||||||
|
<f:TextBox ID="txtPlace" runat="server" Label="地点" ShowRedStar="true" Required="true" Readonly="true"
|
||||||
|
MaxLength="200" LabelWidth="100px">
|
||||||
|
</f:TextBox>
|
||||||
<f:DropDownList ID="drpHostMan" runat="server" ShowRedStar="true" Required="true" Label="主持人" LabelAlign="Right" EnableCheckBoxSelect="true" EnableMultiSelect="true" EnableEdit="true" Readonly="true" LabelWidth="100px">
|
<f:DropDownList ID="drpHostMan" runat="server" ShowRedStar="true" Required="true" Label="主持人" LabelAlign="Right" EnableCheckBoxSelect="true" EnableMultiSelect="true" EnableEdit="true" Readonly="true" LabelWidth="100px">
|
||||||
</f:DropDownList>
|
</f:DropDownList>
|
||||||
</Items>
|
</Items>
|
||||||
|
|
@ -65,14 +64,7 @@
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
<f:TextBox ID="txtMeetingTheme" runat="server" Label="会议主题" ShowRedStar="true" Required="true" Readonly="true"
|
<f:TextArea ID="txtMeetingContents" ShowRedStar="true" Required="true" runat="server" Label="主要内容" Height="200px" MaxLength="3000" Readonly="true">
|
||||||
MaxLength="200" LabelWidth="100px">
|
|
||||||
</f:TextBox>
|
|
||||||
</Items>
|
|
||||||
</f:FormRow>
|
|
||||||
<f:FormRow>
|
|
||||||
<Items>
|
|
||||||
<f:TextArea ID="txtMeetingContents" ShowRedStar="true" Required="true" runat="server" Label="主要内容" MaxLength="3000" Readonly="true">
|
|
||||||
</f:TextArea>
|
</f:TextArea>
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
|
|
|
||||||
|
|
@ -84,6 +84,15 @@ namespace FineUIPro.Web.CQMS.Meeting {
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.DatePicker txtMeetingDate;
|
protected global::FineUIPro.DatePicker txtMeetingDate;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtMeetingTheme 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox txtMeetingTheme;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// txtPlace 控件。
|
/// txtPlace 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -111,15 +120,6 @@ namespace FineUIPro.Web.CQMS.Meeting {
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.DropDownList drpAttentPerson;
|
protected global::FineUIPro.DropDownList drpAttentPerson;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// txtMeetingTheme 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.TextBox txtMeetingTheme;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// txtMeetingContents 控件。
|
/// txtMeetingContents 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
||||||
|
|
@ -39,20 +39,19 @@
|
||||||
</f:TextBox>
|
</f:TextBox>
|
||||||
<f:DropDownList ID="drpUnit" runat="server" ShowRedStar="true" Label="单位" LabelWidth="100px" LabelAlign="Right" EnableEdit="true" AutoPostBack="true" OnSelectedIndexChanged="drpUnit_SelectedIndexChanged">
|
<f:DropDownList ID="drpUnit" runat="server" ShowRedStar="true" Label="单位" LabelWidth="100px" LabelAlign="Right" EnableEdit="true" AutoPostBack="true" OnSelectedIndexChanged="drpUnit_SelectedIndexChanged">
|
||||||
</f:DropDownList>
|
</f:DropDownList>
|
||||||
</Items>
|
|
||||||
</f:FormRow>
|
|
||||||
<f:FormRow>
|
|
||||||
<Items>
|
|
||||||
<f:DatePicker ID="txtMeetingDate" ShowRedStar="true" Required="true" runat="server" Label="时间" LabelAlign="Right"
|
<f:DatePicker ID="txtMeetingDate" ShowRedStar="true" Required="true" runat="server" Label="时间" LabelAlign="Right"
|
||||||
EnableEdit="true">
|
EnableEdit="true">
|
||||||
</f:DatePicker>
|
</f:DatePicker>
|
||||||
<f:TextBox ID="txtPlace" runat="server" Label="地点" ShowRedStar="true" Required="true"
|
|
||||||
MaxLength="200" LabelWidth="100px">
|
|
||||||
</f:TextBox>
|
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
|
<f:TextBox ID="txtMeetingTheme" runat="server" Label="会议主题" ShowRedStar="true" Required="true"
|
||||||
|
MaxLength="200" LabelWidth="100px">
|
||||||
|
</f:TextBox>
|
||||||
|
<f:TextBox ID="txtPlace" runat="server" Label="地点" ShowRedStar="true" Required="true"
|
||||||
|
MaxLength="200" LabelWidth="100px">
|
||||||
|
</f:TextBox>
|
||||||
<f:DropDownList ID="drpHostMan" runat="server" ShowRedStar="true" Required="true" Label="主持人" LabelAlign="Right" EnableCheckBoxSelect="true" EnableMultiSelect="true" EnableEdit="true" LabelWidth="100px">
|
<f:DropDownList ID="drpHostMan" runat="server" ShowRedStar="true" Required="true" Label="主持人" LabelAlign="Right" EnableCheckBoxSelect="true" EnableMultiSelect="true" EnableEdit="true" LabelWidth="100px">
|
||||||
</f:DropDownList>
|
</f:DropDownList>
|
||||||
</Items>
|
</Items>
|
||||||
|
|
@ -65,14 +64,7 @@
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
<f:TextBox ID="txtMeetingTheme" runat="server" Label="会议主题" ShowRedStar="true" Required="true"
|
<f:TextArea ID="txtMeetingContents" ShowRedStar="true" Required="true" runat="server" Label="主要内容" Height="200px" MaxLength="3000">
|
||||||
MaxLength="200" LabelWidth="100px">
|
|
||||||
</f:TextBox>
|
|
||||||
</Items>
|
|
||||||
</f:FormRow>
|
|
||||||
<f:FormRow>
|
|
||||||
<Items>
|
|
||||||
<f:TextArea ID="txtMeetingContents" ShowRedStar="true" Required="true" runat="server" Label="主要内容" MaxLength="3000">
|
|
||||||
</f:TextArea>
|
</f:TextArea>
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
|
|
|
||||||
|
|
@ -84,6 +84,15 @@ namespace FineUIPro.Web.CQMS.Meeting {
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.DatePicker txtMeetingDate;
|
protected global::FineUIPro.DatePicker txtMeetingDate;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtMeetingTheme 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox txtMeetingTheme;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// txtPlace 控件。
|
/// txtPlace 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -111,15 +120,6 @@ namespace FineUIPro.Web.CQMS.Meeting {
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.DropDownList drpAttentPerson;
|
protected global::FineUIPro.DropDownList drpAttentPerson;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// txtMeetingTheme 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.TextBox txtMeetingTheme;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// txtMeetingContents 控件。
|
/// txtMeetingContents 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
||||||
|
|
@ -39,20 +39,19 @@
|
||||||
</f:TextBox>
|
</f:TextBox>
|
||||||
<f:DropDownList ID="drpUnit" runat="server" ShowRedStar="true" Label="单位" LabelWidth="100px" LabelAlign="Right" EnableEdit="true" Readonly="true">
|
<f:DropDownList ID="drpUnit" runat="server" ShowRedStar="true" Label="单位" LabelWidth="100px" LabelAlign="Right" EnableEdit="true" Readonly="true">
|
||||||
</f:DropDownList>
|
</f:DropDownList>
|
||||||
</Items>
|
|
||||||
</f:FormRow>
|
|
||||||
<f:FormRow>
|
|
||||||
<Items>
|
|
||||||
<f:DatePicker ID="txtMeetingDate" ShowRedStar="true" Required="true" runat="server" Label="时间" LabelAlign="Right" Readonly="true"
|
<f:DatePicker ID="txtMeetingDate" ShowRedStar="true" Required="true" runat="server" Label="时间" LabelAlign="Right" Readonly="true"
|
||||||
EnableEdit="true">
|
EnableEdit="true">
|
||||||
</f:DatePicker>
|
</f:DatePicker>
|
||||||
<f:TextBox ID="txtPlace" runat="server" Label="地点" ShowRedStar="true" Required="true" Readonly="true"
|
|
||||||
MaxLength="200" LabelWidth="100px">
|
|
||||||
</f:TextBox>
|
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
|
<f:TextBox ID="txtMeetingTheme" runat="server" Label="会议主题" ShowRedStar="true" Required="true" Readonly="true"
|
||||||
|
MaxLength="200" LabelWidth="100px">
|
||||||
|
</f:TextBox>
|
||||||
|
<f:TextBox ID="txtPlace" runat="server" Label="地点" ShowRedStar="true" Required="true" Readonly="true"
|
||||||
|
MaxLength="200" LabelWidth="100px">
|
||||||
|
</f:TextBox>
|
||||||
<f:DropDownList ID="drpHostMan" runat="server" ShowRedStar="true" Required="true" Label="主持人" LabelAlign="Right" EnableCheckBoxSelect="true" EnableMultiSelect="true" EnableEdit="true" Readonly="true" LabelWidth="100px">
|
<f:DropDownList ID="drpHostMan" runat="server" ShowRedStar="true" Required="true" Label="主持人" LabelAlign="Right" EnableCheckBoxSelect="true" EnableMultiSelect="true" EnableEdit="true" Readonly="true" LabelWidth="100px">
|
||||||
</f:DropDownList>
|
</f:DropDownList>
|
||||||
</Items>
|
</Items>
|
||||||
|
|
@ -65,14 +64,7 @@
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
<f:TextBox ID="txtMeetingTheme" runat="server" Label="会议主题" ShowRedStar="true" Required="true" Readonly="true"
|
<f:TextArea ID="txtMeetingContents" ShowRedStar="true" Required="true" runat="server" Label="主要内容" Height="200px" MaxLength="3000" Readonly="true">
|
||||||
MaxLength="200" LabelWidth="100px">
|
|
||||||
</f:TextBox>
|
|
||||||
</Items>
|
|
||||||
</f:FormRow>
|
|
||||||
<f:FormRow>
|
|
||||||
<Items>
|
|
||||||
<f:TextArea ID="txtMeetingContents" ShowRedStar="true" Required="true" runat="server" Label="主要内容" MaxLength="3000" Readonly="true">
|
|
||||||
</f:TextArea>
|
</f:TextArea>
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
|
|
|
||||||
|
|
@ -84,6 +84,15 @@ namespace FineUIPro.Web.CQMS.Meeting {
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.DatePicker txtMeetingDate;
|
protected global::FineUIPro.DatePicker txtMeetingDate;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtMeetingTheme 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox txtMeetingTheme;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// txtPlace 控件。
|
/// txtPlace 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -111,15 +120,6 @@ namespace FineUIPro.Web.CQMS.Meeting {
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.DropDownList drpAttentPerson;
|
protected global::FineUIPro.DropDownList drpAttentPerson;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// txtMeetingTheme 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.TextBox txtMeetingTheme;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// txtMeetingContents 控件。
|
/// txtMeetingContents 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
||||||
|
|
@ -197,7 +197,7 @@ namespace FineUIPro.Web.CQMS.Train
|
||||||
string[] strs = PlanTrainPersons.ToString().Split(',');
|
string[] strs = PlanTrainPersons.ToString().Split(',');
|
||||||
foreach (var item in strs)
|
foreach (var item in strs)
|
||||||
{
|
{
|
||||||
names += BLL.Person_PersonsService.GetPersonsNameById(item) + ",";
|
names += BLL.CQMSTrainObjectService.GetTrainObjectNameById(item) + ",";
|
||||||
}
|
}
|
||||||
if (!string.IsNullOrEmpty(names))
|
if (!string.IsNullOrEmpty(names))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ namespace FineUIPro.Web.CQMS.Train
|
||||||
if (!IsPostBack)
|
if (!IsPostBack)
|
||||||
{
|
{
|
||||||
TrainPlanId = Request.Params["TrainPlanId"];
|
TrainPlanId = Request.Params["TrainPlanId"];
|
||||||
BLL.SitePerson_PersonService.InitProjectUserListByProjectUnitTypeDropDownList(this.drpPlanTrainPersons, this.CurrUser.LoginProjectId, Const.ProjectUnitType_1 + "," + Const.ProjectUnitType_2, true);
|
BLL.CQMSTrainObjectService.InitTrainObjectDropDownList(this.drpPlanTrainPersons, true);
|
||||||
BLL.CQMSTrainTypeService.InitTrainTypeDropDownList(this.drpTrainType, true);
|
BLL.CQMSTrainTypeService.InitTrainTypeDropDownList(this.drpTrainType, true);
|
||||||
if (!string.IsNullOrEmpty(TrainPlanId))
|
if (!string.IsNullOrEmpty(TrainPlanId))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ namespace FineUIPro.Web.CQMS.Train
|
||||||
if (!IsPostBack)
|
if (!IsPostBack)
|
||||||
{
|
{
|
||||||
TrainPlanId = Request.Params["TrainPlanId"];
|
TrainPlanId = Request.Params["TrainPlanId"];
|
||||||
BLL.SitePerson_PersonService.InitProjectUserListByProjectUnitTypeDropDownList(this.drpPlanTrainPersons, this.CurrUser.LoginProjectId, Const.ProjectUnitType_1 + "," + Const.ProjectUnitType_2, true);
|
BLL.CQMSTrainObjectService.InitTrainObjectDropDownList(this.drpPlanTrainPersons, true);
|
||||||
BLL.CQMSTrainTypeService.InitTrainTypeDropDownList(this.drpTrainType, true);
|
BLL.CQMSTrainTypeService.InitTrainTypeDropDownList(this.drpTrainType, true);
|
||||||
if (!string.IsNullOrEmpty(TrainPlanId))
|
if (!string.IsNullOrEmpty(TrainPlanId))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -192,7 +192,7 @@ namespace FineUIPro.Web.CQMS.Train
|
||||||
string[] strs = PlanTrainPersons.ToString().Split(',');
|
string[] strs = PlanTrainPersons.ToString().Split(',');
|
||||||
foreach (var item in strs)
|
foreach (var item in strs)
|
||||||
{
|
{
|
||||||
names += BLL.Person_PersonsService.GetPersonsNameById(item) + ",";
|
names += BLL.CQMSTrainObjectService.GetTrainObjectNameById(item) + ",";
|
||||||
}
|
}
|
||||||
if (!string.IsNullOrEmpty(names))
|
if (!string.IsNullOrEmpty(names))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ namespace FineUIPro.Web.CQMS.Train
|
||||||
if (!IsPostBack)
|
if (!IsPostBack)
|
||||||
{
|
{
|
||||||
TrainPlanId = Request.Params["TrainPlanId"];
|
TrainPlanId = Request.Params["TrainPlanId"];
|
||||||
BLL.SitePerson_PersonService.InitProjectUserListByProjectUnitTypeDropDownList(this.drpPlanTrainPersons, this.CurrUser.LoginProjectId, Const.ProjectUnitType_1 + "," + Const.ProjectUnitType_2, true);
|
BLL.CQMSTrainObjectService.InitTrainObjectDropDownList(this.drpPlanTrainPersons, true);
|
||||||
BLL.SitePerson_PersonService.InitProjectUserListByProjectUnitTypeDropDownList(this.drpRealTrainPersons, this.CurrUser.LoginProjectId, Const.ProjectUnitType_1 + "," + Const.ProjectUnitType_2, true);
|
BLL.SitePerson_PersonService.InitProjectUserListByProjectUnitTypeDropDownList(this.drpRealTrainPersons, this.CurrUser.LoginProjectId, Const.ProjectUnitType_1 + "," + Const.ProjectUnitType_2, true);
|
||||||
BLL.SitePerson_PersonService.InitSitePersonByUnitTypeRoletIdsDropDownList(this.drpHostMan,this.CurrUser.LoginProjectId, Const.ProjectUnitType_1, Const.QAManager + "," + Const.CQEngineer, true);
|
BLL.SitePerson_PersonService.InitSitePersonByUnitTypeRoletIdsDropDownList(this.drpHostMan,this.CurrUser.LoginProjectId, Const.ProjectUnitType_1, Const.QAManager + "," + Const.CQEngineer, true);
|
||||||
BLL.CQMSTrainTypeService.InitTrainTypeDropDownList(this.drpTrainType, true);
|
BLL.CQMSTrainTypeService.InitTrainTypeDropDownList(this.drpTrainType, true);
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ namespace FineUIPro.Web.CQMS.Train
|
||||||
if (!IsPostBack)
|
if (!IsPostBack)
|
||||||
{
|
{
|
||||||
TrainPlanId = Request.Params["TrainPlanId"];
|
TrainPlanId = Request.Params["TrainPlanId"];
|
||||||
BLL.SitePerson_PersonService.InitProjectUserListByProjectUnitTypeDropDownList(this.drpPlanTrainPersons, this.CurrUser.LoginProjectId, Const.ProjectUnitType_1 + "," + Const.ProjectUnitType_2, true);
|
BLL.CQMSTrainObjectService.InitTrainObjectDropDownList(this.drpPlanTrainPersons, true);
|
||||||
BLL.SitePerson_PersonService.InitProjectUserListByProjectUnitTypeDropDownList(this.drpRealTrainPersons, this.CurrUser.LoginProjectId, Const.ProjectUnitType_1 + "," + Const.ProjectUnitType_2, true);
|
BLL.SitePerson_PersonService.InitProjectUserListByProjectUnitTypeDropDownList(this.drpRealTrainPersons, this.CurrUser.LoginProjectId, Const.ProjectUnitType_1 + "," + Const.ProjectUnitType_2, true);
|
||||||
BLL.SitePerson_PersonService.InitSitePersonByUnitTypeRoletIdsDropDownList(this.drpHostMan, this.CurrUser.LoginProjectId, Const.ProjectUnitType_1, Const.QAManager + "," + Const.CQEngineer, true);
|
BLL.SitePerson_PersonService.InitSitePersonByUnitTypeRoletIdsDropDownList(this.drpHostMan, this.CurrUser.LoginProjectId, Const.ProjectUnitType_1, Const.QAManager + "," + Const.CQEngineer, true);
|
||||||
BLL.CQMSTrainTypeService.InitTrainTypeDropDownList(this.drpTrainType, true);
|
BLL.CQMSTrainTypeService.InitTrainTypeDropDownList(this.drpTrainType, true);
|
||||||
|
|
|
||||||
|
|
@ -210,6 +210,7 @@
|
||||||
<Content Include="BaseInfo\CompanyModelEdit.aspx" />
|
<Content Include="BaseInfo\CompanyModelEdit.aspx" />
|
||||||
<Content Include="BaseInfo\ConstructionTestType.aspx" />
|
<Content Include="BaseInfo\ConstructionTestType.aspx" />
|
||||||
<Content Include="BaseInfo\CostType.aspx" />
|
<Content Include="BaseInfo\CostType.aspx" />
|
||||||
|
<Content Include="BaseInfo\CQMSTrainObject.aspx" />
|
||||||
<Content Include="BaseInfo\CQMSTrainType.aspx" />
|
<Content Include="BaseInfo\CQMSTrainType.aspx" />
|
||||||
<Content Include="BaseInfo\DesignProfessional.aspx" />
|
<Content Include="BaseInfo\DesignProfessional.aspx" />
|
||||||
<Content Include="BaseInfo\DesignProfessionalEdit.aspx" />
|
<Content Include="BaseInfo\DesignProfessionalEdit.aspx" />
|
||||||
|
|
@ -5516,6 +5517,13 @@
|
||||||
<Compile Include="BaseInfo\CostType.aspx.designer.cs">
|
<Compile Include="BaseInfo\CostType.aspx.designer.cs">
|
||||||
<DependentUpon>CostType.aspx</DependentUpon>
|
<DependentUpon>CostType.aspx</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="BaseInfo\CQMSTrainObject.aspx.cs">
|
||||||
|
<DependentUpon>CQMSTrainObject.aspx</DependentUpon>
|
||||||
|
<SubType>ASPXCodeBehind</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="BaseInfo\CQMSTrainObject.aspx.designer.cs">
|
||||||
|
<DependentUpon>CQMSTrainObject.aspx</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="BaseInfo\CQMSTrainType.aspx.cs">
|
<Compile Include="BaseInfo\CQMSTrainType.aspx.cs">
|
||||||
<DependentUpon>CQMSTrainType.aspx</DependentUpon>
|
<DependentUpon>CQMSTrainType.aspx</DependentUpon>
|
||||||
<SubType>ASPXCodeBehind</SubType>
|
<SubType>ASPXCodeBehind</SubType>
|
||||||
|
|
|
||||||
|
|
@ -86,6 +86,9 @@ namespace Model
|
||||||
partial void InsertBase_CostType(Base_CostType instance);
|
partial void InsertBase_CostType(Base_CostType instance);
|
||||||
partial void UpdateBase_CostType(Base_CostType instance);
|
partial void UpdateBase_CostType(Base_CostType instance);
|
||||||
partial void DeleteBase_CostType(Base_CostType instance);
|
partial void DeleteBase_CostType(Base_CostType instance);
|
||||||
|
partial void InsertBase_CQMSTrainObject(Base_CQMSTrainObject instance);
|
||||||
|
partial void UpdateBase_CQMSTrainObject(Base_CQMSTrainObject instance);
|
||||||
|
partial void DeleteBase_CQMSTrainObject(Base_CQMSTrainObject instance);
|
||||||
partial void InsertBase_CQMSTrainType(Base_CQMSTrainType instance);
|
partial void InsertBase_CQMSTrainType(Base_CQMSTrainType instance);
|
||||||
partial void UpdateBase_CQMSTrainType(Base_CQMSTrainType instance);
|
partial void UpdateBase_CQMSTrainType(Base_CQMSTrainType instance);
|
||||||
partial void DeleteBase_CQMSTrainType(Base_CQMSTrainType instance);
|
partial void DeleteBase_CQMSTrainType(Base_CQMSTrainType instance);
|
||||||
|
|
@ -1587,6 +1590,14 @@ namespace Model
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public System.Data.Linq.Table<Base_CQMSTrainObject> Base_CQMSTrainObject
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this.GetTable<Base_CQMSTrainObject>();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public System.Data.Linq.Table<Base_CQMSTrainType> Base_CQMSTrainType
|
public System.Data.Linq.Table<Base_CQMSTrainType> Base_CQMSTrainType
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
|
@ -12980,6 +12991,140 @@ namespace Model
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_CQMSTrainObject")]
|
||||||
|
public partial class Base_CQMSTrainObject : INotifyPropertyChanging, INotifyPropertyChanged
|
||||||
|
{
|
||||||
|
|
||||||
|
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||||
|
|
||||||
|
private string _TrainObjectId;
|
||||||
|
|
||||||
|
private string _TrainObjectCode;
|
||||||
|
|
||||||
|
private string _TrainObjectName;
|
||||||
|
|
||||||
|
private string _Remark;
|
||||||
|
|
||||||
|
#region 可扩展性方法定义
|
||||||
|
partial void OnLoaded();
|
||||||
|
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||||
|
partial void OnCreated();
|
||||||
|
partial void OnTrainObjectIdChanging(string value);
|
||||||
|
partial void OnTrainObjectIdChanged();
|
||||||
|
partial void OnTrainObjectCodeChanging(string value);
|
||||||
|
partial void OnTrainObjectCodeChanged();
|
||||||
|
partial void OnTrainObjectNameChanging(string value);
|
||||||
|
partial void OnTrainObjectNameChanged();
|
||||||
|
partial void OnRemarkChanging(string value);
|
||||||
|
partial void OnRemarkChanged();
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
public Base_CQMSTrainObject()
|
||||||
|
{
|
||||||
|
OnCreated();
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrainObjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||||
|
public string TrainObjectId
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._TrainObjectId;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._TrainObjectId != value))
|
||||||
|
{
|
||||||
|
this.OnTrainObjectIdChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._TrainObjectId = value;
|
||||||
|
this.SendPropertyChanged("TrainObjectId");
|
||||||
|
this.OnTrainObjectIdChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrainObjectCode", DbType="NVarChar(50)")]
|
||||||
|
public string TrainObjectCode
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._TrainObjectCode;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._TrainObjectCode != value))
|
||||||
|
{
|
||||||
|
this.OnTrainObjectCodeChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._TrainObjectCode = value;
|
||||||
|
this.SendPropertyChanged("TrainObjectCode");
|
||||||
|
this.OnTrainObjectCodeChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrainObjectName", DbType="NVarChar(50)")]
|
||||||
|
public string TrainObjectName
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._TrainObjectName;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._TrainObjectName != value))
|
||||||
|
{
|
||||||
|
this.OnTrainObjectNameChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._TrainObjectName = value;
|
||||||
|
this.SendPropertyChanged("TrainObjectName");
|
||||||
|
this.OnTrainObjectNameChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(200)")]
|
||||||
|
public string Remark
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return this._Remark;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if ((this._Remark != value))
|
||||||
|
{
|
||||||
|
this.OnRemarkChanging(value);
|
||||||
|
this.SendPropertyChanging();
|
||||||
|
this._Remark = value;
|
||||||
|
this.SendPropertyChanged("Remark");
|
||||||
|
this.OnRemarkChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public event PropertyChangingEventHandler PropertyChanging;
|
||||||
|
|
||||||
|
public event PropertyChangedEventHandler PropertyChanged;
|
||||||
|
|
||||||
|
protected virtual void SendPropertyChanging()
|
||||||
|
{
|
||||||
|
if ((this.PropertyChanging != null))
|
||||||
|
{
|
||||||
|
this.PropertyChanging(this, emptyChangingEventArgs);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
protected virtual void SendPropertyChanged(String propertyName)
|
||||||
|
{
|
||||||
|
if ((this.PropertyChanged != null))
|
||||||
|
{
|
||||||
|
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_CQMSTrainType")]
|
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_CQMSTrainType")]
|
||||||
public partial class Base_CQMSTrainType : INotifyPropertyChanging, INotifyPropertyChanged
|
public partial class Base_CQMSTrainType : INotifyPropertyChanging, INotifyPropertyChanged
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue