{"Message":"增加钉钉先授权,后绑定逻辑","MessageType":2,"Modules":[{"State":1,"Type":1,"Name":"PCPage/其他登录方式"},{"State":1,"Type":1,"Name":"PCPage/登录画面"},{"State":1,"Type":15,"Name":"ServerCommand/钉钉授权登录"},{"State":1,"Type":15,"Name":"ServerCommand/dingtalkLogin"},{"State":1,"Type":1,"Name":"PCPage/dingtalkLogin"},{"State":3,"Type":15,"Name":"ServerCommand/服务端命令1"},{"State":3,"Type":15,"Name":"ServerCommand/钉钉登录绑定账号并登录"},{"State":3,"Type":1,"Name":"PCPage/绑定账号"}],"Version":"v1"}

This commit is contained in:
cuckooent
2024-09-04 21:53:39 +08:00
parent 765c596e75
commit 6616f4b3e4
9 changed files with 970 additions and 111 deletions

View File

@@ -0,0 +1,713 @@
{
"Rows": {
"RowColumnAttachedInfos": {
"0": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"1": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"4": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"5": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"6": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 39.0
}
},
"7": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 40.0
}
},
"8": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 24.0
}
},
"9": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 40.0
}
},
"10": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"11": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 40.0
}
},
"12": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 16.0
}
},
"14": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"15": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"16": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"17": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"18": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"19": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"20": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"21": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
}
},
"InLogicalVisibleIndexes": [
21
],
"Count": 22,
"DefaultSize": 32.0
},
"Cols": {
"RowColumnAttachedInfos": {
"0": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0,
"Mode": 2,
"MinLength": {
"Unit": 1
},
"MaxLength": {
"Value": 1.0
}
}
},
"1": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"2": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"3": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"4": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"5": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"6": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"7": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"8": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"9": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"10": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"11": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"12": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"13": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"14": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"15": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"16": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"17": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"18": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"19": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"20": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"21": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"22": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"23": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"24": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"25": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"26": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"27": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"28": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"29": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"30": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"31": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"32": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"33": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"34": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"35": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"36": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"37": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0,
"Mode": 2,
"MinLength": {
"Unit": 1
},
"MaxLength": {
"Value": 1.0
}
}
}
},
"Count": 38,
"DefaultSize": 32.0
},
"Values": {
"5,13": "绑定账号",
"11,13": "绑定并登录",
"13,13": "返回登录页"
},
"AttachInfos": {
"7,13": {
"CellType": {
"$type": "ElementUI.InputCellType, ElementUI",
"CommandList": [],
"UIPermissions": [
{
"Scope": 2,
"AllowRoles": [
"FGC_Anonymous"
]
},
{
"Scope": 1,
"AllowRoles": [
"FGC_Anonymous"
]
},
{
"Scope": 4,
"AllowRoles": [
"FGC_Anonymous"
]
}
],
"type": "text",
"placeholder": "请输入",
"PrependText": "用户名",
"resize": "none",
"clearable": true
},
"DataValidationInfo": {
"IgnoreBlank": false
}
},
"9,13": {
"CellType": {
"$type": "ElementUI.InputCellType, ElementUI",
"CommandList": [],
"UIPermissions": [
{
"Scope": 2,
"AllowRoles": [
"FGC_Anonymous"
]
},
{
"Scope": 1,
"AllowRoles": [
"FGC_Anonymous"
]
},
{
"Scope": 4,
"AllowRoles": [
"FGC_Anonymous"
]
}
],
"type": "password",
"placeholder": "请输入",
"PrependText": "密码",
"resize": "none",
"clearable": true,
"showPassword": true
},
"DataValidationInfo": {
"IgnoreBlank": false
}
},
"11,13": {
"CellType": {
"$type": "Forguncy.ButtonCellType, ServerDesignerCommon",
"CommandList": [
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "=绑定账号!unionid"
}
]
},
"value": "%Null%",
"compareType": 1
},
"CommandList": [
{
"$type": "Notiflix_Forguncy.Loading_Command, Notiflix_Forguncy",
"Title": "加载中",
"VBalidate": true
},
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "钉钉登录绑定账号并登录",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "用户名",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=绑定账号!N8"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "密码",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=绑定账号!N10"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "钉钉UnionId",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=绑定账号!unionid"
}
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"RefreshAfterFinish": true,
"CheckDataValidation": true
},
{
"$type": "Notiflix_Forguncy.Loading_Command, Notiflix_Forguncy",
"FunctionName": "remove",
"Title": "加载中"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "=绑定账号!code"
}
]
},
"value": "0"
},
"CommandList": [
{
"$type": "Forguncy.Model.NavigateCommand, ServerDesignerCommon",
"PageName": "工作台首页"
}
],
"ID": "1aefa758-01f7-4924-b30d-f578db855197"
},
{
"CommandList": [
{
"$type": "Notiflix_Forguncy.Report_Command, Notiflix_Forguncy",
"FunctionName": "info",
"Title": "温馨提示",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=绑定账号!msg"
},
"BtnText": "知道了"
}
],
"ID": "ef33fa40-d8a9-40e1-9618-31d2b180b8b3"
}
]
}
],
"ID": "d9ebbf6f-eeac-48e2-965e-69bb5be09cc9"
},
{
"CommandList": [
{
"$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy",
"FourStandardStyle": "warning",
"Message": "请先使用钉钉授权登录后再尝试绑定"
}
],
"ID": "51ecec51-1920-4f80-a483-67d1bc441c93"
}
]
}
],
"Text": "绑定并登录",
"TemplateKey": "_RS_Main1"
}
},
"13,13": {
"CellType": {
"$type": "Forguncy.HyperlinkCellType, ServerDesignerCommon",
"CommandList": [
{
"$type": "Forguncy.Model.NavigateCommand, ServerDesignerCommon",
"PageName": "FGC_登录"
}
],
"Text": "返回登录页",
"ClickMode": 1,
"TemplateKey": "_RS_Main"
}
}
},
"StyleDatas": {
"Styles": [
{
"FontFamily": 0,
"FontSize": 21.333333333333332,
"HorizontalAlignment": 1
},
{
"FontFamily": 0
},
{
"FontFamily": 0,
"Formatter": 2
},
{
"FontSize": 13.333333333333332,
"Foreground": 3,
"HorizontalAlignment": 1,
"Underline": false
}
],
"Types": {
"Strs": [
"Body",
"Center",
"[AUTO]General",
"Text 1 50"
]
},
"CellStyles": {
"5,13": 0,
"5,14": 1,
"5,15": 1,
"5,16": 1,
"5,17": 1,
"5,18": 1,
"5,19": 1,
"5,20": 1,
"5,21": 1,
"5,22": 1,
"6,13": 1,
"6,14": 1,
"6,15": 1,
"6,16": 1,
"6,17": 1,
"6,18": 1,
"6,19": 1,
"6,20": 1,
"6,21": 1,
"6,22": 1,
"7,13": 1,
"7,14": 1,
"7,15": 1,
"7,16": 1,
"7,17": 1,
"7,18": 1,
"7,19": 1,
"7,20": 1,
"7,21": 1,
"7,22": 1,
"8,13": 1,
"8,14": 1,
"8,15": 1,
"8,16": 1,
"8,17": 1,
"8,18": 1,
"8,19": 1,
"8,20": 1,
"8,21": 1,
"8,22": 1,
"9,13": 1,
"9,14": 1,
"9,15": 1,
"9,16": 1,
"9,17": 1,
"9,18": 1,
"9,19": 1,
"9,20": 1,
"9,21": 1,
"9,22": 1,
"10,13": 1,
"10,14": 1,
"10,15": 1,
"10,16": 1,
"10,17": 1,
"10,18": 1,
"10,19": 1,
"10,20": 1,
"10,21": 1,
"10,22": 1,
"11,13": 2,
"11,14": 1,
"11,15": 1,
"11,16": 1,
"11,17": 1,
"11,18": 1,
"11,19": 1,
"11,20": 1,
"11,21": 1,
"11,22": 1,
"13,13": 3
},
"SheetStyle": {
"FontFamily": 0
}
},
"Spans": [
"7,13,1,10",
"9,13,1,10",
"5,13,1,10",
"11,13,1,10",
"21,1,1,6",
"13,13,1,10"
],
"PageInfo": {
"$type": "Forguncy.Model.Pages.NormalPage, ServerDesignerCommon",
"PermissionData": {
"$type": "Forguncy.RbacPermission.Core.Impl.Page.PagePermissionData, Forguncy.RbacPermission.Core",
"permissionResource": {
"$type": "Forguncy.RbacPermission.Core.Impl.Page.PagePermissionResource, Forguncy.RbacPermission.Core"
},
"permissionBindings": [
{
"$type": "Forguncy.RbacPermission.Core.Impl.Page.PagePermissionBinding, Forguncy.RbacPermission.Core",
"roleNames": [
"FGC_Anonymous"
]
}
]
},
"RowBreakLines": [],
"RepeatRangeSettings": []
},
"PrintInfo": {
"PaperSize": {},
"Margin": {}
},
"BackgroundPictures": [
{
"FitToBrowserWidth": true,
"FitToBrowserHeight": true,
"Repeat": true,
"Name": "0836c07e-2331-40e1-8616-499013a014c5.png",
"DisplayName": "背景图2",
"ForguncyPictureName": "d3148bd6742da6598200d24b4966ba9f.png",
"ForguncyPictureSourceType": 0,
"Stretch": 0,
"StyleInfo": {
"Fill": null
},
"IsAutomaticFill": false,
"Size": "1216,711"
},
{
"Name": "dce27f64-d790-4a87-a15d-5a87e6ae7455.png",
"DisplayName": "背景图1",
"StyleInfo": {
"CornerRadius": 10.0,
"Fill": "Background 1 0",
"StrokeDashType": 8,
"Stroke": "black",
"StrokeThickness": 0.0
},
"IsAutomaticStroke": false,
"IsAutomaticFill": false,
"Location": "352,128",
"Size": "448,359",
"BoxShadowString": "2 6 0 12 #08000000"
}
],
"CustomNames": [
{
"Name": "unionid",
"Formula": "绑定账号!$B$22"
}
]
}//2HW3rAApJxfctmZ+k0+89pZGVb4fkWtHnGeRqUmNuCijSonIH/Yvk6p8wcq9CqmzI+NheaMZOU0qv1niO4P9zdIM1CPMQcSeE4XTxvEaS1ZQKPGkcAxzkZO7X4B2iDuLPcEkSkfMk5hebDhHQmLOBLs5znX4xQOvCO5oHe9YHBelBNxe8ZvB4bzIMuo++IC3wUyNz4xBpE/cUI4aS612kX7P/3darSfG1cVMMNkPGLdAQhm6bqlvsNbbkJZYsA+vwDk5aE3OcQGFBg9Y1LHuRhHcuLBBa5KI6S4YasLw4jkf/CwZWhLlsweDzl9qOpPGA+4MXUKQ+Z6hj9mREyboDGCpg2+FG+MzvbhzlCRjKJkJ9KSTMGPvYa4NTTmhHdj4pMidxPso8y+7DFvU6F4Wt7fK/Dc64LuxR5HmWFPQu7ormwn/DtXEEYkK+7JMC8FlIfywtGHRFN+YI9cKNjZr0rN87zmtTLa46diK0h77C2u751HQ+qDaf+ghKDOTc0tYAznfmPSIItkf7lup0NSGj6W5ZPRVRizu59deHiZdu4Pb7hheZKBMzbqpbFowFCNsmGfZDAXIbDl72K32YwfGNcYIH3yCeo95T7hfmJlnvseU7JkgQGUOt/Wrw8IF9Cy2Hj/ZnbxaCJP/JCfnjNcNfbE7t77APdqIZglU1y8OKe72/+5uxGO72FnmtKWIZoA6D8hdgUP4z+UAOZhXb1aHjWgqXn95Jn2aXZxrVvKQDhYXrSy8BxJzfrY0JOXLQ2BJO6ZTPDnEqZzlC1nU6elQF/OIvMWO36gf2Uer9SuJIlBv4xQK/ks6szOnIu9CTCalCCZ44+etga4+v2WuR2ISqhVNnmUHfVfZQytPSxsWGedj7h1Z8GjvBBE8J3S7z73bBOmqGpquBaSmTfEplzF40Q==|920