力软 发布时不包含 看csproj文件里面 none
封装
登录login
admindefault _Admin.cshtml 默认加载js
lr-base.js
lr-tabs.js lr-admin.js
客户端语言包加载(菜单,tab条)
tab窗口操作方法
拦截器
登陆验证
防伪验证
var request = filterContext.HttpContext.Request
Learun.Util.Operat 当前连接用户信息处理类 redis
OnAuthorization(登陆过期或者未登陆) 读cookie值 然后redis比对 loginMark浏览器,设备 从cookie中读到浏览器设备
TimeSpan--现在时间减去登陆时间 >12小时 redis移除
util webhelper
redis 类
cache.base 0号库 1号库
cache.factory
cache,redis
看板演示 PreviewForm div js动态绘制
/LR_DisplayBoard/LR_KBKanBanInfo/GetFormData
Learun.Application.Extention--LR_KBKanBanInfo 看板名称 看板编号
configinfo配置数据 具体的逻辑写在脚本里 便利循环
单位组织
公司 /LR_OrganizationModule/Company/Index Learun.Application.Organization.dll LR_Base_Company
用户 LR_Base_User
关系表 LR_Base_UserRelation
1.代表角色 2.代表岗位
岗位
查看成员 LR_AuthorizeModule/UserRelation/LookForm
拦截器
HandlerLoginAttribute AuthorizeAttribute
力软app
点击流程列表查看流程详情
myflow.js
商务总监,副总经理审批 zttsmart/xidanfw/Formchakan
processInfo.js
Nodeform div workform jfgrid
流程
lr-workflow-ui
form li step1 step2 step3
step $('#step-3').lrworkflow
1.render渲染
(1)添加工具栏 div 工具用<a>表示 点击监听事件
(2)工作流画板 div
2.svg画图
3.节点操作 增加节点 删除 移动
4.画线 svg
{\"nodes\":[{\"id\":\"f8356498-44a1-609c-db93-c862b224d941\",\"name\":\"开始\",\"left\":105,\"top\":260,\"type\":\"startround\",\"width\":52,\"height\":52,\"wfForms\":[]},{\"id\":\"8c8321d0-13f2-206d-e2b0-a099cf8a4f04\",\"name\":\"普通节点1\",\"left\":300,\"top\":258,\"type\":\"stepnode\",\"width\":150,\"height\":65,\"auditors\":[],\"wfForms\":[],\"btnlist\":[{\"id\":\"1\",\"name\":\"同意\",\"code\":\"agree\",\"file\":\"1\",\"next\":\"1\"},{\"id\":\"9357ab8b-4dd1-2547-1cdf-fae78ced3a64\",\"name\":\"退回到f8356498-44a1-609c-db93-c862b224d941\",\"code\":\"9357ab8b-4dd1-2547-1cdf-fae78ced3a64\",\"isHide\":\"2\",\"isSign\":\"2\",\"next\":\"1\"}],\"notice\":\"\",\"isAllAuditor\":\"1\",\"auditorAgainType\":\"1\",\"auditorType\":\"1\",\"auditExecutType\":\"1\",\"isSign\":\"1\",\"isBatchAudit\":\"2\",\"auditorslist\":[],\"isdirectaudit\":true,\"timeoutNotice\":\"\",\"timeoutInterval\":\"\",\"timeoutStrategy\":\"\",\"timeoutAction\":\"\",\"btnList\":[{\"id\":\"1\",\"name\":\"同意\",\"code\":\"agree\",\"file\":\"1\",\"next\":\"1\"},{\"id\":\"9357ab8b-4dd1-2547-1cdf-fae78ced3a64\",\"name\":\"退回到f8356498-44a1-609c-db93-c862b224d941\",\"code\":\"9357ab8b-4dd1-2547-1cdf-fae78ced3a64\",\"isHide\":\"2\",\"isSign\":\"2\",\"next\":\"1\"}]},{\"id\":\"c09d5011-1554-6095-d004-165017df7f5c\",\"name\":\"普通节点2\",\"left\":644,\"top\":177,\"type\":\"stepnode\",\"width\":150,\"height\":65,\"auditors\":[],\"wfForms\":[],\"btnlist\":[{\"id\":\"1\",\"name\":\"同意\",\"code\":\"agree\",\"file\":\"1\",\"next\":\"1\"},{\"id\":\"4a341b39-f3e4-37dc-ea79-9245390cfa25\",\"name\":\"退回到8c8321d0-13f2-206d-e2b0-a099cf8a4f04\",\"code\":\"4a341b39-f3e4-37dc-ea79-9245390cfa25\",\"isHide\":\"2\",\"isSign\":\"2\",\"next\":\"1\"},{\"id\":\"fdfc665e-e5a5-4894-df34-2ed47fb6bd32\",\"name\":\"退回到f8356498-44a1-609c-db93-c862b224d941\",\"code\":\"fdfc665e-e5a5-4894-df34-2ed47fb6bd32\",\"isHide\":\"2\",\"isSign\":\"2\",\"next\":\"1\"}],\"notice\":\"\",\"isAllAuditor\":\"1\",\"auditorAgainType\":\"1\",\"auditorType\":\"1\",\"auditExecutType\":\"1\",\"isSign\":\"1\",\"isBatchAudit\":\"2\",\"auditorslist\":[],\"isdirectaudit\":true,\"timeoutNotice\":\"\",\"timeoutInterval\":\"\",\"timeoutStrategy\":\"\",\"timeoutAction\":\"\",\"btnList\":[{\"id\":\"1\",\"name\":\"同意\",\"code\":\"agree\",\"file\":\"1\",\"next\":\"1\"},{\"id\":\"4a341b39-f3e4-37dc-ea79-9245390cfa25\",\"name\":\"退回到8c8321d0-13f2-206d-e2b0-a099cf8a4f04\",\"code\":\"4a341b39-f3e4-37dc-ea79-9245390cfa25\",\"isHide\":\"2\",\"isSign\":\"2\",\"next\":\"1\"},{\"id\":\"fdfc665e-e5a5-4894-df34-2ed47fb6bd32\",\"name\":\"退回到f8356498-44a1-609c-db93-c862b224d941\",\"code\":\"fdfc665e-e5a5-4894-df34-2ed47fb6bd32\",\"isHide\":\"2\",\"isSign\":\"2\",\"next\":\"1\"}]},{\"id\":\"6f8d0ea8-8249-4b07-e5da-ead093bf8751\",\"name\":\"结束\",\"left\":972,\"top\":203,\"type\":\"endround\",\"width\":52,\"height\":52,\"btnlist\":[{\"id\":\"1\",\"name\":\"同意\",\"code\":\"agree\",\"file\":\"1\",\"next\":\"1\"}]}],\"lines\":[{\"id\":\"696fa3f6-305b-17fd-729a-c626a28a72ba\",\"from\":\"f8356498-44a1-609c-db93-c862b224d941\",\"to\":\"8c8321d0-13f2-206d-e2b0-a099cf8a4f04\",\"sp\":\"right\",\"ep\":\"left\",\"name\":\"通过\",\"agreeList\":\"agree\",\"color\":\"1\",\"type\":\"sl\"},{\"id\":\"b7aab18e-e222-1492-3635-a9d878ee2c2c\",\"from\":\"8c8321d0-13f2-206d-e2b0-a099cf8a4f04\",\"to\":\"f8356498-44a1-609c-db93-c862b224d941\",\"sp\":\"top\",\"ep\":\"top\",\"name\":\"\",\"agreeList\":\"9357ab8b-4dd1-2547-1cdf-fae78ced3a64\",\"color\":\"2\",\"type\":\"sl\"},{\"id\":\"a7289fbf-3027-fe4c-df28-39fe83fde405\",\"from\":\"8c8321d0-13f2-206d-e2b0-a099cf8a4f04\",\"to\":\"c09d5011-1554-6095-d004-165017df7f5c\",\"sp\":\"right\",\"ep\":\"left\",\"name\":\"通过\",\"agreeList\":\"agree\",\"color\":\"1\",\"type\":\"sl\"},{\"id\":\"cbcdbe54-b23b-62c5-95fc-eb45571fe818\",\"from\":\"c09d5011-1554-6095-d004-165017df7f5c\",\"to\":\"8c8321d0-13f2-206d-e2b0-a099cf8a4f04\",\"sp\":\"top\",\"ep\":\"top\",\"name\":\"\",\"agreeList\":\"4a341b39-f3e4-37dc-ea79-9245390cfa25\",\"color\":\"2\",\"type\":\"sl\",\"strategy\":\"2\",\"operationType\":\"sql\",\"dbId\":\"\",\"strSql\":\"\",\"strSqlR\":\"\"},{\"id\":\"07243870-c3e4-2362-7234-7cb824e69620\",\"from\":\"c09d5011-1554-6095-d004-165017df7f5c\",\"to\":\"f8356498-44a1-609c-db93-c862b224d941\",\"sp\":\"top\",\"ep\":\"top\",\"name\":\"\",\"agreeList\":\"fdfc665e-e5a5-4894-df34-2ed47fb6bd32\",\"color\":\"2\",\"type\":\"sl\"},{\"id\":\"0c46b127-58e6-cb97-7296-f0c155d4f187\",\"from\":\"c09d5011-1554-6095-d004-165017df7f5c\",\"to\":\"6f8d0ea8-8249-4b07-e5da-ead093bf8751\",\"sp\":\"right\",\"ep\":\"left\",\"name\":\"通过\",\"agreeList\":\"agree\",\"color\":\"1\",\"type\":\"sl\"}],\"closeDo\":{\"F_CloseDoType\":\"sql\",\"F_CloseDoDbId\":\"\",\"F_CloseDoSql\":\"\",\"F_CloseDoIocName\":\"\",\"F_CloseDoInterface\":\"\"}}"
\
"id\":\"8c8321d0-13f2-206d-e2b0-a099cf8a4f04\",\
"name\":\"普通节点1\",\
"left\":300,\
"top\":258,\
"type\":\"stepnode\",\
"width\":150,\
"height\":65,\
"auditors\":[
],
\"wfForms\":[
],
\"btnlist\":[ {\"id\":\"1\",\"name\":\"同意\",\"code\":\"agree\",\"file\":\"1\",\"next\":\"1\"
}, {\"id\":\"9357ab8b-4dd1-2547-1cdf-fae78ced3a64\",\"name\":\"退回到f8356498-44a1-609c-db93-c862b224d941\",\"code\":\"9357ab8b-4dd1-2547-1cdf-fae78ced3a64\",\"isHide\":\"2\",\"isSign\":\"2\",\"next\":\"1\"
}],
\"notice\":\"\",
\"isAllAuditor\":\"1\",
\"auditorAgainType\":\"1\",
\"auditorType\":\"1\",
\"auditExecutType\":\"1\",
\"isSign\":\"1\",
\"isBatchAudit\":\"2\",
\"auditorslist\":[
],
\"isdirectaudit\":true,
\"timeoutNotice\":\"\",
\"timeoutInterval\":\"\",
\"timeoutStrategy\":\"\",
\"timeoutAction\":\"\",
\"btnList\":[ {\"id\":\"1\",\"name\":\"同意\",\"code\":\"agree\",\"file\":\"1\",\"next\":\"1\"
}, {\"id\":\"9357ab8b-4dd1-2547-1cdf-fae78ced3a64\",\"name\":\"退回到f8356498-44a1-609c-db93-c862b224d941\",\"code\":\"9357ab8b-4dd1-2547-1cdf-fae78ced3a64\",\"isHide\":\"2\",\"isSign\":\"2\",\"next\":\"1\"
}]
{"nodes&#