2023/10/31

This commit is contained in:
2023-10-31 18:03:55 +08:00
parent 31cf6d6508
commit f93ed7c829
31 changed files with 3748 additions and 785 deletions
@@ -144,6 +144,28 @@
</f:DropDownBox>--%>
</Items>
</f:FormRow>
<f:FormRow runat="server">
<Items>
<f:TabStrip ID="TabStrip1" IsFluid="true" Height="500px" ShowBorder="true" TabPosition="Top"
EnableTabCloseMenu="false" ActiveTabIndex="0" runat="server">
<Tabs>
<f:Tab Title="正文" BodyPadding="10px"
runat="server">
<Items>
<f:SimpleForm ID="SimpleForm2" ShowBorder="false"
ShowHeader="false" Title="SimpleForm1" LabelWidth="120px" runat="server">
<Items>
<f:HtmlEditor runat="server" Label=" " ID="txtDocContent" ShowLabel="false"
Editor="UMEditor" BasePath="~/res/umeditor/" ToolbarSet="Full" Height="500px" LabelAlign="Right" Text="">
</f:HtmlEditor>
</Items>
</f:SimpleForm>
</Items>
</f:Tab>
</Tabs>
</f:TabStrip>
</Items>
</f:FormRow><%--
<f:FormRow>
<Items>
<f:Panel ID="plfile" ShowHeader="false" ShowBorder="false" Layout="Column" runat="server">
@@ -159,7 +181,7 @@
</Items>
</f:Panel>
</Items>
</f:FormRow>
</f:FormRow>--%>
</Rows>
</f:Form>
</f:ContentPanel>
@@ -1,4 +1,5 @@
using BLL;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -69,6 +70,8 @@ namespace FineUIPro.Web.CQMS.Solution
{
txtEdition.Text = constructSolution.Edition.ToString();
}
txtDocContent.Text = HttpUtility.HtmlDecode(constructSolution.Content);
bindApprove();
BindZYRole();
BindZLRole();
@@ -115,6 +118,8 @@ namespace FineUIPro.Web.CQMS.Solution
BLL.CQMSConstructSolutionApproveService.UpdateConstructSolutionApprove(approve);
}
}
AddAttachTab();
}
}
}
@@ -354,6 +359,15 @@ namespace FineUIPro.Web.CQMS.Solution
gvApprove.DataSource = list;
gvApprove.DataBind();
}
private void AddAttachTab()
{
PageContext.RegisterStartupScript(TabStrip1.GetAddTabReference("dynamic_tab2",
String.Format("../../AttachFile/webuploader.aspx?type={0}&toKeyId={1}&path=FileUpload/Solution&menuId={2}",
-1, ConstructSolutionId, Const.CQMSConstructSolutionMenuId), "附件",
IconHelper.GetIconUrl(Icon.Attach), false));
// PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/DocManage&menuId={1}", hdDocId.Text, Const.DocManageMenuId)));
}
public string man(Object man)
{
@@ -7,11 +7,13 @@
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.CQMS.Solution {
public partial class ConstructSolutionView {
namespace FineUIPro.Web.CQMS.Solution
{
public partial class ConstructSolutionView
{
/// <summary>
/// form1 控件。
/// </summary>
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 控件。
/// </summary>
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.PageManager PageManager1;
/// <summary>
/// SimpleForm1 控件。
/// </summary>
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form SimpleForm1;
/// <summary>
/// ContentPanel2 控件。
/// </summary>
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ContentPanel ContentPanel2;
/// <summary>
/// Form2 控件。
/// </summary>
@@ -56,7 +58,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form Form2;
/// <summary>
/// txtProjectName 控件。
/// </summary>
@@ -65,7 +67,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtProjectName;
/// <summary>
/// txtCode 控件。
/// </summary>
@@ -74,7 +76,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtCode;
/// <summary>
/// drpUnit 控件。
/// </summary>
@@ -83,7 +85,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox drpUnit;
/// <summary>
/// txtSolutionName 控件。
/// </summary>
@@ -92,7 +94,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtSolutionName;
/// <summary>
/// drpModelType 控件。
/// </summary>
@@ -101,7 +103,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox drpModelType;
/// <summary>
/// txtSpecialType 控件。
/// </summary>
@@ -110,7 +112,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtSpecialType;
/// <summary>
/// txtCompileDate 控件。
/// </summary>
@@ -119,7 +121,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtCompileDate;
/// <summary>
/// txtEdition 控件。
/// </summary>
@@ -128,7 +130,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.NumberBox txtEdition;
/// <summary>
/// txtCNProfessional 控件。
/// </summary>
@@ -137,7 +139,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtCNProfessional;
/// <summary>
/// txtUnitWork 控件。
/// </summary>
@@ -146,25 +148,34 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtUnitWork;
/// <summary>
/// plfile 控件。
/// TabStrip1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel plfile;
protected global::FineUIPro.TabStrip TabStrip1;
/// <summary>
/// imgBtnFile 控件。
/// SimpleForm2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button imgBtnFile;
protected global::FineUIPro.SimpleForm SimpleForm2;
/// <summary>
/// txtDocContent 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HtmlEditor txtDocContent;
/// <summary>
/// Panel2 控件。
/// </summary>
@@ -173,7 +184,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel2;
/// <summary>
/// Panel1 控件。
/// </summary>
@@ -182,7 +193,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel1;
/// <summary>
/// trOne 控件。
/// </summary>
@@ -191,7 +202,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Tree trOne;
/// <summary>
/// Panel3 控件。
/// </summary>
@@ -200,7 +211,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel3;
/// <summary>
/// trTwo 控件。
/// </summary>
@@ -209,7 +220,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Tree trTwo;
/// <summary>
/// Panel4 控件。
/// </summary>
@@ -218,7 +229,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel4;
/// <summary>
/// trThree 控件。
/// </summary>
@@ -227,7 +238,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Tree trThree;
/// <summary>
/// Panel5 控件。
/// </summary>
@@ -236,7 +247,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel5;
/// <summary>
/// trFour 控件。
/// </summary>
@@ -245,7 +256,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Tree trFour;
/// <summary>
/// Panel6 控件。
/// </summary>
@@ -254,7 +265,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel6;
/// <summary>
/// trFive 控件。
/// </summary>
@@ -263,7 +274,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Tree trFive;
/// <summary>
/// Panel7 控件。
/// </summary>
@@ -272,7 +283,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel7;
/// <summary>
/// trSixe 控件。
/// </summary>
@@ -281,7 +292,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Tree trSixe;
/// <summary>
/// plApprove2 控件。
/// </summary>
@@ -290,7 +301,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.FormRow plApprove2;
/// <summary>
/// gvApprove 控件。
/// </summary>
@@ -299,7 +310,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Grid gvApprove;
/// <summary>
/// Label1 控件。
/// </summary>
@@ -308,7 +319,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Label Label1;
/// <summary>
/// Label3 控件。
/// </summary>
@@ -317,7 +328,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Label Label3;
/// <summary>
/// Label2 控件。
/// </summary>
@@ -326,7 +337,7 @@ namespace FineUIPro.Web.CQMS.Solution {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Label Label2;
/// <summary>
/// WindowAtt 控件。
/// </summary>
@@ -1,10 +1,11 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditConstructSolution.aspx.cs" Inherits="FineUIPro.Web.CQMS.Solution.EditConstructSolution" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditConstructSolution.aspx.cs" Inherits="FineUIPro.Web.CQMS.Solution.EditConstructSolution" ValidateRequest="false" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>施工方案</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../../res/css/common.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.labcenter {
@@ -110,7 +111,29 @@
</f:DatePicker>
</Items>
</f:FormRow>
<f:FormRow>
<f:FormRow runat="server">
<Items>
<f:TabStrip ID="TabStrip1" IsFluid="true" Height="500px" ShowBorder="true" TabPosition="Top"
EnableTabCloseMenu="false" ActiveTabIndex="0" runat="server">
<Tabs>
<f:Tab Title="正文" BodyPadding="10px"
runat="server">
<Items>
<f:SimpleForm ID="SimpleForm2" ShowBorder="false"
ShowHeader="false" Title="SimpleForm1" LabelWidth="120px" runat="server">
<Items>
<f:HtmlEditor runat="server" Label=" " ID="txtDocContent" ShowLabel="false"
Editor="UMEditor" BasePath="~/res/umeditor/" ToolbarSet="Full" Height="500px" LabelAlign="Right" Text="">
</f:HtmlEditor>
</Items>
</f:SimpleForm>
</Items>
</f:Tab>
</Tabs>
</f:TabStrip>
</Items>
</f:FormRow>
<%-- <f:FormRow Hidden="True">
<Items>
<f:Panel ShowHeader="false" ShowBorder="false" Layout="Column" runat="server">
<Items>
@@ -120,13 +143,19 @@
</Items>
</f:Panel>
</Items>
</f:FormRow>
</f:FormRow>--%>
</Rows>
</f:Form>
</f:ContentPanel>
</Items>
</f:FormRow>
<f:FormRow>
<f:FormRow runat="server">
<Items>
<f:TextBox runat="server" ID="txtCopyMan" Label="总包会签人员" Readonly="True" Enabled="False"/>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Panel ID="Panel2" IsFluid="true" CssClass="mytable blockpanel" runat="server" AutoScroll="true" ShowBorder="true"
Layout="Table" TableConfigColumns="3" ShowHeader="true" Title="总包会签">
@@ -276,5 +305,17 @@
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px"
Height="500px">
</f:Window>
<script>
// 返回false,来阻止浏览器右键菜单
function onRowContextMenu(event, rowId) {
F(menuID).show(); //showAt(event.pageX, event.pageY);
return false;
}
function ButtonClick(event) {
// 第一个参数 false 用来指定当前不是AJAX请求
__doPostBack(false, '', 'ButtonClick');
}
</script>
</body>
</html>
File diff suppressed because it is too large Load Diff
@@ -168,13 +168,40 @@ namespace FineUIPro.Web.CQMS.Solution
protected global::FineUIPro.DatePicker txtCompileDate;
/// <summary>
/// imgBtnFile 控件。
/// TabStrip1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button imgBtnFile;
protected global::FineUIPro.TabStrip TabStrip1;
/// <summary>
/// SimpleForm2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.SimpleForm SimpleForm2;
/// <summary>
/// txtDocContent 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HtmlEditor txtDocContent;
/// <summary>
/// txtCopyMan 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtCopyMan;
/// <summary>
/// Panel2 控件。