private void BindDropDown() { EWF_Flow_AppBLL app = new EWF_Flow_AppBLL((Guid)ViewState["AppID"]); lb_AppName.Text = app.Model.Name; // 默认下一环节 ddl_DefaultNextProcess.DataSource = app.GetProcessList(); ddl_DefaultNextProcess.DataBind(); ddl_DefaultNextProcess.Items.Insert(0, new ListItem("请选择...", Guid.Empty.ToString())); //环节类型 ddl_Type.DataSource = DictionaryBLL.GetDicCollections("EWF_Flow_ProcessType"); ddl_Type.DataBind(); this.ddl_Type.SelectedValue = "3"; ddl_RecipientRole_Decision.DataSource = EWF_RoleBLL.GetModelList(""); ddl_RecipientRole_Decision.DataBind(); ddl_RecipientRole_Decision.Items.Insert(0, new ListItem("请选择...", Guid.Empty.ToString())); ddl_DataObject_Decision.DataSource = app.GetDataObjectList(); ddl_DataObject_Decision.DataBind(); ddl_DataObject_Decision.Items.Insert(0, new ListItem("请选择...", Guid.Empty.ToString())); ddl_PositiveNextProcess.DataSource = app.GetProcessList(); ddl_PositiveNextProcess.DataBind(); ddl_PositiveNextProcess.Items.Insert(0, new ListItem("请选择...", Guid.Empty.ToString())); ddl_NegativeNextProcess.DataSource = app.GetProcessList(); ddl_NegativeNextProcess.DataBind(); ddl_NegativeNextProcess.Items.Insert(0, new ListItem("请选择...", Guid.Empty.ToString())); }
private void BindDropDown() { // 默认下一环节 EWF_Flow_AppBLL app = new EWF_Flow_AppBLL((Guid)ViewState["AppID"]); lb_AppName.Text = app.Model.Name; ddl_DefaultNextProcess.DataSource = app.GetProcessList(); ddl_DefaultNextProcess.DataBind(); ddl_DefaultNextProcess.Items.Insert(0, new ListItem("请选择...", Guid.Empty.ToString())); ddl_Type.DataSource = DictionaryBLL.GetDicCollections("EWF_Flow_ProcessType"); ddl_Type.DataBind(); ddl_Type.SelectedValue = "4"; ddl_OperatorType.DataSource = DictionaryBLL.GetDicCollections("EWF_Flow_OperatorType"); ddl_OperatorType.DataBind(); ddl_DataObject_Condition.DataSource = app.GetDataObjectList(); ddl_DataObject_Condition.DataBind(); ddl_DataObject_Condition.Items.Insert(0, new ListItem("请选择...", Guid.Empty.ToString())); ddl_TrueNextProcess.DataSource = app.GetProcessList(); ddl_TrueNextProcess.DataBind(); ddl_TrueNextProcess.Items.Insert(0, new ListItem("请选择...", Guid.Empty.ToString())); ddl_FalseNextProcess.DataSource = app.GetProcessList(); ddl_FalseNextProcess.DataBind(); ddl_FalseNextProcess.Items.Insert(0, new ListItem("请选择...", Guid.Empty.ToString())); }
private void BindDropDown() { //所属流程 EWF_Flow_AppBLL app = new EWF_Flow_AppBLL((Guid)ViewState["AppID"]); lb_AppName.Text = app.Model.Name; // 默认下一环节 ddl_DefaultNextProcess.DataSource = app.GetProcessList(); ddl_DefaultNextProcess.DataBind(); ddl_DefaultNextProcess.Items.Insert(0, new ListItem("请选择...", Guid.Empty.ToString())); ddl_Type.DataSource = DictionaryBLL.GetDicCollections("EWF_Flow_ProcessType"); ddl_Type.DataBind(); ddl_Type.SelectedValue = "6"; ddl_DataObject_Mail.DataSource = app.GetDataObjectList(); ddl_DataObject_Mail.DataBind(); ddl_DataObject_Mail.Items.Insert(0, new ListItem("请选择...", Guid.Empty.ToString())); ddl_RecipientRole_Mail.DataSource = EWF_RoleBLL.GetModelList(""); ddl_RecipientRole_Mail.DataBind(); ddl_RecipientRole_Mail.Items.Insert(0, new ListItem("请选择...", Guid.Empty.ToString())); ddl_RecipientRole_Mail_SelectedIndexChanged(null, null); }
private void BindDropDown() { // 默认下一环节 EWF_Flow_AppBLL app = new EWF_Flow_AppBLL((Guid)ViewState["AppID"]); lb_AppName.Text = app.Model.Name; ddl_DefaultNextProcess.DataSource = app.GetProcessList(); ddl_DefaultNextProcess.DataBind(); ddl_DefaultNextProcess.Items.Insert(0, new ListItem("请选择...", Guid.Empty.ToString())); ddl_Type.DataSource = DictionaryBLL.GetDicCollections("EWF_Flow_ProcessType"); ddl_Type.DataBind(); ddl_Type.SelectedValue = "8"; ddl_OrganizeCityLevel.DataSource = DictionaryBLL.GetDicCollections("Addr_OrganizeCityLevel"); ddl_OrganizeCityLevel.DataBind(); ddl_OrganizeCityLevel.Items.Insert(0, new ListItem("发起人所在级别", "0")); ddl_DataObject_OrganizeCityID.DataSource = app.GetDataObjectList(); ddl_DataObject_OrganizeCityID.DataBind(); ddl_DataObject_OrganizeCityID.Items.Insert(0, new ListItem("请选择...", Guid.Empty.ToString())); ddl_DataObject_OrganizeCityName.DataSource = app.GetDataObjectList(); ddl_DataObject_OrganizeCityName.DataBind(); ddl_DataObject_OrganizeCityName.Items.Insert(0, new ListItem("请选择...", Guid.Empty.ToString())); }
private void BindGrid() { EWF_Flow_AppBLL app = new EWF_Flow_AppBLL((Guid)ViewState["AppID"]); lb_AppName.Text = app.Model.Name; lb_AppName.NavigateUrl = "FlowAppDetail.aspx?AppID='" + app.Model.ID.ToString() + "'"; gv_List.BindGrid <EWF_Flow_Process>(app.GetProcessList()); }
private void BindDropDown() { //所属流程 EWF_Flow_AppBLL app = new EWF_Flow_AppBLL((Guid)ViewState["AppID"]); lb_AppName.Text = app.Model.Name; // 默认下一环节 ddl_DefaultNextProcess.DataSource = app.GetProcessList(); ddl_DefaultNextProcess.DataBind(); ddl_DefaultNextProcess.Items.Insert(0, new ListItem("请选择...", Guid.Empty.ToString())); ddl_Type.DataSource = DictionaryBLL.GetDicCollections("EWF_Flow_ProcessType"); ddl_Type.DataBind(); }
private void BindDropDown() { EWF_Flow_AppBLL app = new EWF_Flow_AppBLL((Guid)ViewState["AppID"]); lb_AppName.Text = app.Model.Name; // 默认下一环节 ddl_DefaultNextProcess.DataSource = app.GetProcessList(); ddl_DefaultNextProcess.DataBind(); ddl_DefaultNextProcess.Items.Insert(0, new ListItem("请选择...", Guid.Empty.ToString())); //环节类型 ddl_Type.DataSource = DictionaryBLL.GetDicCollections("EWF_Flow_ProcessType"); ddl_Type.DataBind(); this.ddl_Type.SelectedValue = "10"; ddl_PositiveNextProcess.DataSource = app.GetProcessList(); ddl_PositiveNextProcess.DataBind(); ddl_PositiveNextProcess.Items.Insert(0, new ListItem("请选择...", Guid.Empty.ToString())); ddl_NegativeNextProcess.DataSource = app.GetProcessList(); ddl_NegativeNextProcess.DataBind(); ddl_NegativeNextProcess.Items.Insert(0, new ListItem("请选择...", Guid.Empty.ToString())); ddl_RecipientRole_Decision.DataSource = EWF_RoleBLL.GetModelList(""); ddl_RecipientRole_Decision.DataBind(); ddl_RecipientRole_Decision.Items.Insert(0, new ListItem("请选择...", Guid.Empty.ToString())); ddl_DataObject_Decision.DataSource = app.GetDataObjectList(); ddl_DataObject_Decision.DataBind(); ddl_DataObject_Decision.Items.Insert(0, new ListItem("请选择...", Guid.Empty.ToString())); }
private void BindGrid() { EWF_Flow_AppBLL app = new EWF_Flow_AppBLL((Guid)ViewState["AppID"]); lb_AppName.Text = app.Model.Name; lb_AppName.NavigateUrl = "FlowAppDetail.aspx?AppID='" + app.Model.ID.ToString() + "'"; gv_List.BindGrid<EWF_Flow_Process>(app.GetProcessList()); }
private void BindDropDown() { // 默认下一环节 EWF_Flow_AppBLL app = new EWF_Flow_AppBLL((Guid)ViewState["AppID"]); lb_AppName.Text = app.Model.Name; ddl_DefaultNextProcess.DataSource = app.GetProcessList(); ddl_DefaultNextProcess.DataBind(); ddl_DefaultNextProcess.Items.Insert(0, new ListItem("请选择...", Guid.Empty.ToString())); ddl_Type.DataSource = DictionaryBLL.GetDicCollections("EWF_Flow_ProcessType"); ddl_Type.DataBind(); ddl_Type.SelectedValue = "7"; ddl_DataObject_Position.DataSource = app.GetDataObjectList(); ddl_DataObject_Position.DataBind(); ddl_DataObject_Position.Items.Insert(0, new ListItem("请选择...", Guid.Empty.ToString())); }
private void BindDropDown() { //所属流程 EWF_Flow_AppBLL app = new EWF_Flow_AppBLL((Guid)ViewState["AppID"]); lb_AppName.Text = app.Model.Name; // 默认下一环节 ddl_DefaultNextProcess.DataSource = app.GetProcessList(); ddl_DefaultNextProcess.DataBind(); ddl_DefaultNextProcess.Items.Insert(0, new ListItem("请选择...", Guid.Empty.ToString())); ddl_Type.DataSource = DictionaryBLL.GetDicCollections("EWF_Flow_ProcessType"); ddl_Type.DataBind(); ddl_Type.SelectedValue = "6"; ddl_DataObject_Mail.DataSource = app.GetDataObjectList(); ddl_DataObject_Mail.DataBind(); ddl_DataObject_Mail.Items.Insert(0, new ListItem("请选择...", Guid.Empty.ToString())); ddl_RecipientRole_Mail.DataSource = EWF_RoleBLL.GetModelList(""); ddl_RecipientRole_Mail.DataBind(); ddl_RecipientRole_Mail.Items.Insert(0, new ListItem("请选择...", Guid.Empty.ToString())); ddl_RecipientRole_Mail_SelectedIndexChanged(null, null); }