コード例 #1
0
 /// <summary>
 /// 起始部门变化
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 protected void ddlDepartName_SelectedIndexChanged(object sender, EventArgs e)
 {
     Countersign1.CounterSignDeptId = ddlDepartName.SelectedItem.Value;
     Countersign1.Refresh();
     InitLeader();
     InitCheckBoxList();
 }
コード例 #2
0
 protected void ddlDepartName_SelectedIndexChanged(object sender, EventArgs e)
 {
     StartDeptId = ddlDepartName.SelectedItem.Value;
     if (ddlDepartName.SelectedItem.Text.Contains("开封"))
     {
         cblFirstLevel.Visible = true;
     }
     else
     {
         cblFirstLevel.Visible = false;
     }
     Countersign1.CounterSignDeptId = ddlDepartName.SelectedItem.Value;
     Countersign1.Refresh();
 }
コード例 #3
0
    protected void ddlDepartName_SelectedIndexChanged(object sender, EventArgs e)
    {
        string StartDeptId = ddlDepartName.SelectedItem.Value;

        if (StartDeptId.Substring(0, StartDeptId.LastIndexOf('-')) == PKURGICode)
        {
            trCounterSign.Visible = false;
        }
        else
        {
            Countersign1.CounterSignDeptId = ddlDepartName.SelectedItem.Value;
            Countersign1.Refresh();
        }
        if (ddlDepartName.SelectedItem.Text.Contains("开封"))
        {
            cblFirstLevel.Visible = true;
        }
        else
        {
            cblFirstLevel.Visible = false;
        }
    }
コード例 #4
0
 protected void ddlDepartName_SelectedIndexChanged(object sender, EventArgs e)
 {
     StartDeptId = ddlDepartName.SelectedItem.Value;
     Countersign1.CounterSignDeptId = ddlDepartName.SelectedItem.Value;
     Countersign1.Refresh();
 }