username@email.com
23 小时以前 be3b255bbe328d793ff20011683dca5aee1668a1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
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 MyvisitDetail : BasePage
    {
 
        OA_CorporateClientsBLL bll_OA_CorporateClientsBLL = null;
        OA_StaffBLL staffBLL = null;
        public MyvisitDetail()
        {
            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_CorporateClientsVisit  = bll_OA_CorporateClientsBLL.SelectVisitByKeyid(keyid);
            if (oA_CorporateClientsVisit != null)
            {
                var oA_Staff = staffBLL.GetModelByMemberId(oA_CorporateClientsVisit.Creater.Value);
                if (oA_Staff != null)
                {
                    spanPlanPeople.InnerText = oA_Staff.Name;
                }
               
                spanPlanContent.InnerHtml = oA_CorporateClientsVisit.Remark;
                spanDepart.InnerText = oA_CorporateClientsVisit.VisitTime.Value.ToString("yyyy-MM-dd");
                this.Repeater1.DataSource = bll_OA_CorporateClientsBLL.GetattachmentlList(Request["keyid"]);
                this.Repeater1.DataBind();
            }
           
 
 
 
 
 
 
        }
    }
}