m6=tsE9(E6#mYg_ujneOy{S}&}l)P784o_rBH;#l+K%Jo&KbSsNDezgNsIy1!)3>
zk{Jl;Mi+ICMo79bVL@1kItw>qYt)1VD*^$c39M1$+xP>ijOV=R4EQt2y?4Iv+;hHj
z&pCOOWvVRGXGg8}%J&103&kI)7l6m}R+*~&NcK}aZ=a?%{>{E`^}qY)4!-MLh<|0|
z78YUXy@PKY;7`NdoC`a=7~WR99zIUB*CX%S{Chl0F5i!Lay*eGhwHJ<+Hm4gsJvO7
zo;C>D`no4;&F9)YRh|}QvfQA3#CC)m(SsfPKG#1<-
zjrDB;C({oc`|fO9jAPB~SJ>bn(@poly&9mfV?-4^1E7
z%)Vl~4Lb79v6C~W$7km+@VR{-(F|vY2hF`#czXD84-hm4CR4FXsDg&lP9Bk>8Zb>A!WiD57`}Rm)ob%uA!f0)L@Rb{ntCY9a?C
z;?qQ7jPNCIZ+TR_8=StlBxyAfVGQjpWCX=qC?rU#7wC{Ejv?7XHpY=^AxCT-Eff~C
zp@m$G&B|mo!$d?rBZ!P6m1z^C&mc*#gpI=Afr~lGGL6gl8J8ph<1Y)JgzM{!1g(?T
zClK<_3r@iD`{X1<{3Q2S8_EW4!A-4^7DjJO$ytpxc%!wG$_+}xHR&=evS>wgU989?
zXo-@6g`k6>SY1>ZNcp-S4qnkASsGA}GR6i(Pl>6vo
diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj
index b4342684..9cd54837 100644
--- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj
+++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj
@@ -1853,6 +1853,7 @@
+
@@ -12683,6 +12684,13 @@
TaskNoticeEdit.aspx
+
+ CompanyTrainingItemIn.aspx
+ ASPXCodeBehind
+
+
+ CompanyTrainingItemIn.aspx
+
TrainFindWorkPost.aspx
ASPXCodeBehind
diff --git a/SGGL/FineUIPro.Web/HSSE/EduTrain/CompanyTraining.aspx b/SGGL/FineUIPro.Web/HSSE/EduTrain/CompanyTraining.aspx
index 97cebd14..a896d47c 100644
--- a/SGGL/FineUIPro.Web/HSSE/EduTrain/CompanyTraining.aspx
+++ b/SGGL/FineUIPro.Web/HSSE/EduTrain/CompanyTraining.aspx
@@ -63,6 +63,9 @@
+
+
@@ -137,6 +140,10 @@
Target="Parent" EnableResize="false" runat="server" OnClose="Window2_Close" IsModal="true"
Width="700px" Height="600px">
+
+
diff --git a/SGGL/FineUIPro.Web/HSSE/EduTrain/CompanyTraining.aspx.cs b/SGGL/FineUIPro.Web/HSSE/EduTrain/CompanyTraining.aspx.cs
index cb58d0a7..2fe7e329 100644
--- a/SGGL/FineUIPro.Web/HSSE/EduTrain/CompanyTraining.aspx.cs
+++ b/SGGL/FineUIPro.Web/HSSE/EduTrain/CompanyTraining.aspx.cs
@@ -415,6 +415,7 @@ namespace FineUIPro.Web.HSSE.EduTrain
if (buttonList.Contains(BLL.Const.BtnAdd))
{
this.btnNew.Hidden = false;
+ this.btnImport.Hidden = false;
this.btnNewDetail.Hidden = false;
}
if (buttonList.Contains(BLL.Const.BtnModify))
@@ -431,6 +432,23 @@ namespace FineUIPro.Web.HSSE.EduTrain
}
#endregion
+ #region 导入
+ ///
+ /// 导入按钮
+ ///
+ ///
+ ///
+ protected void btnImport_Click(object sender, EventArgs e)
+ {
+ PageContext.RegisterStartupScript(Window3.GetShowReference(String.Format("CompanyTrainingItemIn.aspx", "导入 - ")));
+ }
+ protected void Window3_Close(object sender, EventArgs e)
+ {
+ this.InitTreeMenu();
+ this.BindGrid();
+ }
+ #endregion
+
///
/// 导出
///
diff --git a/SGGL/FineUIPro.Web/HSSE/EduTrain/CompanyTraining.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/EduTrain/CompanyTraining.aspx.designer.cs
index 7e2a3413..dc5c3c1e 100644
--- a/SGGL/FineUIPro.Web/HSSE/EduTrain/CompanyTraining.aspx.designer.cs
+++ b/SGGL/FineUIPro.Web/HSSE/EduTrain/CompanyTraining.aspx.designer.cs
@@ -167,6 +167,15 @@ namespace FineUIPro.Web.HSSE.EduTrain
///
protected global::FineUIPro.Button btnNewDetail;
+ ///
+ /// btnImport 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnImport;
+
///
/// btnOut 控件。
///
@@ -248,6 +257,15 @@ namespace FineUIPro.Web.HSSE.EduTrain
///
protected global::FineUIPro.Window Window2;
+ ///
+ /// Window3 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window Window3;
+
///
/// WindowAtt 控件。
///
diff --git a/SGGL/FineUIPro.Web/HSSE/EduTrain/CompanyTrainingItemIn.aspx b/SGGL/FineUIPro.Web/HSSE/EduTrain/CompanyTrainingItemIn.aspx
new file mode 100644
index 00000000..25f32180
--- /dev/null
+++ b/SGGL/FineUIPro.Web/HSSE/EduTrain/CompanyTrainingItemIn.aspx
@@ -0,0 +1,86 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CompanyTrainingItemIn.aspx.cs" Inherits="FineUIPro.Web.HSSE.EduTrain.CompanyTrainingItemIn" %>
+
+
+
+
+
+ 导入公司教材库
+
+
+
+
+
+
diff --git a/SGGL/FineUIPro.Web/HSSE/EduTrain/CompanyTrainingItemIn.aspx.cs b/SGGL/FineUIPro.Web/HSSE/EduTrain/CompanyTrainingItemIn.aspx.cs
new file mode 100644
index 00000000..a9dbabd6
--- /dev/null
+++ b/SGGL/FineUIPro.Web/HSSE/EduTrain/CompanyTrainingItemIn.aspx.cs
@@ -0,0 +1,419 @@
+using BLL;
+using Model;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Data.OleDb;
+using System.IO;
+using System.Linq;
+using System.Web.Util;
+
+namespace FineUIPro.Web.HSSE.EduTrain
+{
+ public partial class CompanyTrainingItemIn : PageBase
+ {
+ #region 定义变量
+ ///
+ /// 上传预设的虚拟路径
+ ///
+ private string initPath = Const.ExcelUrl;
+
+ ///
+ /// 导入集合
+ ///
+ public static List viewTrainingItems = new List();
+
+ ///
+ /// 错误集合
+ ///
+ public static List errorInfos = new List();
+
+ #endregion
+
+ #region 加载页面
+ ///
+ /// 加载页面
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ this.hdFileName.Text = string.Empty;
+ this.hdCheckResult.Text = string.Empty;
+ if (viewTrainingItems != null)
+ {
+ viewTrainingItems.Clear();
+ }
+ if (errorInfos != null)
+ {
+ errorInfos.Clear();
+ }
+ }
+ }
+ #endregion
+
+ #region 数据导入
+ ///
+ /// 数据导入
+ ///
+ ///
+ ///
+ protected void btnAudit_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ if (this.fuAttachUrl.HasFile == false)
+ {
+ ShowNotify("请您选择Excel文件!", MessageBoxIcon.Warning);
+ return;
+ }
+ string IsXls = Path.GetExtension(this.fuAttachUrl.FileName).ToString().Trim().ToLower();
+ if (IsXls != ".xls")
+ {
+ ShowNotify("只可以选择Excel文件!", MessageBoxIcon.Warning);
+ return;
+ }
+ if (viewTrainingItems != null)
+ {
+ viewTrainingItems.Clear();
+ }
+ if (errorInfos != null)
+ {
+ errorInfos.Clear();
+ }
+ string rootPath = Server.MapPath("~/");
+ string initFullPath = rootPath + initPath;
+ if (!Directory.Exists(initFullPath))
+ {
+ Directory.CreateDirectory(initFullPath);
+ }
+
+ this.hdFileName.Text = BLL.Funs.GetNewFileName() + IsXls;
+ string filePath = initFullPath + this.hdFileName.Text;
+ this.fuAttachUrl.PostedFile.SaveAs(filePath);
+ ImportXlsToData(rootPath + initPath + this.hdFileName.Text);
+ }
+ catch (Exception ex)
+ {
+ ShowNotify("'" + ex.Message + "'", MessageBoxIcon.Warning);
+ }
+ }
+
+ #region 读Excel提取数据
+ ///
+ /// 从Excel提取数据--》Dataset
+ ///
+ /// Excel文件路径名
+ private void ImportXlsToData(string fileName)
+ {
+ try
+ {
+ viewTrainingItems.Clear();
+ string oleDBConnString = String.Empty;
+ oleDBConnString = "Provider=Microsoft.Jet.OLEDB.4.0;";
+ oleDBConnString += "Data Source=";
+ oleDBConnString += fileName;
+ oleDBConnString += ";Extended Properties=Excel 8.0;";
+ OleDbConnection oleDBConn = null;
+ OleDbDataAdapter oleAdMaster = null;
+ DataTable m_tableName = new DataTable();
+ DataSet ds = new DataSet();
+
+ oleDBConn = new OleDbConnection(oleDBConnString);
+ oleDBConn.Open();
+ m_tableName = oleDBConn.GetOleDbSchemaTable(OleDbSchemaGuid.Tables, null);
+
+ if (m_tableName != null && m_tableName.Rows.Count > 0)
+ {
+
+ m_tableName.TableName = m_tableName.Rows[0]["TABLE_NAME"].ToString().Trim();
+
+ }
+ string sqlMaster;
+ sqlMaster = " SELECT * FROM [" + m_tableName.TableName + "]";
+ oleAdMaster = new OleDbDataAdapter(sqlMaster, oleDBConn);
+ oleAdMaster.Fill(ds, "m_tableName");
+ oleAdMaster.Dispose();
+ oleDBConn.Close();
+ oleDBConn.Dispose();
+
+ AddDatasetToSQL(ds.Tables[0]);
+ }
+ catch (Exception ex)
+ {
+ throw ex;
+ }
+ }
+ #endregion
+
+ #region 将Dataset的数据导入数据库
+ ///
+ /// 将Dataset的数据导入数据库
+ ///
+ /// 数据集
+ /// 数据集行数
+ ///
+ private bool AddDatasetToSQL(DataTable pds)
+ {
+ string result = string.Empty;
+ int ic, ir;
+ ic = pds.Columns.Count;
+ ir = pds.Rows.Count;
+ if (pds != null && ir > 0)
+ {
+ ///教材库
+ var companyTrainingItems = from x in Funs.DB.Training_CompanyTrainingItem select x;
+ ///类型
+ var trainings = from x in Funs.DB.Training_CompanyTraining select x;
+ ///岗位
+ var workPosts = from x in Funs.DB.Base_WorkPost select x;
+ for (int i = 0; i < ir; i++)
+ {
+ Model.Training_CompanyTrainingItem newViewTrainingItem = new Model.Training_CompanyTrainingItem();
+ newViewTrainingItem.CompanyTrainingItemId = SQLHelper.GetNewID(typeof(Model.Training_CompanyTrainingItem));
+ //类型
+ string col1 = pds.Rows[i][0].ToString().Trim();
+ if (string.IsNullOrEmpty(col1))
+ {
+ errorInfos.Add(new ErrorInfo { Row = (i + 2).ToString(), Column = "教材类型", Reason = "此项为必填项!" });
+ }
+ else
+ {
+ var standard = trainings.FirstOrDefault(x => x.CompanyTrainingName == col1);
+ if (standard != null)
+ {
+ newViewTrainingItem.CompanyTrainingId = standard.CompanyTrainingId;
+ }
+ else
+ {
+ errorInfos.Add(new ErrorInfo { Row = (i + 2).ToString(), Column = "教材类别", Reason = $"不存在教材类别[{col1}]!" });
+ }
+ }
+
+ if (!string.IsNullOrWhiteSpace(newViewTrainingItem.CompanyTrainingId))
+ {
+ //教材编号
+ string col2 = pds.Rows[i][1].ToString().Trim();
+ //教材名称
+ string col3 = pds.Rows[i][2].ToString().Trim();
+
+ if (!string.IsNullOrWhiteSpace(col2))
+ {
+ var items = companyTrainingItems.FirstOrDefault(x => x.CompanyTrainingItemCode == col2);
+ if (items != null)
+ {
+ errorInfos.Add(new ErrorInfo { Row = (i + 2).ToString(), Column = "教材编号", Reason = $"[{col1}]已存在编号[{col2}]!" });
+ }
+ else
+ {
+ newViewTrainingItem.CompanyTrainingItemCode = col2;
+ }
+ }
+ else
+ {
+ errorInfos.Add(new ErrorInfo { Row = (i + 2).ToString(), Column = "教材编号", Reason = "不能为空!" });
+ }
+ if (!string.IsNullOrWhiteSpace(col3))
+ {
+ var item = companyTrainingItems.FirstOrDefault(x => x.CompanyTrainingItemName == col3);
+ if (item != null)
+ {
+ errorInfos.Add(new ErrorInfo { Row = (i + 2).ToString(), Column = "教材名称", Reason = $"[{col1}]已存在教材名称[{col3}]!" });
+ }
+ else
+ {
+ newViewTrainingItem.CompanyTrainingItemName = col3;
+ }
+ }
+ else
+ {
+ errorInfos.Add(new ErrorInfo { Row = (i + 2).ToString(), Column = "教材名称", Reason = "不能为空!" });
+ }
+ }
+ //适合岗位
+ string col4 = pds.Rows[i][3].ToString().Trim();
+ if (!string.IsNullOrEmpty(col4))
+ {
+ List WorkPostSels = Funs.GetStrListByStr(col4, ',');
+ if (WorkPostSels.Count() > 0)
+ {
+ string ids = string.Empty;
+ foreach (var item in WorkPostSels)
+ {
+ string workItem = item.Trim();
+ var wp = workPosts.FirstOrDefault(x => x.WorkPostName == workItem);
+ if (wp != null)
+ {
+ ids += wp.WorkPostId + ",";
+ }
+ else
+ {
+ errorInfos.Add(new ErrorInfo { Row = (i + 2).ToString(), Column = "适合岗位", Reason = $"[{workItem}]不在岗位表中!" });
+ }
+ }
+ if (!string.IsNullOrEmpty(ids))
+ {
+ newViewTrainingItem.WorkPostNames = col4;
+ newViewTrainingItem.WorkPostIds = ids.Substring(0, ids.LastIndexOf(","));
+ }
+ }
+ }
+ //时长(分钟)
+ string col5 = pds.Rows[i][4].ToString().Trim();
+ if (!string.IsNullOrWhiteSpace(col5))
+ {
+ newViewTrainingItem.LearningTime = int.Parse(col5) * 60;
+ }
+ //掌握程度
+ string col6 = pds.Rows[i][5].ToString().Trim();
+ if (!string.IsNullOrWhiteSpace(col6))
+ {
+ newViewTrainingItem.Outcome = col6 == "了解" ? 2 : col6 == "熟悉" ? 1 : 0;
+ }
+ else
+ {
+ newViewTrainingItem.Outcome = 0;
+ }
+
+ newViewTrainingItem.CompileDate = DateTime.Now;
+ newViewTrainingItem.CompileMan = this.CurrUser.UserName;
+ ///加入公司教材库
+ viewTrainingItems.Add(newViewTrainingItem);
+ }
+ if (errorInfos.Any())
+ {
+ viewTrainingItems.Clear();
+ this.gvErrorInfo.DataSource = errorInfos;
+ this.gvErrorInfo.DataBind();
+ }
+ else
+ {
+ errorInfos.Clear();
+ if (!viewTrainingItems.Any())
+ {
+ Alert.ShowInTop("导入数据为空!", MessageBoxIcon.Warning);
+ }
+ else
+ {
+ ShowNotify("审核完成,请点击导入!", MessageBoxIcon.Success);
+ }
+ }
+ }
+ else
+ {
+ Alert.ShowInTop("导入数据为空!", MessageBoxIcon.Warning);
+ }
+ return true;
+ }
+ #endregion
+ #endregion
+
+ #region 保存
+ ///
+ /// 保存
+ ///
+ ///
+ ///
+ protected void btnSave_Click(object sender, EventArgs e)
+ {
+ if (!errorInfos.Any())
+ {
+ int a = viewTrainingItems.Count();
+ int insertCount = 0;
+ int updateCount = 0;
+ for (int i = 0; i < a; i++)
+ {
+ Model.Training_CompanyTrainingItem newModel = new Model.Training_CompanyTrainingItem
+ {
+ CompanyTrainingId = viewTrainingItems[i].CompanyTrainingId,
+ CompanyTrainingItemId = viewTrainingItems[i].CompanyTrainingItemId,
+ CompanyTrainingItemCode = viewTrainingItems[i].CompanyTrainingItemCode,
+ CompanyTrainingItemName = viewTrainingItems[i].CompanyTrainingItemName,
+ WorkPostIds = viewTrainingItems[i].WorkPostIds,
+ WorkPostNames = viewTrainingItems[i].WorkPostNames,
+ LearningTime = viewTrainingItems[i].LearningTime,
+ CompileDate = viewTrainingItems[i].CompileDate,
+ CompileMan = viewTrainingItems[i].CompileMan,
+ Outcome = viewTrainingItems[i].Outcome
+ };
+ BLL.CompanyTrainingItemService.AddCompanyTrainingItem(newModel);
+ }
+ string rootPath = Server.MapPath("~/");
+ string initFullPath = rootPath + initPath;
+ string filePath = initFullPath + this.hdFileName.Text;
+ if (filePath != string.Empty && File.Exists(filePath))
+ {
+ File.Delete(filePath);//删除上传的XLS文件
+ }
+ ShowNotify("导入完成!", MessageBoxIcon.Success);
+ PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
+ }
+ else
+ {
+ Alert.ShowInTop("请先将错误数据修正,再重新导入保存!", MessageBoxIcon.Warning);
+ }
+ }
+ #endregion
+
+ #region 关闭弹出窗口
+ ///
+ /// 关闭导入弹出窗口
+ ///
+ ///
+ ///
+ protected void Window1_Close(object sender, WindowCloseEventArgs e)
+ {
+ if (Session["trainingItem"] != null)
+ {
+ viewTrainingItems = Session["trainingItem"] as List;
+ }
+ if (viewTrainingItems.Count > 0)
+ {
+ this.gvErrorInfo.Hidden = false;
+ this.gvErrorInfo.DataSource = viewTrainingItems;
+ this.gvErrorInfo.DataBind();
+ }
+ }
+
+ #endregion
+
+ #region 下载模板
+ ///
+ /// 下载模板按钮
+ ///
+ ///
+ ///
+ protected void btnDownLoad_Click(object sender, EventArgs e)
+ {
+ PageContext.RegisterStartupScript(Confirm.GetShowReference("确定下载导入模板吗?", String.Empty, MessageBoxIcon.Question, PageManager1.GetCustomEventReference(false, "Confirm_OK"), PageManager1.GetCustomEventReference("Confirm_Cancel")));
+ }
+
+ ///
+ /// 下载导入模板
+ ///
+ ///
+ ///
+ protected void PageManager1_CustomEvent(object sender, CustomEventArgs e)
+ {
+ if (e.EventArgument == "Confirm_OK")
+ {
+ string rootPath = Server.MapPath("~/");
+ string filePath = Const.CompanyTrainingTemplateUrl;
+ string uploadfilepath = rootPath + filePath;
+ string fileName = Path.GetFileName(filePath);
+ FileInfo info = new FileInfo(uploadfilepath);
+ long fileSize = info.Length;
+ Response.ClearContent();
+ Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8));
+ Response.ContentType = "excel/plain";
+ Response.ContentEncoding = System.Text.Encoding.UTF8;
+ Response.AddHeader("Content-Length", fileSize.ToString().Trim());
+ Response.TransmitFile(uploadfilepath, 0, fileSize);
+ Response.End();
+ }
+ }
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/SGGL/FineUIPro.Web/HSSE/EduTrain/CompanyTrainingItemIn.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/EduTrain/CompanyTrainingItemIn.aspx.designer.cs
new file mode 100644
index 00000000..1947abdd
--- /dev/null
+++ b/SGGL/FineUIPro.Web/HSSE/EduTrain/CompanyTrainingItemIn.aspx.designer.cs
@@ -0,0 +1,143 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.HSSE.EduTrain
+{
+
+
+ public partial class CompanyTrainingItemIn
+ {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// SimpleForm1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Form SimpleForm1;
+
+ ///
+ /// Toolbar2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar2;
+
+ ///
+ /// btnAudit 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnAudit;
+
+ ///
+ /// btnSave 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnSave;
+
+ ///
+ /// btnDownLoad 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnDownLoad;
+
+ ///
+ /// fuAttachUrl 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.FileUpload fuAttachUrl;
+
+ ///
+ /// gvErrorInfo 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Grid gvErrorInfo;
+
+ ///
+ /// lblPageIndex 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.WebControls.Label lblPageIndex;
+
+ ///
+ /// hdFileName 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.HiddenField hdFileName;
+
+ ///
+ /// hdCheckResult 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.HiddenField hdCheckResult;
+
+ ///
+ /// lblBottom 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Label lblBottom;
+
+ ///
+ /// Window1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window Window1;
+ }
+}
diff --git a/SGGL/FineUIPro.Web/HSSE/EduTrain/Task.aspx b/SGGL/FineUIPro.Web/HSSE/EduTrain/Task.aspx
index 45ba3c30..2c447aa0 100644
--- a/SGGL/FineUIPro.Web/HSSE/EduTrain/Task.aspx
+++ b/SGGL/FineUIPro.Web/HSSE/EduTrain/Task.aspx
@@ -1,77 +1,92 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Task.aspx.cs" Inherits="FineUIPro.Web.HSSE.EduTrain.Task" %>
-
+<%@ Register Src="~/Controls/UnitProjectTControl.ascx" TagName="UnitProjectTControl" TagPrefix="uc1" %>
+
培训任务
-
+