diff --git a/DataBase/版本日志/SGGLDB_V2025-07-10-001_lc.sql b/DataBase/版本日志/SGGLDB_V2025-07-10-001_lc.sql new file mode 100644 index 00000000..e828aeae --- /dev/null +++ b/DataBase/版本日志/SGGLDB_V2025-07-10-001_lc.sql @@ -0,0 +1,6 @@ +INSERT INTO [dbo].[Sys_Menu] ([MenuId], [MenuName], [Icon], [Url], [SortIndex], [SuperMenu], [MenuType], [IsOffice], [IsEnd], [IsUsed]) +VALUES (N'DE0CA5F1-AE72-4752-A244-D474F3F5F9C8', N'¼', NULL, N'HSSE/TowerCrane/TowerCraneRecord.aspx', '130', N'28C8EDB9-F1C2-4287-8013-28A976B093E2', N'Menu_HSSE', '1', '1', '1'); + +Alter TABLE [dbo].[Base_Project]add + [AQMAccount] [nvarchar](50) NULL, + [AQMPwd] [nvarchar](50) NULL \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj index 9a5e7d6e..f841ead8 100644 --- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj +++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj @@ -1436,6 +1436,7 @@ + @@ -14496,6 +14497,13 @@ SpecialSchemeSelectCloumn.aspx + + TowerCraneRecord.aspx + ASPXCodeBehind + + + TowerCraneRecord.aspx + TowerCrane.aspx ASPXCodeBehind diff --git a/SGGL/FineUIPro.Web/HSSE/TowerCrane/TowerCraneRecord.aspx b/SGGL/FineUIPro.Web/HSSE/TowerCrane/TowerCraneRecord.aspx new file mode 100644 index 00000000..31d19120 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/TowerCrane/TowerCraneRecord.aspx @@ -0,0 +1,145 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TowerCraneRecord.aspx.cs" Inherits="FineUIPro.Web.HSSE.TowerCrane.TowerCraneRecord" %> + + + + + + + 塔吊 + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/TowerCrane/TowerCraneRecord.aspx.cs b/SGGL/FineUIPro.Web/HSSE/TowerCrane/TowerCraneRecord.aspx.cs new file mode 100644 index 00000000..42701c40 --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/TowerCrane/TowerCraneRecord.aspx.cs @@ -0,0 +1,219 @@ +using System; +using System.Collections.Generic; +using System.Data; +using System.Data.SqlClient; +using System.Linq; +using System.Text; +using BLL; +using AspNet = System.Web.UI.WebControls; + +namespace FineUIPro.Web.HSSE.TowerCrane +{ + public partial class TowerCraneRecord : PageBase + { + #region 定义项 + /// + /// 主键 + /// + public string ProjectId + { + get + { + return (string)ViewState["ProjectId"]; + } + set + { + ViewState["ProjectId"] = value; + } + } + #endregion + + #region 加载 + /// + /// 加载页面 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.InitTreeMenu();//加载树 + } + } + #region 加载树装置-单位-工作区 + /// + /// 加载树 + /// + private void InitTreeMenu() + { + this.tvControlItem.Nodes.Clear(); + + ////塔吊 + var towerCranes = (from x in Funs.DB.HSSE_TowerCrane + where x.ProjectId == this.CurrUser.LoginProjectId + && (string.IsNullOrEmpty(txtIsono.Text) || x.TowerCraneName.Contains(txtIsono.Text)) + orderby x.CreateDate + select x).ToList(); + + foreach (var item in towerCranes) + { + TreeNode rootNode = new TreeNode(); + rootNode.Text = item.TowerCraneName; + rootNode.NodeID = item.TowerCraneId; + rootNode.EnableClickEvent = true; + this.tvControlItem.Nodes.Add(rootNode); + } + + } + #endregion + + + /// + /// 查询 + /// + /// + /// + protected void Tree_TextChanged(object sender, EventArgs e) + { + this.InitTreeMenu(); + + } + + + /// + /// 树展开事件 + /// + /// + /// + protected void tvControlItem_NodeCommand(object sender, TreeCommandEventArgs e) + { + + BindGrid(); + } + /// + /// 绑定数据 + /// + private void BindGrid() + { + string TowerCraneId = this.tvControlItem.SelectedNodeID; + if (!string.IsNullOrEmpty(TowerCraneId)) + { + string strSql = @"SELECT * from HSSE_TowerCraneRecord WHERE "; + List listStr = new List(); + strSql += " TowerCraneId = @TowerCraneId"; + listStr.Add(new SqlParameter("@TowerCraneId", TowerCraneId)); + + + strSql += " order by Date desc"; + 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); + if (table != null && table.Rows.Count > 0) + { + Dictionary alarmMap = new Dictionary(); + + alarmMap.Add("111", "重量预警"); + alarmMap.Add("112", "重量报警"); + alarmMap.Add("121", "风速预警"); + alarmMap.Add("122", "风速报警"); + alarmMap.Add("131", "内限位报警"); + alarmMap.Add("132", "内限位预警"); + alarmMap.Add("133", "外限位预警"); + alarmMap.Add("134", "外限位报警"); + alarmMap.Add("141", "倾角预警"); + alarmMap.Add("142", "倾角报警"); + alarmMap.Add("151", "上限位预警"); + alarmMap.Add("152", "上限位报警"); + alarmMap.Add("201", "障碍物碰撞报警"); + alarmMap.Add("202", "塔机群碰撞报警"); + + foreach (DataRow row in table.Rows) + { + string AlarmType = row["AlarmType"].ToString(); + if (!string.IsNullOrEmpty(AlarmType)) + { + var alarms = AlarmType.Replace("[", "").Replace("]", "").Split(','); + string res = ""; + foreach (string alarm in alarms) + { + if (alarmMap.ContainsKey(alarm)) + { + res += alarmMap[alarm] + ","; + } + } + row["AlarmType"] = res.TrimEnd(','); + } + + } + } + Grid1.DataSource = table; + Grid1.DataBind(); + } + else + { + Grid1.DataSource = null; + Grid1.DataBind(); + } + } + + #region 分页 排序 + /// + /// 改变索引事件 + /// + /// + /// + protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e) + { + BindGrid(); + } + + /// + /// 分页下拉选择事件 + /// + /// + /// + protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) + { + this.Grid1.PageSize = Convert.ToInt32(this.ddlPageSize.SelectedValue); + BindGrid(); + } + + /// + /// 排序 + /// + /// + /// + protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + this.BindGrid(); + } + #endregion + #endregion + + #region 查询 + /// + /// 查询 + /// + /// + /// + protected void TextBox_TextChanged(object sender, EventArgs e) + { + this.BindGrid(); + } + #endregion + + + + + + + protected void btnQuery_Click(object sender, EventArgs e) + { + BindGrid(); + } + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/TowerCrane/TowerCraneRecord.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/TowerCrane/TowerCraneRecord.aspx.designer.cs new file mode 100644 index 00000000..d75f087c --- /dev/null +++ b/SGGL/FineUIPro.Web/HSSE/TowerCrane/TowerCraneRecord.aspx.designer.cs @@ -0,0 +1,188 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HSSE.TowerCrane +{ + + + public partial class TowerCraneRecord + { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel Panel2; + + /// + /// panelLeftRegion 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel panelLeftRegion; + + /// + /// Toolbar1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// txtIsono 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtIsono; + + /// + /// hfTowerCraneId 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.HiddenField hfTowerCraneId; + + /// + /// tvControlItem 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Tree tvControlItem; + + /// + /// Panel1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// Grid1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Grid Grid1; + + /// + /// Toolbar2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// txtStartTime 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DatePicker txtStartTime; + + /// + /// txtEndTime 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DatePicker txtEndTime; + + /// + /// btnQuery 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnQuery; + + /// + /// ToolbarFill1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarFill ToolbarFill1; + + /// + /// lblNumber 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label lblNumber; + + /// + /// ToolbarSeparator1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + } +} diff --git a/SGGL/FineUIPro.Web/ProjectData/ProjectSysSet.aspx b/SGGL/FineUIPro.Web/ProjectData/ProjectSysSet.aspx index 969d0335..84704542 100644 --- a/SGGL/FineUIPro.Web/ProjectData/ProjectSysSet.aspx +++ b/SGGL/FineUIPro.Web/ProjectData/ProjectSysSet.aspx @@ -144,6 +144,26 @@ + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/ProjectData/ProjectSysSet.aspx.cs b/SGGL/FineUIPro.Web/ProjectData/ProjectSysSet.aspx.cs index 96b718e6..477e003d 100644 --- a/SGGL/FineUIPro.Web/ProjectData/ProjectSysSet.aspx.cs +++ b/SGGL/FineUIPro.Web/ProjectData/ProjectSysSet.aspx.cs @@ -54,6 +54,8 @@ namespace FineUIPro.Web.common.ProjectSet if (getProject != null ) { getProject.IsFace = this.ckbIsFace.Checked; + getProject.AQMAccount = this.txtAQMAccount.Text; + getProject.AQMPwd = this.txtAQMPwd.Text; Funs.DB.SubmitChanges(); } #endregion @@ -294,9 +296,20 @@ namespace FineUIPro.Web.common.ProjectSet { ///通用 var getProject = ProjectService.GetProjectByProjectId(projectId); - if (getProject != null && getProject.IsFace == true) + if (getProject != null ) { - this.ckbIsFace.Checked = true; + if (getProject.IsFace == true) + { + this.ckbIsFace.Checked = true; + } + if (!string.IsNullOrEmpty(getProject.AQMPwd)) + { + this.txtAQMPwd.Text = getProject.AQMPwd; + } + if (!string.IsNullOrEmpty(getProject.AQMAccount)) + { + this.txtAQMAccount.Text = getProject.AQMAccount; + } } var q = from x in Funs.DB.Project_Sys_Set where x.ProjectId == projectId select x; diff --git a/SGGL/FineUIPro.Web/ProjectData/ProjectSysSet.aspx.designer.cs b/SGGL/FineUIPro.Web/ProjectData/ProjectSysSet.aspx.designer.cs index c63e1b2d..1fc73867 100644 --- a/SGGL/FineUIPro.Web/ProjectData/ProjectSysSet.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/ProjectData/ProjectSysSet.aspx.designer.cs @@ -7,11 +7,13 @@ // //------------------------------------------------------------------------------ -namespace FineUIPro.Web.common.ProjectSet { - - - public partial class ProjectSysSet { - +namespace FineUIPro.Web.common.ProjectSet +{ + + + public partial class ProjectSysSet + { + /// /// form1 控件。 /// @@ -20,7 +22,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.HtmlControls.HtmlForm form1; - + /// /// PageManager1 控件。 /// @@ -29,7 +31,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.PageManager PageManager1; - + /// /// RegionPanel1 控件。 /// @@ -38,7 +40,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.RegionPanel RegionPanel1; - + /// /// Region2 控件。 /// @@ -47,7 +49,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Region Region2; - + /// /// GroupPanel0 控件。 /// @@ -56,7 +58,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.GroupPanel GroupPanel0; - + /// /// Form4 控件。 /// @@ -65,7 +67,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form4; - + /// /// ckbIsFace 控件。 /// @@ -74,7 +76,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.CheckBox ckbIsFace; - + /// /// btnSetMap 控件。 /// @@ -83,7 +85,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnSetMap; - + /// /// GroupPanel1 控件。 /// @@ -92,7 +94,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.GroupPanel GroupPanel1; - + /// /// SimpleForm1 控件。 /// @@ -101,7 +103,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form SimpleForm1; - + /// /// txtRemindDay 控件。 /// @@ -110,7 +112,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.NumberBox txtRemindDay; - + /// /// txtStarTime 控件。 /// @@ -119,7 +121,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.NumberBox txtStarTime; - + /// /// txtEndTime 控件。 /// @@ -128,7 +130,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.NumberBox txtEndTime; - + /// /// GroupPanel2 控件。 /// @@ -137,7 +139,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.GroupPanel GroupPanel2; - + /// /// Form2 控件。 /// @@ -146,7 +148,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form2; - + /// /// ckbPdms 控件。 /// @@ -155,7 +157,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.CheckBox ckbPdms; - + /// /// ckbDayReport 控件。 /// @@ -164,7 +166,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.CheckBox ckbDayReport; - + /// /// ckbPoint 控件。 /// @@ -173,7 +175,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.CheckBox ckbPoint; - + /// /// robStandard 控件。 /// @@ -182,7 +184,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.RadioButtonList robStandard; - + /// /// Label4 控件。 /// @@ -191,7 +193,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label Label4; - + /// /// Label1 控件。 /// @@ -200,7 +202,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label Label1; - + /// /// cb1 控件。 /// @@ -209,7 +211,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.CheckBox cb1; - + /// /// cb2 控件。 /// @@ -218,7 +220,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.CheckBox cb2; - + /// /// cb3 控件。 /// @@ -227,7 +229,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.CheckBox cb3; - + /// /// cb4 控件。 /// @@ -236,7 +238,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.CheckBox cb4; - + /// /// cb5 控件。 /// @@ -245,7 +247,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.CheckBox cb5; - + /// /// cb6 控件。 /// @@ -254,7 +256,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.CheckBox cb6; - + /// /// cb7 控件。 /// @@ -263,7 +265,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.CheckBox cb7; - + /// /// GroupPanel3 控件。 /// @@ -272,7 +274,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.GroupPanel GroupPanel3; - + /// /// Form3 控件。 /// @@ -281,7 +283,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form3; - + /// /// rbWeightsSet 控件。 /// @@ -290,7 +292,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.RadioButtonList rbWeightsSet; - + /// /// nbCompleteAndReal 控件。 /// @@ -299,7 +301,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.NumberBox nbCompleteAndReal; - + /// /// Label2 控件。 /// @@ -308,7 +310,43 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label Label2; - + + /// + /// GroupPanel4 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.GroupPanel GroupPanel4; + + /// + /// Form5 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Form Form5; + + /// + /// txtAQMAccount 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtAQMAccount; + + /// + /// txtAQMPwd 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtAQMPwd; + /// /// Toolbar1 控件。 /// @@ -317,7 +355,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Toolbar Toolbar1; - + /// /// btnSave 控件。 /// @@ -326,7 +364,7 @@ namespace FineUIPro.Web.common.ProjectSet { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnSave; - + /// /// Window1 控件。 /// diff --git a/SGGL/FineUIPro.Web/ZHDD/ZHDD.aspx b/SGGL/FineUIPro.Web/ZHDD/ZHDD.aspx index 98d82149..4fa72cc1 100644 --- a/SGGL/FineUIPro.Web/ZHDD/ZHDD.aspx +++ b/SGGL/FineUIPro.Web/ZHDD/ZHDD.aspx @@ -8,22 +8,25 @@ 意见收集 +
- - - + + + + + + diff --git a/SGGL/FineUIPro.Web/ZHDD/ZHDD.aspx.cs b/SGGL/FineUIPro.Web/ZHDD/ZHDD.aspx.cs index e4cc2fc3..1b1e6c12 100644 --- a/SGGL/FineUIPro.Web/ZHDD/ZHDD.aspx.cs +++ b/SGGL/FineUIPro.Web/ZHDD/ZHDD.aspx.cs @@ -13,6 +13,8 @@ namespace FineUIPro.Web.ZHDD { public partial class ZHDD : PageBase { + + #region 加载页面 /// /// 加载页面 @@ -23,22 +25,23 @@ namespace FineUIPro.Web.ZHDD { if (!IsPostBack) { - //string username = "rdys_test"; - //string password = "Runde.2024"; - string username = "合肥诺必达"; - string password = "Hf123456@"; - var res1 = APIGetHttpService.Http("https://caps.runde.pro/api/index.php?ctl=tool&act=get_pkey&user_name=" + username + "&pwd=" + password, "POST"); + var project = Funs.DB.Base_Project.FirstOrDefault(x => x.ProjectId == CurrUser.LoginProjectId); + string username = project.AQMAccount;// "bruce"; + string password = project.AQMPwd;// "Admin!@%2316891#16891"; + var res1 = APIGetHttpService.Http("https://aqm.cwcec.com/api/index.php", "POST", "application/x-www-form-urlencoded", null,"ctl=tool&act=get_pkey&user_name=" + username + "&pwd="+ password); var j1 = JsonConvert.DeserializeObject(res1); string data = j1.data; - var res2 = APIGetHttpService.Http("https://caps.runde.pro/api/index.php?ctl=tool&act=get_token&user_name=" + username + "&pkey=" + j1.data, "POST"); + var res2 = APIGetHttpService.Http("https://aqm.cwcec.com/api/index.php?ctl=tool&act=get_token&user_name=" + username + "&pkey="+j1.data, "POST"); var j2 = JsonConvert.DeserializeObject(res2); string session_id = j2.session_id; string token = j2.token; - ifZHDD.Src = "https://caps.runde.pro/login/#token=" + session_id + "&user_name=" + username + "target=home"; + ifZHDD.Src = "https://aqm.cwcec.com/login/#token=" + session_id+"&user_name=" + username + "target=home"; } } - #endregion + #endregion + + } } \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/indexProject.aspx b/SGGL/FineUIPro.Web/indexProject.aspx index 06fda710..9313d861 100644 --- a/SGGL/FineUIPro.Web/indexProject.aspx +++ b/SGGL/FineUIPro.Web/indexProject.aspx @@ -537,10 +537,10 @@ <%-- --%> + + --%> diff --git a/SGGL/FineUIPro.Web/indexProject.aspx.designer.cs b/SGGL/FineUIPro.Web/indexProject.aspx.designer.cs index 5901fd07..0f9f526c 100644 --- a/SGGL/FineUIPro.Web/indexProject.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/indexProject.aspx.designer.cs @@ -500,15 +500,6 @@ namespace FineUIPro.Web /// protected global::FineUIPro.Button btnDigitalSite; - /// - /// btnCommandDispatch 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Button btnCommandDispatch; - /// /// btnPDigData 控件。 ///