private void AddDynamicWorkItemTen(BaseDynamicWorkObjViewModel viewModel, DynamicWorkItemTenStyle style)
 {
     if (viewModel.RepalceStrs.Count == 5 && viewModel.UnReplaceStrs.Count == 4)
     {
         DynamicWorkItemTen row = new DynamicWorkItemTen(viewModel.ActionHourMinute, viewModel.RepalceStrs[0], viewModel.UnReplaceStrs[0], viewModel.RepalceStrs[1], viewModel.UnReplaceStrs[1], viewModel.RepalceStrs[2], viewModel.UnReplaceStrs[2], viewModel.RepalceStrs[3], viewModel.UnReplaceStrs[3], viewModel.RepalceStrs[4], viewModel.Url);
         row.UseStyle(style);
         this.RowGroup.Rows.Add(row);
     }
     else
     {
         viewModel.UnReplaceStrs.Clear();
         viewModel.UnReplaceStrs.Add("向");
         viewModel.UnReplaceStrs.Add("授予了目录");
         viewModel.UnReplaceStrs.Add("的");
         viewModel.UnReplaceStrs.Add("权限");
         viewModel.RepalceStrs.Clear();
         viewModel.RepalceStrs.Add("授权者");
         viewModel.RepalceStrs.Add("被授权者");
         viewModel.RepalceStrs.Add("目录名");
         viewModel.RepalceStrs.Add("查看、下载");
         viewModel.RepalceStrs.Add("企业资料库授权");
         DynamicWorkItemTen row = new DynamicWorkItemTen(viewModel.ActionHourMinute, viewModel.RepalceStrs[0], viewModel.UnReplaceStrs[0], viewModel.RepalceStrs[1], viewModel.UnReplaceStrs[1], viewModel.RepalceStrs[2], viewModel.UnReplaceStrs[2], viewModel.RepalceStrs[3], viewModel.UnReplaceStrs[3], viewModel.RepalceStrs[4], viewModel.Url);
         row.UseStyle(style);
         this.RowGroup.Rows.Add(row);
     }
 }
 private void AddDynamicWorkItemTen(BaseDynamicWorkObjViewModel viewModel, DynamicWorkItemTenStyle style)
 {
     if (viewModel.RepalceStrs.Count == 5 && viewModel.UnReplaceStrs.Count == 4)
     {
         DynamicWorkItemTen row = new DynamicWorkItemTen(viewModel.ActionHourMinute, viewModel.RepalceStrs[0], viewModel.UnReplaceStrs[0], viewModel.RepalceStrs[1], viewModel.UnReplaceStrs[1], viewModel.RepalceStrs[2], viewModel.UnReplaceStrs[2], viewModel.RepalceStrs[3], viewModel.UnReplaceStrs[3], viewModel.RepalceStrs[4], viewModel.Url);
         row.UseStyle(style);
         this.RowGroup.Rows.Add(row);
     }
     else
     {
         viewModel.UnReplaceStrs.Clear();
         viewModel.UnReplaceStrs.Add("向");
         viewModel.UnReplaceStrs.Add("授予了目录");
         viewModel.UnReplaceStrs.Add("的");
         viewModel.UnReplaceStrs.Add("权限");
         viewModel.RepalceStrs.Clear();
         viewModel.RepalceStrs.Add("授权者");
         viewModel.RepalceStrs.Add("被授权者");
         viewModel.RepalceStrs.Add("目录名");
         viewModel.RepalceStrs.Add("查看、下载");
         viewModel.RepalceStrs.Add("企业资料库授权");
         DynamicWorkItemTen row = new DynamicWorkItemTen(viewModel.ActionHourMinute, viewModel.RepalceStrs[0], viewModel.UnReplaceStrs[0], viewModel.RepalceStrs[1], viewModel.UnReplaceStrs[1], viewModel.RepalceStrs[2], viewModel.UnReplaceStrs[2], viewModel.RepalceStrs[3], viewModel.UnReplaceStrs[3], viewModel.RepalceStrs[4], viewModel.Url);
         row.UseStyle(style);
         this.RowGroup.Rows.Add(row);
     }
 }