{"Message":"1. 增加用户登录检测通知(暂时无法捕捉登录事件,采用刷新);\r\n2. 增加任务评论实时通知;\r\n3. 修改新增任务的页面弹出方式;\r\n4. 修改任务提交流程及逻辑;","MessageType":2,"Modules":[{"State":1,"Type":1,"Name":"PCPage/项目列表"},{"State":1,"Type":1,"Name":"PCPage/任务列表"},{"State":1,"Type":1,"Name":"PCPage/任务-侧栏"},{"State":1,"Type":1,"Name":"PCPage/任务-任务信息"},{"State":1,"Type":1,"Name":"PCPage/任务-子任务列表"},{"State":1,"Type":1,"Name":"PCPage/新增任务"},{"State":2,"Type":1,"Name":"PCPage/MD编辑器"},{"State":1,"Type":3,"Name":"MasterPCPage/FGC_母版页"},{"State":1,"Type":31,"Name":"UserControlPage/评论组件"},{"State":1,"Type":31,"Name":"UserControlPage/发表评论组件"},{"State":1,"Type":15,"Name":"ServerCommand/提交任务评论"},{"State":2,"Type":15,"Name":"ServerCommand/检查未提交汇报"},{"State":2,"Type":34,"Name":"Notification/汇报提交提醒"},{"State":3,"Type":15,"Name":"ServerCommand/用户登录检查"},{"State":3,"Type":34,"Name":"Notification/提醒通知"},{"State":3,"Type":1,"Name":"PCPage/富文本编辑器"}],"Version":"v1"}
This commit is contained in:
497
ServerCommands/系统/用户登录检查.json
Normal file
497
ServerCommands/系统/用户登录检查.json
Normal file
@@ -0,0 +1,497 @@
|
||||
{
|
||||
"Name": "用户登录检查",
|
||||
"Enabled": true,
|
||||
"Triggers": [
|
||||
{
|
||||
"$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon",
|
||||
"Permission": {
|
||||
"PermissionData": {
|
||||
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core",
|
||||
"permissionResource": {
|
||||
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core"
|
||||
},
|
||||
"permissionBindings": [
|
||||
{
|
||||
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core",
|
||||
"roleNames": [
|
||||
"FGC_LoginUser"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"Parameters": [
|
||||
{
|
||||
"Name": "用户名",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Commands": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "汇报数量",
|
||||
"TableValue": {
|
||||
"TableName": "汇报记录表",
|
||||
"TableValueType": 3,
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||||
"SubConditions": [
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "汇报人",
|
||||
"GUID": "ca3d940a-80e2-4bef-bc57-81a892e404f2"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=用户名"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "状态",
|
||||
"GUID": "003daade-1d10-428e-97c7-871c4a5463ab"
|
||||
},
|
||||
"Value": "0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"NullFormulaValueQueryPolicy": 0
|
||||
},
|
||||
"ID": "e51f2af226874311858df813915873df"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
"ConditionAndCommandPairList": [
|
||||
{
|
||||
"Condition": {
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=汇报数量"
|
||||
}
|
||||
},
|
||||
"value": "0",
|
||||
"compareType": 2
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
|
||||
"OperationParamaterPairs": [
|
||||
{
|
||||
"Name": "页面名称",
|
||||
"Value": "汇报管理"
|
||||
},
|
||||
{
|
||||
"Name": "打开方式",
|
||||
"Value": "跳转页面"
|
||||
},
|
||||
{
|
||||
"Name": "打开样式"
|
||||
},
|
||||
{
|
||||
"Name": "主题",
|
||||
"Value": "警告"
|
||||
},
|
||||
{
|
||||
"Name": "传值"
|
||||
},
|
||||
{
|
||||
"Name": "目标单元格"
|
||||
}
|
||||
],
|
||||
"OutParamaterName": "参数对象"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.NotificationMessageCommand, ServerDesignerCommon",
|
||||
"NotificationName": "提醒通知",
|
||||
"SendType": 1,
|
||||
"UserNames": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=用户名"
|
||||
},
|
||||
"Params": [
|
||||
{
|
||||
"Name": "标题",
|
||||
"Value": "汇报提醒"
|
||||
},
|
||||
{
|
||||
"Name": "内容",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=\"你有\"&汇报数量&\"份汇报等待提交,赶紧来看看吧~\""
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "类型",
|
||||
"Value": "打开页面",
|
||||
"Remark": "分为:打开页面、执行命令..."
|
||||
},
|
||||
{
|
||||
"Name": "参数对象",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=参数对象"
|
||||
}
|
||||
}
|
||||
],
|
||||
"ID": "3c94e6961f59412397003157b58e4f97"
|
||||
}
|
||||
],
|
||||
"ID": "21912be4-62a0-46b8-b84c-448434da87a7"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "用户信息",
|
||||
"TableValue": {
|
||||
"TableName": "用户信息视图",
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"GUID": "b62e82d7-6e36-4f1f-b432-6229cc0dd370",
|
||||
"BindingInfo": {
|
||||
"TableName": "用户信息视图",
|
||||
"ColumnName": "用户名",
|
||||
"GUID": "432b3d3a-5938-4a3a-a50c-27e088ce33cc"
|
||||
},
|
||||
"ColumnName": "用户名"
|
||||
},
|
||||
{
|
||||
"GUID": "546b9c4a-898b-4d42-a3de-2390d9cc709c",
|
||||
"BindingInfo": {
|
||||
"TableName": "用户信息视图",
|
||||
"ColumnName": "全名",
|
||||
"GUID": "6b30f1ec-11c7-47d6-9815-46317a76a284"
|
||||
},
|
||||
"ColumnName": "全名"
|
||||
},
|
||||
{
|
||||
"GUID": "1970969e-41d5-4e6d-8fc5-be3536db0da1",
|
||||
"BindingInfo": {
|
||||
"TableName": "用户信息视图",
|
||||
"ColumnName": "邮件",
|
||||
"GUID": "5ca729fc-02ec-4bed-830a-465c5a4af83a"
|
||||
},
|
||||
"ColumnName": "邮件"
|
||||
},
|
||||
{
|
||||
"GUID": "12f304de-ba1a-4b5e-ae2c-2088a96bb5ba",
|
||||
"BindingInfo": {
|
||||
"TableName": "用户信息视图",
|
||||
"ColumnName": "有效",
|
||||
"GUID": "ee5fc1c8-a0ba-4765-83da-778797ab323f"
|
||||
},
|
||||
"ColumnName": "有效"
|
||||
},
|
||||
{
|
||||
"GUID": "9a863166-aecf-4aaf-abfa-ebd2c219284a",
|
||||
"BindingInfo": {
|
||||
"TableName": "用户信息视图",
|
||||
"ColumnName": "角色",
|
||||
"GUID": "48d1d8a7-5a49-410f-8198-71b914e3c16e"
|
||||
},
|
||||
"ColumnName": "角色"
|
||||
},
|
||||
{
|
||||
"GUID": "2479ac84-3d5b-4b7b-b34d-233311150fcf",
|
||||
"BindingInfo": {
|
||||
"TableName": "用户信息视图",
|
||||
"ColumnName": "组织上级",
|
||||
"GUID": "b479463d-c2b9-4575-a8a9-af1111f5d1ae"
|
||||
},
|
||||
"ColumnName": "组织上级"
|
||||
},
|
||||
{
|
||||
"GUID": "62ace2dc-744f-4cdd-9c46-3a1dc26809eb",
|
||||
"BindingInfo": {
|
||||
"TableName": "用户信息视图",
|
||||
"ColumnName": "负荷",
|
||||
"GUID": "f183fbe8-9e59-419e-b0c7-ad10341ac0df"
|
||||
},
|
||||
"ColumnName": "负荷"
|
||||
},
|
||||
{
|
||||
"GUID": "0cd1711a-6105-4d2e-b5de-c1331925c1dc",
|
||||
"BindingInfo": {
|
||||
"TableName": "用户信息视图",
|
||||
"ColumnName": "默认时薪",
|
||||
"GUID": "4ead7539-801e-40f1-b997-82caf45e48d8"
|
||||
},
|
||||
"ColumnName": "默认时薪"
|
||||
},
|
||||
{
|
||||
"GUID": "1c58aea8-eca2-4332-acd8-0a71b2c4a277",
|
||||
"BindingInfo": {
|
||||
"TableName": "用户信息视图",
|
||||
"ColumnName": "GIT用户名",
|
||||
"GUID": "846d92a2-0642-466e-9fc4-4a14b30be554"
|
||||
},
|
||||
"ColumnName": "GIT用户名"
|
||||
},
|
||||
{
|
||||
"GUID": "e1f01f85-08fa-443f-801c-a487f4505b27",
|
||||
"BindingInfo": {
|
||||
"TableName": "用户信息视图",
|
||||
"ColumnName": "GIT密码",
|
||||
"GUID": "13386273-6b17-47e2-a0d2-8b04d4279fca"
|
||||
},
|
||||
"ColumnName": "GIT密码"
|
||||
},
|
||||
{
|
||||
"GUID": "3f0b4db0-0a1c-4162-bf89-a0024be49b45",
|
||||
"BindingInfo": {
|
||||
"TableName": "用户信息视图",
|
||||
"ColumnName": "公司",
|
||||
"GUID": "8dcb7cbc-a359-4d95-809c-afa8e40d059c"
|
||||
},
|
||||
"ColumnName": "公司"
|
||||
},
|
||||
{
|
||||
"GUID": "05958b31-0811-4760-b23e-586cfb3aeead",
|
||||
"BindingInfo": {
|
||||
"TableName": "用户信息视图",
|
||||
"ColumnName": "部门",
|
||||
"GUID": "2c78952b-14a9-4d8c-8ce2-354e04d4e2df"
|
||||
},
|
||||
"ColumnName": "部门"
|
||||
},
|
||||
{
|
||||
"GUID": "0bf9fd6d-d02f-44b2-8e61-897ac0b5bd56",
|
||||
"BindingInfo": {
|
||||
"TableName": "用户信息视图",
|
||||
"ColumnName": "小组",
|
||||
"GUID": "b09cb700-6bc3-4aa1-8c16-0dafe304372c"
|
||||
},
|
||||
"ColumnName": "小组"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "用户信息视图",
|
||||
"ColumnName": "用户名",
|
||||
"GUID": "bbebf11d-ff33-4450-a28e-7a50bbdc6d56"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=用户名"
|
||||
}
|
||||
},
|
||||
"NullFormulaValueQueryPolicy": 0,
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "c291000f9a804009b354317a2ea87ab3"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
"ConditionAndCommandPairList": [
|
||||
{
|
||||
"Condition": {
|
||||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||||
"SubConditions": [
|
||||
{
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=用户信息.GIT用户名"
|
||||
}
|
||||
},
|
||||
"value": "%Null%"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=用户信息.GIT密码"
|
||||
}
|
||||
},
|
||||
"value": "%Null%"
|
||||
}
|
||||
],
|
||||
"RelationType": 1
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
|
||||
"OperationParamaterPairs": [
|
||||
{
|
||||
"Name": "页面名称",
|
||||
"Value": "完善Gitee资料"
|
||||
},
|
||||
{
|
||||
"Name": "打开方式",
|
||||
"Value": "弹出窗口"
|
||||
},
|
||||
{
|
||||
"Name": "打开样式",
|
||||
"Value": "对话框"
|
||||
},
|
||||
{
|
||||
"Name": "主题",
|
||||
"Value": "警告"
|
||||
},
|
||||
{
|
||||
"Name": "传值"
|
||||
},
|
||||
{
|
||||
"Name": "目标单元格"
|
||||
}
|
||||
],
|
||||
"OutParamaterName": "参数对象"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.NotificationMessageCommand, ServerDesignerCommon",
|
||||
"NotificationName": "提醒通知",
|
||||
"SendType": 1,
|
||||
"UserNames": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=用户名"
|
||||
},
|
||||
"Params": [
|
||||
{
|
||||
"Name": "标题",
|
||||
"Value": "请完善资料"
|
||||
},
|
||||
{
|
||||
"Name": "内容",
|
||||
"Value": "您的Gitee信息还未绑定,赶紧填写享受更多自动化功能吧~"
|
||||
},
|
||||
{
|
||||
"Name": "类型",
|
||||
"Value": "打开页面",
|
||||
"Remark": "分为:打开页面、执行命令..."
|
||||
},
|
||||
{
|
||||
"Name": "参数对象",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=参数对象"
|
||||
}
|
||||
}
|
||||
],
|
||||
"ID": "5102488aabcf46ea8105f53b85315577"
|
||||
}
|
||||
],
|
||||
"ID": "7b2a5d78-aaa8-4427-8f11-15a415027bde"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
"ConditionAndCommandPairList": [
|
||||
{
|
||||
"Condition": {
|
||||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||||
"SubConditions": [
|
||||
{
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=用户信息.负荷"
|
||||
}
|
||||
},
|
||||
"value": "%Null%"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=用户信息.默认时薪"
|
||||
}
|
||||
},
|
||||
"value": "%Null%"
|
||||
}
|
||||
],
|
||||
"RelationType": 1
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
|
||||
"OperationParamaterPairs": [
|
||||
{
|
||||
"Name": "页面名称",
|
||||
"Value": "个人中心"
|
||||
},
|
||||
{
|
||||
"Name": "打开方式",
|
||||
"Value": "跳转页面"
|
||||
},
|
||||
{
|
||||
"Name": "打开样式"
|
||||
},
|
||||
{
|
||||
"Name": "主题",
|
||||
"Value": "警告"
|
||||
},
|
||||
{
|
||||
"Name": "传值"
|
||||
},
|
||||
{
|
||||
"Name": "目标单元格"
|
||||
}
|
||||
],
|
||||
"OutParamaterName": "参数对象"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.NotificationMessageCommand, ServerDesignerCommon",
|
||||
"NotificationName": "提醒通知",
|
||||
"SendType": 1,
|
||||
"UserNames": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=用户名"
|
||||
},
|
||||
"Params": [
|
||||
{
|
||||
"Name": "标题",
|
||||
"Value": "请完善资料"
|
||||
},
|
||||
{
|
||||
"Name": "内容",
|
||||
"Value": "您的时薪、负荷等信息还未定义,可能会影响报工哦,赶紧来定义吧~"
|
||||
},
|
||||
{
|
||||
"Name": "类型",
|
||||
"Value": "打开页面",
|
||||
"Remark": "分为:打开页面、执行命令..."
|
||||
},
|
||||
{
|
||||
"Name": "参数对象",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=参数对象"
|
||||
}
|
||||
}
|
||||
],
|
||||
"ID": "b10acf98d0c64d9b9ddd5048246d88d2"
|
||||
}
|
||||
],
|
||||
"ID": "86141a76-de99-431b-a02a-68841de0f619"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "0",
|
||||
"Message": "完成"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user