<%@ Page Language="C#" %>
<%@ Register TagPrefix="aspxform" Namespace="XFormDesigner.Framework.Web.UI" Assembly="XFormDesigner.Framework" %>
<script runat="server">

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        { //首次加载
    
            string gj = Request.QueryString["gj"];
             string TaskID = Request.QueryString["TaskID"];
             this.taskid.Text = TaskID;
            this.gjFlag.Text = gj;
    
        }
    }

</script>
<html xmlns:XForm="xmlns:xform">
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <title>BPM Form</title>
    <link href="/Oimec/Styles/css/StyleSheet.css" rel="stylesheet" type="text/css" />
    <style>
    BODY {FONT-SIZE: 12px; FONT-FAMILY: verdana}
    TABLE {border-collapse: collapse; FONT-SIZE: 12px; FONT-FAMILY: verdana}
    P {PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; FONT-SIZE: 12px; FONT-FAMILY: verdana}
    TD {padding:1px}
    TD.NoPadding {PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px}
    /*INPUT {height: 15px}*/
    INPUT.UL {BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: #33ff33 1px solid}
    TEXTAREA {FONT-SIZE:12px}
    input {vertical-align:middle;/*margin-right:-3px*/}
    </style>
    <script>
        Ext.onReady(function () {

            var stepName = agent.Eles[document.getElementById("stepName").getAttribute("xform_xele_index")].getValue();
            var NodeName = agent.Eles[document.getElementById("NodeName").getAttribute("xform_xele_index")].getValue();
            if (stepName == "会议记录人记录会议纪要及后续工作部署") {
               // document.getElementById("tablecontent").setAttribute("emptygrid", "AutoAppendOneBlock");
              //  document.getElementById("tablecontent").removeAttribute("emptygrid")

                //会议内容
                var table = agent.findGridFromTableName(null, 'DF_OA_StandardMeetingMainContent'); //获取table对象
                table.deleteBlocks(0, 0);
                table.appendBlock(1);//emptygrid="KeepEmpty"

                //本次重点工作内容
                var aDivTimeKeyWorkContents = document.getElementsByName("TimeKeyWorkContents");
                var len = aDivTimeKeyWorkContents.length;
                if (len > 0) {

                } else {
                    //本次会议重点工作
                    var table = agent.findGridFromTableName(null, 'DF_OA_StandardMeetingTimeKeyWork'); //获取table对象
                    table.deleteBlocks(0, 0);
                    table.appendBlock(1);//emptygrid="KeepEmpty"
                }
              
            }
            if (stepName == "会议主持人验收任务" || stepName == "任务负责人确认执行状态") {
                var aa = document.getElementsByTagName("a");

                for (var i = 0; i < aa.length; i++) {
                    // aa[i].setAttribute("href", "JavaScript:;");
                    var backgroundImage = aa[i].style.backgroundImage;
                    if (backgroundImage == 'url("../../../../YZSoft/Forms/Images/hoverbtn_gridr.gif")') {
                        aa[i].style.display = "none";
                    }

                }
            }
            
            if (stepName == "申请人发起会议申请") {
                var formno = agent.Eles[document.getElementById("XLabel3").getAttribute("xform_xele_index")].getValue();
                
                if (formno == "" || formno == "--系统自动生成--") {
                  document.getElementById("brtablecontent").style.display = "none";
                  document.getElementById("brtableMeetingTimeKeyKork").style.display = "none";
                  document.getElementById("brtableMeetingContent").style.display = "none";
                  
              }
                
                
            }
            if (NodeName == "申请人确认会议内容") {
                document.getElementById("brtablecontent").style.display = "none";
                document.getElementById("brtableMeetingTimeKeyKork").style.display = "none";
                document.getElementById("brtableMeetingContent").style.display = "none";
            }

           
            
          
        });

        agent.on('beforeSubmit', function (actname1, actname) {
            if (actname=="更改") {
                
                agent.Eles[document.getElementById("ConferenceLogo").getAttribute("xform_xele_index")].setValue("更改");
            }
            if (actname == "正常召开") {
                agent.Eles[document.getElementById("ConferenceLogo").getAttribute("xform_xele_index")].setValue("正常召开");
            }
            if (actname == "取消会议") {
                agent.Eles[document.getElementById("ConferenceLogo").getAttribute("xform_xele_index")].setValue("取消会议");
            }

            var gj = agent.Eles[document.getElementById("gjFlag").getAttribute("xform_xele_index")].getValue();
            if (gj == "gj") {


                if (actname == "提交") {

                    var aDivKeyWorkContents = document.getElementsByName("KeyWorkContents");
                    var KeyWorkCompletionStatus = document.getElementsByName("KeyWorkCompletionStatus");

                    var aDivKeyWorkPersonName = document.getElementsByName("KeyWorkPersonName");
                    var aDivKeyWorkPerson = document.getElementsByName("KeyWorkPerson");
                    var aDivKeyWorkRescheduleCompletionTime = document.getElementsByName("KeyWorkRescheduleCompletionTime");
                    var count = 0;
                   
                    for (var i = 0; i < aDivKeyWorkContents.length; i++) {
                       
                      
                        //会议内容
                        var divKeyWorkCompletionStatus = KeyWorkCompletionStatus[i];
                        var idKeyWorkCompletionStatus = divKeyWorkCompletionStatus.getElementsByTagName('select')[0].id;
                        var vKeyWorkCompletionStatus = document.getElementById(idKeyWorkCompletionStatus).value;
                        if (vKeyWorkCompletionStatus=="进行中") {
                            count++;
                        }
                    }
                     
                    var table = agent.findGridFromTableName(null, 'DF_OA_StandardMeetingTimeKeyWork'); //获取table对象
                    var c = table.Blocks.length;
                  
                    for (var i = 0; i < c; i++) {
                   
                      table.deleteBlocks(i, 1);
                    }
                    
                    if (count > 0) {
                        
                        table.appendBlock(count);// 
                    }  
                    
                    
                    //本次重点工作内容
                    var aDivTimeKeyWorkContents = document.getElementsByName("TimeKeyWorkContents");
                    //本次重点负责人名称
                    var aDivTimeKeyWorkPersonName = document.getElementsByName("TimeKeyWorkPersonName");
                    //本次重点负责人
                    var aDivTimeKeyWorkPerson = document.getElementsByName("TimeKeyWorkPerson");

                    //本次重点计划时间
                    var aDivTimeKeyWorkPlannedCompletionTime = document.getElementsByName("TimeKeyWorkPlannedCompletionTime");

                    //本次重点状态
                    var aDivTimeKeyWorkState = document.getElementsByName("TimeKeyWorkState");
                    for (var i = 0; i < aDivKeyWorkContents.length; i++) {

                       
                        //重点回顾工作内容
                        var div = aDivKeyWorkContents[i];
                        var id = div.getElementsByTagName('textarea')[0].id;
                        var v = document.getElementById(id).value;
                     
                        //重点回顾 负责人名称
                        var divKeyWorkPersonName = aDivKeyWorkPersonName[i];
                        var idKeyWorkPersonName = divKeyWorkPersonName.getElementsByTagName('input')[0].id;
                        var vKeyWorkPersonName = document.getElementById(idKeyWorkPersonName).value;
                     
                        //重点回顾 负责人
                        var divKeyWorkPerson = aDivKeyWorkPerson[i];
                        var idKeyWorkPerson = divKeyWorkPerson.getElementsByTagName('input')[0].id;
                        var vKeyWorkPerson = document.getElementById(idKeyWorkPerson).value;


                   
                        //重点回顾在计划完成时间
                        var divKeyWorkRescheduleCompletionTime = aDivKeyWorkRescheduleCompletionTime[i];
                         
                        //var idKeyWorkRescheduleCompletionTime = divKeyWorkRescheduleCompletionTime.getElementsByTagName('input')[0].id;
                       // var vKeyWorkRescheduleCompletionTime = document.getElementById(idKeyWorkRescheduleCompletionTime).value;
                        var vKeyWorkRescheduleCompletionTime = divKeyWorkRescheduleCompletionTime.getElementsByTagName('input')[0].value;
                        
                        //重点回顾完成状态
                        var divKeyWorkCompletionStatus = KeyWorkCompletionStatus[i];
                        var idKeyWorkCompletionStatus = divKeyWorkCompletionStatus.getElementsByTagName('select')[0].id;
                        var vKeyWorkCompletionStatus = document.getElementById(idKeyWorkCompletionStatus).value;

                        if (vKeyWorkCompletionStatus=="未开始") {
                            vKeyWorkCompletionStatus = "进行中";
                        }

                        if (vKeyWorkCompletionStatus == "进行中") {

                            //本次重点工作内容
                            var divTimeKeyWorkContents = aDivTimeKeyWorkContents[i];
                            var idTimeKeyWorkContents = divTimeKeyWorkContents.getElementsByTagName('textarea')[0].id;
                            var vTimeKeyWorkContents = document.getElementById(idTimeKeyWorkContents).value = v;

                            //本次重点负责人名称
                            var divTimeKeyWorkPersonName = aDivTimeKeyWorkPersonName[i];
                            var idTimeKeyWorkPersonName = divTimeKeyWorkPersonName.getElementsByTagName('input')[0].id;
                            var vTimeKeyWorkPersonName = document.getElementById(idTimeKeyWorkPersonName).value = vKeyWorkPersonName;

                            //本次重点负责人
                            var divTimeKeyWorkPerson = aDivTimeKeyWorkPerson[i];
                            var idTimeKeyWorkPerson = divTimeKeyWorkPerson.getElementsByTagName('input')[0].id;
                            var vTimeKeyWorkPerson = document.getElementById(idTimeKeyWorkPerson).value = vKeyWorkPerson;

                            //本次重点计划完成时间
                            var divTimeKeyWorkPlannedCompletionTime = aDivTimeKeyWorkPlannedCompletionTime[i];
                            //  var idTimeKeyWorkPlannedCompletionTime = divTimeKeyWorkPlannedCompletionTime.getElementsByTagName('input')[0].id;
                            //  var vTimeKeyWorkPlannedCompletionTime = document.getElementById(idTimeKeyWorkPlannedCompletionTime).value = vKeyWorkRescheduleCompletionTime;
                            divTimeKeyWorkPlannedCompletionTime.getElementsByTagName('input')[0].value = vKeyWorkRescheduleCompletionTime;

                            //本次重点完成状态
                            var divTimeKeyWorkState = aDivTimeKeyWorkState[i];
                            var idTimeKeyWorkState = divTimeKeyWorkState.getElementsByTagName('select')[0].id;
                            var vTimeKeyWorkState = document.getElementById(idTimeKeyWorkState).value = vKeyWorkCompletionStatus;
                        } 


                      
                    }
                   
                }
            }
            

        });

        //验证会议内容必填
        function getMettingContent() {

            var table = agent.findGridFromTableName(null, 'DF_OA_StandardMeetingMainContent'); //获取table对象

           // alert(table)
            console.log(table.Blocks.length)

            return false;

        }
    </script>
</head>
<body>
    <form runat="server">
        <table width="1200" align="center" class="head" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="10" class="logo">
                    </td>
                    <td class="biaoti" style="PADDING-LEFT: 30px">
                        <asp:Label id="XLabel1" runat="server" text="会议申请单"></asp:Label></td>
                    <td class="formno">
                        <asp:Label id="XLabel2" runat="server" text="表单号"></asp:Label>
                        <aspxform:XLabel id="XLabel3" runat="server" text="--系统自动生成--" XDataBind="DF_OA_StandardMeetingInfo.FormNo" BackColor="#8AB3DF" ValueToDisplayText Value></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="title1" colspan="4">
                        <asp:Label id="XLabel8" runat="server" text="基本信息"></asp:Label></td>
                </tr>
                <tr>
                    <td height="24" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel4" runat="server" text="创建人"></asp:Label>
                        <aspxform:XTextBox id="XTextBox4" runat="server" XDataBind="DF_OA_StandardMeetingInfo.CreateAccount" ValueToDisplayText Value BorderColor="Gainsboro" BorderWidth="1px" Max="0" Min="0" Width="40px" HiddenInput="False" HiddenExpress="1"></aspxform:XTextBox>
                        <aspxform:XTextBox id="ConferenceLogo" runat="server" XDataBind="DF_OA_StandardMeetingInfo.ConferenceLogo" HiddenExpress="1"></aspxform:XTextBox>
                        <aspxform:XTextBox id="gjFlag" runat="server" XDataBind="gjFlag" HiddenExpress="1"></aspxform:XTextBox>
                        <aspxform:XTextBox id="taskid" runat="server" XDataBind="taskid" Width="100PX" HiddenExpress="1"></aspxform:XTextBox>
                        <aspxform:XTextBox id="gjtaskid" runat="server" XDataBind="DF_OA_StandardMeetingInfo.gjtaskid" Width="100PX" HiddenExpress="1" Express="taskid"></aspxform:XTextBox>
                        <aspxform:XTextBox id="stepName" runat="server" XDataBind="stepName" Width="100PX" HiddenExpress="1" Express="Global.StepName"></aspxform:XTextBox>
                        <aspxform:XTextBox id="DF_OA_StandardMeetingInfoTaskID" runat="server" XDataBind="DF_OA_StandardMeetingInfo.TaskID" Width="30px" HiddenInput="true"></aspxform:XTextBox>
                         <aspxform:XDropDownList id="XDropDownList1" runat="server" HiddenExpress="1" DataMap="NodeName->NodeName" XDataSource="TableName:BPMInstProcSteps;Filter:TaskID->DF_OA_StandardMeetingInfo.TaskID;orderby:StepID desc"></aspxform:XDropDownList>
                        <aspxform:XTextBox id="NodeName" runat="server" XDataBind="NodeName" Width="30px" HiddenInput="true"></aspxform:XTextBox>
                         </td>
                    <td class="tsbottomlabel" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox1" runat="server" XDataBind="DF_OA_StandardMeetingInfo.CreateName" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel5" runat="server" text="创建时间"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" XDataBind="DF_OA_StandardMeetingInfo.CreateDate" BorderColor="#DCDCDC" BorderWidth="1" Width="49%" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td height="24" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label2" runat="server" text="*" forecolor="Red"></asp:Label><asp:Label id="Label1" runat="server" text="会议主题"></asp:Label></td>
                    <td class="tsbottomlabel" style="WIDTH: 35%" colspan="3">
                        <aspxform:XTextBox id="ConferenceTheme" runat="server" XDataBind="DF_OA_StandardMeetingInfo.ConferenceTheme" BorderColor="#DCDCDC" BorderWidth="1" Width="78%" Rows="3" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="24" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label5" runat="server" text="*" forecolor="Red"></asp:Label><asp:Label id="Label3" runat="server" text="会议时间"></asp:Label></td>
                    <td class="tsbottomlabel" style="WIDTH: 35%">
                        <aspxform:XDateTimePicker id="MeetingTime" runat="server" XDataBind="DF_OA_StandardMeetingInfo.MeetingTime" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" ReadOnly="True"></aspxform:XDateTimePicker>
                        <aspxform:XDropDownList id="XDropDownList4" runat="server" XDataBind="DF_OA_StandardMeetingInfo.MeetingClock" Width="80px">
                            <asp:ListItem Selected="True" Value="08:30">08:30</asp:ListItem>
                            <asp:ListItem Value="09:00">09:00</asp:ListItem>
                            <asp:ListItem Value="09:30">09:30</asp:ListItem>
                            <asp:ListItem Value="10:00">10:00</asp:ListItem>
                            <asp:ListItem Value="10:30">10:30</asp:ListItem>
                            <asp:ListItem Value="11:00">11:00</asp:ListItem>
                            <asp:ListItem Value="11:30">11:30</asp:ListItem>
                            <asp:ListItem Value="12:00">12:00</asp:ListItem>
                            <asp:ListItem Value="12:30">12:30</asp:ListItem>
                            <asp:ListItem Value="13:00">13:00</asp:ListItem>
                            <asp:ListItem Value="13:30">13:30</asp:ListItem>
                            <asp:ListItem Value="14:00">14:00</asp:ListItem>
                            <asp:ListItem Value="14:30">14:30</asp:ListItem>
                            <asp:ListItem Value="15:00">15:00</asp:ListItem>
                            <asp:ListItem Value="15:30">15:30</asp:ListItem>
                            <asp:ListItem Value="16:00">16:00</asp:ListItem>
                            <asp:ListItem Value="16:30">16:30</asp:ListItem>
                            <asp:ListItem Value="17:00">17:00</asp:ListItem>
                            <asp:ListItem Value="17:30">17:30</asp:ListItem>
                            <asp:ListItem Value="18:00">18:00</asp:ListItem>
                            <asp:ListItem Value="18:30">18:30</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label6" runat="server" text="*" forecolor="Red"></asp:Label><asp:Label id="Label4" runat="server" text="会议记录人"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="MeetingRecorderName" runat="server" XDataBind="DF_OA_StandardMeetingInfo.MeetingRecorderName" BorderColor="#DCDCDC" BorderWidth="1" Width="49%" ReadOnly="True"></aspxform:XTextBox>
                        <aspxform:XTextBox id="MeetingRecorder" runat="server" XDataBind="DF_OA_StandardMeetingInfo.MeetingRecorder" BorderColor="#DCDCDC" BorderWidth="1" Width="49%" HiddenExpress="1" DisplayOnly="True"></aspxform:XTextBox>
                        <aspxform:XDataBrowserButton id="XDDMeetingRecorder" runat="server" Text="查询" DataMap="Name->DF_OA_StandardMeetingInfo.MeetingRecorderName;AttendanceKakaNO->DF_OA_StandardMeetingInfo.MeetingRecorder;" XDataSource="TableName:V_DF_HR_BasicInfo;Filter:State->'在职'" DisplayColumns="Name:会议记录人;" DisableExpress="stepName=='会议记录人记录会议纪要及后续工作部署'||stepName=='会议主持人验收任务' || stepName=='任务负责人确认执行状态'"></aspxform:XDataBrowserButton>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label9" runat="server" text="*" forecolor="Red"></asp:Label><asp:Label id="Label10" runat="server" text="会议主持人"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%" colspan="3">
                        <aspxform:XTextBox id="ModeratorName" runat="server" XDataBind="DF_OA_StandardMeetingInfo.ModeratorName" BorderColor="#DCDCDC" BorderWidth="1" Width="40%" ReadOnly="True"></aspxform:XTextBox>
                        <aspxform:XTextBox id="Moderator" runat="server" XDataBind="DF_OA_StandardMeetingInfo.Moderator" BorderColor="#DCDCDC" BorderWidth="1" Width="40%" HiddenExpress="1" DisplayOnly="True"></aspxform:XTextBox>
                        <aspxform:XDataBrowserButton id="XDBModerator" runat="server" Text="查询" DataMap="Name->DF_OA_StandardMeetingInfo.ModeratorName;AttendanceKakaNO->DF_OA_StandardMeetingInfo.Moderator;" XDataSource="TableName:V_DF_HR_BasicInfo;Filter:State->'在职'" DisplayColumns="Name:会议主持人;" DisableExpress="stepName=='会议记录人记录会议纪要及后续工作部署'|| stepName=='会议主持人验收任务' || stepName=='任务负责人确认执行状态'"></aspxform:XDataBrowserButton>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1198" align="center" class="table" id="tablenew" border="0" cellspacing="0" cellpadding="0" dynamicarea="2,1">
            <tbody>
                <tr class="title1">
                    <td width="1198" colspan="3">
                        <asp:Label id="Label11" runat="server" text="参会人"></asp:Label>
                        <aspxform:XDataBrowserButton id="XDataBrowserButton2" runat="server" Text="查询" DataMap="MaiGroupName->DF_OA_StandardMeetingAttendee.AttendeeName;MailGroupAddress->DF_OA_StandardMeetingAttendee.AttendeeMail;Account->DF_OA_StandardMeetingAttendee.AttendeeAccont" XDataSource="TableName:V_DF_OA_StandardMeetingAttendee;" DisplayColumns="MaiGroupName:会议参会人;MailGroupAddress:参会人邮箱;Account:账号;" DisableExpress="stepName=='会议记录人记录会议纪要及后续工作部署'" MultiSelect="True"></aspxform:XDataBrowserButton>
                        &nbsp;</td>
                </tr>
                <tr >
                    <td class="tds" style="text-align:left;">
                        邮件组或员工</td>
                </tr>
                <tr align="left">
                    <td class="tds1" style="WIDTH: 30%">
                        <aspxform:XTextBox id="AttendeeName" runat="server" XDataBind="DF_OA_StandardMeetingAttendee.AttendeeName" BorderColor="#DCDCDC" BorderWidth="1" Width="200px" DisableExpress="1"></aspxform:XTextBox>
                        <aspxform:XTextBox id="AttendeeMail" runat="server" XDataBind="DF_OA_StandardMeetingAttendee.AttendeeMail" BorderColor="#DCDCDC" BorderWidth="1" Width="200px" HiddenExpress="1"></aspxform:XTextBox>
                        <aspxform:XTextBox id="AttendeeAccont" runat="server" XDataBind="DF_OA_StandardMeetingAttendee.AttendeeAccont" BorderColor="#DCDCDC" BorderWidth="1" Width="200px" HiddenExpress="1"></aspxform:XTextBox>
                        <aspxform:XDataBrowserButton id="XDropDownList3" runat="server" Text="查询" DataMap="MaiGroupName->DF_OA_StandardMeetingAttendee.AttendeeName;MailGroupAddress->DF_OA_StandardMeetingAttendee.AttendeeMail;Account->DF_OA_StandardMeetingAttendee.AttendeeAccont" XDataSource="TableName:V_DF_OA_StandardMeetingAttendee;" DisplayColumns="MaiGroupName:会议参会人;MailGroupAddress:参会人邮箱;Account:账号;" DisableExpress="stepName=='会议记录人记录会议纪要及后续工作部署' || stepName=='会议主持人验收任务' || stepName=='任务负责人确认执行状态'"></aspxform:XDataBrowserButton>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1198" align="center" class="table" id="tableMeetingContent" border="0" cellspacing="0" cellpadding="0" dynamicarea="2,1">
            <tbody>
                <tr class="title1">
                    <td width="1198" colspan="6">
                        <asp:Label id="Label7" runat="server" text="会议内容"></asp:Label>&nbsp;</td>
                </tr>
                <tr>
                    <td class="tds">
                        序号</td>
                    <td class="tds">
                        具体内容</td>
                    <td class="tds">
                        目的/预计达成目标</td>
                    <td class="tds">
                        负责人</td>
                    <td class="tds">
                        计划时长(分)</td>
                    <td class="tds">
                        状态</td>
                </tr>
                <tr align="center">
                    <td height="30" class="tds1" style="TEXT-ALIGN: center">
                        <aspxform:XGridLineNo id="XGridLineNo1" runat="server" XDataBind="DF_OA_StandardMeetingContent.RowNumber" BackColor="Transparent" BorderColor="#DCDCDC" BorderWidth="1" Width="60px" TextMode="MultiLine" TextAlign="Center" BorderStyle="None" RenderAs="Label">1</aspxform:XGridLineNo>
                    </td>
                    <td class="tds1" style="WIDTH: 30%">
                        <aspxform:XTextBox id="MeetingContent" runat="server" XDataBind="DF_OA_StandardMeetingContent.MeetingContent" BorderColor="#DCDCDC" BorderWidth="1" Width="428px" Rows="3" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" style="WIDTH: 30%">
                        <aspxform:XTextBox id="MeetingObjective" runat="server" XDataBind="DF_OA_StandardMeetingContent.MeetingObjective" BorderColor="#DCDCDC" BorderWidth="1" Width="428px" Rows="3" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" style="WIDTH: 30%">
                        <aspxform:XTextBox id="MeetingPersonChargeName" runat="server" XDataBind="DF_OA_StandardMeetingContent.MeetingPersonChargeName" BorderColor="#DCDCDC" BorderWidth="1" Width="80px" ></aspxform:XTextBox>
                        <aspxform:XTextBox id="MeetingPersonCharge" runat="server" XDataBind="DF_OA_StandardMeetingContent.MeetingPersonCharge" BorderColor="#DCDCDC" BorderWidth="1" HiddenExpress="1"></aspxform:XTextBox>
                        <%--<aspxform:XDataBrowserButton id="XDataBrowserButton3" runat="server" Text="查询" DataMap="Name->DF_OA_StandardMeetingContent.MeetingPersonChargeName;AttendanceKakaNO->DF_OA_StandardMeetingContent.MeetingPersonCharge;" XDataSource="TableName:V_DF_HR_BasicInfo;" DisplayColumns="Name:会议负责人;" DisableExpress="stepName=='会议主持人验收任务' || stepName=='任务负责人确认执行状态'"></aspxform:XDataBrowserButton>--%>
                    </td>
                    <td class="tds1" style="WIDTH: 30%">
                        <aspxform:XTextBox id="MeetingPlanningDuration" runat="server" XDataBind="DF_OA_StandardMeetingContent.MeetingPlanningDuration" BorderColor="#DCDCDC" BorderWidth="1" Width="80px"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" style="WIDTH: 30%">
                        <aspxform:XTextBox id="MeetingState" runat="server" XDataBind="DF_OA_StandardMeetingContent.MeetingState" BorderColor="#DCDCDC" BorderWidth="1" Width="80px"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br id="brtableMeetingContent"/>
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0" hiddenexpress="DF_OA_StandardMeetingInfo.ConferenceLogo!='正常召开'">
            <tbody>
                <tr>
                    <td class="title1" colspan="4">
                        <asp:Label id="Label8" runat="server" text="会议纪要"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tsbottomtext" style="WIDTH: 10%">
                        <asp:Label id="Label12" runat="server" text="实际参会人员"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%"  colspan="3">
                        <aspxform:XTextBox id="ActualParticipants" runat="server" XDataBind="DF_OA_StandardMeetingInfo.ActualParticipants" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                     
                </tr>
                <tr>
                    <td class="tsbottomtext" style="WIDTH: 10%">
                        <asp:Label id="Label13" runat="server" text="缺席人员"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%" colspan="3">
                        <aspxform:XTextBox id="Absentees" runat="server" XDataBind="DF_OA_StandardMeetingInfo.Absentees" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
       <table width="1198" align="center" hiddenexpress="gjFlag!='gj' &amp;&amp; DF_OA_StandardMeetingInfo.gjtaskid==''" class="table" id="tableMeetingKeyKork" border="0" cellspacing="0" cellpadding="0" runat="server" datamap="TimeKeyWorkContents->DF_OA_StandardMeetingKeyWork.KeyWorkContents;TimeKeyWorkPerson->DF_OA_StandardMeetingKeyWork.KeyWorkPerson;TimeKeyWorkPersonName->DF_OA_StandardMeetingKeyWork.KeyWorkPersonName;TimeKeyWorkPlannedCompletionTime->DF_OA_StandardMeetingKeyWork.KeyWorkPlannedCompletionTime;TimeKeyWorkState->DF_OA_StandardMeetingKeyWork.KeyWorkCompletionStatus;" dynamicarea="2,1"  emptygrid="KeepEmpty" xdatasource="TableName:DF_OA_StandardMeetingTimeKeyWork;Filter:TimeKeyWorkState->'进行中',TaskID->taskid" >
            <tbody>
                <tr class="title1">
                    <td width="1198" colspan="6">
                        <asp:Label id="Label14" runat="server" text="重点工作回顾"></asp:Label>&nbsp;</td>
                </tr>
                <tr>
                    <td class="tds">
                        序号</td>
                    <td class="tds">
                        工作内容</td>
                    <td class="tds">
                        负责人</td>
                    <td class="tds">
                        计划完成时间</td>
                    <td class="tds">
                        再计划完成时间</td>
                    <td class="tds">
                        完成状态</td>
                </tr>
                <tr align="center">
                    <td height="30" class="tds1" style="TEXT-ALIGN: center">
                        <aspxform:XGridLineNo id="XGridLineNo2" runat="server" XDataBind="DF_OA_StandardMeetingKeyWork.RowNumber" BackColor="Transparent" BorderColor="#DCDCDC" BorderWidth="1" Width="60px" TextMode="MultiLine" TextAlign="Center" BorderStyle="None" RenderAs="Label">1</aspxform:XGridLineNo>
                    </td>
                    <td class="tds1" style="WIDTH: 30%">
                        <aspxform:XTextBox id="KeyWorkContents" runat="server" XDataBind="DF_OA_StandardMeetingKeyWork.KeyWorkContents" BorderColor="#DCDCDC" BorderWidth="1" Width="630px" Rows="3" TextMode="MultiLine" name="KeyWorkContents"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" style="WIDTH: 30%">
                        <aspxform:XTextBox id="KeyWorkPersonName" runat="server" XDataBind="DF_OA_StandardMeetingKeyWork.KeyWorkPersonName" BorderColor="#DCDCDC" BorderWidth="1" Width="100px" DisableExpress="1" name="KeyWorkPersonName"></aspxform:XTextBox>
                        <aspxform:XTextBox id="KeyWorkPerson" runat="server" XDataBind="DF_OA_StandardMeetingKeyWork.KeyWorkPerson" BorderColor="#DCDCDC" BorderWidth="1" HiddenExpress="1" name="KeyWorkPerson"></aspxform:XTextBox>
                        <aspxform:XDataBrowserButton id="XDataBrowserButton4" runat="server" Text="查询" DataMap="Name->DF_OA_StandardMeetingKeyWork.KeyWorkPersonName;AttendanceKakaNO->DF_OA_StandardMeetingKeyWork.KeyWorkPerson;" XDataSource="TableName:V_DF_HR_BasicInfo;Filter:State->'在职'" DisplayColumns="Name:会议负责人;" DisableExpress="stepName=='会议主持人验收任务'"></aspxform:XDataBrowserButton>
                    </td>
                    <td class="tds1" style="WIDTH: 30%">
                        <aspxform:XDateTimePicker id="KeyWorkPlannedCompletionTime" runat="server" XDataBind="DF_OA_StandardMeetingKeyWork.KeyWorkPlannedCompletionTime" BorderColor="#DCDCDC" BorderWidth="1" Width="100px" name="KeyWorkPlannedCompletionTime"></aspxform:XDateTimePicker>
                    </td>
                    <td class="tds1" style="WIDTH: 30%">
                        <aspxform:XDateTimePicker id="KeyWorkRescheduleCompletionTime" runat="server" XDataBind="DF_OA_StandardMeetingKeyWork.KeyWorkRescheduleCompletionTime" BorderColor="#DCDCDC" BorderWidth="1" Width="100px" name="KeyWorkRescheduleCompletionTime"></aspxform:XDateTimePicker>
                    </td>
                    <td class="tds1" style="WIDTH: 30%">
                        <aspxform:XDropDownList id="KeyWorkCompletionStatus" runat="server" XDataBind="DF_OA_StandardMeetingKeyWork.KeyWorkCompletionStatus" Width="90px" name="KeyWorkCompletionStatus">
                            <asp:ListItem>已完成</asp:ListItem>
                            <asp:ListItem>进行中</asp:ListItem>
                            <asp:ListItem>未开始</asp:ListItem>
                            <asp:ListItem>取消</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
            </tbody>
        </table>
      <br hiddenexpress="gjFlag!='gj' &amp;&amp; DF_OA_StandardMeetingInfo.gjtaskid==''" />
        <table width="1198" align="center" class="table" id="tablecontent" border="0" cellspacing="0" cellpadding="0" dynamicarea="2,1" hiddenexpress="DF_OA_StandardMeetingInfo.ConferenceLogo!='正常召开'" emptygrid="KeepEmpty">
            <tbody>
                <tr class="title1">
                    <td width="1198" colspan="3">
                        <asp:Label id="Label15" runat="server" text="会议内容"></asp:Label>&nbsp;</td>
                </tr>
                <tr>
                    <td class="tds">
                        序号</td>
                    <td class="tds">
                        会议内容</td>
                    <td class="tds">
                        主讲人</td>
                </tr>
                <tr align="center">
                    <td height="30" class="tds1" style="WIDTH: 1%; TEXT-ALIGN: center">
                        <aspxform:XGridLineNo id="XGridLineNo3" runat="server" XDataBind="DF_OA_StandardMeetingMainContent.RowNumber" BackColor="Transparent" BorderColor="#DCDCDC" BorderWidth="1" Width="60px" TextMode="MultiLine" TextAlign="Center" BorderStyle="None" RenderAs="Label">1</aspxform:XGridLineNo>
                    </td>
                    <td class="tds1" style="WIDTH: 30%">
                        <aspxform:XTextBox id="Contents" runat="server" XDataBind="DF_OA_StandardMeetingMainContent.Contents" BorderColor="#DCDCDC" BorderWidth="1" Width="995px" Rows="3" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" style="WIDTH: 30%">
                        <aspxform:XTextBox id="Speaker" runat="server" XDataBind="DF_OA_StandardMeetingMainContent.Speaker" BorderColor="#DCDCDC" BorderWidth="1" Width="120px"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br id="brtablecontent"  />
        <table width="1198" align="center" class="table" id="tableMeetingTimeKeyKork" border="0" cellspacing="0" cellpadding="0" runat="server" datamap="KeyWorkContents->DF_OA_StandardMeetingTimeKeyWork.TimeKeyWorkContents; " dynamicarea="2,1" hiddenexpress="DF_OA_StandardMeetingInfo.ConferenceLogo!='正常召开'" emptygrid="KeepEmpty" xdatasource="TableName:DF_OA_StandardMeetingKeyWork;Filter:KeyWorkCompletionStatus->'进行中',TaskID->taskid">
            <tbody>
                <tr class="title1">
                    <td width="1198" colspan="6">
                        <asp:Label id="Label16" runat="server" text="本次会议重点布置工作"></asp:Label>&nbsp;</td>
                </tr>
                <tr>
                    <td class="tds">
                        序号</td>
                    <td class="tds">
                        工作内容</td>
                    <td class="tds">
                        负责人</td>
                    <td class="tds">
                        计划完成时间</td>
                    <td class="tds">
                        备注</td>
                    <td class="tds">
                        跟进状态</td>
                </tr>
                <tr align="center">
                    <td height="30" class="tds1" style="TEXT-ALIGN: center">
                        <aspxform:XGridLineNo id="XGridLineNo4" runat="server" XDataBind="DF_OA_StandardMeetingTimeKeyWork.RowNumber" BackColor="Transparent" BorderColor="#DCDCDC" BorderWidth="1" Width="60px" TextMode="MultiLine" TextAlign="Center" BorderStyle="None" RenderAs="Label">1</aspxform:XGridLineNo>
                    </td>
                    <td class="tds1" style="WIDTH: 30%">
                        <aspxform:XTextBox id="TimeKeyWorkContents" runat="server" XDataBind="DF_OA_StandardMeetingTimeKeyWork.TimeKeyWorkContents" BorderColor="#DCDCDC" BorderWidth="1" Width="500px" Rows="3" TextMode="MultiLine" name="TimeKeyWorkContents"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" style="WIDTH: 30%">
                        <aspxform:XTextBox id="TimeKeyWorkPersonName" runat="server" XDataBind="DF_OA_StandardMeetingTimeKeyWork.TimeKeyWorkPersonName" BorderColor="#DCDCDC" BorderWidth="1" Width="90px" DisableExpress="1" name="TimeKeyWorkPersonName"></aspxform:XTextBox>
                        <aspxform:XTextBox id="TimeKeyWorkPerson" runat="server" XDataBind="DF_OA_StandardMeetingTimeKeyWork.TimeKeyWorkPerson" BorderColor="#DCDCDC" BorderWidth="1" HiddenExpress="1" name="TimeKeyWorkPerson"></aspxform:XTextBox>
                        <aspxform:XDataBrowserButton id="XDataBrowserButton5" runat="server" Text="查询" DataMap="Name->DF_OA_StandardMeetingTimeKeyWork.TimeKeyWorkPersonName;AttendanceKakaNO->DF_OA_StandardMeetingTimeKeyWork.TimeKeyWorkPerson;" XDataSource="TableName:V_DF_HR_BasicInfo;Filter:State->'在职'" DisplayColumns="Name:会议负责人;" DisableExpress="stepName=='会议主持人验收任务' || stepName=='任务负责人确认执行状态'"></aspxform:XDataBrowserButton>
                    </td>
                    <td class="tds1" style="WIDTH: 30%">
                        <aspxform:XDateTimePicker id="TimeKeyWorkPlannedCompletionTime" runat="server" XDataBind="DF_OA_StandardMeetingTimeKeyWork.TimeKeyWorkPlannedCompletionTime" BorderColor="#DCDCDC" BorderWidth="1" Width="90px" name="TimeKeyWorkPlannedCompletionTime"></aspxform:XDateTimePicker>
                    </td>
                    <td class="tds1" style="WIDTH: 30%">
                        <aspxform:XTextBox id="Remark" runat="server" XDataBind="DF_OA_StandardMeetingTimeKeyWork.Remark" BorderColor="#DCDCDC" BorderWidth="1" Width="270px" Rows="3" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" style="WIDTH: 30%">
                        <aspxform:XDropDownList id="TimeKeyWorkState" runat="server" XDataBind="DF_OA_StandardMeetingTimeKeyWork.TimeKeyWorkState" Width="90px" name="TimeKeyWorkState">
                            <asp:ListItem>进行中</asp:ListItem>
                            <asp:ListItem>已完成</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
            </tbody>
        </table>
        <br id="brtableMeetingTimeKeyKork" />
          <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="tsbottomlabel" style="width:1.7%">
                        <asp:Label id="Label17" runat="server" text="备注"></asp:Label></td>
                      <td class="tsbottomlabel" style="width:30%" colspan="3">
                      <aspxform:XTextBox  runat="server" XDataBind="DF_OA_StandardMeetingInfo.Remark" Width="100%"  Rows="5" TextMode="MultiLine"></aspxform:XTextBox>  </td>
                </tr>
                </tbody>
         </table>

        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator23" runat="server" ForeColor="Red" ControlToValidate="ConferenceTheme" ErrorMessage="请填写会议主题" Display="None" ValidationGroup="submit">请填写会议主题</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" ForeColor="Red" ControlToValidate="MeetingTime" ErrorMessage="请选择会议时间" Display="None" ValidationGroup="submit">请选择会议时间</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator2" runat="server" ForeColor="Red" ControlToValidate="XDropDownList4" ErrorMessage="请选择会议具体时间" Display="None" ValidationGroup="submit">请选择会议具体时间</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator3" runat="server" ForeColor="Red" ControlToValidate="MeetingRecorderName" ErrorMessage="请选择会议记录人" Display="None" ValidationGroup="submit">请选择会议记录人</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator4" runat="server" ForeColor="Red" ControlToValidate="ModeratorName" ErrorMessage="请选择会议主持人" Display="None" ValidationGroup="submit">请选择会议主持人</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator5" runat="server" ForeColor="Red" ControlToValidate="AttendeeName" ErrorMessage="请选择参会人" Display="None" ValidationGroup="submit">请选择参会人</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator6" runat="server" ForeColor="Red" ControlToValidate="MeetingContent" ErrorMessage="请填写会议具体内容" Display="None" ValidationGroup="submit">请填写会议具体内容</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator7" runat="server" ForeColor="Red" ControlToValidate="MeetingObjective" ErrorMessage="请填写会议目的/预计达成目标" Display="None" ValidationGroup="submit">请填写会议目的/预计达成目标</aspxform:XRequiredFieldValidator>
        <%--<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator8" runat="server" ForeColor="Red" ControlToValidate="MeetingPersonChargeName" ErrorMessage="请选择会议内容负责人" Display="None" ValidationGroup="submit">请选择会议内容负责人</aspxform:XRequiredFieldValidator>--%>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator9" runat="server" ForeColor="Red" ControlToValidate="MeetingPlanningDuration" ErrorMessage="请填写计划时长(分)" Display="None" ValidationGroup="submit">请填写计划时长(分)</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator10" runat="server" ForeColor="Red" ControlToValidate="MeetingState" ErrorMessage="请填写会议内容状态" Display="None" ValidationGroup="submit">请填写会议内容状态</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator11" runat="server" ForeColor="Red" ControlToValidate="Contents" ErrorMessage="请填写会议内容" Display="None" ValidationGroup="submit">请填写会议内容</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator12" runat="server" ForeColor="Red" ControlToValidate="Speaker" ErrorMessage="请填写主讲人" Display="None" ValidationGroup="submit">请填写主讲人</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator13" runat="server" DisableExpress="stepName!='会议记录人记录会议纪要及后续工作部署'" ForeColor="Red" ControlToValidate="TimeKeyWorkContents" ErrorMessage="请填写本次会议重点布置工作内容" Display="None" ValidationGroup="submit">请填写本次会议重点布置工作内容</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator14" runat="server" DisableExpress="stepName!='会议记录人记录会议纪要及后续工作部署'" ForeColor="Red" ControlToValidate="TimeKeyWorkPersonName" ErrorMessage="请填写本次会议重点布置工作负责人" Display="None" ValidationGroup="submit">请填写本次会议重点布置工作负责人</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator15" runat="server" DisableExpress="stepName!='会议记录人记录会议纪要及后续工作部署'" ForeColor="Red" ControlToValidate="TimeKeyWorkPlannedCompletionTime" ErrorMessage="请填写本次会议重点布置工作计划完成时间" Display="None" ValidationGroup="submit">请填写本次会议重点布置工作计划完成时间</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator16" runat="server" DisableExpress="stepName!='会议记录人记录会议纪要及后续工作部署'" ForeColor="Red" ControlToValidate="TimeKeyWorkState" ErrorMessage="请填写本次会议重点布置工作跟进状态" Display="None" ValidationGroup="submit">请填写本次会议重点布置工作跟进状态</aspxform:XRequiredFieldValidator>
        <br />
        <aspxform:XSignTrace id="XSignTrace1" runat="server" BorderColor="#dcdcdc" BorderWidth="1" Width="1200px"></aspxform:XSignTrace>
    </form>
</body>
</html>
