using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DataTransmission.Enum { public class Order { } /// /// 时间类型 /// public enum ETimeType { [Description("小时")] Hour = 1, [Description("工作日")] WorkDay = 2, [Description("自然日")] Day = 3, } public enum EOrderStatus { /// /// 待受理 /// [Description("待受理")] WaitForAccept = 0, /// /// 已开启流程,退回到开始节点 /// 待受理,可编辑 /// [Description("退回待受理")] BackToUnAccept = 1, /// /// 已开启流程,特提到开始节点 /// 待受理,可编辑 /// [Description("特提待受理")] SpecialToUnAccept = 2, /// /// 已开启流程,移交开始节点 /// 待受理,可编辑 /// [Description("移交待受理")] HandOverToUnAccept = 3, /// /// 退回省平台(锁定,不可操作) /// [Description("退回省平台")] BackToProvince = 9, /// /// 办理中 /// [Description("办理中")] Handling = 100, /// /// 特提信件 /// [Description("特提信件")] Special = 101, /// /// 退回信件 /// [Description("退回信件")] SendBack = 102, /// /// 移交信件 /// [Description("移交信件")] HandOver = 103, /// /// 特提审批中 /// [Description("特提审批中")] SpecialAudit = 104, /// /// 退回审批中 /// [Description("退回审批中")] SendBackAudit = 105, /// /// 会签中 /// [Description("会签中")] Countersigning = 200, /// /// 已归档 /// [Description("已归档")] Filed = 300, /// /// 已发布 /// [Description("已发布")] Published = 400, /// /// 已回访 /// [Description("已回访")] Visited = 500, } /// /// 性别 /// public enum EGender { [Description("女士")] Female = 0, [Description("先生")] Male = 1, [Description("未知")] Unknown = 2, } /// /// 来电/信人身份 /// public enum EIdentityType { ///// ///// 未知 ///// //[Description("未知")] //Unknown = 0, /// /// 市民 /// [Description("市民")] Citizen = 1, /// /// 企业 /// [Description("企业")] Enterprise = 2, } public enum ESeatEvaluate { /// /// 默认满意 /// [Description("默认满意")] DefaultSatisfied = 0, /// /// 非常不满意 /// [Description("非常不满意")] VeryNoSatisfied = 1, /// /// 不满意 /// [Description("不满意")] NoSatisfied = 2, /// /// 一般 /// [Description("一般")] Normal = 3, /// /// 满意 /// [Description("满意")] Satisfied = 4, /// /// 非常满意 /// [Description("非常满意")] VerySatisfied = 5, /// /// 未接通 /// [Description("未接通")] NoConnect = 6, /// /// 未做评价 /// [Description("未做评价")] NoEvaluate = 7, } /// /// 会签类型 /// public enum ECounterSignType { /// /// 中心会签 /// [Description("中心会签")] Center = 0, /// /// 部门会签 /// [Description("部门会签")] Department = 1, } public enum EExpiredStatus { /// /// 正常状态(未超期) /// [Description("正常")] Normal = 0, /// /// 即将超期 /// [Description("剩余时间小于20%")] GoingToExpired = 1, /// /// 已超期 /// [Description("已超期")] Expired = 2, /// /// 即将超期 /// [Description("剩余时间小于50%")] GoingToExpiredOne = 3, } /// /// 工单处理方式(直办、交办) /// public enum EProcessType { /// /// 直接办结 /// 中心 /// Zhiban = 10, /// /// 交办 /// 部门 /// Jiaoban = 20, } public enum ESource { /// /// 热线平台工单 /// Hotline = 0, /// /// 门户网站 /// WebPortal = 2, /// /// APP /// APP = 3, /// /// 微信 /// WeChat = 4, /// /// 热线平台导入工单 /// HotlineImport = 1, /// /// 省平台直派 /// ProvinceStraight = 100, /// /// 110同步工单 /// Police110 = 200, /// /// 市州互转--泸州 /// CityDataExchangeLz = 300, /// /// 市州互转--宜宾 /// CityDataExchangeYB = 301, /// /// 市州互转--自贡 /// CityDataExchangeZG = 302, /// /// 市州互转--内江 /// CityDataExchangeNJ = 303, /// /// 宜宾融媒体 /// ConvergenceMedia = 400, /// /// i宜宾 /// IYIBIN = 401, /// /// 智慧宜宾 /// ZHYB = 402, /// /// 综治平台 /// ZZPT = 403, /// /// 网络理政—市民中心大厅 /// WLLZ = 404, /// /// 宜办事 /// YBS = 405, /// /// 自贡观察 /// ZGGC = 406, /// /// 天府通办 /// ZGTFTB = 407, #region 导入类型(>=500 <530为导入来源) /// /// 麻辣社区导入 /// [Description("麻辣社区")] MLSQ = 500, /// /// 人民网 /// [Description("人民网")] RMW = 501, /// /// 省长信箱 /// [Description("省长信箱")] SZXX = 502, /// /// 问政四川 /// [Description("问政四川")] WZSC = 529, #endregion } public enum ERealCommunicationMode { [Description("电话")] Phone = 0, [Description("现场")] Locale = 1, } public enum EFileUserType { /// /// 坐席 /// [Description("坐席")] Seat = 1, /// /// 派单员 /// [Description("派单员")] Dispatch = 2, /// /// 部门 /// [Description("部门")] Org = 3, } public class Kv { public Kv() { } public Kv(string key, string value) { Key = key; Value = value; } public string Key { get; set; } public string Value { get; set; } } #region Delay public enum EDelayState { /// /// 审批中 /// [Description("审批中")] Examining = 0, /// /// 通过 /// [Description("通过")] Pass = 1, /// /// 拒绝 /// [Description("拒绝")] NoPass = 2, /// /// 撤销 /// [Description("撤销")] Withdraw = 3, } public enum EDelayApplyType { [Description("本地审批")] LocalApply = 0, [Description("省审批")] ProvinceApply = 1, } #endregion #region Visit public enum EVisitState { /// /// 待回访 /// [Description("待回访")] WaitForVisit = 10, /// /// 回访中 /// [Description("回访中")] Visiting = 20, /// /// 短信回访中 /// 逻辑需求(Task_317) : 操作了短信回访的工单,在没有短信结果回复前,回访状态需从“待回访”更新为“短信回访中” /// [Description("短信回访中")] SMSVisiting = 21, /// /// 智能回访中 /// [Description("智能回访中")] AiVisiting = 22, /// /// 已回访 /// [Description("已回访")] Visited = 30, /// /// 不满意待回访 /// [Description("不满意待回访")] NoSatisfiedWaitForVisit = 40, /// /// 短信不满意待回访 /// 逻辑需求(Task_317) : 若短信回访结果为不满意,回访状态需从“短信回访中”更新为“短信不满意待回访” /// [Description("短信不满意待回访")] SMSUnsatisfied = 41, /// /// 失效 /// [Description("失效")] None = 50, } public enum EJudgeState { /// /// 评判中 /// [Description("评判中")] Judging = 0, /// /// 已同意 /// [Description("已同意")] Agreed = 1, /// /// 不同意 /// [Description("不同意")] UnAgreed = 2, } public enum EVisitType { /// /// 人工回访 /// [Description("人工回访")] ArtificialVisit = 10, /// /// 智能语音回访 /// [Description("智能语音回访")] ChipVoiceVisit = 20, /// /// 短信回访 /// [Description("短信回访")] SmsVisit = 30, /// /// 网站回访 /// [Description("网站回访")] WebVisit = 40, /// /// App回访 /// [Description("App回访")] AppVisit = 50, /// /// 微信回访 /// [Description("微信回访")] WeChatVisit = 60, /// /// 电话回访 /// [Description("电话回访")] CallVisit = 70, /// /// 其他 /// [Description("其他")] OtherVisit = 100, } public enum EAiVisitResult { /// /// 部门办件不满意 /// [Description("部门办件不满意")] OrgProcessingResultsNoSatisfied = 1, } public enum EVoiceEvaluate { /// /// 甄别为满意 /// [Description("甄别为满意")] ScreenSatisfied = -1, /// /// 非常不满意 /// [Description("非常不满意")] VeryNoSatisfied = 1, /// /// 不满意 /// [Description("不满意")] NoSatisfied = 2, /// /// 一般 /// [Description("一般")] Normal = 3, /// /// 满意 /// [Description("满意")] Satisfied = 4, /// /// 非常满意 /// [Description("非常满意")] VerySatisfied = 5, /// /// 未做评价 /// [Description("未做评价")] NoEvaluate = 7, /// /// 未接通 /// [Description("未接通")] BlockCall = 8, /// /// 默认满意 /// [Description("默认满意")] DefaultSatisfied = 9, } public enum EVisitTarget { /// /// 话务员 /// [Description("话务员")] Seat = 10, /// /// 部门 /// [Description("部门")] Org = 20, } public enum EAgainState { /// /// 不重办 /// [Description("不重办")] NoAgain = 0, /// /// 需要重办 /// [Description("需要重办")] NeedAgain = 10, /// /// 已重办 /// [Description("已重办")] DoAgain = 20, } #endregion #region Screen public enum EScreenStatus { /// /// 待办 /// [Description("待办")] Apply = 0, /// /// 审批中 /// [Description("甄别中")] Approval = 1, /// /// 审批完成 /// [Description("甄别同意")] End = 2, /// /// 审批拒绝 /// [Description("甄别不同意")] Refuse = 3, /// /// 已办 只用作列表查询使用 /// [Description("已办")] MyHandle = 4, /// /// 退回 /// [Description("甄别退回")] SendBack = 5, } public enum EOrderScreenType { /// /// 部门办件 /// [Description("部门办件")] Org = 0, /// /// 中心话务 /// [Description("中心话务")] Seat = 1, } #endregion #region Step /// /// 节点状态 /// public enum EWorkflowStepStatus { /// /// 待受理 /// [Description("待受理")] WaitForAccept = 0, /// /// 待办理(已受理) /// [Description("待办理")] WaitForHandle = 1, /// /// 已办理 /// [Description("已办理")] Handled = 2, ///// ///// 无需办理(或签流程未办理节点) ///// //[Description("无需办理")] //NoNeedInSingleCountersign = 3, ///// ///// 未办理,由结束会签结束掉 ///// //[Description("已办理")] //Terminal = 3, } /// /// 节点处于会签流程中的位置 /// public enum ECountersignPosition { /// /// 无会签(未处于会签流程中,外层也无会签嵌套) /// None = 0, /// /// 办理会签(上级节点直接开启会签) /// Direct = 1, /// /// 本身不直接处于会签流程中,但外层有会签流程嵌套(非上级节点开启会签,当前节点会签并未结束) /// Indirect = 2, /// /// 会签汇总节点 /// End = 3, } /// /// 办理方式 /// public enum EHandleMode { /// /// 正常办理 /// [Description("正常")] Normal = 0, /// /// 审核通过(审批流程特有) /// [Description("审核通过")] Approved = 20, /// /// 审核不通过(审批流程特有) /// [Description("审核不通过")] NotApproved = 21, /// /// 退回 /// [Description("退回")] Previous = 100, /// /// 特提 /// [Description("特提")] Recall = 200, /// /// 重办 /// [Description("重办")] Redo = 201, } public enum EReviewResult { /// /// 未知 /// [Description("未办理")] Unknown = 0, /// /// 通过 /// [Description("同意")] Approval = 1, /// /// 审核失败 /// [Description("不同意")] Failed = 2, } public enum EStepType { /// /// 普通节点 /// [Description("普通节点")] Normal = 0, /// /// 开始节点(发起人) /// [Description("开始节点")] Start = 1, /// /// 结束节点 /// [Description("结束节点")] End = 2, /// /// 意见汇总节点 /// [Description("意见汇总节点")] Summary = 3, } public enum EBusinessType { /// /// 坐席节点 /// [Description("坐席节点")] Seat = 0, /// /// 派单节点 /// [Description("派单节点")] Send = 1, /// /// 部门节点 /// [Description("部门节点")] Department = 2, /// /// 部门领导 /// [Description("部门领导节点")] DepartmentLeader = 3, /// /// 归档节点 /// [Description("归档节点")] File = 99, } public enum EHandlerType { /// /// 角色 /// [Description("角色")] Role = 0, /// /// 部门级别 /// [Description("部门级别")] OrgLevel = 1, /// /// 部门类型 /// [Description("部门类型")] OrgType = 2, /// /// 指定用户 /// [Description("指定用户")] AssignedUser = 3, /// /// 指定部门 /// [Description("指定部门")] AssignedOrg = 4, // /// // /// 指定部门与角色 // /// // [Description("指定部门与角色")] //AssignedOrgOrRole = 5, } /// /// 执行模式 /// public enum EExecuteMode { [Description("人工审批")] Manual = 0, [Description("自动通过")] AutoPass = 1, [Description("自动拒绝")] AutoReject = 2, } /// /// 动态实例化策略 /// public enum ECountersignPolicy { /// /// 直属上级部门(中心作为顶级部门) /// [Description("直属上级(中心作为顶级部门)")] OrgUpCenterTop = 0, /// /// 直属上级(中心作为一级部门) /// [Description("直属上级(中心作为一级部门)")] OrgUp = 1, /// /// 直属下级部门(中心作为顶级部门) /// [Description("直属下级(中心作为顶级部门)")] OrgDownCenterTop = 2, /// /// 直属下级(中心作为一级部门) /// [Description("直属下级(中心作为一级部门)")] OrgDown = 3, // /// // /// 直属上级部门(中心作为顶级部门)经办人 // /// // [Description("直属上级(中心作为顶级部门) 经办人")] // OrgUpHandleCenterTop = 4, // // /// // /// 直属上级(中心作为一级部门) // /// // [Description("直属上级(中心作为一级部门)经办人")] // OrgUpHandle = 5, // // /// // /// 直属上级部门(中心作为顶级部门) 经办人与领导 // /// // [Description("直属上级(中心作为顶级部门)经办人与领导")] // OrgUpLeadCenterTop = 6, // // /// // /// 直属上级(中心作为一级部门)经办人与领导 // /// // [Description("直属上级(中心作为一级部门)经办人与领导")] // OrgUpLead = 7, // // /// // /// 直达中心 // /// // [Description("直达中心")] // ArriveCenter = 8, // // /// // /// 直达一级部门 // /// // [Description("直达一级部门")] // ArriveOneOrg = 9, } /// /// 实例化模式(依据模板实例化step的模式) /// public enum EInstanceMode { [Description("依据配置")] Config = 0, [Description("依据操作人动态生成")] Dynamic = 1 } /// /// 动态实例化策略 /// public enum EDynamicPolicy { /// /// 直属上级部门(中心作为顶级部门) /// [Description("直属上级(中心作为顶级部门)")] OrgUpCenterTop = 0, /// /// 直属上级(中心作为一级部门) /// [Description("直属上级(中心作为一级部门)")] OrgUp = 1, /// /// 直属下级部门(中心作为顶级部门) /// [Description("直属下级(中心作为顶级部门)")] OrgDownCenterTop = 2, /// /// 直属下级(中心作为一级部门) /// [Description("直属下级(中心作为一级部门)")] OrgDown = 3, /// /// 直属上级部门(中心作为顶级部门)经办人 /// [Description("直属上级(中心作为顶级部门) 经办人")] OrgUpHandleCenterTop = 4, /// /// 直属上级(中心作为一级部门) /// [Description("直属上级(中心作为一级部门)经办人")] OrgUpHandle = 5, /// /// 直属上级部门(中心作为顶级部门) 经办人与领导 /// [Description("直属上级(中心作为顶级部门)经办人与领导")] OrgUpLeadCenterTop = 6, /// /// 直属上级(中心作为一级部门)经办人与领导 /// [Description("直属上级(中心作为一级部门)经办人与领导")] OrgUpLead = 7, /// /// 直达中心 /// [Description("直达中心")] ArriveCenter = 8, /// /// 直达一级部门 /// [Description("直达一级部门")] ArriveOneOrg = 9, } public enum EFlowDirection { CenterToOrg = 0, OrgToCenter = 1, CenterToCenter = 2, OrgToOrg = 3, CenterToFile = 4, OrgToFile = 5, /// /// 已归档回到中心 /// FiledToCenter = 6, /// /// 已归档回到部门 /// FiledToOrg = 7 } public enum EWorkflowTraceType { ///// ///// 流程开始 ///// //[Description("流程开始")] //Start = 0, /// /// 正常流转 /// [Description("正常流转")] Normal = 1, /// /// 特提 /// [Description("特提")] Recall = 2, /// /// 退回 /// [Description("退回")] Previous = 3, /// /// 跳转 /// [Description("跳转")] Jump = 4, /// /// 撤销(发起人操作) /// [Description("撤销")] Cancel = 5, /// /// 重办 /// [Description("重办")] Redo = 6, /// /// 二次办理 /// [Description("二次办理")] SecondHandle = 7, } /// /// 快照对应节点状态 /// public enum EWorkflowTraceState { /// /// 正常办理 /// Normal = 0, /// /// 对应节点因退回被删除 /// StepRemoveByPrevious = 10, /// /// 对应节点因特提被删除(工单未归档) /// StepRemoveByRecall = 20, /// /// 对应节点因特提被删除(工单已归档) /// StepRemoveByRecallWhenFiled = 21, } /// /// 流程节点类型 /// public enum ETraceStyle { /// /// 流程节点 /// Flow = 0, /// /// 发布 /// Publish = 1, /// /// 回访 /// Visit = 2, /// /// 结束(为了与老系统保持一致,额外添加在回访后的节点) /// TrashEnd = 9, } #endregion }