| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- using OASystem.Domain.Entities.Groups;
- using OASystem.Domain.Enums;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace OASystem.Domain.ViewModels.Groups
- {
- public class ProcessOverView
- {
- }
- public class ConfProcessOverInfo {
- /// <summary>
- /// 是否可切换节点模板
- /// </summary>
- public bool IsNodeTemplSwitchable { get; set; }
- public int TempId
- {
- get
- {
- int tempId = 0;
- if (ConfProcess.FirstOrDefault().Nodes.Count == 8) tempId = 1;
- else if (ConfProcess.FirstOrDefault().Nodes.Count == 6) tempId = 2;
- return tempId;
- }
- }
- public List<ConfProcessOverInfoView> ConfProcess { get; set; }
- }
- public class ConfProcessOverInfoView
- {
- public int Id { get; set; }
-
- public int GroupId { get; set; }
- public ConfProcessType ProcessType { get; set; }
- public string ProcessName { get; set; }
- public List<ConfProcessNodeInfoView> Nodes { get; set; }
- }
- public class ConfProcessNodeInfoView
- {
- public int Id { get; set; }
- public int ProcessId { get; set; }
- public int NodeOrder { get; set; }
- public string NodeName { get; set; }
- public string NodeDescTips { get; set; }
- public ProcessStatus OverallStatus { get; set; }
- public List<int> Participators { get; set; }
- public string StatusText { get; set; }
- public string Operator { get; set; }
- public string OpeateTime { get; set; }
- public string ActualDone { get; set; }
- public bool IsEnaFileUpBtn { get; set; }
- public bool IsFileUp { get; set; }
- }
- }
|