|
@@ -495,14 +495,13 @@ public class WorkflowController : BaseController
|
|
|
{
|
|
|
var levels = new List<int> { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
|
|
|
var orgs = levels.Select(d => new KeyValuePair<string, string>(d.ToString(), $"{d.ToChinese()}级部门办理")).ToList();
|
|
|
- var center = new KeyValuePair<string, string>("center", "中心办理");
|
|
|
+ var center = new KeyValuePair<string, string>("0", "中心办理");
|
|
|
var centerIsTop = new List<KeyValuePair<string, string>> { center };
|
|
|
centerIsTop.AddRange(orgs);
|
|
|
return new
|
|
|
{
|
|
|
ModuleOptions = WorkflowModuleConsts.AllModules.Select(d => new KeyValuePair<string, string>(d.Code, d.Name)),
|
|
|
HandlerTypeOptions = EnumExts.GetDescriptions<EHandlerType>(),
|
|
|
- CountersignMode = EnumExts.GetDescriptions<ECountersignMode>().Where(d => d.Key != 1),
|
|
|
BusinessTypeOptions = EnumExts.GetDescriptions<EBusinessType>(),
|
|
|
StepPropertiesOptions = await _systemDomainService.GetSysDicDataByCodeAsync(SysDicTypeConsts.WorkflowStepComponent, HttpContext.RequestAborted),
|
|
|
//PathPolicyOptions = EnumExts.GetDescriptions<EPathPolicy>(),
|