private void AddDynamicWorkItemFour(BaseDynamicWorkObjViewModel viewModel, DynamicWorkItemFourStyle style)
 {
     if (viewModel.RepalceStrs.Count == 2 && viewModel.UnReplaceStrs.Count == 1)
     {
         DynamicWorkItemFour row = new DynamicWorkItemFour(viewModel.ActionHourMinute, viewModel.RepalceStrs[0], viewModel.UnReplaceStrs[0], viewModel.RepalceStrs[1]);
         row.UseStyle(style);
         this.RowGroup.Rows.Add(row);
     }
     else
     {
         viewModel.UnReplaceStrs.Clear();
         viewModel.UnReplaceStrs.Add("添加部门");
         viewModel.RepalceStrs.Clear();
         viewModel.RepalceStrs.Add("系统管理员");
         viewModel.RepalceStrs.Add("部门名称");
         DynamicWorkItemFour row = new DynamicWorkItemFour(viewModel.ActionHourMinute, viewModel.RepalceStrs[0], viewModel.UnReplaceStrs[0], viewModel.RepalceStrs[1]);
         row.UseStyle(style);
         this.RowGroup.Rows.Add(row);
     }
 }
 private void AddDynamicWorkItemFour(BaseDynamicWorkObjViewModel viewModel, DynamicWorkItemFourStyle style)
 {
     if (viewModel.RepalceStrs.Count == 2 && viewModel.UnReplaceStrs.Count == 1)
     {
         DynamicWorkItemFour row = new DynamicWorkItemFour(viewModel.ActionHourMinute, viewModel.RepalceStrs[0], viewModel.UnReplaceStrs[0], viewModel.RepalceStrs[1]);
         row.UseStyle(style);
         this.RowGroup.Rows.Add(row);
     }
     else
     {
         viewModel.UnReplaceStrs.Clear();
         viewModel.UnReplaceStrs.Add("添加部门");
         viewModel.RepalceStrs.Clear();
         viewModel.RepalceStrs.Add("系统管理员");
         viewModel.RepalceStrs.Add("部门名称");
         DynamicWorkItemFour row = new DynamicWorkItemFour(viewModel.ActionHourMinute, viewModel.RepalceStrs[0], viewModel.UnReplaceStrs[0], viewModel.RepalceStrs[1]);
         row.UseStyle(style);
         this.RowGroup.Rows.Add(row);
     }
 }