username@email.com
2026-02-25 b73be4c097b5e12c9534fbefd8df54b404c05cb0
“对开单位”改为不需要必填;执行时间不要“秒”

你们明天上班解决一下这个公文无法编辑字体和段落的问题

USE [ECTEST_NEW]
GO

/****** Object: Table [dbo].[OA_CorporateClientsSheji] Script Date: 2026/2/24 11:43:31 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[OA_CorporateClientsSheji](
[Keyid] [uniqueidentifier] NOT NULL,
[CorporateClientsid] [uniqueidentifier] NOT NULL,
[ShejiTime] [datetime] NULL,
[YinjianName] [nvarchar](200) NULL,
[JiaogaoCount] [int] NULL,
[Remark] [nvarchar](2000) NULL,
[Creater] [uniqueidentifier] NULL,
[CreateTime] [datetime] NULL,
[Updater] [uniqueidentifier] NULL,
[LastUpdateTime] [datetime] NULL,
CONSTRAINT [PK_OA_CorporateClientsSheji] PRIMARY KEY CLUSTERED
(
[Keyid] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO

1、新增维护记录的时候增加上传图片功能 完成2、把客户资料详情的下面做成“印刷需求”、“维护记录”、“设计沟通”三个按钮,点按钮后显示现在的内容
要能在这里查看和新增“印刷需求”、“维护记录”、“设计沟通”内容
设计沟通:
14个文件已修改
7个文件已添加
1225 ■■■■■ 已修改文件
CY_ECommercePlatform/CY.BLL/OA/OA_CorporateClientsBLL.cs 42 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CY_ECommercePlatform/CY.IDAL/OA/IOA_CorporateClientsDAL.cs 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CY_ECommercePlatform/CY.Model/CY.Model.csproj 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CY_ECommercePlatform/CY.Model/OA/OA_CorporateClientsSheji.cs 228 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CY_ECommercePlatform/CY.SQLDAL/OA/OA_CorporateClientsDAL.cs 112 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CY_ECommercePlatform/CY.WebForm/CY.WebForm.csproj 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsDetail.aspx 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsDetail.aspx.cs 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsEdit.aspx 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsSheji.aspx 173 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsSheji.aspx.cs 195 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsSheji.aspx.designer.cs 125 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsVisit.aspx 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CY_ECommercePlatform/CY.WebForm/Pages/financial/OrderFinancial.aspx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CY_ECommercePlatform/CY.WebForm/Pages/work/MyShejiDetail.aspx 72 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CY_ECommercePlatform/CY.WebForm/Pages/work/MyShejiDetail.aspx.cs 68 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CY_ECommercePlatform/CY.WebForm/Pages/work/MyShejiDetail.aspx.designer.cs 89 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CY_ECommercePlatform/CY.WebForm/Pages/work/WorkPlanAdd.aspx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CY_ECommercePlatform/CY.WebForm/Pages/work/WorkPlanAdd.aspx.designer.cs 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CY_ECommercePlatform/CY.WebForm/Pages/work/WorkPlanDetail.aspx.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CY_ECommercePlatform/CY.WebForm/Pages/work/WorkScoreAdd.aspx.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CY_ECommercePlatform/CY.BLL/OA/OA_CorporateClientsBLL.cs
@@ -1063,6 +1063,37 @@
        /// <summary>
        /// 新增合作客户设计沟通
        /// </summary>
        /// <param name="trueModel"></param>
        /// <returns></returns>
        public bool InsertModelSheji(CY.Model.OA_CorporateClientsSheji trueModel)
        {
            try
            {
                return _IOA_CorporateClientsDal.InsertModelSheji(trueModel);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
        /// <summary>
        /// 根据客户id查询设计沟通
        /// </summary>
        /// <param name="CustomId">客户id</param>
        /// <returns></returns>
        public IEnumerable<OA_CorporateClientsSheji> SelectShejiListByCorId(Guid CustomId)
        {
            return _IOA_CorporateClientsDal.SelectShejiListByCorId(CustomId);
        }
        /// <summary>
        /// 新增合作客户订单需求
        /// </summary>
@@ -1244,5 +1275,16 @@
        {
            return _IOA_CorporateClientsDal.SelectVisitByKeyid(Keyid);
        }
        /// <summary>
        /// 单个查询设计沟通
        /// </summary>
        /// <param name="Keyid">编号</param>
        /// <returns></returns>
        public OA_CorporateClientsSheji SelectShejiByKeyid(Guid Keyid)
        {
            return _IOA_CorporateClientsDal.SelectShejiByKeyid(Keyid);
        }
    }
}
CY_ECommercePlatform/CY.IDAL/OA/IOA_CorporateClientsDAL.cs
@@ -287,6 +287,25 @@
        IEnumerable<OA_CorporateClientsVisit> SelectVisitListByCorId(Guid kehuId);
        /// <summary>
        /// 新增合作客户设计沟通
        /// </summary>
        /// <param name="rType"></param>
        /// <param name="m_OA_CustomerCommunications"></param>
        /// <param name="m_EC_AcceptWayByCustomers"></param>
        /// <returns></returns>
        bool InsertModelSheji(CY.Model.OA_CorporateClientsSheji rType);
        /// <summary>
        /// 根据客户id查询设计沟通
        /// </summary>
        /// <param name="MemberId">编号</param>
        /// <returns></returns>
        IEnumerable<OA_CorporateClientsSheji> SelectShejiListByCorId(Guid kehuId);
        /// <summary>
        /// 新增合作客户订单需求
        /// </summary>
@@ -390,6 +409,14 @@
        OA_CorporateClientsVisit SelectVisitByKeyid(Guid Keyid);
        /// <summary>
        /// 单个查询设计沟通
        /// </summary>
        /// <param name="Keyid">编号</param>
        /// <returns></returns>
        OA_CorporateClientsSheji SelectShejiByKeyid(Guid Keyid);
        /// <summary>
        /// 修改完结
CY_ECommercePlatform/CY.Model/CY.Model.csproj
@@ -216,6 +216,7 @@
    <Compile Include="OA\OA_CorporateClientsContract.cs" />
    <Compile Include="OA\OA_CorporateClientsParameter.cs" />
    <Compile Include="OA\OA_CorporateClientsPrint.cs" />
    <Compile Include="OA\OA_CorporateClientsSheji.cs" />
    <Compile Include="OA\OA_CorporateClientsVisit.cs" />
    <Compile Include="OA\OA_Cuikuanjilu.cs" />
    <Compile Include="OA\OA_CustomerApply.cs" />
CY_ECommercePlatform/CY.Model/OA/OA_CorporateClientsSheji.cs
New file
@@ -0,0 +1,228 @@
/**
* OA_CorporateClients.cs
*
* 功 能: N/A
* 类 名: OA_CorporateClients
*
* Ver    变更日期             负责人  变更内容
* ───────────────────────────────────
* V0.01  2013-4-2 14:27:43   N/A    初版
*
*
*
*
*
*
*/
using System;
using CY.Infrastructure.Domain;
using CY.Infrastructure.Common;
namespace CY.Model
{
    /// <summary>
    /// 办公系统合作客户设计沟通
    /// </summary>
    [Serializable]
    public partial class OA_CorporateClientsSheji : IAggregateRoot
    {
        public OA_CorporateClientsSheji()
        {
        }
        #region Model
        /// <summary>
        /// 维护id
        /// </summary>
        public Guid Keyid { get; set; }
        /// <summary>
        /// 客户id
        /// </summary>
        public Guid CorporateClientsid { get; set; }
        /// <summary>
        /// 客户id
        /// </summary>
        public string CorporateClientName { get; set; }
        /// <summary>
        /// 拜访时间
        /// </summary>
        public DateTime? ShejiTime
        {
            get;
            set;
        }
        /// <summary>
        /// 拜访时间
        /// </summary>
        public string ShejiTimeName
        {
            get;
            set;
        }
        /// <summary>
        /// 拜访内容
        /// </summary>
        public string Remark
        {
            get;
            set;
        }
        /// <summary>
        /// 印件名称
        /// </summary>
        public string YinjianName
        {
            get;
            set;
        }
        /// <summary>
        /// 校稿次数
        /// </summary>
        public int? JiaogaoCount
        {
            get;
            set;
        }
        /// <summary>
        /// 创建人
        /// </summary>
        public Guid? Creater
        {
            get;
            set;
        }
        public string CreaterName
        {
            get;
            set;
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime
        {
            get;
            set;
        }
        /// <summary>
        /// 修改人
        /// </summary>
        public Guid? Updater
        {
            get;
            set;
        }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? LastUpdateTime
        {
            get;
            set;
        }
        public System.Collections.Generic.List<OA_attachment> attachments
        {
            get;
            set;
        }
        #endregion Model
        #region Visiter
        /// <summary>
        /// 属性访问器
        /// </summary>
        /// <param name="name">属性名</param>
        /// <param name="index">索引</param>
        /// <param name="isChange">是否将指定属性设置为传入值</param>
        /// <param name="value">需要赋予的值</param>
        /// <returns>与名称对应的属性值</returns>
        public object Visiter(string name, int? index = -1, bool isChange = false, object value = null)
        {
            object theValue = null;
            if ("Keyid".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 1)
            {
                this.Keyid = isChange ? MyConvert.ConvertToGuid(value) : Keyid;
                theValue = this.Keyid;
            }
            else if ("CorporateClientsid".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 2)
            {
                this.CorporateClientsid = isChange ? MyConvert.ConvertToGuid(value) : CorporateClientsid;
                theValue = this.CorporateClientsid;
            }
            else if ("ShejiTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 3)
            {
                this.ShejiTime = isChange ? MyConvert.ConvertToDateTime(value) : ShejiTime;
                theValue = this.ShejiTime;
            }
            else if ("Remark".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 4)
            {
                this.Remark = isChange ? MyConvert.ConvertToString(value) : Remark;
                theValue = this.Remark;
            }
            else if ("Creater".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 5)
            {
                this.Creater = isChange ? MyConvert.ConvertToGuid(value) : Creater;
                theValue = this.Creater;
            }
            else if ("CreateTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 6)
            {
                this.CreateTime = isChange ? MyConvert.ConvertToDateTime(value) : CreateTime;
                theValue = this.CreateTime;
            }
            else if ("Updater".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 7)
            {
                this.Updater = isChange ? MyConvert.ConvertToGuid(value) : Updater;
                theValue = this.Updater;
            }
            else if ("LastUpdateTime".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 8)
            {
                this.LastUpdateTime = isChange ? MyConvert.ConvertToDateTime(value) : LastUpdateTime;
                theValue = this.LastUpdateTime;
            }
            else if ("ShejiTimeName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 9)
            {
                this.ShejiTimeName = isChange ? MyConvert.ConvertToString(value) : ShejiTimeName;
                theValue = this.ShejiTimeName;
            }
            else if ("CreaterName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 10)
            {
                this.CreaterName = isChange ? MyConvert.ConvertToString(value) : CreaterName;
                theValue = this.CreaterName;
            }
            else if ("CorporateClientName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 11)
            {
                this.CorporateClientName = isChange ? MyConvert.ConvertToString(value) : CorporateClientName;
                theValue = this.CorporateClientName;
            }
            else if ("YinjianName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 12)
            {
                this.YinjianName = isChange ? MyConvert.ConvertToString(value) : YinjianName;
                theValue = this.YinjianName;
            }
            else if ("JiaogaoCount".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 13)
            {
                this.JiaogaoCount = isChange ? MyConvert.ConvertToInt32(value) : JiaogaoCount;
                theValue = this.JiaogaoCount;
            }
            return theValue;
        }
        #endregion
    }
}
CY_ECommercePlatform/CY.SQLDAL/OA/OA_CorporateClientsDAL.cs
@@ -1264,7 +1264,100 @@
            try
            {
                IList<OA_CorporateClientsVisit> result = _dataBase.SelectModel<OA_CorporateClientsVisit>("  a.*,b.[Name] as CreaterName ", "OA_CorporateClientsVisit a left join EC_MemberBasic b on a.Creater = b.MemberId ", string.Format(" CorporateClientsid = '{0}'  order by a.[VisitTime] desc", CustomId)) as IList<OA_CorporateClientsVisit>;//执行查询
                IList<OA_CorporateClientsVisit> result = _dataBase.SelectModel<OA_CorporateClientsVisit>(" top 50  a.*,b.[Name] as CreaterName ", "OA_CorporateClientsVisit a left join EC_MemberBasic b on a.Creater = b.MemberId ", string.Format(" CorporateClientsid = '{0}'  order by a.[VisitTime] desc", CustomId)) as IList<OA_CorporateClientsVisit>;//执行查询
                return result;//返回结果
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
        /// <summary>
        /// 新增合作客户设计沟通
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public bool InsertModelSheji(CY.Model.OA_CorporateClientsSheji trueModel)
        {
            //Model.OA_CorporateClients trueModel = model as Model.OA_CorporateClientsVist;
            if (trueModel == null)
            {
                return false;
            }
            SqlParameter par = null;
            if (trueModel.ShejiTime.HasValue)
            {
                par = new SqlParameter("@ShejiTime", trueModel.ShejiTime.Value);
            }
            else
            {
                par = new SqlParameter("@ShejiTime", DBNull.Value);
            }
            SqlParameter par1 = null;
            if (trueModel.CreateTime.HasValue)
            {
                par1 = new SqlParameter("@CreateTime", trueModel.CreateTime.Value);
            }
            else
            {
                par1 = new SqlParameter("@CreateTime", DBNull.Value);
            }
            SqlParameter par2 = null;
            if (trueModel.LastUpdateTime.HasValue)
            {
                par2 = new SqlParameter("@LastUpdateTime", trueModel.LastUpdateTime.Value);
            }
            else
            {
                par2 = new SqlParameter("@LastUpdateTime", DBNull.Value);
            }
            IList<SqlParameter> sqlParms = new List<SqlParameter>()
            {
                       new SqlParameter("@Keyid",trueModel.Keyid),
                    new SqlParameter("@CorporateClientsid",trueModel.CorporateClientsid),
                    par,
                     new SqlParameter("@YinjianName",trueModel.YinjianName),
                      new SqlParameter("@JiaogaoCount",trueModel.JiaogaoCount.HasValue?trueModel.JiaogaoCount.Value:0),
                    new SqlParameter("@Remark",trueModel.Remark),
                    new SqlParameter("@Creater",trueModel.Creater),
                    par1,
                    new SqlParameter("@Updater",trueModel.Updater),
                    par2,
            };
            string sql = "Insert Into OA_CorporateClientsSheji ([Keyid],[CorporateClientsid],[ShejiTime],[YinjianName], [JiaogaoCount], [Remark],[Creater], [CreateTime],[Updater], [LastUpdateTime] )"
                                              + " Values (@Keyid,@CorporateClientsid,@ShejiTime, @YinjianName, @JiaogaoCount, @Remark, @Creater, @CreateTime, @Updater, @LastUpdateTime  )";
            try
            {
                _dataBase.ExecuteSql(sql, sqlParms.ToArray<SqlParameter>());
            }
            catch (Exception ex)
            {
                throw ex;
            }
            return true;
        }
        /// <summary>
        /// 根据客户id查询设计沟通
        /// </summary>
        /// <param name="CustomId">编号</param>
        /// <returns></returns>
        public IEnumerable<OA_CorporateClientsSheji> SelectShejiListByCorId(Guid CustomId)
        {
            if (CustomId == null)
                return null;//错误数据返会空
            try
            {
                IList<OA_CorporateClientsSheji> result = _dataBase.SelectModel<OA_CorporateClientsSheji>(" top 50  a.*,b.[Name] as CreaterName ", "OA_CorporateClientsSheji a left join EC_MemberBasic b on a.Creater = b.MemberId ", string.Format(" CorporateClientsid = '{0}'  order by a.[ShejiTime] desc", CustomId)) as IList<OA_CorporateClientsSheji>;//执行查询
                return result;//返回结果
            }
            catch (Exception ex)
@@ -1635,5 +1728,22 @@
            return (null == result || result.Count == 0) ? null : result[0];//返回结果
        }
        /// <summary>
        /// 单个查询设计沟通
        /// </summary>
        /// <param name="Keyid">编号</param>
        /// <returns></returns>
        public OA_CorporateClientsSheji SelectShejiByKeyid(Guid Keyid)
        {
            if (Keyid == null)
                return null;//错误数据返会空
            IList<OA_CorporateClientsSheji> result = _dataBase.SelectModel<OA_CorporateClientsSheji>(" a.* ", " OA_CorporateClientsSheji a ", string.Format(" a.Keyid='{0}'", Keyid)) as IList<OA_CorporateClientsSheji>;//执行查询
            return (null == result || result.Count == 0) ? null : result[0];//返回结果
        }
    }
}
CY_ECommercePlatform/CY.WebForm/CY.WebForm.csproj
@@ -1888,6 +1888,7 @@
    <Content Include="Pages\business\Caigoufukuanshenqing.aspx" />
    <Content Include="Pages\business\Baozhengjinfukuan.aspx" />
    <Content Include="Pages\business\BaozhengjinCuishou.aspx" />
    <Content Include="Pages\business\CorporateClientsSheji.aspx" />
    <Content Include="Pages\business\DeliverPlanDakaList.aspx" />
    <Content Include="Pages\business\DeliverWorkBookAnPaiDetailsongdao.aspx" />
    <Content Include="Pages\business\DeliverWorkBookAnPaiEdit.aspx" />
@@ -2829,6 +2830,7 @@
    <Content Include="Pages\work\Gongzuozuzhijiagou.aspx" />
    <Content Include="Pages\work\GongzuoneirongList.aspx" />
    <Content Include="Pages\work\GongzuoneirongEdit.aspx" />
    <Content Include="Pages\work\MyShejiDetail.aspx" />
    <Content Include="Pages\work\MyvisitDetail.aspx" />
    <Content Include="Pages\work\MyPlanAdd.aspx" />
    <Content Include="Pages\work\MyPlanList.aspx" />
@@ -3407,6 +3409,13 @@
    </Compile>
    <Compile Include="Pages\business\BaozhengjinCuishou.aspx.designer.cs">
      <DependentUpon>BaozhengjinCuishou.aspx</DependentUpon>
    </Compile>
    <Compile Include="Pages\business\CorporateClientsSheji.aspx.cs">
      <DependentUpon>CorporateClientsSheji.aspx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="Pages\business\CorporateClientsSheji.aspx.designer.cs">
      <DependentUpon>CorporateClientsSheji.aspx</DependentUpon>
    </Compile>
    <Compile Include="Pages\business\DeliverPlanDakaList.aspx.cs">
      <DependentUpon>DeliverPlanDakaList.aspx</DependentUpon>
@@ -9406,6 +9415,13 @@
    <Compile Include="Pages\work\GongzuoneirongEdit.aspx.designer.cs">
      <DependentUpon>GongzuoneirongEdit.aspx</DependentUpon>
    </Compile>
    <Compile Include="Pages\work\MyShejiDetail.aspx.cs">
      <DependentUpon>MyShejiDetail.aspx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="Pages\work\MyShejiDetail.aspx.designer.cs">
      <DependentUpon>MyShejiDetail.aspx</DependentUpon>
    </Compile>
    <Compile Include="Pages\work\MyvisitDetail.aspx.cs">
      <DependentUpon>MyvisitDetail.aspx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsDetail.aspx
@@ -37,6 +37,18 @@
}
    </style>
     <script type="text/javascript">
     //查看
         function onViewWeihu(keyid) {
             top.Dialog.open({ URL: "/Pages/business/CorporateClientsVisit.aspx?Keyid=" + keyid, Title: "查看客户维护记录", Width: 1200, Height: 900 });
         }
         //查看
         function onViewSheji(keyid) {
             top.Dialog.open({ URL: "/Pages/business/CorporateClientsSheji.aspx?Keyid=" + keyid, Title: "查看客户设计沟通", Width: 1200, Height: 900 });
         }
     </script>
</head>
<body>
    <form runat="server" id="form1" class="form">
@@ -150,7 +162,7 @@
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td rowspan="5" style="width:10px;">
                        <td rowspan="6" style="width:10px;">
                             <%# Container.ItemIndex + 1%>
                        </td>
                         <td>
@@ -239,6 +251,14 @@
            </asp:Repeater>
             
          </fieldset>
         <fieldset>
               <legend>维护记录</legend>
              <button id="Button4"   onclick="onViewWeihu('<%=CorporateClientsid%>')" >查看维护记录</button>
 </fieldset>
        <fieldset>
               <legend>设计沟通</legend>
              <button id="Button5"   onclick="onViewSheji('<%=CorporateClientsid%>')" >查看设计沟通</button>
 </fieldset>
         <%-- <fieldset>
                <legend>维护记录</legend>
            <asp:Repeater ID="RepClientList" runat="server">
CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsDetail.aspx.cs
@@ -20,7 +20,7 @@
        OA_CorporateClientsBLL bll_OA_CorporateClientsBLL = null;
        Sys_DictionaryBLL bll_Sys_DictionaryBLL = null;//字典业务逻辑操作类对象
        SysInquiry_PrintingTypeBLL bll_SysInquiry_PrintingTypeBLL = null;//印刷业务类型业务逻辑操作类对象
        public string CorporateClientsid = "";
        //初始化
        public CorporateClientsDetail()
        {
@@ -35,6 +35,7 @@
            if (Request["Keyid"] != null  || Request["MemberId"] != null)
            {
                CorporateClientsid = Request["Keyid"].ToString2();
                OA_CorporateClients m_OA_CorporateClients = bll_OA_CorporateClientsBLL.GetModelDetail(Request["Keyid"].ToGuid2());
                if (m_OA_CorporateClients == null)
                {
CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsEdit.aspx
@@ -48,6 +48,17 @@
             return false
         }
         //查看
         function onViewWeihu(keyid) {
             top.Dialog.open({ URL: "/Pages/business/CorporateClientsVisit.aspx?Keyid=" + keyid, Title: "查看客户维护记录", Width: 1200, Height: 900 });
         }
         //查看
         function onViewSheji(keyid) {
             top.Dialog.open({ URL: "/Pages/business/CorporateClientsSheji.aspx?Keyid=" + keyid, Title: "查看客户设计沟通", Width: 1200, Height: 900 });
         }
     </script>
</head>
<body>
@@ -271,8 +282,14 @@
            </asp:Repeater>
             
          </fieldset>
          <fieldset>
               <legend>维护记录</legend>
              <button id="Button4"   onclick="onViewWeihu('<%=CorporateClientsid%>')" >查看维护记录</button>
 </fieldset>
        <fieldset>
               <legend>设计沟通</legend>
              <button id="Button5"   onclick="onViewSheji('<%=CorporateClientsid%>')" >查看设计沟通</button>
 </fieldset>
         <%-- <fieldset  id="weihujilu">
               <legend>添加维护记录</legend>
                <table class="tableStyle" width="100%">
CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsSheji.aspx
New file
@@ -0,0 +1,173 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CorporateClientsSheji.aspx.cs" Inherits="CY.WebForm.Pages.business.CorporateClientsSheji" %>
<!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 id="Head1" runat="server">
    <title>查看合作客户资料</title>
    <uc:CMSHead ID="CMSHead1" runat="server" />
      <script type="text/javascript">
          function printview() {
              bdhtml = window.document.body.innerHTML;
              sprnstr = "<!--startprint-->"; //开始打印标识字符串有17个字符
              eprnstr = "<!--endprint-->"; //结束打印标识字符串
              prnhtml = bdhtml.substr(bdhtml.indexOf(sprnstr) + 17); //从开始打印标识之后的内容
              prnhtml = prnhtml.substring(0, prnhtml.indexOf(eprnstr)); //截取开始标识和结束标识之间的内容
              window.document.body.innerHTML = prnhtml; //把需要打印的指定内容赋给body.innerHTML
              window.print(); //调用浏览器的打印功能打印指定区域
              window.document.body.innerHTML = bdhtml;//重新给页面内容赋值;
          }
          //查看
          function checkSelFile() {
              //var oFile = document.getElementById('filesel');
              //if (oFile.value == "") {
              //    alertMsg('没有选择文件');
              //    return false;
              //}
              showLoadingIndicator();
              //debugger;
              //replaceParamVal("deleteKeyIds", "");
              return true;
          }
          function showLoadingIndicator() {
              document.getElementById('loading').style.display = 'block';
          }
          function hideLoadingIndicator() {
              document.getElementById('loading').style.display = 'none';
          }
          //查看
          function onViewSheji(keyid) {
              top.Dialog.open({ URL: "/Pages/work/MyShejiDetail.aspx?Keyid=" + keyid, Title: "查看设计沟通详情", Width: 1100, Height: 800 });
          }
      </script>
    <style>
  .table-wrap {
    width: 100%; /* 限制容器宽度 */
    word-break: break-all; /* 强制英文/数字换行 */
    /* 或使用 word-wrap: break-word; 只在单词内换行 */
  }
  .truncate {
    white-space: nowrap; /* 不换行 */
    overflow: hidden; /* 隐藏超出部分 */
    text-overflow: ellipsis; /* 显示省略号 */
    max-width: 150px; /* 限制单元格最大宽度 */
  }
</style>
</head>
<body>
    <form runat="server" id="form1" class="form">
            <table class="TableNewStyle" width="100%">
                <tr>
                <tr>
                    <td>
                         <input type="button" class="button" value="打印" onclick="printview();" />
                    </td>
                </tr>
            </table>
          <fieldset  id="weihujilu">
               <legend>添加设计沟通</legend>
                <table class="tableStyle" width="100%">
               <tr>                     <td class="ali01 " style="width:10%;">沟通日期:</td>                     <td  style="width:20%;" ><input id="txtShejiTime" type="text" runat="server"  maxlength="50" class="date w90px" datefmt="yyyy-MM-dd"  /></td>                      <td class="ali01 " style="width:10%;">印件名称:</td>                     <td  style="width:20%;" ><input id="txtYinjianName" type="text" runat="server"  maxlength="100" class="req"  /></td>                       <td class="ali01 " style="width:10%;">校稿次数:</td>                     <td  style="width:20%;" ><input id="txtJiaogaoCount" type="text" runat="server"  maxlength="100"   class="req int"  /></td>                       </tr>
                      <tr>
                           <td class="ali03 " style="width:10%;">沟通内容:</td>                     <td colspan="5" style="width:90%;" ><textarea runat="server" id="txtShejiRemark" style=" width:92%; height:30px;"  maxlength="2000"></textarea></td>
                           </tr>
                    <tr>                     <td  colspan="6"  ><asp:Button ID="Button1" Text="添加设计沟通"  runat="server" OnClick="btn_Submit_Sheji"  /></td>                    <div id="loading" class="toast-message" style="display: none;">保存中!</div>                 </tr>
               </table>
          </fieldset>
          <fieldset>
                <legend>设计沟通</legend>
              <!--startprint-->
               <table class="tableStyle" style="margin-bottom:10px;"  width="100%;">
                <tr>
                    <td class="ali03 " style="width:10%">客户单位:</td>
                    <td style="width:30%">
                    <span  id="spanCompanyName" runat="server" ></span>
                    </td>
                    <td class="ali03 " style="width:10%">业务经理:</td><td style="width:20%"><span  id="spanBusinessManagerId" runat="server" ></span></td>
                    <td class="ali03 " style="width:10%">打印日期:</td><td style="width:20%"><span  id="spanprintdate" runat="server" ></span></td>
                </tr>
            </table>
            <asp:Repeater ID="RepClientList" runat="server">
                <HeaderTemplate>
                    <table class="tableStyle"  border="1" cellspacing="0" cellpadding="0" style="text-align: center;"  width="100%;">
                        <tr>
                          <th style="text-align: center;width:10px;">
                                序号
                            </th>
                            <th style="text-align: center;width:10%;">
                                日期
                            </th>
                              <th style="text-align: center;width:10%;">
                                印件名称
                            </th>
                             <th style="text-align: center;width:10%;">
                                设计师
                            </th>
                              <th style="text-align: center;width:10%;">
                                校稿次数
                            </th>
                            <th style="text-align: center;width:40%;">
                                沟通内容
                            </th>
                            <th style="text-align: center;width:10%;">
                               详情
                            </th>
                        </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td>
                             <%# Container.ItemIndex + 1%>
                        </td>
                        <td>
                            <%#Eval("ShejiTime", "{0:yyyy-MM-dd}")%>
                        </td>
                         <td>
                            <%#Eval("YinjianName")%>
                        </td>
                         <td>
                            <%#Eval("CreaterName")%>
                        </td>
                         <td>
                            <%#Eval("JiaogaoCount")%>
                        </td>
                         <td class="truncate" title="<%#Eval("Remark")%>" >
                            <%#Eval("Remark")%>
                        </td>
                         <td>
                           <span onclick="onViewSheji('<%#Eval("Keyid")%>')">详情</span>
                        </td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
             <!--endprint-->
          </fieldset>
    </form>
</body>
</html>
CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsSheji.aspx.cs
New file
@@ -0,0 +1,195 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CY.BLL;
using CY.Model;
using CY.Infrastructure.Query;
using CY.Infrastructure.Common;
using CY.BLL.Sys;
using CY.Model.Inquiry;
using CY.SQLDAL;
using System.Data.SqlClient;
using CY.Infrastructure.Logging;
using CY.WebForm.Helper;
namespace CY.WebForm.Pages.business
{
    public partial class CorporateClientsSheji : BasePage
    {
        OA_CorporateClientsBLL bll_OA_CorporateClientsBLL = null;
        Sys_DictionaryBLL bll_Sys_DictionaryBLL = null;//字典业务逻辑操作类对象
        SysInquiry_PrintingTypeBLL bll_SysInquiry_PrintingTypeBLL = null;//印刷业务类型业务逻辑操作类对象
        /// <summary>
        /// 是否需要节假日维护
        /// </summary>
        public bool IsNeedJiejiaRi { get; set; }
        /// <summary>
        /// 是否需要维护
        /// </summary>
        public bool NeedWeihu { get; set; }
        /// <summary>
        /// 合作客户例子
        /// </summary>
        public OA_CorporateClients client { get; set; }
        //初始化
        public CorporateClientsSheji()
        {
            bll_OA_CorporateClientsBLL = new OA_CorporateClientsBLL();
            bll_Sys_DictionaryBLL = new Sys_DictionaryBLL();
            bll_SysInquiry_PrintingTypeBLL = new SysInquiry_PrintingTypeBLL();
        }
        /// <summary>
        /// 是否时维护提醒传过来的
        /// </summary>
        public bool IsWeihuTixingUrl { get; set; } = false;
        //页面加载
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (Request["Keyid"] != null || Request["MemberId"] != null)
                {
                    OA_CorporateClients m_OA_CorporateClients = bll_OA_CorporateClientsBLL.GetModelDetail(Request["Keyid"].ToGuid2());
                    this.spanCompanyName.InnerText = m_OA_CorporateClients.CompanyName;
                    this.spanBusinessManagerId.InnerText = m_OA_CorporateClients.BusinessmanagerName;
                    this.spanprintdate.InnerText = DateTime.Now.ToString("yyyy-MM-dd");
                    client = bll_OA_CorporateClientsBLL.GetModel(Request["Keyid"].ToGuid2());
                    this.txtShejiTime.Value = DateTime.Now.ToString("yyyy-MM-dd");
                    this.RepClientList.DataSource = bll_OA_CorporateClientsBLL.SelectShejiListByCorId(Request["Keyid"].ToGuid2());
                    this.RepClientList.DataBind();
                }
            }
        }
        //完结事件
        protected void btn_Submit_Sheji(object sender, EventArgs e)
        {
            OA_CorporateClientsSheji m_OA_CorporateClientsSheji = new OA_CorporateClientsSheji();
            try
            {
                Guid Keyid = Request["Keyid"].ToGuid2();
                if (Request["Keyid"] != null)
                {
                }
                else
                {
                    JavaScript.MessageBox("请先保存客户", this);
                    return;
                }
                if (this.txtShejiTime.Value == "")
                {
                    JavaScript.MessageBox("请选择日期", this);
                    return;
                }
                if (this.txtYinjianName.Value.Trim() == "")
                {
                    JavaScript.MessageBox("请填写印件名称", this);
                    return;
                }
                if (this.txtJiaogaoCount.Value.Trim() == "")
                {
                    JavaScript.MessageBox("请填写校稿次数", this);
                    return;
                }
                if (this.txtShejiRemark.Value.Trim() == "")
                {
                    JavaScript.MessageBox("请填写维护记录", this);
                    return;
                }
                m_OA_CorporateClientsSheji.Keyid = Guid.NewGuid();
                m_OA_CorporateClientsSheji.CorporateClientsid = Keyid;
                m_OA_CorporateClientsSheji.ShejiTime = this.txtShejiTime.Value.ToDateTime2();
                m_OA_CorporateClientsSheji.YinjianName = this.txtYinjianName.Value.Trim();
                m_OA_CorporateClientsSheji.JiaogaoCount = this.txtJiaogaoCount.Value.Trim().ToInt32();
                m_OA_CorporateClientsSheji.Remark = this.txtShejiRemark.Value.Trim();
                m_OA_CorporateClientsSheji.Creater = CurrentUser.TrueMemberId;
                m_OA_CorporateClientsSheji.CreateTime = DateTime.Now;
                m_OA_CorporateClientsSheji.Updater = CurrentUser.TrueMemberId;
                m_OA_CorporateClientsSheji.LastUpdateTime = DateTime.Now;
                #region 添加或编辑
                bool result = bll_OA_CorporateClientsBLL.InsertModelSheji(m_OA_CorporateClientsSheji);//更新信息
                if (result)
                {
                    this.txtShejiTime.Value = "";
                    this.txtShejiRemark.Value = "";
                    this.txtYinjianName.Value = "";
                    this.txtJiaogaoCount.Value = "";
                    //JavaScript.MessageBox("维护保存成功", this, false, false);
                    JavaScript.MessageBoxandhideLoadingIndicator("保存成功", this);
                }
                else
                    JavaScript.MessageBox("维护保存失败", this);
                this.RepClientList.DataSource = bll_OA_CorporateClientsBLL.SelectShejiListByCorId(Request["Keyid"].ToGuid2());
                this.RepClientList.DataBind();
                #endregion
            }
            catch (Exception ex)
            {
                PAGEHandleException(ex);
                JavaScript.MessageBox("操作失败", this);
            }
        }
    }
}
CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsSheji.aspx.designer.cs
New file
@@ -0,0 +1,125 @@
//------------------------------------------------------------------------------
// <自动生成>
//     此代码由工具生成。
//
//     对此文件的更改可能导致不正确的行为,如果
//     重新生成代码,则所做更改将丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace CY.WebForm.Pages.business
{
    public partial class CorporateClientsSheji
    {
        /// <summary>
        /// Head1 控件。
        /// </summary>
        /// <remarks>
        /// 自动生成的字段。
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
        /// </remarks>
        protected global::System.Web.UI.HtmlControls.HtmlHead Head1;
        /// <summary>
        /// CMSHead1 控件。
        /// </summary>
        /// <remarks>
        /// 自动生成的字段。
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
        /// </remarks>
        protected global::CY.WebForm.Pages.common.CMSHead CMSHead1;
        /// <summary>
        /// form1 控件。
        /// </summary>
        /// <remarks>
        /// 自动生成的字段。
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
        /// </remarks>
        protected global::System.Web.UI.HtmlControls.HtmlForm form1;
        /// <summary>
        /// txtShejiTime 控件。
        /// </summary>
        /// <remarks>
        /// 自动生成的字段。
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
        /// </remarks>
        protected global::System.Web.UI.HtmlControls.HtmlInputText txtShejiTime;
        /// <summary>
        /// txtYinjianName 控件。
        /// </summary>
        /// <remarks>
        /// 自动生成的字段。
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
        /// </remarks>
        protected global::System.Web.UI.HtmlControls.HtmlInputText txtYinjianName;
        /// <summary>
        /// txtJiaogaoCount 控件。
        /// </summary>
        /// <remarks>
        /// 自动生成的字段。
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
        /// </remarks>
        protected global::System.Web.UI.HtmlControls.HtmlInputText txtJiaogaoCount;
        /// <summary>
        /// txtShejiRemark 控件。
        /// </summary>
        /// <remarks>
        /// 自动生成的字段。
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
        /// </remarks>
        protected global::System.Web.UI.HtmlControls.HtmlTextArea txtShejiRemark;
        /// <summary>
        /// Button1 控件。
        /// </summary>
        /// <remarks>
        /// 自动生成的字段。
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
        /// </remarks>
        protected global::System.Web.UI.WebControls.Button Button1;
        /// <summary>
        /// spanCompanyName 控件。
        /// </summary>
        /// <remarks>
        /// 自动生成的字段。
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
        /// </remarks>
        protected global::System.Web.UI.HtmlControls.HtmlGenericControl spanCompanyName;
        /// <summary>
        /// spanBusinessManagerId 控件。
        /// </summary>
        /// <remarks>
        /// 自动生成的字段。
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
        /// </remarks>
        protected global::System.Web.UI.HtmlControls.HtmlGenericControl spanBusinessManagerId;
        /// <summary>
        /// spanprintdate 控件。
        /// </summary>
        /// <remarks>
        /// 自动生成的字段。
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
        /// </remarks>
        protected global::System.Web.UI.HtmlControls.HtmlGenericControl spanprintdate;
        /// <summary>
        /// RepClientList 控件。
        /// </summary>
        /// <remarks>
        /// 自动生成的字段。
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
        /// </remarks>
        protected global::System.Web.UI.WebControls.Repeater RepClientList;
    }
}
CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsVisit.aspx
@@ -81,9 +81,10 @@
                <table class="tableStyle" width="100%">
               <tr>                     <td class="ali01 " style="width:10%;">维护日期:</td>                     <td  style="width:20%;" ><input id="txtVisitTime" type="text" runat="server"  maxlength="50" class="date w90px" datefmt="yyyy-MM-dd"  /></td>                      <td class="ali03 " style="width:10%;">维护记录:</td>                     <td colspan="2" style="width:60%;" ><textarea runat="server" id="txtvisitRemark" style=" width:92%; height:30px;"  maxlength="2000"></textarea></td>                       </tr> 
                     <tr>
                   <td class="ali03" colspan="2">
                           <td class="ali01 " style="width:10%;">上传附件:</td>
                   <td  style="width:20%;"  >
                        <input type="file" id="filesel" name="__hetongFile" keepdefaultstyle="true"  multiple="multiple" runat="server" text="请选择文件" /></td>
                    <td>                     <td   ><asp:Button ID="Button1" Text="添加维护记录" OnClientClick="return checkSelFile()" runat="server" OnClick="btn_Submit_Visit"  ToolTip="该记录会清除该客户的例行维护提醒"/><asp:Button ID="btn_Submit" Text="添加假日维护记录" runat="server"  ToolTip="该记录会清除该客户的假日维护提醒" OnClick="btn_Submit_Visit_jiari"/></td>                    <div id="loading" class="toast-message" style="display: none;">保存中!</div>                 </tr>
                                         <td  colspan="2"  ><asp:Button ID="Button1" Text="添加维护记录" OnClientClick="return checkSelFile()" runat="server" OnClick="btn_Submit_Visit"  ToolTip="该记录会清除该客户的例行维护提醒"/><asp:Button ID="btn_Submit" Text="添加假日维护记录" runat="server"  ToolTip="该记录会清除该客户的假日维护提醒" OnClick="btn_Submit_Visit_jiari"/></td>                    <div id="loading" class="toast-message" style="display: none;">保存中!</div>                 </tr>
               </table>
          <%--  <asp:Repeater ID="RepClientList" runat="server">
                <HeaderTemplate>
CY_ECommercePlatform/CY.WebForm/Pages/financial/OrderFinancial.aspx
@@ -276,7 +276,7 @@
                    </asp:Repeater>
                </tbody>
                <tr class="StatisticsMoney">
                    <td colspan="9" class="ali03">
                    <td colspan="8" class="ali03">
                        当前页统计:
                    </td>
                    <td>
@@ -292,7 +292,7 @@
                    </td>
                </tr>
                <tr class="StatisticsMoney">
                    <td colspan="9" class="ali03">
                    <td colspan="8" class="ali03">
                        查询项统计:
                    </td>
                    <td>
CY_ECommercePlatform/CY.WebForm/Pages/work/MyShejiDetail.aspx
New file
@@ -0,0 +1,72 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MyShejiDetail.aspx.cs" Inherits="CY.WebForm.Pages.work.MyShejiDetail" %>
<!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 id="Head1" runat="server">
    <title>报销明细</title>
    <uc:CMSHead ID="CMSHead1" runat="server" />
    <style type="text/css">
        .w70px { width: 70px; }
        fieldset { padding: 3px; margin: 5px auto; }
    </style>
</head>
<body>
    <form id="form1" class="form2" runat="server">
    <div>
        <fieldset>
            <legend>设计沟通信息</legend>
            <table  style="margin: 0px auto;" border="1" cellpadding="0" cellspacing="0" width="99%">
                <tr>
                     <td class="ali03" colspan="3" style="width:10%; ">
                        日期:
                    </td>
                    <td style="width:90%; ">
                        <span id="spanDepart" runat="server"></span>
                    </td>
                </tr>
                  <tr>
                     <td class="ali03" colspan="3">
                        印件名称:
                    </td>
                    <td>
                        <span id="spanYinjianName" runat="server"></span>
                    </td>
                </tr>
                <tr>
                     <td class="ali03" colspan="3">
                        设计师:
                    </td>
                    <td>
                        <span id="spanPlanPeople" runat="server"></span>
                    </td>
                </tr>
                 <tr>
                     <td class="ali03" colspan="3">
                        校稿次数:
                    </td>
                    <td>
                        <span id="spanJiaogaoCount" runat="server"></span>
                    </td>
                </tr>
                <tr>
                    <td class="ali03 " colspan="3">
                       沟通内容:
                    </td>
                    <td>
                        <span id="spanPlanContent" runat="server"></span>
                    </td>
                </tr>
            </table>
        </fieldset>
    </div>
    </form>
</body>
</html>
CY_ECommercePlatform/CY.WebForm/Pages/work/MyShejiDetail.aspx.cs
New file
@@ -0,0 +1,68 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using CY.Model;
using CY.BLL;
using CY.Infrastructure.Common;
using CY.BLL.Sys;
using CY.BLL.EC;
using CY.Infrastructure.DESEncrypt;
using CY.Infrastructure.Query;
namespace CY.WebForm.Pages.work
{
    //吴辉
    //请示明细
    public partial class MyShejiDetail : BasePage
    {
        OA_CorporateClientsBLL bll_OA_CorporateClientsBLL = null;
        OA_StaffBLL staffBLL = null;
        public MyShejiDetail()
        {
            bll_OA_CorporateClientsBLL = new OA_CorporateClientsBLL();
            staffBLL = new OA_StaffBLL();
        }
        //页面加载
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                InitData();
            }
        }
        //数据加载
        public void InitData()
        {
            var keyid = Request["keyid"].ToGuid2() ;
            var oA_CorporateClientsSheji  = bll_OA_CorporateClientsBLL.SelectShejiByKeyid(keyid);
            if (oA_CorporateClientsSheji != null)
            {
                var oA_Staff = staffBLL.GetModelByMemberId(oA_CorporateClientsSheji.Creater.Value);
                if (oA_Staff != null)
                {
                    spanPlanPeople.InnerText = oA_Staff.Name;
                }
                spanYinjianName.InnerHtml = oA_CorporateClientsSheji.YinjianName;
                spanJiaogaoCount.InnerHtml = oA_CorporateClientsSheji.JiaogaoCount.HasValue? oA_CorporateClientsSheji.JiaogaoCount.Value.ToString():"";
                spanPlanContent.InnerHtml = oA_CorporateClientsSheji.Remark;
                spanDepart.InnerText = oA_CorporateClientsSheji.ShejiTime.Value.ToString("yyyy-MM-dd");
            }
        }
    }
}
CY_ECommercePlatform/CY.WebForm/Pages/work/MyShejiDetail.aspx.designer.cs
New file
@@ -0,0 +1,89 @@
//------------------------------------------------------------------------------
// <自动生成>
//     此代码由工具生成。
//
//     对此文件的更改可能导致不正确的行为,如果
//     重新生成代码,则所做更改将丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace CY.WebForm.Pages.work
{
    public partial class MyShejiDetail
    {
        /// <summary>
        /// Head1 控件。
        /// </summary>
        /// <remarks>
        /// 自动生成的字段。
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
        /// </remarks>
        protected global::System.Web.UI.HtmlControls.HtmlHead Head1;
        /// <summary>
        /// CMSHead1 控件。
        /// </summary>
        /// <remarks>
        /// 自动生成的字段。
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
        /// </remarks>
        protected global::CY.WebForm.Pages.common.CMSHead CMSHead1;
        /// <summary>
        /// form1 控件。
        /// </summary>
        /// <remarks>
        /// 自动生成的字段。
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
        /// </remarks>
        protected global::System.Web.UI.HtmlControls.HtmlForm form1;
        /// <summary>
        /// spanDepart 控件。
        /// </summary>
        /// <remarks>
        /// 自动生成的字段。
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
        /// </remarks>
        protected global::System.Web.UI.HtmlControls.HtmlGenericControl spanDepart;
        /// <summary>
        /// spanYinjianName 控件。
        /// </summary>
        /// <remarks>
        /// 自动生成的字段。
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
        /// </remarks>
        protected global::System.Web.UI.HtmlControls.HtmlGenericControl spanYinjianName;
        /// <summary>
        /// spanPlanPeople 控件。
        /// </summary>
        /// <remarks>
        /// 自动生成的字段。
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
        /// </remarks>
        protected global::System.Web.UI.HtmlControls.HtmlGenericControl spanPlanPeople;
        /// <summary>
        /// spanJiaogaoCount 控件。
        /// </summary>
        /// <remarks>
        /// 自动生成的字段。
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
        /// </remarks>
        protected global::System.Web.UI.HtmlControls.HtmlGenericControl spanJiaogaoCount;
        /// <summary>
        /// spanPlanContent 控件。
        /// </summary>
        /// <remarks>
        /// 自动生成的字段。
        /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
        /// </remarks>
        protected global::System.Web.UI.HtmlControls.HtmlGenericControl spanPlanContent;
    }
}
CY_ECommercePlatform/CY.WebForm/Pages/work/WorkPlanAdd.aspx
@@ -26,7 +26,7 @@
                    执行时间:
                </td>
                <td>
                    <input id="txtPlanRunTime" type="text" class="date" datefmt="yyyy-MM-dd HH:mm:00" runat="server" style=" width:180px;"/>
                    <input id="txtPlanRunTime" type="text" class="date" datefmt="yyyy-MM-dd HH:mm" runat="server" style=" width:180px;"/>
                </td>
            </tr>
            <tr>
@@ -51,7 +51,7 @@
                    对口单位:
                </td>
                <td colspan="3">
                    <input id="txtPlanComplany" style=" width:400px;" type="text" class="req" runat="server"  msg="请输入对口单位"/>
                    <input id="txtPlanComplany" style=" width:400px;" type="text"   runat="server"  msg="请输入对口单位"/>
                </td>
            </tr>
            <tr>
CY_ECommercePlatform/CY.WebForm/Pages/work/WorkPlanAdd.aspx.designer.cs
@@ -2,15 +2,17 @@
// <自动生成>
//     此代码由工具生成。
//
//     对此文件的更改可能会导致不正确的行为,并且如果
//     重新生成代码,这些更改将会丢失。
//     对此文件的更改可能导致不正确的行为,如果
//     重新生成代码,则所做更改将丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace CY.WebForm.Pages.work {
namespace CY.WebForm.Pages.work
{
    
    
    public partial class WorkPlanAdd {
    public partial class WorkPlanAdd
    {
        
        /// <summary>
        /// CMSHead1 控件。
CY_ECommercePlatform/CY.WebForm/Pages/work/WorkPlanDetail.aspx.cs
@@ -43,11 +43,11 @@
            if (m_OA_WorkPlan != null)
            {
                this.spanPlanDataType.InnerText = m_OA_WorkPlan.PlanDataTypeName.ToString();
                this.spanPlanRunTime.InnerText = m_OA_WorkPlan.PlanRunTime.ToString();
                this.spanPlanRunTime.InnerText = m_OA_WorkPlan.PlanRunTime.HasValue ? m_OA_WorkPlan.PlanRunTime.Value.ToString("yyyy-MM-dd HH:mm") : "";
                this.spanDepartName.InnerText = m_OA_WorkPlan.DepartName.ToString();
                this.spanPlanPeople.InnerText = m_OA_WorkPlan.PlanPeople.ToString();
                this.spanSentStaffName.InnerText = m_OA_WorkPlan.SentStaffName.ToString();
                this.spanPlanStartTime.InnerText = m_OA_WorkPlan.PlanStartTime.ToString();
                this.spanPlanStartTime.InnerText = m_OA_WorkPlan.PlanStartTime.HasValue ? m_OA_WorkPlan.PlanStartTime.Value.ToString("yyyy-MM-dd HH:mm") : "";
                this.spanPlanComplany.InnerText = m_OA_WorkPlan.PlanComplany.ToString();
                this.spanPlanTitle.InnerText = m_OA_WorkPlan.PlanTitle.ToString();
                this.spanPlanContent.InnerText = m_OA_WorkPlan.PlanContent.ToString();
CY_ECommercePlatform/CY.WebForm/Pages/work/WorkScoreAdd.aspx.cs
@@ -50,11 +50,11 @@
            if (m_OA_WorkPlan != null)
            {
                this.spanPlanDataType.InnerText = m_OA_WorkPlan.PlanDataTypeName.ToString();
                this.spanPlanRunTime.InnerText = m_OA_WorkPlan.PlanRunTime.ToString();
                this.spanPlanRunTime.InnerText = m_OA_WorkPlan.PlanRunTime.HasValue? m_OA_WorkPlan.PlanRunTime.Value.ToString("yyyy-MM-dd HH:mm"):"";
                this.spanDepartName.InnerText = m_OA_WorkPlan.DepartName.ToString();
                this.spanPlanPeople.InnerText = m_OA_WorkPlan.PlanPeople.ToString();
                this.spanSentStaffName.InnerText = m_OA_WorkPlan.SentStaffName.ToString();
                this.spanPlanStartTime.InnerText = m_OA_WorkPlan.PlanStartTime.ToString();
                this.spanPlanStartTime.InnerText = m_OA_WorkPlan.PlanStartTime.HasValue ? m_OA_WorkPlan.PlanStartTime.Value.ToString("yyyy-MM-dd HH:mm") : "";
                this.spanPlanComplany.InnerText = m_OA_WorkPlan.PlanComplany.ToString();
                this.spanPlanTitle.InnerText = m_OA_WorkPlan.PlanTitle.ToString();
                this.spanPlanContent.InnerText = m_OA_WorkPlan.PlanContent.ToString();