This commit is contained in:
2024-05-13 17:15:29 +08:00
parent 98c1cad987
commit 67d2f019d4
39 changed files with 12363 additions and 1204 deletions
@@ -0,0 +1,124 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PerfomanceManagerRecord.aspx.cs" Inherits="FineUIPro.Web.Perfomance.PerfomanceManagerRecord" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<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" ShowBorder="false"
ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
<Items>
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="个人绩效评价" EnableCollapse="true"
runat="server" BoxFlex="1" EnableColumnLines="true" DataKeyNames="PersonPerfomanceId"
AllowCellEditing="true" ClicksToEdit="2" DataIDField="PersonPerfomanceId" AllowSorting="true"
SortField="PersonPerfomanceCode" SortDirection="DESC" OnSort="Grid1_Sort" AllowPaging="true"
IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange"
EnableRowDoubleClickEvent="true" OnRowDoubleClick="Grid1_RowDoubleClick" EnableTextSelection="True">
<Toolbars>
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Left">
<Items>
<f:TextBox runat="server" Label="编号" ID="txtPersonPerfomanceCode" EmptyText="输入查询条件"
AutoPostBack="true" OnTextChanged="TextBox_TextChanged" Width="250px" LabelWidth="60px"
LabelAlign="right">
</f:TextBox>
<f:TextBox runat="server" Label="单位名称" ID="txtUnitName" EmptyText="输入查询条件" AutoPostBack="true"
OnTextChanged="TextBox_TextChanged" Width="250px" LabelWidth="80px" LabelAlign="right">
</f:TextBox>
<f:DatePicker ID="txtStartDate" runat="server" Label="评价时间" AutoPostBack="true" OnTextChanged="TextBox_TextChanged"
Width="220px" EmptyText="开始时间" LabelAlign="Right">
</f:DatePicker>
<f:Label ID="lblTo" runat="server" Text="至">
</f:Label>
<f:DatePicker ID="txtEndDate" runat="server" AutoPostBack="true" OnTextChanged="TextBox_TextChanged"
Width="120px" EmptyText="结束时间">
</f:DatePicker>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill>
<f:Button ID="btnNew" ToolTip="新增" Icon="Add" EnablePostBack="false" Hidden="true"
runat="server">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
<Columns>
<f:RowNumberField EnablePagingNumber="true" HeaderText="序号" Width="50px" HeaderTextAlign="Center"
TextAlign="Center" />
<f:RenderField Width="200px" ColumnID="PersonPerfomanceCode" DataField="PersonPerfomanceCode"
SortField="PersonPerfomanceCode" FieldType="String" HeaderText="评价编号" HeaderTextAlign="Center"
TextAlign="Left">
</f:RenderField>
<f:RenderField Width="90px" ColumnID="PersonName" DataField="PersonName" SortField="PersonName"
FieldType="String" HeaderText="人员姓名" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField>
<f:RenderField Width="220px" ColumnID="UnitName" DataField="UnitName" SortField="UnitName"
FieldType="String" HeaderText="单位名称" HeaderTextAlign="Center" TextAlign="Left" ExpandUnusedSpace="true">
</f:RenderField>
<f:RenderField Width="120px" ColumnID="TeamGroupName" DataField="TeamGroupName" SortField="TeamGroupName"
FieldType="String" HeaderText="班组" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField>
<f:RenderField Width="180px" ColumnID="SubContractNum" DataField="SubContractNum"
SortField="SubContractNum" FieldType="String" HeaderText="分包合同号" HeaderTextAlign="Center"
TextAlign="Left">
</f:RenderField>
<f:RenderField Width="90px" ColumnID="EvaluationDate" DataField="EvaluationDate"
SortField="EvaluationDate" FieldType="Date" Renderer="Date" RendererArgument="yyyy-MM-dd"
HeaderText="评价时间" HeaderTextAlign="Center" TextAlign="Center">
</f:RenderField>
<f:RenderField Width="130px" ColumnID="FlowOperateName" DataField="FlowOperateName"
SortField="FlowOperateName" FieldType="String" HeaderText="状态" HeaderTextAlign="Center"
TextAlign="Left">
</f:RenderField>
</Columns>
<Listeners>
<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:ListItem Text="10" Value="10" />
<f:ListItem Text="15" Value="15" />
<f:ListItem Text="20" Value="20" />
<f:ListItem Text="25" Value="25" />
<f:ListItem Text="所有行" Value="100000" />
</f:DropDownList>
</PageItems>
</f:Grid>
</Items>
</f:Panel>
<f:Window ID="Window1" Title="编辑个人绩效评价" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="Parent" EnableResize="true" runat="server" IsModal="true" Width="1024px"
Height="700px">
</f:Window>
<f:Menu ID="Menu1" runat="server">
<f:MenuButton ID="btnMenuEdit" OnClick="btnMenuEdit_Click" Icon="TableEdit" EnablePostBack="true"
Hidden="true" runat="server" Text="编辑">
</f:MenuButton>
<f:MenuButton ID="btnMenuDelete" OnClick="btnMenuDelete_Click" EnablePostBack="true"
Hidden="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');
}
</script>
</body>
</html>
@@ -0,0 +1,289 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Data;
using BLL;
namespace FineUIPro.Web.Perfomance
{
public partial class PerfomanceManagerRecord : PageBase
{
#region
/// <summary>
/// 项目主键
/// </summary>
public string ProjectId
{
get
{
return (string)ViewState["ProjectId"];
}
set
{
ViewState["ProjectId"] = value;
}
}
#endregion
#region
/// <summary>
/// 加载页面
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
////权限按钮方法
this.GetButtonPower();
this.ProjectId = this.CurrUser.LoginProjectId;
if (!string.IsNullOrEmpty(Request.Params["projectId"]) && Request.Params["projectId"] != this.CurrUser.LoginProjectId)
{
this.ProjectId = Request.Params["projectId"];
}
this.btnNew.OnClientClick = Window1.GetShowReference("PersonPerfomanceEdit.aspx") + "return false;";
if (this.CurrUser != null && this.CurrUser.PageSize.HasValue)
{
Grid1.PageSize = this.CurrUser.PageSize.Value;
}
this.ddlPageSize.SelectedValue = Grid1.PageSize.ToString();
// 绑定表格
this.BindGrid();
}
}
/// <summary>
/// 绑定数据
/// </summary>
private void BindGrid()
{
string strSql = @"SELECT PersonPerfomance.PersonPerfomanceId,"
+ @"PersonPerfomance.ProjectId,"
+ @"CodeRecords.Code AS PersonPerfomanceCode,"
+ @"PersonPerfomance.UnitId,"
+ @"PersonPerfomance.TeamGroupId,"
+ @"PersonPerfomance.PersonId,"
+ @"PersonPerfomance.SubContractNum,"
+ @"PersonPerfomance.EvaluationDate,"
+ @"PersonPerfomance.CompileMan,"
+ @"PersonPerfomance.CompileDate,"
+ @"PersonPerfomance.States,"
+ @"Unit.UnitName,"
+ @"TeamGroup.TeamGroupName,"
+ @"Person.PersonName,"
+ @"(CASE WHEN PersonPerfomance.States = " + BLL.Const.State_0 + " OR PersonPerfomance.States IS NULL THEN '待['+OperateUser.UserName+']提交' WHEN PersonPerfomance.States = " + BLL.Const.State_2 + " THEN '审核/审批完成' ELSE '待['+OperateUser.UserName+']办理' END) AS FlowOperateName"
+ @" FROM Perfomance_ManagerPerfomance AS PersonPerfomance "
+ @" LEFT JOIN Sys_CodeRecords AS CodeRecords ON PersonPerfomance.PersonPerfomanceId = CodeRecords.DataId "
+ @" LEFT JOIN Sys_FlowOperate AS FlowOperate ON PersonPerfomance.PersonPerfomanceId = FlowOperate.DataId AND FlowOperate.IsClosed <> 1"
+ @" LEFT JOIN Sys_User AS OperateUser ON FlowOperate.OperaterId = OperateUser.UserId"
+ @" LEFT JOIN Base_Unit AS Unit ON Unit.UnitId = PersonPerfomance.UnitId "
+ @" LEFT JOIN ProjectData_TeamGroup AS TeamGroup ON TeamGroup.TeamGroupId = PersonPerfomance.TeamGroupId "
+ @" LEFT JOIN SitePerson_Person AS Person ON Person.PersonId = PersonPerfomance.PersonId "
+ @" LEFT JOIN Sys_User AS Users ON PersonPerfomance.CompileMan = Users.UserId WHERE 1=1 ";
List<SqlParameter> listStr = new List<SqlParameter>();
strSql += " AND PersonPerfomance.ProjectId = @ProjectId";
listStr.Add(new SqlParameter("@ProjectId", this.ProjectId));
if (!string.IsNullOrEmpty(Request.Params["projectId"])) ///是否文件柜查看页面传项目值
{
strSql += " AND PersonPerfomance.States = @States"; ///状态为已完成
listStr.Add(new SqlParameter("@States", BLL.Const.State_2));
}
if (BLL.ProjectUnitService.GetProjectUnitTypeByProjectIdUnitId(this.ProjectId, this.CurrUser.UnitId))
{
strSql += " AND PersonPerfomance.UnitId = @UnitId"; ///状态为已完成
listStr.Add(new SqlParameter("@UnitId", this.CurrUser.UnitId));
}
if (!string.IsNullOrEmpty(this.txtPersonPerfomanceCode.Text.Trim()))
{
strSql += " AND PersonPerfomance.PersonPerfomanceCode LIKE @PersonPerfomanceCode";
listStr.Add(new SqlParameter("@PersonPerfomanceCode", "%" + this.txtPersonPerfomanceCode.Text.Trim() + "%"));
}
if (!string.IsNullOrEmpty(this.txtUnitName.Text.Trim()))
{
strSql += " AND Unit.UnitName LIKE @UnitName";
listStr.Add(new SqlParameter("@UnitName", "%" + this.txtUnitName.Text.Trim() + "%"));
}
if (!string.IsNullOrEmpty(this.txtStartDate.Text.Trim()))
{
strSql += " AND PersonPerfomance.EvaluationDate >= @StartDate";
listStr.Add(new SqlParameter("@StartDate", this.txtStartDate.Text.Trim()));
}
if (!string.IsNullOrEmpty(this.txtEndDate.Text.Trim()))
{
strSql += " AND PersonPerfomance.EvaluationDate <= @EndDate";
listStr.Add(new SqlParameter("@EndDate", this.txtEndDate.Text.Trim()));
}
SqlParameter[] parameter = listStr.ToArray();
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
Grid1.RecordCount = tb.Rows.Count;
tb = GetFilteredTable(Grid1.FilteredData, tb);
var table = this.GetPagedDataTable(Grid1, tb);
Grid1.DataSource = table;
Grid1.DataBind();
}
/// <summary>
/// 改变索引事件
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
{
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);
BindGrid();
}
/// <summary>
/// 排序
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e)
{
this.BindGrid();
}
#endregion
#region
/// <summary>
/// 查询
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void TextBox_TextChanged(object sender, EventArgs e)
{
if (!string.IsNullOrEmpty(this.txtStartDate.Text.Trim()) && !string.IsNullOrEmpty(this.txtEndDate.Text.Trim()))
{
if (Convert.ToDateTime(this.txtStartDate.Text.Trim()) > Convert.ToDateTime(this.txtEndDate.Text.Trim()))
{
Alert.ShowInTop("开始时间不能大于结束时间", MessageBoxIcon.Warning);
return;
}
}
this.BindGrid();
}
#endregion
#region
/// <summary>
/// 双击事件
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e)
{
this.EditData();
}
/// <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 personPerfomance = BLL.ManagerPerfomanceService.GetPersonPerfomanceById(id);
if (personPerfomance != null)
{
if (this.btnMenuEdit.Hidden || personPerfomance.States == BLL.Const.State_2) ////双击事件 编辑权限有:编辑页面,无:查看页面 或者状态是完成时查看页面
{
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("PerfomanceManagerView.aspx?PersonPerfomanceId={0}", id, "查看 - ")));
}
else
{
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("PerfomanceManagerRecordEdit.aspx?PersonPerfomanceId={0}", id, "编辑 - ")));
}
}
}
#endregion
#region
/// <summary>
/// 右键删除事件
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnMenuDelete_Click(object sender, EventArgs e)
{
if (Grid1.SelectedRowIndexArray.Length > 0)
{
foreach (int rowIndex in Grid1.SelectedRowIndexArray)
{
string rowID = Grid1.DataKeys[rowIndex][0].ToString();
var personPerfomance = BLL.ManagerPerfomanceService.GetPersonPerfomanceById(rowID);
if (personPerfomance != null)
{
BLL.LogService.AddSys_Log(this.CurrUser, personPerfomance.PersonPerfomanceCode, personPerfomance.PersonPerfomanceId, BLL.Const.PersonPerfomanceMenuId, BLL.Const.BtnDelete);
BLL.ManagerPerfomanceService.DeletePersonPerfomanceById(rowID);
}
}
this.BindGrid();
ShowNotify("删除数据成功!", MessageBoxIcon.Success);
}
}
#endregion
#region
/// <summary>
/// 获取按钮权限
/// </summary>
/// <param name="button"></param>
/// <returns></returns>
private void GetButtonPower()
{
if (Request.Params["value"] == "0")
{
return;
}
var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.PerfomanceManagereMenuId);
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
}
}
@@ -0,0 +1,188 @@
//------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,则所做更改将丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.Perfomance
{
public partial class PerfomanceManagerRecord
{
/// <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>
/// txtPersonPerfomanceCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtPersonPerfomanceCode;
/// <summary>
/// txtUnitName 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtUnitName;
/// <summary>
/// txtStartDate 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtStartDate;
/// <summary>
/// lblTo 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label lblTo;
/// <summary>
/// txtEndDate 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtEndDate;
/// <summary>
/// ToolbarFill1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary>
/// btnNew 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnNew;
/// <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,502 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PerfomanceManagerRecordEdit.aspx.cs"
Inherits="FineUIPro.Web.Perfomance.PerfomanceManagerRecordEdit" ValidateRequest="false" %>
<%@ Register Src="~/Controls/FlowOperateControl.ascx" TagName="FlowOperateControl"
TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<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" runat="server" AutoSizePanelID="SimpleForm1"/>
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" Title="个人绩效评价" AutoScroll="true"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:TextBox ID="txtPersonPerfomanceCode" runat="server" Label="评价编号" LabelAlign="Right"
MaxLength="50" Readonly="true">
</f:TextBox>
<f:DropDownList ID="drpUnitId" runat="server" Label="分包单位" LabelAlign="Right" EnableEdit="true"
Required="true" ShowRedStar="true" AutoPostBack="True" FocusOnPageLoad="true"
OnSelectedIndexChanged="drpUnitId_SelectedIndexChanged">
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="drpTeamGroupId" runat="server" Label="班组" LabelAlign="Right"
EnableEdit="true">
</f:DropDownList>
<f:DropDownList ID="drpPersonId" runat="server" Label="人员姓名" LabelAlign="Right" EnableEdit="true"
Required="true" ShowRedStar="true">
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtSubContractNum" runat="server" Label="分包合同号" LabelAlign="Right"
MaxLength="50">
</f:TextBox>
<f:DatePicker ID="txtEvaluationDate" runat="server" Label="评价时间" LabelAlign="Right"
EnableEdit="true">
</f:DatePicker>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TabStrip ID="TabStrip1" Width="850px" Height="350px" ShowBorder="true" TabPosition="Top"
EnableTabCloseMenu="false" runat="server">
<Tabs>
<f:Tab ID="Tab1" Title="模式一" BodyPadding="5px" Layout="Fit" runat="server">
<Items>
<f:Form ID="Form2" runat="server" ShowHeader="false" BodyPadding="5px">
<Items>
<f:FormRow>
<Items>
<f:TextArea ID="txtEvaluationDef" runat="server" Label="评价描述" MaxLength="200">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="drpRewardOrPunish" runat="server" Label="奖/罚">
</f:DropDownList>
<f:NumberBox ID="txtRPMoney" runat="server" Label="金额" NoNegative="true">
</f:NumberBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtAssessmentGroup" runat="server" Label="考评组" MaxLength="200">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:FileUpload runat="server" ID="btnFile1" EmptyText="请选择附件" OnFileSelected="btnFile1_Click"
AutoPostBack="true" Label="附件">
</f:FileUpload>
<f:ContentPanel ID="ContentPanel2" runat="server" ShowHeader="false" ShowBorder="false"
Title="附件1">
<table>
<tr style="height: 28px">
<td align="left">
<div id="divFile1" runat="server">
</div>
</td>
</tr>
</table>
</f:ContentPanel>
</Items>
</f:FormRow>
</Items>
</f:Form>
</Items>
</f:Tab>
<f:Tab ID="Tab2" Title="模式二" BodyPadding="5px" runat="server" AutoScroll="true">
<Items>
<f:Form ID="Form3" runat="server" ShowHeader="false" BodyPadding="5px">
<Items>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<Items>
<f:Label ID="Label1" runat="server" Text="序号">
</f:Label>
<f:Label ID="Label2" runat="server" Text="评价内容">
</f:Label>
<f:Label ID="Label3" runat="server" Text="表现情况">
</f:Label>
<f:Label ID="Label4" runat="server" Text="标准分">
</f:Label>
<f:Label ID="Label5" runat="server" Text="实得分">
</f:Label>
<f:Label ID="Label66" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row1" Hidden="true">
<Items>
<f:Label ID="lblSort_1" runat="server" Text="1">
</f:Label>
<f:Label ID="txtContent_1" runat="server" Text="具有注册安全工程师证或地方及行业安全员资质证书,持证上岗">
</f:Label>
<f:TextBox ID="txtBehavior_1" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="txtValue_1" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_1" runat="server" NoNegative="true" MaxValue="10" MinValue="0"
AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label68" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row2" Hidden="true">
<Items>
<f:Label ID="Label8" runat="server" Text="2">
</f:Label>
<f:Label ID="txtContent_2" runat="server" Text="具有丰富项目HSE 内页管理经验,单独编制项目HSE 计划、应急预案等文件">
</f:Label>
<f:TextBox ID="txtBehavior_2" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="txtValue_2" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_2" runat="server" NoNegative="true" MaxValue="10" MinValue="0"
AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label69" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row3" Hidden="true">
<Items>
<f:Label ID="Label11" runat="server" Text="3">
</f:Label>
<f:Label ID="txtContent_3" runat="server" Text="具有丰富项目HSE 现场管理经验,快速准确查出安全隐患,按隐患级别限期整改合格">
</f:Label>
<f:TextBox ID="txtBehavior_3" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="txtValue_3" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_3" runat="server" NoNegative="true" MaxValue="10" MinValue="0"
AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label70" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row4" Hidden="true">
<Items>
<f:Label ID="Label14" runat="server" Text="4">
</f:Label>
<f:Label ID="txtContent_4" runat="server" Text="热爱HSE 工作,强烈的责任心和事业感,敢说、敢管、敢处理">
</f:Label>
<f:TextBox ID="txtBehavior_4" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="txtValue_4" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_4" runat="server" NoNegative="true" MaxValue="10" MinValue="0"
AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label71" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row5" Hidden="true">
<Items>
<f:Label ID="Label17" runat="server" Text="5">
</f:Label>
<f:Label ID="txtContent_5" runat="server" Text="积极参加业主、监理公司和PEC 总承包方召开的有关HSE 会议,观点鲜明">
</f:Label>
<f:TextBox ID="txtBehavior_5" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="txtValue_5" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_5" runat="server" NoNegative="true" MaxValue="10" MinValue="0"
AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label72" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row6" Hidden="true">
<Items>
<f:Label ID="Label20" runat="server" Text="6">
</f:Label>
<f:Label ID="txtContent_6" runat="server" Text="主动协调与业主、监理和总承包方的关系,征得其支持和帮助,促进本身工作开展">
</f:Label>
<f:TextBox ID="txtBehavior_6" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="txtValue_6" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_6" runat="server" NoNegative="true" MaxValue="10" MinValue="0"
AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label73" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row7" Hidden="true">
<Items>
<f:Label ID="Label23" runat="server" Text="7">
</f:Label>
<f:Label ID="txtContent_7" runat="server" Text="按时保质保量编写HSE 周报月报,准时上报业主、监理公司和总承包方">
</f:Label>
<f:TextBox ID="txtBehavior_7" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="txtValue_7" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_7" runat="server" NoNegative="true" MaxValue="10" MinValue="0"
AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label74" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row8" Hidden="true">
<Items>
<f:Label ID="Label26" runat="server" Text="8">
</f:Label>
<f:Label ID="txtContent_8" runat="server" Text="准时参加业主、监理及总承包方组织的专检、联检和大检查,发现隐患,提出建议">
</f:Label>
<f:TextBox ID="txtBehavior_8" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="txtValue_8" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_8" runat="server" NoNegative="true" MaxValue="10" MinValue="0"
AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label75" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row9" Hidden="true">
<Items>
<f:Label ID="Label29" runat="server" Text="9">
</f:Label>
<f:Label ID="txtContent_9" runat="server" Text="前瞻性眼光,提前反映诸如脚手架材料、安全网、专职安全员不足等问题,以求主动">
</f:Label>
<f:TextBox ID="txtBehavior_9" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="txtValue_9" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_9" runat="server" NoNegative="true" MaxValue="10" MinValue="0"
AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label76" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row10" Hidden="true">
<Items>
<f:Label ID="Label32" runat="server" Text="10">
</f:Label>
<f:Label ID="txtContent_10" runat="server" Text="高度重视项目安全文化建设,充分利用班前会、三级安全培训会、板报、安全警示牌等机会大力宣传项目安全文化">
</f:Label>
<f:TextBox ID="txtBehavior_10" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="txtValue_10" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_10" runat="server" NoNegative="true" MaxValue="10" MinValue="0"
AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label77" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row11" Hidden="true">
<Items>
<f:Label ID="Label35" runat="server" Text="11">
</f:Label>
<f:Label ID="txtContent_11" runat="server" Text="现场违章">
</f:Label>
<f:TextBox ID="txtBehavior_11" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="txtValue_11" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_11" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label78" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row12" Hidden="true">
<Items>
<f:Label ID="Label38" runat="server" Text="12">
</f:Label>
<f:Label ID="txtContent_12" runat="server" Text="宣传、警示">
</f:Label>
<f:TextBox ID="txtBehavior_12" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="txtValue_12" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_12" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label79" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row13" Hidden="true">
<Items>
<f:Label ID="Label41" runat="server" Text="13">
</f:Label>
<f:Label ID="txtContent_13" runat="server" Text="文明施工与环境卫生">
</f:Label>
<f:TextBox ID="txtBehavior_13" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="txtValue_13" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_13" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label80" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row14" Hidden="true">
<Items>
<f:Label ID="Label44" runat="server" Text="14">
</f:Label>
<f:Label ID="txtContent_14" runat="server" Text="消防安全">
</f:Label>
<f:TextBox ID="txtBehavior_14" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="txtValue_14" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_14" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label81" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row15" Hidden="true">
<Items>
<f:Label ID="Label47" runat="server" Text="15">
</f:Label>
<f:Label ID="txtContent_15" runat="server" Text="治安保卫">
</f:Label>
<f:TextBox ID="txtBehavior_15" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="txtValue_15" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_15" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label82" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row16" Hidden="true">
<Items>
<f:Label ID="Label50" runat="server" Text="16">
</f:Label>
<f:Label ID="txtContent_16" runat="server" Text="奖惩情况">
</f:Label>
<f:TextBox ID="txtBehavior_16" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="txtValue_16" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_16" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label83" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row17" Hidden="true">
<Items>
<f:Label ID="Label53" runat="server" Text="17">
</f:Label>
<f:Label ID="txtContent_17" runat="server" Text="应急准备及应急演练">
</f:Label>
<f:TextBox ID="txtBehavior_17" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="txtValue_17" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_17" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label84" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row18" Hidden="true">
<Items>
<f:Label ID="Label56" runat="server" Text="18" >
</f:Label>
<f:Label ID="txtContent_18" runat="server" Text="法律、法规、管理规范清单">
</f:Label>
<f:TextBox ID="txtBehavior_18" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="txtValue_18" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_18" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label85" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row19" Hidden="true">
<Items>
<f:Label ID="Label59" runat="server" Text="19">
</f:Label>
<f:Label ID="txtContent_19" runat="server" Text="事故、事件调查处理情况">
</f:Label>
<f:TextBox ID="txtBehavior_19" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="txtValue_19" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_19" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label86" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row20" Hidden="true">
<Items>
<f:Label ID="Label62" runat="server" Text="20">
</f:Label>
<f:Label ID="txtContent_20" runat="server" Text="过程文件的规范性">
</f:Label>
<f:TextBox ID="txtBehavior_20" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="txtValue_20" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_20" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label87" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="10% 60% 15% 10% 5%">
<Items>
<f:Label ID="Label65" runat="server" Text="综合评语">
</f:Label>
<f:TextBox ID="txtTotalJudging" runat="server" MaxLength="100">
</f:TextBox>
<f:Label ID="Label67" runat="server" Text="最终得分">
</f:Label>
<f:TextBox ID="txtTotalScore" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label88" runat="server">
</f:Label>
</Items>
</f:FormRow>
</Items>
</f:Form>
</Items>
</f:Tab>
</Tabs>
</f:TabStrip>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:ContentPanel ID="ContentPanel1" runat="server" ShowHeader="false" EnableCollapse="true"
BodyPadding="0px">
<uc1:FlowOperateControl ID="ctlAuditFlow" runat="server" />
</f:ContentPanel>
</Items>
</f:FormRow>
</Rows>
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
<Items>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill>
<f:Button ID="btnSave" Icon="SystemSave" runat="server" ToolTip="保存" ValidateForms="SimpleForm1"
OnClick="btnSave_Click">
</f:Button>
<f:Button ID="btnSubmit" Icon="SystemSaveNew" runat="server" ToolTip="提交" ValidateForms="SimpleForm1"
OnClick="btnSubmit_Click">
</f:Button>
<f:Button ID="btnClose" EnablePostBack="false" ToolTip="关闭" runat="server" Icon="SystemClose">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
</f:Form>
</form>
</body>
</html>
@@ -0,0 +1,505 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BLL;
namespace FineUIPro.Web.Perfomance
{
public partial class PerfomanceManagerRecordEdit : PageBase
{
#region
/// <summary>
/// 主键
/// </summary>
private string PersonPerfomanceId
{
get
{
return (string)ViewState["PersonPerfomanceId"];
}
set
{
ViewState["PersonPerfomanceId"] = value;
}
}
/// <summary>
/// 附件路径
/// </summary>
public string AttachUrl
{
get
{
return (string)ViewState["AttachUrl"];
}
set
{
ViewState["AttachUrl"] = value;
}
}
/// <summary>
/// 项目主键
/// </summary>
public string ProjectId
{
get
{
return (string)ViewState["ProjectId"];
}
set
{
ViewState["ProjectId"] = value;
}
}
#endregion
#region
/// <summary>
/// 加载页面
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
this.ProjectId = this.CurrUser.LoginProjectId;
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
Funs.FineUIPleaseSelect(this.drpTeamGroupId);
this.InitDropDownList();
initContent();
this.PersonPerfomanceId = Request.Params["PersonPerfomanceId"];
if (!string.IsNullOrEmpty(this.PersonPerfomanceId))
{
Model.Perfomance_ManagerPerfomance personPerfomance = BLL.ManagerPerfomanceService.GetPersonPerfomanceById(this.PersonPerfomanceId);
if (personPerfomance!=null)
{
this.ProjectId = personPerfomance.ProjectId;
if (this.ProjectId != this.CurrUser.LoginProjectId)
{
this.InitDropDownList();
}
this.txtPersonPerfomanceCode.Text = CodeRecordsService.ReturnCodeByDataId(this.PersonPerfomanceId);
if (!string.IsNullOrEmpty(personPerfomance.UnitId))
{
this.drpUnitId.SelectedValue = personPerfomance.UnitId;
BLL.TeamGroupService.InitTeamGroupProjectUnitDropDownList(this.drpTeamGroupId, this.ProjectId, this.drpUnitId.SelectedValue, true);
this.drpTeamGroupId.SelectedIndex = 0;
if (!string.IsNullOrEmpty(personPerfomance.TeamGroupId))
{
this.drpTeamGroupId.SelectedValue = personPerfomance.TeamGroupId;
}
BLL.PersonService.InitPersonByProjectUnitDropDownList(this.drpPersonId, this.ProjectId, this.drpUnitId.SelectedValue, true);
this.drpPersonId.SelectedIndex = 0;
if (!string.IsNullOrEmpty(personPerfomance.PersonId))
{
this.drpPersonId.SelectedValue = personPerfomance.PersonId;
}
}
this.txtSubContractNum.Text = personPerfomance.SubContractNum;
if (personPerfomance.EvaluationDate!=null)
{
this.txtEvaluationDate.Text = string.Format("{0:yyyy-MM-dd}", personPerfomance.EvaluationDate);
}
this.txtEvaluationDef.Text = personPerfomance.EvaluationDef;
if (!string.IsNullOrEmpty(personPerfomance.RewardOrPunish))
{
this.drpRewardOrPunish.SelectedValue = personPerfomance.RewardOrPunish;
}
if (personPerfomance.RPMoney!=null)
{
this.txtRPMoney.Text = Convert.ToString(personPerfomance.RPMoney);
}
this.txtAssessmentGroup.Text = personPerfomance.AssessmentGroup;
this.txtBehavior_1.Text = personPerfomance.Behavior_1;
this.txtBehavior_2.Text = personPerfomance.Behavior_2;
this.txtBehavior_3.Text = personPerfomance.Behavior_3;
this.txtBehavior_4.Text = personPerfomance.Behavior_4;
this.txtBehavior_5.Text = personPerfomance.Behavior_5;
this.txtBehavior_6.Text = personPerfomance.Behavior_6;
this.txtBehavior_7.Text = personPerfomance.Behavior_7;
this.txtBehavior_8.Text = personPerfomance.Behavior_8;
this.txtBehavior_9.Text = personPerfomance.Behavior_9;
this.txtBehavior_10.Text = personPerfomance.Behavior_10;
this.txtScore_1.Text = Convert.ToString(personPerfomance.Score_1);
this.txtScore_2.Text = Convert.ToString(personPerfomance.Score_2);
this.txtScore_3.Text = Convert.ToString(personPerfomance.Score_3);
this.txtScore_4.Text = Convert.ToString(personPerfomance.Score_4);
this.txtScore_5.Text = Convert.ToString(personPerfomance.Score_5);
this.txtScore_6.Text = Convert.ToString(personPerfomance.Score_6);
this.txtScore_7.Text = Convert.ToString(personPerfomance.Score_7);
this.txtScore_8.Text = Convert.ToString(personPerfomance.Score_8);
this.txtScore_9.Text = Convert.ToString(personPerfomance.Score_9);
this.txtScore_10.Text = Convert.ToString(personPerfomance.Score_10);
this.txtTotalJudging.Text = personPerfomance.TotalJudging;
this.txtTotalScore.Text = Convert.ToString(personPerfomance.TotalScore);
this.AttachUrl = personPerfomance.AttachUrl;
this.divFile1.InnerHtml = BLL.UploadAttachmentService.ShowAttachment("../", this.AttachUrl);
}
}
else
{
this.txtEvaluationDate.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now);
////自动生成编码
this.txtPersonPerfomanceCode.Text = BLL.CodeRecordsService.ReturnCodeByMenuIdProjectId(BLL.Const.PerfomanceManagereMenuId, this.ProjectId, this.CurrUser.UnitId);
}
///初始化审核菜单
this.ctlAuditFlow.MenuId = BLL.Const.PerfomanceManagereMenuId;
this.ctlAuditFlow.DataId = this.PersonPerfomanceId;
this.ctlAuditFlow.ProjectId = this.ProjectId;
this.ctlAuditFlow.UnitId = this.CurrUser.UnitId;
}
}
#endregion
protected void initContent()
{
var contents = Funs.DB.Perfomance_PerfomanceContent.Where(x => x.PerfomanceType == 3).OrderBy(x => x.ShowIndex).ToList();
int i = 1;
foreach (var content in contents)
{
switch (i)
{
case 1:
row1.Hidden = false;
txtValue_1.Text = content.PerfomanceValue;
txtContent_1.Text = content.PerfomanceContent;
txtScore_1.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 2:
row2.Hidden = false;
txtValue_2.Text = content.PerfomanceValue;
txtContent_2.Text = content.PerfomanceContent;
txtScore_2.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 3:
row3.Hidden = false;
txtValue_3.Text = content.PerfomanceValue;
txtContent_3.Text = content.PerfomanceContent;
txtScore_3.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 4:
row4.Hidden = false;
txtValue_4.Text = content.PerfomanceValue;
txtContent_4.Text = content.PerfomanceContent;
txtScore_4.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 5:
row5.Hidden = false;
txtValue_5.Text = content.PerfomanceValue;
txtContent_5.Text = content.PerfomanceContent;
txtScore_5.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 6:
row6.Hidden = false;
txtValue_6.Text = content.PerfomanceValue;
txtContent_6.Text = content.PerfomanceContent;
txtScore_6.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 7:
row7.Hidden = false;
txtValue_7.Text = content.PerfomanceValue;
txtContent_7.Text = content.PerfomanceContent;
txtScore_7.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 8:
row8.Hidden = false;
txtValue_8.Text = content.PerfomanceValue;
txtContent_8.Text = content.PerfomanceContent;
txtScore_8.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 9:
row9.Hidden = false;
txtValue_9.Text = content.PerfomanceValue;
txtContent_9.Text = content.PerfomanceContent;
txtScore_9.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 10:
row10.Hidden = false;
txtValue_10.Text = content.PerfomanceValue;
txtContent_10.Text = content.PerfomanceContent;
txtScore_10.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 11:
row11.Hidden = false;
txtValue_11.Text = content.PerfomanceValue;
txtContent_11.Text = content.PerfomanceContent;
txtScore_11.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 12:
row12.Hidden = false;
txtValue_12.Text = content.PerfomanceValue;
txtContent_12.Text = content.PerfomanceContent;
txtScore_12.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 13:
row13.Hidden = false;
txtValue_13.Text = content.PerfomanceValue;
txtContent_13.Text = content.PerfomanceContent;
txtScore_13.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 14:
row14.Hidden = false;
txtValue_14.Text = content.PerfomanceValue;
txtContent_14.Text = content.PerfomanceContent;
txtScore_14.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 15:
row15.Hidden = false;
txtValue_15.Text = content.PerfomanceValue;
txtContent_15.Text = content.PerfomanceContent;
txtScore_15.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 16:
row16.Hidden = false;
txtValue_16.Text = content.PerfomanceValue;
txtContent_16.Text = content.PerfomanceContent;
txtScore_16.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 17:
row17.Hidden = false;
txtValue_17.Text = content.PerfomanceValue;
txtContent_17.Text = content.PerfomanceContent;
txtScore_17.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 18:
row18.Hidden = false;
txtValue_18.Text = content.PerfomanceValue;
txtContent_18.Text = content.PerfomanceContent;
txtScore_18.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 19:
row19.Hidden = false;
txtValue_19.Text = content.PerfomanceValue;
txtContent_19.Text = content.PerfomanceContent;
txtScore_19.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 20:
row20.Hidden = false;
txtValue_20.Text = content.PerfomanceValue;
txtContent_20.Text = content.PerfomanceContent;
txtScore_20.MaxValue = double.Parse(content.PerfomanceValue);
break;
}
i++;
}
}
/// <summary>
/// 初始化下拉框
/// </summary>
private void InitDropDownList()
{
BLL.UnitService.InitUnitDropDownList(this.drpUnitId, this.ProjectId, true);
BLL.ConstValue.InitConstValueDropDownList(this.drpRewardOrPunish, BLL.ConstValue.Group_RewardOrPunish, true);
}
#region
/// <summary>
/// 保存按钮
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnSave_Click(object sender, EventArgs e)
{
this.SaveData(BLL.Const.BtnSave);
PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference());
}
/// <summary>
/// 提交按钮
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnSubmit_Click(object sender, EventArgs e)
{
if (this.ctlAuditFlow.NextStep == BLL.Const.State_1 && this.ctlAuditFlow.NextPerson == BLL.Const._Null)
{
ShowNotify("请选择下一步办理人!", MessageBoxIcon.Warning);
return;
}
this.SaveData(BLL.Const.BtnSubmit);
PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference());
}
/// <summary>
/// 保存数据
/// </summary>
/// <param name="type"></param>
private void SaveData(string type)
{
if (this.drpUnitId.SelectedValue == BLL.Const._Null)
{
Alert.ShowInTop("请选择分包单位", MessageBoxIcon.Warning);
return;
}
if (this.drpPersonId.SelectedValue == BLL.Const._Null)
{
Alert.ShowInTop("请选择人员姓名!", MessageBoxIcon.Warning);
return;
}
Model.Perfomance_ManagerPerfomance personPerfomance = new Model.Perfomance_ManagerPerfomance
{
ProjectId = this.ProjectId,
PersonPerfomanceCode = this.txtPersonPerfomanceCode.Text.Trim()
};
if (this.drpUnitId.SelectedValue != BLL.Const._Null)
{
personPerfomance.UnitId = this.drpUnitId.SelectedValue;
}
if (this.drpTeamGroupId.SelectedValue != BLL.Const._Null)
{
personPerfomance.TeamGroupId = this.drpTeamGroupId.SelectedValue;
}
if (this.drpPersonId.SelectedValue != BLL.Const._Null)
{
personPerfomance.PersonId = this.drpPersonId.SelectedValue;
}
personPerfomance.SubContractNum = this.txtSubContractNum.Text.Trim();
personPerfomance.EvaluationDate = Funs.GetNewDateTime(this.txtEvaluationDate.Text.Trim());
personPerfomance.EvaluationDef = this.txtEvaluationDef.Text.Trim();
if (this.drpRewardOrPunish.SelectedValue != BLL.Const._Null)
{
personPerfomance.RewardOrPunish = this.drpRewardOrPunish.SelectedValue;
}
personPerfomance.RPMoney = Funs.GetNewDecimalOrZero(this.txtRPMoney.Text.Trim());
personPerfomance.AssessmentGroup = this.txtAssessmentGroup.Text.Trim();
personPerfomance.Behavior_1 = this.txtBehavior_1.Text.Trim();
personPerfomance.Behavior_2 = this.txtBehavior_2.Text.Trim();
personPerfomance.Behavior_3 = this.txtBehavior_3.Text.Trim();
personPerfomance.Behavior_4 = this.txtBehavior_4.Text.Trim();
personPerfomance.Behavior_5 = this.txtBehavior_5.Text.Trim();
personPerfomance.Behavior_6 = this.txtBehavior_6.Text.Trim();
personPerfomance.Behavior_7 = this.txtBehavior_7.Text.Trim();
personPerfomance.Behavior_8 = this.txtBehavior_8.Text.Trim();
personPerfomance.Behavior_9 = this.txtBehavior_9.Text.Trim();
personPerfomance.Behavior_10 = this.txtBehavior_10.Text.Trim();
personPerfomance.Score_1 = Funs.GetNewDecimalOrZero(this.txtScore_1.Text.Trim());
personPerfomance.Score_2 = Funs.GetNewDecimalOrZero(this.txtScore_2.Text.Trim());
personPerfomance.Score_3 = Funs.GetNewDecimalOrZero(this.txtScore_3.Text.Trim());
personPerfomance.Score_4 = Funs.GetNewDecimalOrZero(this.txtScore_4.Text.Trim());
personPerfomance.Score_5 = Funs.GetNewDecimalOrZero(this.txtScore_5.Text.Trim());
personPerfomance.Score_6 = Funs.GetNewDecimalOrZero(this.txtScore_6.Text.Trim());
personPerfomance.Score_7 = Funs.GetNewDecimalOrZero(this.txtScore_7.Text.Trim());
personPerfomance.Score_8 = Funs.GetNewDecimalOrZero(this.txtScore_8.Text.Trim());
personPerfomance.Score_9 = Funs.GetNewDecimalOrZero(this.txtScore_9.Text.Trim());
personPerfomance.Score_10 = Funs.GetNewDecimalOrZero(this.txtScore_10.Text.Trim());
personPerfomance.TotalJudging = this.txtTotalJudging.Text.Trim();
personPerfomance.TotalScore = Funs.GetNewDecimalOrZero(this.txtTotalScore.Text.Trim());
personPerfomance.States = BLL.Const.State_0;
if (type == BLL.Const.BtnSubmit)
{
personPerfomance.States = this.ctlAuditFlow.NextStep;
}
personPerfomance.CompileMan = this.CurrUser.UserId;
personPerfomance.CompileDate = DateTime.Now;
personPerfomance.AttachUrl = this.AttachUrl;
if (!string.IsNullOrEmpty(this.PersonPerfomanceId))
{
personPerfomance.PersonPerfomanceId = this.PersonPerfomanceId;
BLL.ManagerPerfomanceService.UpdatePersonPerfomance(personPerfomance);
BLL.LogService.AddSys_Log(this.CurrUser, personPerfomance.PersonPerfomanceCode, personPerfomance.PersonPerfomanceId, BLL.Const.PerfomanceManagereMenuId, BLL.Const.BtnModify);
}
else
{
this.PersonPerfomanceId = SQLHelper.GetNewID(typeof(Model.Perfomance_PersonPerfomance));
personPerfomance.PersonPerfomanceId = this.PersonPerfomanceId;
BLL.ManagerPerfomanceService.AddPersonPerfomance(personPerfomance);
BLL.LogService.AddSys_Log(this.CurrUser, personPerfomance.PersonPerfomanceCode, personPerfomance.PersonPerfomanceId, BLL.Const.PerfomanceManagereMenuId, BLL.Const.BtnAdd);
}
////保存流程审核数据
this.ctlAuditFlow.btnSaveData(this.ProjectId, BLL.Const.PerfomanceManagereMenuId, this.PersonPerfomanceId, (type == BLL.Const.BtnSubmit ? true : false), personPerfomance.PersonPerfomanceCode, "../Perfomance/PersonPerfomanceView.aspx?PersonPerfomanceId={0}");
}
#endregion
#region DropDownList下拉选择事件
/// <summary>
/// 分包单位下拉选择事件
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void drpUnitId_SelectedIndexChanged(object sender, EventArgs e)
{
BLL.TeamGroupService.InitTeamGroupProjectUnitDropDownList(this.drpTeamGroupId, this.ProjectId, this.drpUnitId.SelectedValue, true);
this.drpTeamGroupId.SelectedIndex = 0;
BLL.PersonService.InitPersonByProjectUnitDropDownList(this.drpPersonId, this.ProjectId, this.drpUnitId.SelectedValue, true);
this.drpPersonId.SelectedIndex = 0;
}
#endregion
#region
/// <summary>
/// 附件上传
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnFile1_Click(object sender, EventArgs e)
{
if (btnFile1.HasFile)
{
this.AttachUrl = BLL.UploadFileService.UploadAttachment(BLL.Funs.RootPath, this.btnFile1, this.AttachUrl, UploadFileService.PersonPerfomanceFilePath);
this.divFile1.InnerHtml = BLL.UploadAttachmentService.ShowAttachment("../", this.AttachUrl);
}
}
#endregion
#region
/// <summary>
/// 计算总分数
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void TextBox_OnTextChanged(object sender, EventArgs e)
{
decimal score_1 = 0, score_2 = 0, score_3 = 0, score_4 = 0, score_5 = 0, score_6 = 0, score_7 = 0, score_8 = 0, score_9 = 0, score_10 = 0;
if (!string.IsNullOrEmpty(this.txtScore_1.Text.Trim()))
{
score_1 = Convert.ToDecimal(this.txtScore_1.Text.Trim());
}
if (!string.IsNullOrEmpty(this.txtScore_2.Text.Trim()))
{
score_2 = Convert.ToDecimal(this.txtScore_2.Text.Trim());
}
if (!string.IsNullOrEmpty(this.txtScore_3.Text.Trim()))
{
score_3 = Convert.ToDecimal(this.txtScore_3.Text.Trim());
}
if (!string.IsNullOrEmpty(this.txtScore_4.Text.Trim()))
{
score_4 = Convert.ToDecimal(this.txtScore_4.Text.Trim());
}
if (!string.IsNullOrEmpty(this.txtScore_5.Text.Trim()))
{
score_5 = Convert.ToDecimal(this.txtScore_5.Text.Trim());
}
if (!string.IsNullOrEmpty(this.txtScore_6.Text.Trim()))
{
score_6 = Convert.ToDecimal(this.txtScore_6.Text.Trim());
}
if (!string.IsNullOrEmpty(this.txtScore_7.Text.Trim()))
{
score_7 = Convert.ToDecimal(this.txtScore_7.Text.Trim());
}
if (!string.IsNullOrEmpty(this.txtScore_8.Text.Trim()))
{
score_8 = Convert.ToDecimal(this.txtScore_8.Text.Trim());
}
if (!string.IsNullOrEmpty(this.txtScore_9.Text.Trim()))
{
score_9 = Convert.ToDecimal(this.txtScore_9.Text.Trim());
}
if (!string.IsNullOrEmpty(this.txtScore_10.Text.Trim()))
{
score_10 = Convert.ToDecimal(this.txtScore_10.Text.Trim());
}
this.txtTotalScore.Text = Convert.ToString(score_1 + score_2 + score_3 + score_4 + score_5 + score_6 + score_7 + score_8 + score_9 + score_10);
}
#endregion
}
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,478 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PerfomanceManagerView.aspx.cs"
Inherits="FineUIPro.Web.Perfomance.PerfomanceManagerView" %>
<%@ Register Src="~/Controls/FlowOperateControl.ascx" TagName="FlowOperateControl"
TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<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" runat="server" AutoSizePanelID="SimpleForm1"/>
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" Title="个人绩效评价" AutoScroll="true"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:TextBox ID="txtPersonPerfomanceCode" runat="server" Label="评价编号" LabelAlign="Right"
Readonly="true">
</f:TextBox>
<f:TextBox ID="txtUnitName" runat="server" Label="分包单位" LabelAlign="Right" Readonly="true">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtTeamGroupName" runat="server" Label="班组" LabelAlign="Right" Readonly="true">
</f:TextBox>
<f:TextBox ID="txtPersonName" runat="server" Label="人员姓名" LabelAlign="Right" Readonly="true">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtSubContractNum" runat="server" Label="分包合同号" LabelAlign="Right"
Readonly="true">
</f:TextBox>
<f:TextBox ID="txtEvaluationDate" runat="server" Label="评价时间" LabelAlign="Right"
Readonly="true">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TabStrip ID="TabStrip1" Width="850px" Height="350px" ShowBorder="true" TabPosition="Top"
EnableTabCloseMenu="false" runat="server">
<Tabs>
<f:Tab ID="Tab1" Title="模式一" BodyPadding="5px" Layout="Fit" runat="server">
<Items>
<f:Form ID="Form2" runat="server" ShowHeader="false" BodyPadding="5px">
<Items>
<f:FormRow>
<Items>
<f:TextArea ID="txtEvaluationDef" runat="server" Label="评价描述" Readonly="true">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtRewardOrPunish" runat="server" Label="奖/罚" Readonly="true">
</f:TextBox>
<f:NumberBox ID="txtRPMoney" runat="server" Label="金额" Readonly="true">
</f:NumberBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtAssessmentGroup" runat="server" Label="考评组" Readonly="true">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:ContentPanel ID="ContentPanel2" runat="server" ShowHeader="false" ShowBorder="false"
Title="附件">
<table>
<tr style="height: 28px">
<td align="left">
<div id="divFile1" runat="server">
</div>
</td>
</tr>
</table>
</f:ContentPanel>
</Items>
</f:FormRow>
</Items>
</f:Form>
</Items>
</f:Tab>
<f:Tab ID="Tab2" Title="模式二" BodyPadding="5px" runat="server" AutoScroll="true">
<Items>
<f:Form ID="Form3" runat="server" ShowHeader="false" BodyPadding="5px">
<Items>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<Items>
<f:Label ID="Label1" runat="server" Text="序号">
</f:Label>
<f:Label ID="Label2" runat="server" Text="评价内容">
</f:Label>
<f:Label ID="Label3" runat="server" Text="表现情况">
</f:Label>
<f:Label ID="Label4" runat="server" Text="标准分">
</f:Label>
<f:Label ID="Label5" runat="server" Text="实得分">
</f:Label>
<f:Label ID="Label66" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row1" Hidden="true">
<Items>
<f:Label ID="lblSort_1" runat="server" Text="1">
</f:Label>
<f:Label ID="txtContent_1" runat="server" Text="具有注册安全工程师证或地方及行业安全员资质证书,持证上岗">
</f:Label>
<f:TextBox ID="txtBehavior_1" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="txtValue_1" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_1" runat="server" Readonly="true">
</f:NumberBox>
<f:Label ID="Label68" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row2" Hidden="true">
<Items>
<f:Label ID="Label8" runat="server" Text="2">
</f:Label>
<f:Label ID="txtContent_2" runat="server" Text="具有丰富项目HSE 内页管理经验,单独编制项目HSE 计划、应急预案等文件">
</f:Label>
<f:TextBox ID="txtBehavior_2" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="txtValue_2" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_2" runat="server" Readonly="true">
</f:NumberBox>
<f:Label ID="Label69" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row3" Hidden="true">
<Items>
<f:Label ID="Label11" runat="server" Text="3">
</f:Label>
<f:Label ID="txtContent_3" runat="server" Text="具有丰富项目HSE 现场管理经验,快速准确查出安全隐患,按隐患级别限期整改合格">
</f:Label>
<f:TextBox ID="txtBehavior_3" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="txtValue_3" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_3" runat="server" Readonly="true">
</f:NumberBox>
<f:Label ID="Label70" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row4" Hidden="true">
<Items>
<f:Label ID="Label14" runat="server" Text="4">
</f:Label>
<f:Label ID="txtContent_4" runat="server" Text="热爱HSE 工作,强烈的责任心和事业感,敢说、敢管、敢处理">
</f:Label>
<f:TextBox ID="txtBehavior_4" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="txtValue_4" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_4" runat="server" Readonly="true">
</f:NumberBox>
<f:Label ID="Label71" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row5" Hidden="true">
<Items>
<f:Label ID="Label17" runat="server" Text="5">
</f:Label>
<f:Label ID="txtContent_5" runat="server" Text="积极参加业主、监理公司和PEC 总承包方召开的有关HSE 会议,观点鲜明">
</f:Label>
<f:TextBox ID="txtBehavior_5" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="txtValue_5" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_5" runat="server" Readonly="true">
</f:NumberBox>
<f:Label ID="Label72" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row6" Hidden="true">
<Items>
<f:Label ID="Label20" runat="server" Text="6">
</f:Label>
<f:Label ID="txtContent_6" runat="server" Text="主动协调与业主、监理和总承包方的关系,征得其支持和帮助,促进本身工作开展">
</f:Label>
<f:TextBox ID="txtBehavior_6" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="txtValue_6" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_6" runat="server" Readonly="true">
</f:NumberBox>
<f:Label ID="Label73" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row7" Hidden="true">
<Items>
<f:Label ID="Label23" runat="server" Text="7">
</f:Label>
<f:Label ID="txtContent_7" runat="server" Text="按时保质保量编写HSE 周报月报,准时上报业主、监理公司和总承包方">
</f:Label>
<f:TextBox ID="txtBehavior_7" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="txtValue_7" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_7" runat="server" Readonly="true">
</f:NumberBox>
<f:Label ID="Label74" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row8" Hidden="true">
<Items>
<f:Label ID="Label26" runat="server" Text="8">
</f:Label>
<f:Label ID="txtContent_8" runat="server" Text="准时参加业主、监理及总承包方组织的专检、联检和大检查,发现隐患,提出建议">
</f:Label>
<f:TextBox ID="txtBehavior_8" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="txtValue_8" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_8" runat="server" Readonly="true">
</f:NumberBox>
<f:Label ID="Label75" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row9" Hidden="true">
<Items>
<f:Label ID="Label29" runat="server" Text="9">
</f:Label>
<f:Label ID="txtContent_9" runat="server" Text="前瞻性眼光,提前反映诸如脚手架材料、安全网、专职安全员不足等问题,以求主动">
</f:Label>
<f:TextBox ID="txtBehavior_9" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="txtValue_9" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_9" runat="server" Readonly="true">
</f:NumberBox>
<f:Label ID="Label76" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row10" Hidden="true">
<Items>
<f:Label ID="Label32" runat="server" Text="10">
</f:Label>
<f:Label ID="txtContent_10" runat="server" Text="高度重视项目安全文化建设,充分利用班前会、三级安全培训会、板报、安全警示牌等机会大力宣传项目安全文化">
</f:Label>
<f:TextBox ID="txtBehavior_10" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="txtValue_10" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_10" runat="server" Readonly="true">
</f:NumberBox>
<f:Label ID="Label77" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row11" Hidden="true">
<Items>
<f:Label ID="Label35" runat="server" Text="11">
</f:Label>
<f:Label ID="txtContent_11" runat="server" Text="现场违章">
</f:Label>
<f:TextBox ID="txtBehavior_11" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="txtValue_11" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_11" runat="server" Readonly="true">
</f:NumberBox>
<f:Label ID="Label78" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row12" Hidden="true">
<Items>
<f:Label ID="Label38" runat="server" Text="12">
</f:Label>
<f:Label ID="txtContent_12" runat="server" Text="宣传、警示">
</f:Label>
<f:TextBox ID="txtBehavior_12" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="txtValue_12" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_12" runat="server" Readonly="true">
</f:NumberBox>
<f:Label ID="Label79" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row13" Hidden="true">
<Items>
<f:Label ID="Label41" runat="server" Text="13">
</f:Label>
<f:Label ID="txtContent_13" runat="server" Text="文明施工与环境卫生">
</f:Label>
<f:TextBox ID="txtBehavior_13" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="txtValue_13" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_13" runat="server" Readonly="true">
</f:NumberBox>
<f:Label ID="Label80" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row14" Hidden="true">
<Items>
<f:Label ID="Label44" runat="server" Text="14">
</f:Label>
<f:Label ID="txtContent_14" runat="server" Text="消防安全">
</f:Label>
<f:TextBox ID="txtBehavior_14" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="txtValue_14" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_14" runat="server" Readonly="true">
</f:NumberBox>
<f:Label ID="Label81" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row15" Hidden="true">
<Items>
<f:Label ID="Label47" runat="server" Text="15">
</f:Label>
<f:Label ID="txtContent_15" runat="server" Text="治安保卫">
</f:Label>
<f:TextBox ID="txtBehavior_15" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="txtValue_15" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_15" runat="server" Readonly="true">
</f:NumberBox>
<f:Label ID="Label82" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row16" Hidden="true">
<Items>
<f:Label ID="Label50" runat="server" Text="16">
</f:Label>
<f:Label ID="txtContent_16" runat="server" Text="奖惩情况">
</f:Label>
<f:TextBox ID="txtBehavior_16" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="txtValue_16" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_16" runat="server" Readonly="true">
</f:NumberBox>
<f:Label ID="Label83" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row17" Hidden="true">
<Items>
<f:Label ID="Label53" runat="server" Text="17">
</f:Label>
<f:Label ID="txtContent_17" runat="server" Text="应急准备及应急演练">
</f:Label>
<f:TextBox ID="txtBehavior_17" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="txtValue_17" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_17" runat="server" Readonly="true">
</f:NumberBox>
<f:Label ID="Label84" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row18" Hidden="true">
<Items>
<f:Label ID="Label56" runat="server" Text="18">
</f:Label>
<f:Label ID="txtContent_18" runat="server" Text="法律、法规、管理规范清单">
</f:Label>
<f:TextBox ID="txtBehavior_18" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="txtValue_18" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_18" runat="server" Readonly="true">
</f:NumberBox>
<f:Label ID="Label85" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row19" Hidden="true">
<Items>
<f:Label ID="Label59" runat="server" Text="19">
</f:Label>
<f:Label ID="txtContent_19" runat="server" Text="事故、事件调查处理情况">
</f:Label>
<f:TextBox ID="txtBehavior_19" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="txtValue_19" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_19" runat="server" Readonly="true">
</f:NumberBox>
<f:Label ID="Label86" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row20" Hidden="true">
<Items>
<f:Label ID="Label62" runat="server" Text="20">
</f:Label>
<f:Label ID="txtContent_20" runat="server" Text="过程文件的规范性">
</f:Label>
<f:TextBox ID="txtBehavior_20" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="txtValue_20" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_20" runat="server" Readonly="true">
</f:NumberBox>
<f:Label ID="Label87" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="10% 60% 15% 10% 5%" >
<Items>
<f:Label ID="Label65" runat="server" Text="综合评语">
</f:Label>
<f:TextBox ID="txtTotalJudging" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label67" runat="server" Text="最终得分">
</f:Label>
<f:TextBox ID="txtTotalScore" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label88" runat="server">
</f:Label>
</Items>
</f:FormRow>
</Items>
</f:Form>
</Items>
</f:Tab>
</Tabs>
</f:TabStrip>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:ContentPanel ID="ContentPanel1" runat="server" ShowHeader="false" EnableCollapse="true"
BodyPadding="0px">
<uc1:FlowOperateControl ID="ctlAuditFlow" runat="server" />
</f:ContentPanel>
</Items>
</f:FormRow>
</Rows>
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
<Items>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill>
<f:Button ID="btnClose" EnablePostBack="false" ToolTip="关闭" runat="server" Icon="SystemClose">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
</f:Form>
</form>
</body>
</html>
@@ -0,0 +1,276 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BLL;
namespace FineUIPro.Web.Perfomance
{
public partial class PerfomanceManagerView : PageBase
{
#region
/// <summary>
/// 主键
/// </summary>
private string PersonPerfomanceId
{
get
{
return (string)ViewState["PersonPerfomanceId"];
}
set
{
ViewState["PersonPerfomanceId"] = value;
}
}
/// <summary>
/// 附件路径
/// </summary>
public string AttachUrl
{
get
{
return (string)ViewState["AttachUrl"];
}
set
{
ViewState["AttachUrl"] = value;
}
}
#endregion
#region
/// <summary>
/// 加载页面
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
this.PersonPerfomanceId = Request.Params["PersonPerfomanceId"];
initContent();
if (!string.IsNullOrEmpty(this.PersonPerfomanceId))
{
Model.Perfomance_ManagerPerfomance personPerfomance = BLL.ManagerPerfomanceService.GetPersonPerfomanceById(this.PersonPerfomanceId);
if (personPerfomance != null)
{
this.txtPersonPerfomanceCode.Text = CodeRecordsService.ReturnCodeByDataId(this.PersonPerfomanceId);
if (!string.IsNullOrEmpty(personPerfomance.UnitId))
{
var unit = BLL.UnitService.GetUnitByUnitId(personPerfomance.UnitId);
if (unit != null)
{
this.txtUnitName.Text = unit.UnitName;
}
}
if (!string.IsNullOrEmpty(personPerfomance.TeamGroupId))
{
var teamGroup = BLL.TeamGroupService.GetTeamGroupById(personPerfomance.TeamGroupId);
if (teamGroup != null)
{
this.txtTeamGroupName.Text = teamGroup.TeamGroupName;
}
}
if (!string.IsNullOrEmpty(personPerfomance.PersonId))
{
var person = BLL.PersonService.GetPersonById(personPerfomance.PersonId);
if (person != null)
{
this.txtPersonName.Text = person.PersonName;
}
}
this.txtSubContractNum.Text = personPerfomance.SubContractNum;
if (personPerfomance.EvaluationDate != null)
{
this.txtEvaluationDate.Text = string.Format("{0:yyyy-MM-dd}", personPerfomance.EvaluationDate);
}
this.txtEvaluationDef.Text = personPerfomance.EvaluationDef;
if (!string.IsNullOrEmpty(personPerfomance.RewardOrPunish))
{
if (personPerfomance.RewardOrPunish == "1")
{
this.txtRewardOrPunish.Text = "奖励";
}
else if (personPerfomance.RewardOrPunish == "2")
{
this.txtRewardOrPunish.Text = "处罚";
}
}
if (personPerfomance.RPMoney != null)
{
this.txtRPMoney.Text = Convert.ToString(personPerfomance.RPMoney);
}
this.txtAssessmentGroup.Text = personPerfomance.AssessmentGroup;
this.txtBehavior_1.Text = personPerfomance.Behavior_1;
this.txtBehavior_2.Text = personPerfomance.Behavior_2;
this.txtBehavior_3.Text = personPerfomance.Behavior_3;
this.txtBehavior_4.Text = personPerfomance.Behavior_4;
this.txtBehavior_5.Text = personPerfomance.Behavior_5;
this.txtBehavior_6.Text = personPerfomance.Behavior_6;
this.txtBehavior_7.Text = personPerfomance.Behavior_7;
this.txtBehavior_8.Text = personPerfomance.Behavior_8;
this.txtBehavior_9.Text = personPerfomance.Behavior_9;
this.txtBehavior_10.Text = personPerfomance.Behavior_10;
this.txtScore_1.Text = Convert.ToString(personPerfomance.Score_1);
this.txtScore_2.Text = Convert.ToString(personPerfomance.Score_2);
this.txtScore_3.Text = Convert.ToString(personPerfomance.Score_3);
this.txtScore_4.Text = Convert.ToString(personPerfomance.Score_4);
this.txtScore_5.Text = Convert.ToString(personPerfomance.Score_5);
this.txtScore_6.Text = Convert.ToString(personPerfomance.Score_6);
this.txtScore_7.Text = Convert.ToString(personPerfomance.Score_7);
this.txtScore_8.Text = Convert.ToString(personPerfomance.Score_8);
this.txtScore_9.Text = Convert.ToString(personPerfomance.Score_9);
this.txtScore_10.Text = Convert.ToString(personPerfomance.Score_10);
this.txtTotalJudging.Text = personPerfomance.TotalJudging;
this.txtTotalScore.Text = Convert.ToString(personPerfomance.TotalScore);
this.AttachUrl = personPerfomance.AttachUrl;
this.divFile1.InnerHtml = BLL.UploadAttachmentService.ShowAttachment("../", this.AttachUrl);
}
}
///初始化审核菜单
this.ctlAuditFlow.MenuId = BLL.Const.PerfomanceManagereMenuId;
this.ctlAuditFlow.DataId = this.PersonPerfomanceId;
}
}
#endregion
protected void initContent()
{
var contents = Funs.DB.Perfomance_PerfomanceContent.Where(x => x.PerfomanceType == 3).OrderBy(x => x.ShowIndex).ToList();
int i = 1;
foreach (var content in contents)
{
switch (i)
{
case 1:
row1.Hidden = false;
txtValue_1.Text = content.PerfomanceValue;
txtContent_1.Text = content.PerfomanceContent;
txtScore_1.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 2:
row2.Hidden = false;
txtValue_2.Text = content.PerfomanceValue;
txtContent_2.Text = content.PerfomanceContent;
txtScore_2.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 3:
row3.Hidden = false;
txtValue_3.Text = content.PerfomanceValue;
txtContent_3.Text = content.PerfomanceContent;
txtScore_3.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 4:
row4.Hidden = false;
txtValue_4.Text = content.PerfomanceValue;
txtContent_4.Text = content.PerfomanceContent;
txtScore_4.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 5:
row5.Hidden = false;
txtValue_5.Text = content.PerfomanceValue;
txtContent_5.Text = content.PerfomanceContent;
txtScore_5.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 6:
row6.Hidden = false;
txtValue_6.Text = content.PerfomanceValue;
txtContent_6.Text = content.PerfomanceContent;
txtScore_6.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 7:
row7.Hidden = false;
txtValue_7.Text = content.PerfomanceValue;
txtContent_7.Text = content.PerfomanceContent;
txtScore_7.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 8:
row8.Hidden = false;
txtValue_8.Text = content.PerfomanceValue;
txtContent_8.Text = content.PerfomanceContent;
txtScore_8.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 9:
row9.Hidden = false;
txtValue_9.Text = content.PerfomanceValue;
txtContent_9.Text = content.PerfomanceContent;
txtScore_9.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 10:
row10.Hidden = false;
txtValue_10.Text = content.PerfomanceValue;
txtContent_10.Text = content.PerfomanceContent;
txtScore_10.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 11:
row11.Hidden = false;
txtValue_11.Text = content.PerfomanceValue;
txtContent_11.Text = content.PerfomanceContent;
txtScore_11.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 12:
row12.Hidden = false;
txtValue_12.Text = content.PerfomanceValue;
txtContent_12.Text = content.PerfomanceContent;
txtScore_12.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 13:
row13.Hidden = false;
txtValue_13.Text = content.PerfomanceValue;
txtContent_13.Text = content.PerfomanceContent;
txtScore_13.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 14:
row14.Hidden = false;
txtValue_14.Text = content.PerfomanceValue;
txtContent_14.Text = content.PerfomanceContent;
txtScore_14.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 15:
row15.Hidden = false;
txtValue_15.Text = content.PerfomanceValue;
txtContent_15.Text = content.PerfomanceContent;
txtScore_15.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 16:
row16.Hidden = false;
txtValue_16.Text = content.PerfomanceValue;
txtContent_16.Text = content.PerfomanceContent;
txtScore_16.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 17:
row17.Hidden = false;
txtValue_17.Text = content.PerfomanceValue;
txtContent_17.Text = content.PerfomanceContent;
txtScore_17.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 18:
row18.Hidden = false;
txtValue_18.Text = content.PerfomanceValue;
txtContent_18.Text = content.PerfomanceContent;
txtScore_18.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 19:
row19.Hidden = false;
txtValue_19.Text = content.PerfomanceValue;
txtContent_19.Text = content.PerfomanceContent;
txtScore_19.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 20:
row20.Hidden = false;
txtValue_20.Text = content.PerfomanceValue;
txtContent_20.Text = content.PerfomanceContent;
txtScore_20.MaxValue = double.Parse(content.PerfomanceValue);
break;
}
i++;
}
}
}
}
File diff suppressed because it is too large Load Diff
@@ -107,321 +107,321 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row1" Hidden="true">
<Items>
<f:Label ID="lblSort_1" runat="server" Text="1">
</f:Label>
<f:Label ID="Label6" runat="server" Text="体系文件、各种管理规定的针对性">
<f:Label ID="txtContent_1" runat="server" Text="体系文件、各种管理规定的针对性">
</f:Label>
<f:TextBox ID="txtBehavior_1" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="Label7" runat="server" Text="5">
<f:Label ID="txtValue_1" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_1" runat="server" NoNegative="true" MaxValue="5" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
<f:NumberBox ID="txtScore_1" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label68" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row2" Hidden="true">
<Items>
<f:Label ID="Label8" runat="server" Text="2">
</f:Label>
<f:Label ID="Label9" runat="server" Text="组织机构、岗位职责">
<f:Label ID="txtContent_2" runat="server" Text="组织机构、岗位职责">
</f:Label>
<f:TextBox ID="txtBehavior_2" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="Label10" runat="server" Text="5">
<f:Label ID="txtValue_2" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_2" runat="server" NoNegative="true" MaxValue="5" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
<f:NumberBox ID="txtScore_2" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label69" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row3" Hidden="true">
<Items>
<f:Label ID="Label11" runat="server" Text="3">
</f:Label>
<f:Label ID="Label12" runat="server" Text="现场管理体系运行情况">
<f:Label ID="txtContent_3" runat="server" Text="现场管理体系运行情况">
</f:Label>
<f:TextBox ID="txtBehavior_3" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="Label13" runat="server" Text="5">
<f:Label ID="txtValue_3" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_3" runat="server" NoNegative="true" MaxValue="5" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
<f:NumberBox ID="txtScore_3" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label70" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row4" Hidden="true">
<Items>
<f:Label ID="Label14" runat="server" Text="4">
</f:Label>
<f:Label ID="Label15" runat="server" Text="人员培训">
<f:Label ID="txtContent_4" runat="server" Text="人员培训">
</f:Label>
<f:TextBox ID="txtBehavior_4" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="Label16" runat="server" Text="5">
<f:Label ID="txtValue_4" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_4" runat="server" NoNegative="true" MaxValue="5" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
<f:NumberBox ID="txtScore_4" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label71" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row5" Hidden="true">
<Items>
<f:Label ID="Label17" runat="server" Text="5">
</f:Label>
<f:Label ID="Label18" runat="server" Text="资源配备">
<f:Label ID="txtContent_5" runat="server" Text="资源配备">
</f:Label>
<f:TextBox ID="txtBehavior_5" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="Label19" runat="server" Text="5">
<f:Label ID="txtValue_5" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_5" runat="server" NoNegative="true" MaxValue="5" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
<f:NumberBox ID="txtScore_5" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label72" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row6" Hidden="true">
<Items>
<f:Label ID="Label20" runat="server" Text="6">
</f:Label>
<f:Label ID="Label21" runat="server" Text="HSSE方案、措施报批">
<f:Label ID="txtContent_6" runat="server" Text="HSSE方案、措施报批">
</f:Label>
<f:TextBox ID="txtBehavior_6" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="Label22" runat="server" Text="5">
<f:Label ID="txtValue_6" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_6" runat="server" NoNegative="true" MaxValue="5" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
<f:NumberBox ID="txtScore_6" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label73" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row7" Hidden="true">
<Items>
<f:Label ID="Label23" runat="server" Text="7">
</f:Label>
<f:Label ID="Label24" runat="server" Text="方案、措施执行">
<f:Label ID="txtContent_7" runat="server" Text="方案、措施执行">
</f:Label>
<f:TextBox ID="txtBehavior_7" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="Label25" runat="server" Text="5">
<f:Label ID="txtValue_7" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_7" runat="server" NoNegative="true" MaxValue="5" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
<f:NumberBox ID="txtScore_7" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label74" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row8" Hidden="true">
<Items>
<f:Label ID="Label26" runat="server" Text="8">
</f:Label>
<f:Label ID="Label27" runat="server" Text="危害辨识、风险评价和过程控制">
<f:Label ID="txtContent_8" runat="server" Text="危害辨识、风险评价和过程控制">
</f:Label>
<f:TextBox ID="txtBehavior_8" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="Label28" runat="server" Text="5">
<f:Label ID="txtValue_8" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_8" runat="server" NoNegative="true" MaxValue="5" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
<f:NumberBox ID="txtScore_8" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label75" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row9" Hidden="true">
<Items>
<f:Label ID="Label29" runat="server" Text="9">
</f:Label>
<f:Label ID="Label30" runat="server" Text="HSSE会议">
<f:Label ID="txtContent_9" runat="server" Text="HSSE会议">
</f:Label>
<f:TextBox ID="txtBehavior_9" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="Label31" runat="server" Text="5">
<f:Label ID="txtValue_9" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_9" runat="server" NoNegative="true" MaxValue="5" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
<f:NumberBox ID="txtScore_9" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label76" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row10" Hidden="true">
<Items>
<f:Label ID="Label32" runat="server" Text="10">
</f:Label>
<f:Label ID="Label33" runat="server" Text="施工作业HSSE管理">
<f:Label ID="txtContent_10" runat="server" Text="施工作业HSSE管理">
</f:Label>
<f:TextBox ID="txtBehavior_10" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="Label34" runat="server" Text="5">
<f:Label ID="txtValue_10" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_10" runat="server" NoNegative="true" MaxValue="5" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
<f:NumberBox ID="txtScore_10" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label77" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row11" Hidden="true">
<Items>
<f:Label ID="Label35" runat="server" Text="11">
</f:Label>
<f:Label ID="Label36" runat="server" Text="现场违章">
<f:Label ID="txtContent_11" runat="server" Text="现场违章">
</f:Label>
<f:TextBox ID="txtBehavior_11" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="Label37" runat="server" Text="5">
<f:Label ID="txtValue_11" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_11" runat="server" NoNegative="true" MaxValue="5" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
<f:NumberBox ID="txtScore_11" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label78" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row12" Hidden="true">
<Items>
<f:Label ID="Label38" runat="server" Text="12">
</f:Label>
<f:Label ID="Label39" runat="server" Text="宣传、警示">
<f:Label ID="txtContent_12" runat="server" Text="宣传、警示">
</f:Label>
<f:TextBox ID="txtBehavior_12" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="Label40" runat="server" Text="5">
<f:Label ID="txtValue_12" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_12" runat="server" NoNegative="true" MaxValue="5" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
<f:NumberBox ID="txtScore_12" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label79" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row13" Hidden="true">
<Items>
<f:Label ID="Label41" runat="server" Text="13">
</f:Label>
<f:Label ID="Label42" runat="server" Text="文明施工与环境卫生">
<f:Label ID="txtContent_13" runat="server" Text="文明施工与环境卫生">
</f:Label>
<f:TextBox ID="txtBehavior_13" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="Label43" runat="server" Text="5">
<f:Label ID="txtValue_13" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_13" runat="server" NoNegative="true" MaxValue="5" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
<f:NumberBox ID="txtScore_13" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label80" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row14" Hidden="true">
<Items>
<f:Label ID="Label44" runat="server" Text="14">
</f:Label>
<f:Label ID="Label45" runat="server" Text="消防安全">
<f:Label ID="txtContent_14" runat="server" Text="消防安全">
</f:Label>
<f:TextBox ID="txtBehavior_14" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="Label46" runat="server" Text="5">
<f:Label ID="txtValue_14" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_14" runat="server" NoNegative="true" MaxValue="5" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
<f:NumberBox ID="txtScore_14" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label81" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row15" Hidden="true">
<Items>
<f:Label ID="Label47" runat="server" Text="15">
</f:Label>
<f:Label ID="Label48" runat="server" Text="治安保卫">
<f:Label ID="txtContent_15" runat="server" Text="治安保卫">
</f:Label>
<f:TextBox ID="txtBehavior_15" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="Label49" runat="server" Text="5">
<f:Label ID="txtValue_15" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_15" runat="server" NoNegative="true" MaxValue="5" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
<f:NumberBox ID="txtScore_15" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label82" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row16" Hidden="true">
<Items>
<f:Label ID="Label50" runat="server" Text="16">
</f:Label>
<f:Label ID="Label51" runat="server" Text="奖惩情况">
<f:Label ID="txtContent_16" runat="server" Text="奖惩情况">
</f:Label>
<f:TextBox ID="txtBehavior_16" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="Label52" runat="server" Text="5">
<f:Label ID="txtValue_16" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_16" runat="server" NoNegative="true" MaxValue="5" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
<f:NumberBox ID="txtScore_16" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label83" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row17" Hidden="true">
<Items>
<f:Label ID="Label53" runat="server" Text="17">
</f:Label>
<f:Label ID="Label54" runat="server" Text="应急准备及应急演练">
<f:Label ID="txtContent_17" runat="server" Text="应急准备及应急演练">
</f:Label>
<f:TextBox ID="txtBehavior_17" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="Label55" runat="server" Text="5">
<f:Label ID="txtValue_17" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_17" runat="server" NoNegative="true" MaxValue="5" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
<f:NumberBox ID="txtScore_17" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label84" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row18" Hidden="true">
<Items>
<f:Label ID="Label56" runat="server" Text="18">
<f:Label ID="Label56" runat="server" Text="18" >
</f:Label>
<f:Label ID="Label57" runat="server" Text="法律、法规、管理规范清单">
<f:Label ID="txtContent_18" runat="server" Text="法律、法规、管理规范清单">
</f:Label>
<f:TextBox ID="txtBehavior_18" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="Label58" runat="server" Text="5">
<f:Label ID="txtValue_18" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_18" runat="server" NoNegative="true" MaxValue="5" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
<f:NumberBox ID="txtScore_18" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label85" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row19" Hidden="true">
<Items>
<f:Label ID="Label59" runat="server" Text="19">
</f:Label>
<f:Label ID="Label60" runat="server" Text="事故、事件调查处理情况">
<f:Label ID="txtContent_19" runat="server" Text="事故、事件调查处理情况">
</f:Label>
<f:TextBox ID="txtBehavior_19" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="Label61" runat="server" Text="5">
<f:Label ID="txtValue_19" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_19" runat="server" NoNegative="true" MaxValue="5" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
<f:NumberBox ID="txtScore_19" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label86" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row20" Hidden="true">
<Items>
<f:Label ID="Label62" runat="server" Text="20">
</f:Label>
<f:Label ID="Label63" runat="server" Text="过程文件的规范性">
<f:Label ID="txtContent_20" runat="server" Text="过程文件的规范性">
</f:Label>
<f:TextBox ID="txtBehavior_20" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="Label64" runat="server" Text="5">
<f:Label ID="txtValue_20" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_20" runat="server" NoNegative="true" MaxValue="5" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
<f:NumberBox ID="txtScore_20" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label87" runat="server">
</f:Label>
@@ -1,5 +1,6 @@
using BLL;
using System;
using System.Linq;
namespace FineUIPro.Web.Perfomance
{
@@ -64,6 +65,7 @@ namespace FineUIPro.Web.Perfomance
this.ProjectId = this.CurrUser.LoginProjectId;
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
this.InitDropDownList();
initContent();
this.PerfomanceRecordId = Request.Params["PerfomanceRecordId"];
if (!string.IsNullOrEmpty(this.PerfomanceRecordId))
{
@@ -153,6 +155,144 @@ namespace FineUIPro.Web.Perfomance
}
#endregion
protected void initContent()
{
var contents = Funs.DB.Perfomance_PerfomanceContent.Where(x => x.PerfomanceType == 1).OrderBy(x => x.ShowIndex).ToList();
int i = 1;
foreach(var content in contents)
{
switch (i)
{
case 1:
row1.Hidden = false;
txtValue_1.Text = content.PerfomanceValue;
txtContent_1.Text = content.PerfomanceContent;
txtScore_1.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 2:
row2.Hidden = false;
txtValue_2.Text = content.PerfomanceValue;
txtContent_2.Text = content.PerfomanceContent;
txtScore_2.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 3:
row3.Hidden = false;
txtValue_3.Text = content.PerfomanceValue;
txtContent_3.Text = content.PerfomanceContent;
txtScore_3.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 4:
row4.Hidden = false;
txtValue_4.Text = content.PerfomanceValue;
txtContent_4.Text = content.PerfomanceContent;
txtScore_4.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 5:
row5.Hidden = false;
txtValue_5.Text = content.PerfomanceValue;
txtContent_5.Text = content.PerfomanceContent;
txtScore_5.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 6:
row6.Hidden = false;
txtValue_6.Text = content.PerfomanceValue;
txtContent_6.Text = content.PerfomanceContent;
txtScore_6.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 7:
row7.Hidden = false;
txtValue_7.Text = content.PerfomanceValue;
txtContent_7.Text = content.PerfomanceContent;
txtScore_7.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 8:
row8.Hidden = false;
txtValue_8.Text = content.PerfomanceValue;
txtContent_8.Text = content.PerfomanceContent;
txtScore_8.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 9:
row9.Hidden = false;
txtValue_9.Text = content.PerfomanceValue;
txtContent_9.Text = content.PerfomanceContent;
txtScore_9.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 10:
row10.Hidden = false;
txtValue_10.Text = content.PerfomanceValue;
txtContent_10.Text = content.PerfomanceContent;
txtScore_10.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 11:
row11.Hidden = false;
txtValue_11.Text = content.PerfomanceValue;
txtContent_11.Text = content.PerfomanceContent;
txtScore_11.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 12:
row12.Hidden = false;
txtValue_12.Text = content.PerfomanceValue;
txtContent_12.Text = content.PerfomanceContent;
txtScore_12.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 13:
row13.Hidden = false;
txtValue_13.Text = content.PerfomanceValue;
txtContent_13.Text = content.PerfomanceContent;
txtScore_13.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 14:
row14.Hidden = false;
txtValue_14.Text = content.PerfomanceValue;
txtContent_14.Text = content.PerfomanceContent;
txtScore_14.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 15:
row15.Hidden = false;
txtValue_15.Text = content.PerfomanceValue;
txtContent_15.Text = content.PerfomanceContent;
txtScore_15.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 16:
row16.Hidden = false;
txtValue_16.Text = content.PerfomanceValue;
txtContent_16.Text = content.PerfomanceContent;
txtScore_16.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 17:
row17.Hidden = false;
txtValue_17.Text = content.PerfomanceValue;
txtContent_17.Text = content.PerfomanceContent;
txtScore_17.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 18:
row18.Hidden = false;
txtValue_18.Text = content.PerfomanceValue;
txtContent_18.Text = content.PerfomanceContent;
txtScore_18.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 19:
row19.Hidden = false;
txtValue_19.Text = content.PerfomanceValue;
txtContent_19.Text = content.PerfomanceContent;
txtScore_19.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 20:
row20.Hidden = false;
txtValue_20.Text = content.PerfomanceValue;
txtContent_20.Text = content.PerfomanceContent;
txtScore_20.MaxValue = double.Parse(content.PerfomanceValue);
break;
}
i++;
}
}
/// <summary>
/// 初始化下拉框
/// </summary>
File diff suppressed because it is too large Load Diff
@@ -87,7 +87,7 @@
<Items>
<f:Form ID="Form3" runat="server" ShowHeader="false" BodyPadding="5px">
<Items>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" >
<Items>
<f:Label ID="Label1" runat="server" Text="序号">
</f:Label>
@@ -103,15 +103,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row1" Hidden="true">
<Items>
<f:Label ID="lblSort_1" runat="server" Text="1">
</f:Label>
<f:Label ID="Label6" runat="server" Text="体系文件、各种管理规定的针对性">
<f:Label ID="txtContent_1" runat="server" Text="体系文件、各种管理规定的针对性">
</f:Label>
<f:TextBox ID="txtBehavior_1" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label7" runat="server" Text="5">
<f:Label ID="txtValue_1" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_1" runat="server" Readonly="true">
</f:NumberBox>
@@ -119,15 +119,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row2" Hidden="true">
<Items>
<f:Label ID="Label8" runat="server" Text="2">
</f:Label>
<f:Label ID="Label9" runat="server" Text="组织机构、岗位职责">
<f:Label ID="txtContent_2" runat="server" Text="组织机构、岗位职责">
</f:Label>
<f:TextBox ID="txtBehavior_2" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label10" runat="server" Text="5">
<f:Label ID="txtValue_2" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_2" runat="server" Readonly="true">
</f:NumberBox>
@@ -135,15 +135,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row3" Hidden="true">
<Items>
<f:Label ID="Label11" runat="server" Text="3">
</f:Label>
<f:Label ID="Label12" runat="server" Text="现场管理体系运行情况">
<f:Label ID="txtContent_3" runat="server" Text="现场管理体系运行情况">
</f:Label>
<f:TextBox ID="txtBehavior_3" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label13" runat="server" Text="5">
<f:Label ID="txtValue_3" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_3" runat="server" Readonly="true">
</f:NumberBox>
@@ -151,15 +151,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row4" Hidden="true">
<Items>
<f:Label ID="Label14" runat="server" Text="4">
</f:Label>
<f:Label ID="Label15" runat="server" Text="人员培训">
<f:Label ID="txtContent_4" runat="server" Text="人员培训">
</f:Label>
<f:TextBox ID="txtBehavior_4" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label16" runat="server" Text="5">
<f:Label ID="txtValue_4" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_4" runat="server" Readonly="true">
</f:NumberBox>
@@ -167,15 +167,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row5" Hidden="true">
<Items>
<f:Label ID="Label17" runat="server" Text="5">
</f:Label>
<f:Label ID="Label18" runat="server" Text="资源配备">
<f:Label ID="txtContent_5" runat="server" Text="资源配备">
</f:Label>
<f:TextBox ID="txtBehavior_5" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label19" runat="server" Text="5">
<f:Label ID="txtValue_5" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_5" runat="server" Readonly="true">
</f:NumberBox>
@@ -183,15 +183,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row6" Hidden="true">
<Items>
<f:Label ID="Label20" runat="server" Text="6">
</f:Label>
<f:Label ID="Label21" runat="server" Text="HSSE方案、措施报批">
<f:Label ID="txtContent_6" runat="server" Text="HSSE方案、措施报批">
</f:Label>
<f:TextBox ID="txtBehavior_6" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label22" runat="server" Text="5">
<f:Label ID="txtValue_6" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_6" runat="server" Readonly="true">
</f:NumberBox>
@@ -199,15 +199,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row7" Hidden="true">
<Items>
<f:Label ID="Label23" runat="server" Text="7">
</f:Label>
<f:Label ID="Label24" runat="server" Text="方案、措施执行">
<f:Label ID="txtContent_7" runat="server" Text="方案、措施执行">
</f:Label>
<f:TextBox ID="txtBehavior_7" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label25" runat="server" Text="5">
<f:Label ID="txtValue_7" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_7" runat="server" Readonly="true">
</f:NumberBox>
@@ -215,15 +215,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row8" Hidden="true">
<Items>
<f:Label ID="Label26" runat="server" Text="8">
</f:Label>
<f:Label ID="Label27" runat="server" Text="危害辨识、风险评价和过程控制">
<f:Label ID="txtContent_8" runat="server" Text="危害辨识、风险评价和过程控制">
</f:Label>
<f:TextBox ID="txtBehavior_8" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label28" runat="server" Text="5">
<f:Label ID="txtValue_8" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_8" runat="server" Readonly="true">
</f:NumberBox>
@@ -231,15 +231,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row9" Hidden="true">
<Items>
<f:Label ID="Label29" runat="server" Text="9">
</f:Label>
<f:Label ID="Label30" runat="server" Text="HSSE会议">
<f:Label ID="txtContent_9" runat="server" Text="HSSE会议">
</f:Label>
<f:TextBox ID="txtBehavior_9" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label31" runat="server" Text="5">
<f:Label ID="txtValue_9" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_9" runat="server" Readonly="true">
</f:NumberBox>
@@ -247,15 +247,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row10" Hidden="true">
<Items>
<f:Label ID="Label32" runat="server" Text="10">
</f:Label>
<f:Label ID="Label33" runat="server" Text="施工作业HSSE管理">
<f:Label ID="txtContent_10" runat="server" Text="施工作业HSSE管理">
</f:Label>
<f:TextBox ID="txtBehavior_10" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label34" runat="server" Text="5">
<f:Label ID="txtValue_10" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_10" runat="server" Readonly="true">
</f:NumberBox>
@@ -263,15 +263,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row11" Hidden="true">
<Items>
<f:Label ID="Label35" runat="server" Text="11">
</f:Label>
<f:Label ID="Label36" runat="server" Text="现场违章">
<f:Label ID="txtContent_11" runat="server" Text="现场违章">
</f:Label>
<f:TextBox ID="txtBehavior_11" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label37" runat="server" Text="5">
<f:Label ID="txtValue_11" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_11" runat="server" Readonly="true">
</f:NumberBox>
@@ -279,15 +279,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row12" Hidden="true">
<Items>
<f:Label ID="Label38" runat="server" Text="12">
</f:Label>
<f:Label ID="Label39" runat="server" Text="宣传、警示">
<f:Label ID="txtContent_12" runat="server" Text="宣传、警示">
</f:Label>
<f:TextBox ID="txtBehavior_12" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label40" runat="server" Text="5">
<f:Label ID="txtValue_12" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_12" runat="server" Readonly="true">
</f:NumberBox>
@@ -295,15 +295,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row13" Hidden="true">
<Items>
<f:Label ID="Label41" runat="server" Text="13">
</f:Label>
<f:Label ID="Label42" runat="server" Text="文明施工与环境卫生">
<f:Label ID="txtContent_13" runat="server" Text="文明施工与环境卫生">
</f:Label>
<f:TextBox ID="txtBehavior_13" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label43" runat="server" Text="5">
<f:Label ID="txtValue_13" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_13" runat="server" Readonly="true">
</f:NumberBox>
@@ -311,15 +311,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row14" Hidden="true">
<Items>
<f:Label ID="Label44" runat="server" Text="14">
</f:Label>
<f:Label ID="Label45" runat="server" Text="消防安全">
<f:Label ID="txtContent_14" runat="server" Text="消防安全">
</f:Label>
<f:TextBox ID="txtBehavior_14" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label46" runat="server" Text="5">
<f:Label ID="txtValue_14" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_14" runat="server" Readonly="true">
</f:NumberBox>
@@ -327,15 +327,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row15" Hidden="true">
<Items>
<f:Label ID="Label47" runat="server" Text="15">
</f:Label>
<f:Label ID="Label48" runat="server" Text="治安保卫">
<f:Label ID="txtContent_15" runat="server" Text="治安保卫">
</f:Label>
<f:TextBox ID="txtBehavior_15" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label49" runat="server" Text="5">
<f:Label ID="txtValue_15" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_15" runat="server" Readonly="true">
</f:NumberBox>
@@ -343,15 +343,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row16" Hidden="true">
<Items>
<f:Label ID="Label50" runat="server" Text="16">
</f:Label>
<f:Label ID="Label51" runat="server" Text="奖惩情况">
<f:Label ID="txtContent_16" runat="server" Text="奖惩情况">
</f:Label>
<f:TextBox ID="txtBehavior_16" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label52" runat="server" Text="5">
<f:Label ID="txtValue_16" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_16" runat="server" Readonly="true">
</f:NumberBox>
@@ -359,15 +359,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row17" Hidden="true">
<Items>
<f:Label ID="Label53" runat="server" Text="17">
</f:Label>
<f:Label ID="Label54" runat="server" Text="应急准备及应急演练">
<f:Label ID="txtContent_17" runat="server" Text="应急准备及应急演练">
</f:Label>
<f:TextBox ID="txtBehavior_17" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label55" runat="server" Text="5">
<f:Label ID="txtValue_17" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_17" runat="server" Readonly="true">
</f:NumberBox>
@@ -375,15 +375,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row18" Hidden="true">
<Items>
<f:Label ID="Label56" runat="server" Text="18">
</f:Label>
<f:Label ID="Label57" runat="server" Text="法律、法规、管理规范清单">
<f:Label ID="txtContent_18" runat="server" Text="法律、法规、管理规范清单">
</f:Label>
<f:TextBox ID="txtBehavior_18" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label58" runat="server" Text="5">
<f:Label ID="txtValue_18" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_18" runat="server" Readonly="true">
</f:NumberBox>
@@ -391,15 +391,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row19" Hidden="true">
<Items>
<f:Label ID="Label59" runat="server" Text="19">
</f:Label>
<f:Label ID="Label60" runat="server" Text="事故、事件调查处理情况">
<f:Label ID="txtContent_19" runat="server" Text="事故、事件调查处理情况">
</f:Label>
<f:TextBox ID="txtBehavior_19" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label61" runat="server" Text="5">
<f:Label ID="txtValue_19" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_19" runat="server" Readonly="true">
</f:NumberBox>
@@ -407,15 +407,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row20" Hidden="true">
<Items>
<f:Label ID="Label62" runat="server" Text="20">
</f:Label>
<f:Label ID="Label63" runat="server" Text="过程文件的规范性">
<f:Label ID="txtContent_20" runat="server" Text="过程文件的规范性">
</f:Label>
<f:TextBox ID="txtBehavior_20" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label64" runat="server" Text="5">
<f:Label ID="txtValue_20" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_20" runat="server" Readonly="true">
</f:NumberBox>
@@ -1,5 +1,6 @@
using BLL;
using System;
using System.Linq;
namespace FineUIPro.Web.Perfomance
{
@@ -16,7 +17,7 @@ namespace FineUIPro.Web.Perfomance
if (!IsPostBack)
{
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
initContent();
string perfomanceRecordId = Request.Params["PerfomanceRecordId"];
if (!string.IsNullOrEmpty(perfomanceRecordId))
{
@@ -105,5 +106,139 @@ namespace FineUIPro.Web.Perfomance
}
}
#endregion
protected void initContent()
{
var contents = Funs.DB.Perfomance_PerfomanceContent.Where(x => x.PerfomanceType == 1).OrderBy(x => x.ShowIndex).ToList();
int i = 1;
foreach (var content in contents)
{
switch (i)
{
case 1:
row1.Hidden = false;
txtValue_1.Text = content.PerfomanceValue;
txtContent_1.Text = content.PerfomanceContent;
txtScore_1.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 2:
row2.Hidden = false;
txtValue_2.Text = content.PerfomanceValue;
txtContent_2.Text = content.PerfomanceContent;
txtScore_2.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 3:
row3.Hidden = false;
txtValue_3.Text = content.PerfomanceValue;
txtContent_3.Text = content.PerfomanceContent;
txtScore_3.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 4:
row4.Hidden = false;
txtValue_4.Text = content.PerfomanceValue;
txtContent_4.Text = content.PerfomanceContent;
txtScore_4.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 5:
row5.Hidden = false;
txtValue_5.Text = content.PerfomanceValue;
txtContent_5.Text = content.PerfomanceContent;
txtScore_5.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 6:
row6.Hidden = false;
txtValue_6.Text = content.PerfomanceValue;
txtContent_6.Text = content.PerfomanceContent;
txtScore_6.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 7:
row7.Hidden = false;
txtValue_7.Text = content.PerfomanceValue;
txtContent_7.Text = content.PerfomanceContent;
txtScore_7.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 8:
row8.Hidden = false;
txtValue_8.Text = content.PerfomanceValue;
txtContent_8.Text = content.PerfomanceContent;
txtScore_8.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 9:
row9.Hidden = false;
txtValue_9.Text = content.PerfomanceValue;
txtContent_9.Text = content.PerfomanceContent;
txtScore_9.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 10:
row10.Hidden = false;
txtValue_10.Text = content.PerfomanceValue;
txtContent_10.Text = content.PerfomanceContent;
txtScore_10.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 11:
row11.Hidden = false;
txtValue_11.Text = content.PerfomanceValue;
txtContent_11.Text = content.PerfomanceContent;
txtScore_11.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 12:
row12.Hidden = false;
txtValue_12.Text = content.PerfomanceValue;
txtContent_12.Text = content.PerfomanceContent;
txtScore_12.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 13:
row13.Hidden = false;
txtValue_13.Text = content.PerfomanceValue;
txtContent_13.Text = content.PerfomanceContent;
txtScore_13.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 14:
row14.Hidden = false;
txtValue_14.Text = content.PerfomanceValue;
txtContent_14.Text = content.PerfomanceContent;
txtScore_14.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 15:
row15.Hidden = false;
txtValue_15.Text = content.PerfomanceValue;
txtContent_15.Text = content.PerfomanceContent;
txtScore_15.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 16:
row16.Hidden = false;
txtValue_16.Text = content.PerfomanceValue;
txtContent_16.Text = content.PerfomanceContent;
txtScore_16.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 17:
row17.Hidden = false;
txtValue_17.Text = content.PerfomanceValue;
txtContent_17.Text = content.PerfomanceContent;
txtScore_17.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 18:
row18.Hidden = false;
txtValue_18.Text = content.PerfomanceValue;
txtContent_18.Text = content.PerfomanceContent;
txtScore_18.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 19:
row19.Hidden = false;
txtValue_19.Text = content.PerfomanceValue;
txtContent_19.Text = content.PerfomanceContent;
txtScore_19.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 20:
row20.Hidden = false;
txtValue_20.Text = content.PerfomanceValue;
txtContent_20.Text = content.PerfomanceContent;
txtScore_20.MaxValue = double.Parse(content.PerfomanceValue);
break;
}
i++;
}
}
}
}
File diff suppressed because it is too large Load Diff
@@ -118,15 +118,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row1" Hidden="true">
<Items>
<f:Label ID="lblSort_1" runat="server" Text="1">
</f:Label>
<f:Label ID="Label6" runat="server" Text="具有注册安全工程师证或地方及行业安全员资质证书,持证上岗">
<f:Label ID="txtContent_1" runat="server" Text="具有注册安全工程师证或地方及行业安全员资质证书,持证上岗">
</f:Label>
<f:TextBox ID="txtBehavior_1" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="Label7" runat="server" Text="10">
<f:Label ID="txtValue_1" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_1" runat="server" NoNegative="true" MaxValue="10" MinValue="0"
AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
@@ -135,15 +135,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row2" Hidden="true">
<Items>
<f:Label ID="Label8" runat="server" Text="2">
</f:Label>
<f:Label ID="Label9" runat="server" Text="具有丰富项目HSE 内页管理经验,单独编制项目HSE 计划、应急预案等文件">
<f:Label ID="txtContent_2" runat="server" Text="具有丰富项目HSE 内页管理经验,单独编制项目HSE 计划、应急预案等文件">
</f:Label>
<f:TextBox ID="txtBehavior_2" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="Label10" runat="server" Text="10">
<f:Label ID="txtValue_2" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_2" runat="server" NoNegative="true" MaxValue="10" MinValue="0"
AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
@@ -152,15 +152,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row3" Hidden="true">
<Items>
<f:Label ID="Label11" runat="server" Text="3">
</f:Label>
<f:Label ID="Label12" runat="server" Text="具有丰富项目HSE 现场管理经验,快速准确查出安全隐患,按隐患级别限期整改合格">
<f:Label ID="txtContent_3" runat="server" Text="具有丰富项目HSE 现场管理经验,快速准确查出安全隐患,按隐患级别限期整改合格">
</f:Label>
<f:TextBox ID="txtBehavior_3" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="Label13" runat="server" Text="10">
<f:Label ID="txtValue_3" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_3" runat="server" NoNegative="true" MaxValue="10" MinValue="0"
AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
@@ -169,15 +169,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row4" Hidden="true">
<Items>
<f:Label ID="Label14" runat="server" Text="4">
</f:Label>
<f:Label ID="Label15" runat="server" Text="热爱HSE 工作,强烈的责任心和事业感,敢说、敢管、敢处理">
<f:Label ID="txtContent_4" runat="server" Text="热爱HSE 工作,强烈的责任心和事业感,敢说、敢管、敢处理">
</f:Label>
<f:TextBox ID="txtBehavior_4" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="Label16" runat="server" Text="10">
<f:Label ID="txtValue_4" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_4" runat="server" NoNegative="true" MaxValue="10" MinValue="0"
AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
@@ -186,15 +186,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row5" Hidden="true">
<Items>
<f:Label ID="Label17" runat="server" Text="5">
</f:Label>
<f:Label ID="Label18" runat="server" Text="积极参加业主、监理公司和PEC 总承包方召开的有关HSE 会议,观点鲜明">
<f:Label ID="txtContent_5" runat="server" Text="积极参加业主、监理公司和PEC 总承包方召开的有关HSE 会议,观点鲜明">
</f:Label>
<f:TextBox ID="txtBehavior_5" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="Label19" runat="server" Text="10">
<f:Label ID="txtValue_5" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_5" runat="server" NoNegative="true" MaxValue="10" MinValue="0"
AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
@@ -203,15 +203,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row6" Hidden="true">
<Items>
<f:Label ID="Label20" runat="server" Text="6">
</f:Label>
<f:Label ID="Label21" runat="server" Text="主动协调与业主、监理和总承包方的关系,征得其支持和帮助,促进本身工作开展">
<f:Label ID="txtContent_6" runat="server" Text="主动协调与业主、监理和总承包方的关系,征得其支持和帮助,促进本身工作开展">
</f:Label>
<f:TextBox ID="txtBehavior_6" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="Label22" runat="server" Text="10">
<f:Label ID="txtValue_6" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_6" runat="server" NoNegative="true" MaxValue="10" MinValue="0"
AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
@@ -220,15 +220,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row7" Hidden="true">
<Items>
<f:Label ID="Label23" runat="server" Text="7">
</f:Label>
<f:Label ID="Label24" runat="server" Text="按时保质保量编写HSE 周报月报,准时上报业主、监理公司和总承包方">
<f:Label ID="txtContent_7" runat="server" Text="按时保质保量编写HSE 周报月报,准时上报业主、监理公司和总承包方">
</f:Label>
<f:TextBox ID="txtBehavior_7" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="Label25" runat="server" Text="10">
<f:Label ID="txtValue_7" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_7" runat="server" NoNegative="true" MaxValue="10" MinValue="0"
AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
@@ -237,15 +237,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row8" Hidden="true">
<Items>
<f:Label ID="Label26" runat="server" Text="8">
</f:Label>
<f:Label ID="Label27" runat="server" Text="准时参加业主、监理及总承包方组织的专检、联检和大检查,发现隐患,提出建议">
<f:Label ID="txtContent_8" runat="server" Text="准时参加业主、监理及总承包方组织的专检、联检和大检查,发现隐患,提出建议">
</f:Label>
<f:TextBox ID="txtBehavior_8" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="Label28" runat="server" Text="10">
<f:Label ID="txtValue_8" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_8" runat="server" NoNegative="true" MaxValue="10" MinValue="0"
AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
@@ -254,15 +254,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row9" Hidden="true">
<Items>
<f:Label ID="Label29" runat="server" Text="9">
</f:Label>
<f:Label ID="Label30" runat="server" Text="前瞻性眼光,提前反映诸如脚手架材料、安全网、专职安全员不足等问题,以求主动">
<f:Label ID="txtContent_9" runat="server" Text="前瞻性眼光,提前反映诸如脚手架材料、安全网、专职安全员不足等问题,以求主动">
</f:Label>
<f:TextBox ID="txtBehavior_9" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="Label31" runat="server" Text="10">
<f:Label ID="txtValue_9" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_9" runat="server" NoNegative="true" MaxValue="10" MinValue="0"
AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
@@ -271,15 +271,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row10" Hidden="true">
<Items>
<f:Label ID="Label32" runat="server" Text="10">
</f:Label>
<f:Label ID="Label33" runat="server" Text="高度重视项目安全文化建设,充分利用班前会、三级安全培训会、板报、安全警示牌等机会大力宣传项目安全文化">
<f:Label ID="txtContent_10" runat="server" Text="高度重视项目安全文化建设,充分利用班前会、三级安全培训会、板报、安全警示牌等机会大力宣传项目安全文化">
</f:Label>
<f:TextBox ID="txtBehavior_10" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="Label34" runat="server" Text="10">
<f:Label ID="txtValue_10" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_10" runat="server" NoNegative="true" MaxValue="10" MinValue="0"
AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
@@ -288,6 +288,167 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row11" Hidden="true">
<Items>
<f:Label ID="Label35" runat="server" Text="11">
</f:Label>
<f:Label ID="txtContent_11" runat="server" Text="现场违章">
</f:Label>
<f:TextBox ID="txtBehavior_11" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="txtValue_11" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_11" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label78" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row12" Hidden="true">
<Items>
<f:Label ID="Label38" runat="server" Text="12">
</f:Label>
<f:Label ID="txtContent_12" runat="server" Text="宣传、警示">
</f:Label>
<f:TextBox ID="txtBehavior_12" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="txtValue_12" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_12" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label79" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row13" Hidden="true">
<Items>
<f:Label ID="Label41" runat="server" Text="13">
</f:Label>
<f:Label ID="txtContent_13" runat="server" Text="文明施工与环境卫生">
</f:Label>
<f:TextBox ID="txtBehavior_13" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="txtValue_13" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_13" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label80" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row14" Hidden="true">
<Items>
<f:Label ID="Label44" runat="server" Text="14">
</f:Label>
<f:Label ID="txtContent_14" runat="server" Text="消防安全">
</f:Label>
<f:TextBox ID="txtBehavior_14" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="txtValue_14" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_14" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label81" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row15" Hidden="true">
<Items>
<f:Label ID="Label47" runat="server" Text="15">
</f:Label>
<f:Label ID="txtContent_15" runat="server" Text="治安保卫">
</f:Label>
<f:TextBox ID="txtBehavior_15" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="txtValue_15" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_15" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label82" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row16" Hidden="true">
<Items>
<f:Label ID="Label50" runat="server" Text="16">
</f:Label>
<f:Label ID="txtContent_16" runat="server" Text="奖惩情况">
</f:Label>
<f:TextBox ID="txtBehavior_16" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="txtValue_16" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_16" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label83" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row17" Hidden="true">
<Items>
<f:Label ID="Label53" runat="server" Text="17">
</f:Label>
<f:Label ID="txtContent_17" runat="server" Text="应急准备及应急演练">
</f:Label>
<f:TextBox ID="txtBehavior_17" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="txtValue_17" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_17" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label84" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row18" Hidden="true">
<Items>
<f:Label ID="Label56" runat="server" Text="18" >
</f:Label>
<f:Label ID="txtContent_18" runat="server" Text="法律、法规、管理规范清单">
</f:Label>
<f:TextBox ID="txtBehavior_18" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="txtValue_18" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_18" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label85" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row19" Hidden="true">
<Items>
<f:Label ID="Label59" runat="server" Text="19">
</f:Label>
<f:Label ID="txtContent_19" runat="server" Text="事故、事件调查处理情况">
</f:Label>
<f:TextBox ID="txtBehavior_19" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="txtValue_19" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_19" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label86" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row20" Hidden="true">
<Items>
<f:Label ID="Label62" runat="server" Text="20">
</f:Label>
<f:Label ID="txtContent_20" runat="server" Text="过程文件的规范性">
</f:Label>
<f:TextBox ID="txtBehavior_20" runat="server" MaxLength="50">
</f:TextBox>
<f:Label ID="txtValue_20" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_20" runat="server" NoNegative="true" MinValue="0" AutoPostBack="true" OnTextChanged="TextBox_OnTextChanged">
</f:NumberBox>
<f:Label ID="Label87" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="10% 60% 15% 10% 5%">
<Items>
<f:Label ID="Label65" runat="server" Text="综合评语">
@@ -70,6 +70,7 @@ namespace FineUIPro.Web.Perfomance
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
Funs.FineUIPleaseSelect(this.drpTeamGroupId);
this.InitDropDownList();
initContent();
this.PersonPerfomanceId = Request.Params["PersonPerfomanceId"];
if (!string.IsNullOrEmpty(this.PersonPerfomanceId))
{
@@ -155,7 +156,139 @@ namespace FineUIPro.Web.Perfomance
}
}
#endregion
protected void initContent()
{
var contents = Funs.DB.Perfomance_PerfomanceContent.Where(x => x.PerfomanceType == 2).OrderBy(x => x.ShowIndex).ToList();
int i = 1;
foreach (var content in contents)
{
switch (i)
{
case 1:
row1.Hidden = false;
txtValue_1.Text = content.PerfomanceValue;
txtContent_1.Text = content.PerfomanceContent;
txtScore_1.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 2:
row2.Hidden = false;
txtValue_2.Text = content.PerfomanceValue;
txtContent_2.Text = content.PerfomanceContent;
txtScore_2.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 3:
row3.Hidden = false;
txtValue_3.Text = content.PerfomanceValue;
txtContent_3.Text = content.PerfomanceContent;
txtScore_3.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 4:
row4.Hidden = false;
txtValue_4.Text = content.PerfomanceValue;
txtContent_4.Text = content.PerfomanceContent;
txtScore_4.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 5:
row5.Hidden = false;
txtValue_5.Text = content.PerfomanceValue;
txtContent_5.Text = content.PerfomanceContent;
txtScore_5.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 6:
row6.Hidden = false;
txtValue_6.Text = content.PerfomanceValue;
txtContent_6.Text = content.PerfomanceContent;
txtScore_6.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 7:
row7.Hidden = false;
txtValue_7.Text = content.PerfomanceValue;
txtContent_7.Text = content.PerfomanceContent;
txtScore_7.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 8:
row8.Hidden = false;
txtValue_8.Text = content.PerfomanceValue;
txtContent_8.Text = content.PerfomanceContent;
txtScore_8.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 9:
row9.Hidden = false;
txtValue_9.Text = content.PerfomanceValue;
txtContent_9.Text = content.PerfomanceContent;
txtScore_9.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 10:
row10.Hidden = false;
txtValue_10.Text = content.PerfomanceValue;
txtContent_10.Text = content.PerfomanceContent;
txtScore_10.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 11:
row11.Hidden = false;
txtValue_11.Text = content.PerfomanceValue;
txtContent_11.Text = content.PerfomanceContent;
txtScore_11.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 12:
row12.Hidden = false;
txtValue_12.Text = content.PerfomanceValue;
txtContent_12.Text = content.PerfomanceContent;
txtScore_12.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 13:
row13.Hidden = false;
txtValue_13.Text = content.PerfomanceValue;
txtContent_13.Text = content.PerfomanceContent;
txtScore_13.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 14:
row14.Hidden = false;
txtValue_14.Text = content.PerfomanceValue;
txtContent_14.Text = content.PerfomanceContent;
txtScore_14.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 15:
row15.Hidden = false;
txtValue_15.Text = content.PerfomanceValue;
txtContent_15.Text = content.PerfomanceContent;
txtScore_15.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 16:
row16.Hidden = false;
txtValue_16.Text = content.PerfomanceValue;
txtContent_16.Text = content.PerfomanceContent;
txtScore_16.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 17:
row17.Hidden = false;
txtValue_17.Text = content.PerfomanceValue;
txtContent_17.Text = content.PerfomanceContent;
txtScore_17.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 18:
row18.Hidden = false;
txtValue_18.Text = content.PerfomanceValue;
txtContent_18.Text = content.PerfomanceContent;
txtScore_18.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 19:
row19.Hidden = false;
txtValue_19.Text = content.PerfomanceValue;
txtContent_19.Text = content.PerfomanceContent;
txtScore_19.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 20:
row20.Hidden = false;
txtValue_20.Text = content.PerfomanceValue;
txtContent_20.Text = content.PerfomanceContent;
txtScore_20.MaxValue = double.Parse(content.PerfomanceValue);
break;
}
i++;
}
}
/// <summary>
/// 初始化下拉框
/// </summary>
File diff suppressed because it is too large Load Diff
@@ -111,15 +111,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row1" Hidden="true">
<Items>
<f:Label ID="lblSort_1" runat="server" Text="1">
</f:Label>
<f:Label ID="Label6" runat="server" Text="具有注册安全工程师证或地方及行业安全员资质证书,持证上岗">
<f:Label ID="txtContent_1" runat="server" Text="具有注册安全工程师证或地方及行业安全员资质证书,持证上岗">
</f:Label>
<f:TextBox ID="txtBehavior_1" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label7" runat="server" Text="10">
<f:Label ID="txtValue_1" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_1" runat="server" Readonly="true">
</f:NumberBox>
@@ -127,15 +127,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row2" Hidden="true">
<Items>
<f:Label ID="Label8" runat="server" Text="2">
</f:Label>
<f:Label ID="Label9" runat="server" Text="具有丰富项目HSE 内页管理经验,单独编制项目HSE 计划、应急预案等文件">
<f:Label ID="txtContent_2" runat="server" Text="具有丰富项目HSE 内页管理经验,单独编制项目HSE 计划、应急预案等文件">
</f:Label>
<f:TextBox ID="txtBehavior_2" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label10" runat="server" Text="10">
<f:Label ID="txtValue_2" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_2" runat="server" Readonly="true">
</f:NumberBox>
@@ -143,15 +143,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row3" Hidden="true">
<Items>
<f:Label ID="Label11" runat="server" Text="3">
</f:Label>
<f:Label ID="Label12" runat="server" Text="具有丰富项目HSE 现场管理经验,快速准确查出安全隐患,按隐患级别限期整改合格">
<f:Label ID="txtContent_3" runat="server" Text="具有丰富项目HSE 现场管理经验,快速准确查出安全隐患,按隐患级别限期整改合格">
</f:Label>
<f:TextBox ID="txtBehavior_3" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label13" runat="server" Text="10">
<f:Label ID="txtValue_3" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_3" runat="server" Readonly="true">
</f:NumberBox>
@@ -159,15 +159,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row4" Hidden="true">
<Items>
<f:Label ID="Label14" runat="server" Text="4">
</f:Label>
<f:Label ID="Label15" runat="server" Text="热爱HSE 工作,强烈的责任心和事业感,敢说、敢管、敢处理">
<f:Label ID="txtContent_4" runat="server" Text="热爱HSE 工作,强烈的责任心和事业感,敢说、敢管、敢处理">
</f:Label>
<f:TextBox ID="txtBehavior_4" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label16" runat="server" Text="10">
<f:Label ID="txtValue_4" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_4" runat="server" Readonly="true">
</f:NumberBox>
@@ -175,15 +175,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row5" Hidden="true">
<Items>
<f:Label ID="Label17" runat="server" Text="5">
</f:Label>
<f:Label ID="Label18" runat="server" Text="积极参加业主、监理公司和PEC 总承包方召开的有关HSE 会议,观点鲜明">
<f:Label ID="txtContent_5" runat="server" Text="积极参加业主、监理公司和PEC 总承包方召开的有关HSE 会议,观点鲜明">
</f:Label>
<f:TextBox ID="txtBehavior_5" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label19" runat="server" Text="10">
<f:Label ID="txtValue_5" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_5" runat="server" Readonly="true">
</f:NumberBox>
@@ -191,15 +191,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row6" Hidden="true">
<Items>
<f:Label ID="Label20" runat="server" Text="6">
</f:Label>
<f:Label ID="Label21" runat="server" Text="主动协调与业主、监理和总承包方的关系,征得其支持和帮助,促进本身工作开展">
<f:Label ID="txtContent_6" runat="server" Text="主动协调与业主、监理和总承包方的关系,征得其支持和帮助,促进本身工作开展">
</f:Label>
<f:TextBox ID="txtBehavior_6" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label22" runat="server" Text="10">
<f:Label ID="txtValue_6" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_6" runat="server" Readonly="true">
</f:NumberBox>
@@ -207,15 +207,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row7" Hidden="true">
<Items>
<f:Label ID="Label23" runat="server" Text="7">
</f:Label>
<f:Label ID="Label24" runat="server" Text="按时保质保量编写HSE 周报月报,准时上报业主、监理公司和总承包方">
<f:Label ID="txtContent_7" runat="server" Text="按时保质保量编写HSE 周报月报,准时上报业主、监理公司和总承包方">
</f:Label>
<f:TextBox ID="txtBehavior_7" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label25" runat="server" Text="10">
<f:Label ID="txtValue_7" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_7" runat="server" Readonly="true">
</f:NumberBox>
@@ -223,15 +223,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row8" Hidden="true">
<Items>
<f:Label ID="Label26" runat="server" Text="8">
</f:Label>
<f:Label ID="Label27" runat="server" Text="准时参加业主、监理及总承包方组织的专检、联检和大检查,发现隐患,提出建议">
<f:Label ID="txtContent_8" runat="server" Text="准时参加业主、监理及总承包方组织的专检、联检和大检查,发现隐患,提出建议">
</f:Label>
<f:TextBox ID="txtBehavior_8" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label28" runat="server" Text="10">
<f:Label ID="txtValue_8" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_8" runat="server" Readonly="true">
</f:NumberBox>
@@ -239,15 +239,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row9" Hidden="true">
<Items>
<f:Label ID="Label29" runat="server" Text="9">
</f:Label>
<f:Label ID="Label30" runat="server" Text="前瞻性眼光,提前反映诸如脚手架材料、安全网、专职安全员不足等问题,以求主动">
<f:Label ID="txtContent_9" runat="server" Text="前瞻性眼光,提前反映诸如脚手架材料、安全网、专职安全员不足等问题,以求主动">
</f:Label>
<f:TextBox ID="txtBehavior_9" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label31" runat="server" Text="10">
<f:Label ID="txtValue_9" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_9" runat="server" Readonly="true">
</f:NumberBox>
@@ -255,15 +255,15 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row10" Hidden="true">
<Items>
<f:Label ID="Label32" runat="server" Text="10">
</f:Label>
<f:Label ID="Label33" runat="server" Text="高度重视项目安全文化建设,充分利用班前会、三级安全培训会、板报、安全警示牌等机会大力宣传项目安全文化">
<f:Label ID="txtContent_10" runat="server" Text="高度重视项目安全文化建设,充分利用班前会、三级安全培训会、板报、安全警示牌等机会大力宣传项目安全文化">
</f:Label>
<f:TextBox ID="txtBehavior_10" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="Label34" runat="server" Text="10">
<f:Label ID="txtValue_10" runat="server" Text="10">
</f:Label>
<f:NumberBox ID="txtScore_10" runat="server" Readonly="true">
</f:NumberBox>
@@ -271,7 +271,167 @@
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="10% 60% 15% 10% 5%">
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row11" Hidden="true">
<Items>
<f:Label ID="Label35" runat="server" Text="11">
</f:Label>
<f:Label ID="txtContent_11" runat="server" Text="现场违章">
</f:Label>
<f:TextBox ID="txtBehavior_11" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="txtValue_11" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_11" runat="server" Readonly="true">
</f:NumberBox>
<f:Label ID="Label78" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row12" Hidden="true">
<Items>
<f:Label ID="Label38" runat="server" Text="12">
</f:Label>
<f:Label ID="txtContent_12" runat="server" Text="宣传、警示">
</f:Label>
<f:TextBox ID="txtBehavior_12" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="txtValue_12" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_12" runat="server" Readonly="true">
</f:NumberBox>
<f:Label ID="Label79" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row13" Hidden="true">
<Items>
<f:Label ID="Label41" runat="server" Text="13">
</f:Label>
<f:Label ID="txtContent_13" runat="server" Text="文明施工与环境卫生">
</f:Label>
<f:TextBox ID="txtBehavior_13" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="txtValue_13" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_13" runat="server" Readonly="true">
</f:NumberBox>
<f:Label ID="Label80" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row14" Hidden="true">
<Items>
<f:Label ID="Label44" runat="server" Text="14">
</f:Label>
<f:Label ID="txtContent_14" runat="server" Text="消防安全">
</f:Label>
<f:TextBox ID="txtBehavior_14" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="txtValue_14" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_14" runat="server" Readonly="true">
</f:NumberBox>
<f:Label ID="Label81" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row15" Hidden="true">
<Items>
<f:Label ID="Label47" runat="server" Text="15">
</f:Label>
<f:Label ID="txtContent_15" runat="server" Text="治安保卫">
</f:Label>
<f:TextBox ID="txtBehavior_15" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="txtValue_15" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_15" runat="server" Readonly="true">
</f:NumberBox>
<f:Label ID="Label82" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row16" Hidden="true">
<Items>
<f:Label ID="Label50" runat="server" Text="16">
</f:Label>
<f:Label ID="txtContent_16" runat="server" Text="奖惩情况">
</f:Label>
<f:TextBox ID="txtBehavior_16" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="txtValue_16" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_16" runat="server" Readonly="true">
</f:NumberBox>
<f:Label ID="Label83" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row17" Hidden="true">
<Items>
<f:Label ID="Label53" runat="server" Text="17">
</f:Label>
<f:Label ID="txtContent_17" runat="server" Text="应急准备及应急演练">
</f:Label>
<f:TextBox ID="txtBehavior_17" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="txtValue_17" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_17" runat="server" Readonly="true">
</f:NumberBox>
<f:Label ID="Label84" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row18" Hidden="true">
<Items>
<f:Label ID="Label56" runat="server" Text="18">
</f:Label>
<f:Label ID="txtContent_18" runat="server" Text="法律、法规、管理规范清单">
</f:Label>
<f:TextBox ID="txtBehavior_18" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="txtValue_18" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_18" runat="server" Readonly="true">
</f:NumberBox>
<f:Label ID="Label85" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row19" Hidden="true">
<Items>
<f:Label ID="Label59" runat="server" Text="19">
</f:Label>
<f:Label ID="txtContent_19" runat="server" Text="事故、事件调查处理情况">
</f:Label>
<f:TextBox ID="txtBehavior_19" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="txtValue_19" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_19" runat="server" Readonly="true">
</f:NumberBox>
<f:Label ID="Label86" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="5% 30% 35% 15% 10% 5%" ID="row20" Hidden="true">
<Items>
<f:Label ID="Label62" runat="server" Text="20">
</f:Label>
<f:Label ID="txtContent_20" runat="server" Text="过程文件的规范性">
</f:Label>
<f:TextBox ID="txtBehavior_20" runat="server" Readonly="true">
</f:TextBox>
<f:Label ID="txtValue_20" runat="server" Text="5">
</f:Label>
<f:NumberBox ID="txtScore_20" runat="server" Readonly="true">
</f:NumberBox>
<f:Label ID="Label87" runat="server">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="10% 60% 15% 10% 5%" >
<Items>
<f:Label ID="Label65" runat="server" Text="综合评语">
</f:Label>
@@ -54,6 +54,7 @@ namespace FineUIPro.Web.Perfomance
{
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
this.PersonPerfomanceId = Request.Params["PersonPerfomanceId"];
initContent();
if (!string.IsNullOrEmpty(this.PersonPerfomanceId))
{
Model.Perfomance_PersonPerfomance personPerfomance = BLL.PersonPerfomanceService.GetPersonPerfomanceById(this.PersonPerfomanceId);
@@ -138,5 +139,138 @@ namespace FineUIPro.Web.Perfomance
}
}
#endregion
protected void initContent()
{
var contents = Funs.DB.Perfomance_PerfomanceContent.Where(x => x.PerfomanceType == 2).OrderBy(x => x.ShowIndex).ToList();
int i = 1;
foreach (var content in contents)
{
switch (i)
{
case 1:
row1.Hidden = false;
txtValue_1.Text = content.PerfomanceValue;
txtContent_1.Text = content.PerfomanceContent;
txtScore_1.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 2:
row2.Hidden = false;
txtValue_2.Text = content.PerfomanceValue;
txtContent_2.Text = content.PerfomanceContent;
txtScore_2.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 3:
row3.Hidden = false;
txtValue_3.Text = content.PerfomanceValue;
txtContent_3.Text = content.PerfomanceContent;
txtScore_3.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 4:
row4.Hidden = false;
txtValue_4.Text = content.PerfomanceValue;
txtContent_4.Text = content.PerfomanceContent;
txtScore_4.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 5:
row5.Hidden = false;
txtValue_5.Text = content.PerfomanceValue;
txtContent_5.Text = content.PerfomanceContent;
txtScore_5.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 6:
row6.Hidden = false;
txtValue_6.Text = content.PerfomanceValue;
txtContent_6.Text = content.PerfomanceContent;
txtScore_6.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 7:
row7.Hidden = false;
txtValue_7.Text = content.PerfomanceValue;
txtContent_7.Text = content.PerfomanceContent;
txtScore_7.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 8:
row8.Hidden = false;
txtValue_8.Text = content.PerfomanceValue;
txtContent_8.Text = content.PerfomanceContent;
txtScore_8.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 9:
row9.Hidden = false;
txtValue_9.Text = content.PerfomanceValue;
txtContent_9.Text = content.PerfomanceContent;
txtScore_9.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 10:
row10.Hidden = false;
txtValue_10.Text = content.PerfomanceValue;
txtContent_10.Text = content.PerfomanceContent;
txtScore_10.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 11:
row11.Hidden = false;
txtValue_11.Text = content.PerfomanceValue;
txtContent_11.Text = content.PerfomanceContent;
txtScore_11.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 12:
row12.Hidden = false;
txtValue_12.Text = content.PerfomanceValue;
txtContent_12.Text = content.PerfomanceContent;
txtScore_12.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 13:
row13.Hidden = false;
txtValue_13.Text = content.PerfomanceValue;
txtContent_13.Text = content.PerfomanceContent;
txtScore_13.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 14:
row14.Hidden = false;
txtValue_14.Text = content.PerfomanceValue;
txtContent_14.Text = content.PerfomanceContent;
txtScore_14.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 15:
row15.Hidden = false;
txtValue_15.Text = content.PerfomanceValue;
txtContent_15.Text = content.PerfomanceContent;
txtScore_15.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 16:
row16.Hidden = false;
txtValue_16.Text = content.PerfomanceValue;
txtContent_16.Text = content.PerfomanceContent;
txtScore_16.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 17:
row17.Hidden = false;
txtValue_17.Text = content.PerfomanceValue;
txtContent_17.Text = content.PerfomanceContent;
txtScore_17.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 18:
row18.Hidden = false;
txtValue_18.Text = content.PerfomanceValue;
txtContent_18.Text = content.PerfomanceContent;
txtScore_18.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 19:
row19.Hidden = false;
txtValue_19.Text = content.PerfomanceValue;
txtContent_19.Text = content.PerfomanceContent;
txtScore_19.MaxValue = double.Parse(content.PerfomanceValue);
break;
case 20:
row20.Hidden = false;
txtValue_20.Text = content.PerfomanceValue;
txtContent_20.Text = content.PerfomanceContent;
txtScore_20.MaxValue = double.Parse(content.PerfomanceValue);
break;
}
i++;
}
}
}
}
File diff suppressed because it is too large Load Diff